/* Material pass: retain the fast tabs, but let the reading surfaces feel handled. */
:root{--wood:#342b25;--leather:#34433e;--folder:#c4ad78;--fiber:url("paper-fiber.svg")}
body{background-color:#34291f;background-image:linear-gradient(90deg,#2118120c,#21181216),url("workspace-photo.png");background-size:100% 100%,cover;background-position:center center;background-repeat:no-repeat;background-attachment:fixed;color:#283335}
header{min-height:72px;padding:14px clamp(16px,4vw,54px);background:linear-gradient(105deg,#263a35f5,#263a35ef);border-bottom:1px solid #a78f64;box-shadow:0 5px 16px #120e0c66}
header:after{opacity:.08}
.player-file nav{background:#282824f2;border-bottom:1px solid #9d8862;box-shadow:0 4px 12px #17120f4f;backdrop-filter:blur(4px)}
.player-file nav button{color:#e4dccb;border-bottom-color:transparent}
.player-file nav button:before{color:#bba77d}
.player-file nav button:hover{background:#ffffff12;color:#fffaf0}
.player-file nav button.selected{color:#fffdf7;border-bottom-color:#c4a56d}
.player-file main{max-width:1320px;padding-top:clamp(24px,4vw,48px);padding-bottom:48px}
.player-file #view>.panel{position:relative;overflow:visible;margin-bottom:30px;border:1px solid #a88f63;border-radius:2px;background-color:#eee5d1;background-image:var(--fiber),linear-gradient(135deg,#f4eddc,#e7dbc0);box-shadow:0 2px 0 #221a14,0 4px 0 #b5a078,0 8px 0 #4a3929,0 18px 32px #120d0ba6}
.player-file #view>.panel:before{content:"";width:54px;height:4px;margin:-5px 0 22px;background:linear-gradient(90deg,#8f7141 0 62%,#cfc09d 62%);box-shadow:0 1px 0 #fff8}
.player-file .dossier{padding-top:38px!important;background-image:var(--fiber),linear-gradient(115deg,#f5eedf 0%,#e8dcc2 100%)!important;border-color:#a9946d!important}
.player-file .dossier:after{content:"PERSONAL RECORD";position:absolute;top:-1px;left:28px;padding:7px 20px 8px;background:linear-gradient(#d3c295,#c2aa76);border:1px solid #9c855a;border-top:0;color:#51452f;font:700 10px/1 system-ui,sans-serif;letter-spacing:.14em;box-shadow:0 2px 4px #2c211533}
.player-file .dossier .portrait{background-color:#d9cfb9;background-image:linear-gradient(135deg,#c9bca0,#eee5d2);box-shadow:inset 0 0 0 5px #f2ead8,0 5px 10px #382d2050}
.player-file .archive-layout{gap:28px}
.player-file .archive-layout>.folder-rail{position:relative;padding:36px 15px 22px;border:1px solid #998253;border-left:1px solid #998253;background-color:#bda873;background-image:var(--fiber),linear-gradient(105deg,#c5b17f,#b49c67);box-shadow:2px 4px 0 #7d6a47,5px 8px 18px #18120f55}
.player-file .archive-layout>.folder-rail:before{content:"";position:absolute;top:-14px;left:16px;width:128px;height:14px;border:1px solid #998253;border-bottom:0;border-radius:5px 5px 0 0;background:linear-gradient(#cdbb8e,#c4af7a)}
.player-file .folder-rail h2{color:#463c2c!important}
.player-file .folder-rail label{color:#594d37}
.player-file .folder-rail select{background-color:#eee5d1;background-image:var(--fiber);border-color:#92805c;box-shadow:inset 0 1px 2px #4c3e2820}
.player-file .folder-rail .file-pick{padding:11px 10px;border-bottom:1px solid #806d4850;color:#423a2d}
.player-file .folder-rail .file-pick:hover{background:#e9dec4aa}
.player-file .folder-rail .file-pick.selected{border-left:3px solid #5b4130;background:#e8ddc5;color:#2f3029;box-shadow:0 2px 4px #56472c25}
.player-file .folder-rail .file-pick small{color:#655d4d}
.player-file .issued-paper{position:relative;overflow:hidden;min-height:390px;padding:clamp(28px,4vw,52px);border:1px solid #b5a888;background-color:#f4ecd9;background-image:var(--fiber),linear-gradient(135deg,#f8f3e7,#eee3ca);box-shadow:2px 3px 0 #c5b896,4px 6px 0 #594832,7px 12px 22px #150f0d75}
.player-file .issued-paper:before{top:0;left:0;width:100%;height:6px;background:linear-gradient(90deg,#b49b68,#e4d8b7 48%,#b49b68)}
.player-file .issued-paper>h2{color:#293436!important}
.player-file .issued-meta{border-bottom:1px solid #b9ad92;color:#6d6658}
.player-file .paper-body{color:#302f2a;background:transparent;text-shadow:0 0 .1px #302f2a}
/* Folded correspondence: generous writing margins and a curled corner. */
.player-file .issued-paper.paper-letter{margin:6px 10px 18px 0;padding:clamp(34px,5vw,62px);border:0;background-color:#f8f2e3;background-image:var(--fiber),linear-gradient(120deg,#fffaf0,#f2e9d7);box-shadow:2px 3px 0 #d5c8ad,4px 6px 0 #554632,8px 15px 25px #17100d73}
.player-file .issued-paper.paper-letter:after{content:"";position:absolute;top:0;right:0;width:54px;height:54px;background:linear-gradient(225deg,#d8ccb0 0 49%,#f9f4e8 50%);box-shadow:-2px 2px 4px #31271b24;clip-path:polygon(0 0,100% 0,100% 100%)}
.player-file .paper-letter .paper-body{max-width:61ch;margin-top:28px;font:18px/1.9 Georgia,"Times New Roman",serif}
/* Institutional and academic papers: ruled fields, registration bands, and stock variation. */
.player-file .issued-paper.paper-institutional{border:1px solid #829092;border-top:7px solid #5c7376;background-color:#e5e7df;background-image:var(--fiber),linear-gradient(135deg,#f0f1e9,#dfe4dd);box-shadow:2px 3px 0 #c0c6ba,4px 6px 0 #43504c,7px 12px 22px #150f0d70}
.player-file .paper-institutional:before{height:2px;background:#758588}
.player-file .issued-paper.paper-academic{border:5px double #a68c5e;border-left:9px double #9e8456;background-color:#f0e8d6;background-image:var(--fiber),linear-gradient(135deg,#f7f1e4,#e8dcc3);box-shadow:2px 3px 0 #c4b28c,4px 6px 0 #574832,7px 12px 22px #150f0d70}
.player-file .paper-academic:before{left:clamp(22px,4vw,46px);width:46px;height:4px;background:#a3864d}
.player-file .paper-academic .issued-meta{border-bottom:3px double #a8946d}
.player-file .issued-paper.paper-official{border:1px solid #8d9590;border-top:8px solid #697a7b;background-color:#e9ebe4;background-image:var(--fiber),repeating-linear-gradient(to bottom,transparent 0 39px,#64756e19 40px),linear-gradient(110deg,#f1f2eb,#e3e7df);box-shadow:2px 3px 0 #b9c0b5,4px 6px 0 #414b48,7px 12px 22px #150f0d70}
.player-file .paper-official .issued-meta{border-bottom:1px solid #9ba39a}
/* Newspaper stock sits loose on the desk, with a clipped upper edge and dense print. */
.player-file .issued-paper.paper-clipping{margin:8px 6px 16px 0;padding:clamp(26px,4vw,42px);border:1px solid #c9c1b0;background-color:#e4ddcc;background-image:var(--fiber),linear-gradient(115deg,#eee8d9,#dad0bc);box-shadow:2px 3px 0 #c2b79d,4px 6px 0 #4b3e30,7px 12px 22px #150f0d70}
.player-file .paper-clipping .paper-body{font:16px/1.62 Georgia,"Times New Roman",serif;column-width:30ch;column-gap:28px;text-align:justify}
.player-file .issued-paper.paper-photograph{padding:clamp(18px,3vw,30px);border:1px solid #242322;background-color:#343332;background-image:linear-gradient(145deg,#4a4844,#272726);box-shadow:2px 3px 0 #1e1c1a,5px 8px 0 #d0c2a2,8px 14px 25px #110d0bb0;color:#f2eee4}
.player-file .paper-photograph>h2,.player-file .paper-photograph .issued-meta{color:#f2eee4!important;border-color:#837a6a}
.player-file .paper-photograph .paper-body{color:#f5f1e9}
.player-file .paper-photograph .notebook-photos figure{background:#f5f1e8;border-color:#fff;box-shadow:0 6px 15px #08070670}
/* Telegram stock has a machine-made edge; reports carry a cloth-backed spine. */
.player-file .issued-paper.paper-telegram{border:1px solid #a9a18f;border-top:8px dotted #786f5e;background-color:#ede9dd;background-image:var(--fiber),linear-gradient(115deg,#f6f2e8,#e8e1d2);box-shadow:2px 3px 0 #c5baa4,4px 6px 0 #514536,7px 12px 22px #150f0d70}
.player-file .paper-telegram .paper-body{max-width:58ch;padding:20px 18px;border:1px dashed #a99c81;background:#f4efe2a8;font:600 15px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.035em}
.player-file .issued-paper.paper-report{border:1px solid #857a64;border-top:10px solid #64716b;background-color:#e7e2d6;background-image:var(--fiber),linear-gradient(110deg,#f1ede3,#dfd9ca);box-shadow:2px 3px 0 #bbb09a,4px 6px 0 #424743,7px 12px 22px #150f0d70}
.player-file .paper-report:before{left:0;width:8px;height:100%;background:#7c836f}
/* Photos are actual prints, with a broad lower margin where a caption would sit. */
.player-file .issued-paper .notebook-photos figure,.player-file .notebook-photos figure{position:relative;padding:10px 10px 34px;border:1px solid #d4cbb7;background:#fbf7eb;box-shadow:1px 2px 3px #16120d36,3px 6px 12px #17120d25;transform:rotate(-.45deg)}
.player-file .issued-paper .notebook-photos img,.player-file .notebook-photos img{padding:0;border:0;background:#e6e0d3;box-shadow:none}
.player-file .notebook-photos figcaption{position:absolute;right:10px;bottom:7px;left:10px;color:#645b4c;font:12px/1.2 Georgia,serif}
/* The notebook has a cloth cover, a visible spine, stacked leaves, and a ruled writing face. */
.player-file .personal-notebook{position:relative;overflow:hidden!important;padding:28px clamp(16px,3vw,32px) 30px clamp(28px,4vw,48px)!important;border:1px solid #1c2a25!important;border-radius:3px!important;background-color:#35433b!important;background-image:repeating-linear-gradient(125deg,#ffffff06 0 1px,transparent 1px 5px),linear-gradient(105deg,#526052,#344139 15%,#29362f 16%,#39473e 100%)!important;box-shadow:inset 0 0 0 4px #71807035,inset 0 2px 4px #fff2,0 3px 0 #151e1a,0 6px 0 #8f7954,0 11px 0 #33291e,0 20px 34px #0d0908b8!important;color:#e9e0cc}
.player-file .personal-notebook:before{position:absolute;top:0;bottom:0;left:12px;width:10px;height:auto;margin:0;background:repeating-linear-gradient(to bottom,#b2a27c 0 2px,#34433e 2px 17px);box-shadow:2px 0 4px #1118;opacity:.8}
.player-file .personal-notebook>h2{margin:0 0 8px!important;color:#f3ebd8!important;font:600 clamp(24px,3vw,31px)/1.2 Georgia,serif!important}
.player-file .notebook-intro{color:#d3cbb8;font-size:13px}
.player-file .personal-notebook .toolbar{margin:12px 0 20px}
.player-file .personal-notebook .toolbar button{min-height:38px;padding:7px 11px;border:1px solid #a99b78;background:#e4dac2;color:#39413b;font-size:13px;box-shadow:0 2px 3px #141b1755}
.player-file .notebook-pages{position:relative;gap:26px;padding:14px;background:#271f1a;border:1px solid #7f6b4b;box-shadow:inset 0 1px 6px #100d0c,0 2px 6px #1119}
.player-file .notebook-page{position:relative;overflow:hidden;min-height:330px;padding:28px 30px 28px 66px;border:0;border-radius:1px;background-color:#f0e8d6;background-image:var(--fiber),linear-gradient(90deg,#d8cdb4 0 1px,transparent 1px 54px,#bd8e80 54px 55px,transparent 55px),repeating-linear-gradient(to bottom,transparent 0 31px,#a9b3aa65 32px,#f4eddc 33px);box-shadow:inset 0 0 0 1px #b4a688,0 1px 0 #c2b597,0 3px 0 #e6dec9,0 5px 0 #b6a88a,0 8px 15px #15100d95}
.player-file .notebook-page:before{top:0;bottom:0;left:30px;border:0;background:radial-gradient(circle at 50% 12px,#38352d 0 3px,#b4a78b 3.5px 5px,transparent 5.5px) 0 0/12px 34px repeat-y;width:12px;box-shadow:1px 0 #f8f0df}
.player-file .notebook-page:after{content:"";position:absolute;top:0;bottom:0;left:50px;width:1px;background:#bd8e80aa;pointer-events:none}
.player-file .notebook-page h3{margin:0 0 9px;color:#817560;font-size:10px}
.player-file .notebook-page input[aria-label="Notebook page title"]{margin-bottom:8px;border:0;background:transparent;color:#2d3836;font:600 19px/1.5 Georgia,"Times New Roman",serif}
.player-file .notebook-page textarea[aria-label="Notebook page text"]{min-height:285px;padding:0;border:0;background:transparent;color:#343d3b;font:17px/2 "Segoe Print","Bradley Hand",cursive;resize:vertical}
.player-file .notebook-page label{color:#5d665f;font-size:12px}
.player-file .notebook-page input[type="file"]{background:#eee5d1;border-color:#c0b59d}
.player-file .notebook-page .toolbar{margin-top:14px}
.player-file .notebook-page .toolbar button{background:#e7dfcd;border-color:#b9ad94;color:#3b433e;box-shadow:none}
.player-file .status{background:#262924ed;border-color:#9d8862;color:#ddd3bf;box-shadow:0 -2px 9px #160f0b55}
@media(max-width:760px){body{background-size:100% 100%,560px 560px}.player-file .archive-layout>.folder-rail{box-shadow:1px 2px 0 #7d6a47,0 5px 12px #18120f40}.player-file .archive-layout>.folder-rail:before{top:-10px;width:104px;height:10px}.player-file .issued-paper{min-height:280px;box-shadow:1px 2px 0 #c5b896,3px 5px 0 #594832,5px 9px 16px #150f0d60}.player-file .notebook-pages{padding:9px}.player-file .notebook-page{padding:23px 15px 22px 50px}.player-file .notebook-page:before{left:20px}.player-file .notebook-page:after{left:40px}}
@media(max-width:420px){.player-file .personal-notebook{padding:23px 12px 20px 26px!important}.player-file .personal-notebook:before{left:7px;width:8px}.player-file .notebook-pages{padding:6px}.player-file .notebook-page{padding:19px 10px 18px 43px}.player-file .notebook-page:before{left:15px}.player-file .notebook-page:after{left:35px}.player-file .issued-paper.paper-letter{padding:28px 23px}.player-file .paper-clipping .paper-body{column-width:auto;columns:1}}
/* Human wear lives around the work, never over the reading surface. */
.player-file .issued-paper{transform:rotate(.12deg);box-shadow:2px 2px 0 #c5b896,5px 7px 0 #594832,8px 14px 21px #150f0d70}
.player-file .issued-paper.paper-letter{transform:rotate(-.2deg)}
/* The folio remains visible beneath one slightly skewed sheet, with a faint handled mark. */
.player-file .notebook-pages{gap:0;padding:0;background:transparent;border:0;box-shadow:none}
.player-file .notebook-page{margin:4px 2px 10px 0;transform:rotate(-.16deg);padding:29px 32px 27px 38px;background-color:#f0e8d6;background-image:var(--fiber),linear-gradient(135deg,#f4eddc,#ede3cf);box-shadow:1px 2px 0 #b8aa8d,3px 5px 0 #e6ddca,6px 9px 0 #ad9f83,10px 16px 23px #0e100d70}
.player-file .notebook-page:not(:first-child){transform:rotate(.22deg);margin-top:12px}
.player-file .notebook-page:before,.player-file .notebook-page:after{display:none}
.player-file .notebook-page input[aria-label="Notebook page title"]{font:600 18px/1.5 "Courier New",Courier,monospace;letter-spacing:.015em}
.player-file .notebook-page textarea[aria-label="Notebook page text"]{min-height:285px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;color:#303a38;font:16px/1.8 "Courier New",Courier,monospace;letter-spacing:.01em;resize:vertical}
.player-file .notebook-page textarea[aria-label="Notebook page text"]:focus{background:transparent;outline:2px solid #7f908766;outline-offset:4px}
/* The controls read as application controls, set into a narrow folio rail below the writing. */
.player-file .notebook-page>label{display:flex;gap:8px;align-items:center;margin:20px -32px 0 -38px;padding:9px 14px;background:#34423c;color:#eee5d2;font:12px/1.35 system-ui,sans-serif}
.player-file .notebook-page>label input[type="file"]{min-height:36px;padding:4px 7px;border:1px solid #b4a582;background:#f2ead8;color:#3b433d;font:12px system-ui,sans-serif}
.player-file .notebook-page>.toolbar{margin:0 -32px -27px -38px;padding:9px 14px;background:#34423c;border-top:1px solid #9f8b61}
.player-file .notebook-page>.toolbar button{min-height:34px;padding:6px 10px;border:1px solid #b9ad94;background:#e7dfcd;color:#39413b;font:12px system-ui,sans-serif}
.player-file .personal-notebook .toolbar button{box-shadow:0 1px 2px #1115}
@media(max-width:760px){body{background-position:center center,25% center;background-size:100% 100%,cover}.player-file .notebook-page{padding:24px 18px 25px 24px}.player-file .notebook-page>label{margin:18px -18px 0 -24px;padding:9px 10px}.player-file .notebook-page>.toolbar{margin:0 -18px -25px -24px;padding:9px 10px}}
@media(max-width:420px){.player-file .notebook-page{padding:21px 12px 23px 18px}.player-file .notebook-page>label{align-items:flex-start;flex-direction:column;margin:16px -12px 0 -18px}.player-file .notebook-page>.toolbar{margin:0 -12px -23px -18px}}

/* Iteration I: ordinary personal workspace. The photo is a persistent base layer;
   later authored props can be composed above it through the --workspace-prop-layers variable. */
:root{--workspace-base-image:url("workspace-photo.png");--workspace-prop-layers:none;--workspace-prop-sizes:auto;--workspace-prop-positions:center}
body{position:relative;isolation:isolate;background:#342b25!important;background-image:none!important}
body:before{content:"";position:fixed;z-index:-1;inset:0;background-color:#342b25;background-image:var(--workspace-prop-layers),var(--workspace-base-image);background-size:var(--workspace-prop-sizes),cover;background-position:var(--workspace-prop-positions),center center;background-repeat:no-repeat,no-repeat;pointer-events:none}
.player-file main{max-width:1500px;padding:8px clamp(12px,3vw,42px) 34px}
.player-file #view>.personal-notebook{max-width:none;margin:0;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#252d2b}
.player-file #view>.personal-notebook:before,.player-file #view>.personal-notebook:after{display:none!important}
.player-file .notebook-toolbar{align-items:center;gap:8px;margin:0 0 12px;padding:6px 0;background:transparent}
.player-file .notebook-toolbar button,.player-file .notebook-controls button,.player-file .notebook-action{min-height:34px;margin:0;padding:6px 11px;border:1px solid #d1c8b5;border-radius:3px;background:#f5f1e8ed;color:#33403d;font:12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 1px 3px #17110c24;cursor:pointer}
.player-file .notebook-toolbar button:hover,.player-file .notebook-controls button:hover,.player-file .notebook-action:hover{background:#fffdf6}
.player-file .notebook-count{padding:5px 8px;color:#f5f0e5;background:#25302caa;border-radius:2px;font:11px/1.3 system-ui,sans-serif;letter-spacing:.04em}
.player-file .notebook-pages{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
.player-file .notebook-entry{min-width:0;margin:0;background:transparent}
.player-file .notebook-page{position:relative;overflow:visible;min-height:clamp(540px,70vh,900px);margin:0;padding:clamp(24px,4vw,58px);border:1px solid #c9bea5;border-radius:1px;background-color:#f4eddf;background-image:var(--fiber),linear-gradient(122deg,#fbf7ed 0%,#f5eedf 58%,#eee5d4 100%);box-shadow:1px 2px 0 #b8aa8d,3px 5px 0 #e6ddca,6px 9px 0 #ad9f83,10px 16px 23px #0e100d70;transform:none}
.player-file .notebook-page:before,.player-file .notebook-page:after{display:none!important}
.player-file .notebook-page .notebook-title{display:block;width:100%;min-height:32px;margin:0 0 10px;padding:2px 0;border:0;border-radius:0;outline-offset:3px;background:transparent!important;box-shadow:none;color:#343d39;font:15px/1.4 "Courier New",Courier,monospace;letter-spacing:.01em}
.player-file .notebook-page .notebook-title::placeholder{color:#938b7b;opacity:.72}
.player-file .notebook-page .notebook-writing{display:block;width:100%;min-height:clamp(420px,61vh,760px);margin:0;padding:0;border:0;border-radius:0;outline-offset:5px;background:transparent!important;box-shadow:none!important;color:#303735;font:16px/1.72 "Courier New",Courier,monospace;letter-spacing:.005em;resize:vertical;white-space:pre-wrap;user-select:text}
.player-file .notebook-page .notebook-writing:focus{outline:1px dashed #64766e80}
.player-file .notebook-controls{align-items:center;gap:7px;margin:10px 0 0;padding:0;background:transparent}
.player-file .notebook-action{display:inline-flex;align-items:center;position:relative}
.player-file .notebook-action input[type="file"]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
.player-file .notebook-action:focus-within{outline:2px solid #566f7670;outline-offset:2px}
.player-file .notebook-photos{margin:16px 0 0}
.player-file .notebook-photos figure{background:#fbf7eb}
.player-file .notebook-photos button{background:#eee7d8;color:#39413b}
@media(max-width:760px){.player-file main{padding:7px 10px 24px}.player-file .notebook-toolbar{margin-bottom:9px}.player-file .notebook-page{min-height:68vh;padding:24px 20px}.player-file .notebook-page .notebook-writing{min-height:54vh;font-size:15px;line-height:1.68}.player-file .notebook-controls{gap:6px}}
@media(max-width:420px){.player-file main{padding-inline:8px}.player-file .notebook-page{min-height:68vh;padding:21px 15px}.player-file .notebook-page .notebook-title{font-size:14px}.player-file .notebook-page .notebook-writing{min-height:54vh;font-size:14px}.player-file .notebook-toolbar button,.player-file .notebook-controls button,.player-file .notebook-action{min-height:32px;padding:6px 9px;font-size:11px}}

/* Workspace State I finalization: three paper objects sharing one desk. */
.player-file #view>.dossier{position:relative;overflow:visible;max-width:1080px;min-height:70vh;margin:10px auto 28px;padding:clamp(32px,5vw,58px)!important;border:1px solid #b9aa88!important;border-radius:1px!important;background-color:#f2ead8!important;background-image:var(--fiber),linear-gradient(123deg,#fbf6e8 0%,#f1e8d5 100%)!important;box-shadow:1px 2px 0 #b8aa8d,3px 5px 0 #e6ddca,6px 9px 0 #ad9f83,10px 16px 23px #0e100d70!important;color:#303735}
.player-file #view>.dossier:before{content:none!important}
.player-file #view>.dossier:after{top:-1px;left:32px;padding:7px 16px 8px;background:#c8b17c;border-color:#9f895e;color:#51452f;box-shadow:0 2px 3px #2c211522;transform:rotate(-.35deg)}
.player-file .dossier>h2{margin:0 0 22px!important;padding:0 0 12px;border-bottom:1px solid #b7a987;color:#303a37!important;font:600 clamp(28px,3.6vw,38px)/1.2 Georgia,"Times New Roman",serif!important;letter-spacing:.005em}
.player-file .dossier-summary{max-width:76ch;color:#313a37;font:15px/1.8 "Courier New",Courier,monospace;white-space:pre-wrap}
.player-file .dossier>h3{clear:both;margin:28px 0 12px;padding-bottom:7px;border-bottom:1px solid #c6baa0;color:#5d624f;font:600 12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.12em;text-transform:uppercase}
.player-file .dossier .portrait{background:#eee5d4;border-color:#b5a98d;box-shadow:inset 0 0 0 5px #f8f2e5,1px 2px 0 #b8aa8d,4px 7px 14px #211b1438;color:#736a5a}
.player-file .dossier>p{max-width:76ch;margin:8px 0 12px;padding:0;color:#343a35;font:15px/1.65 Georgia,"Times New Roman",serif}
.player-file .split{grid-template-columns:minmax(210px,260px) minmax(0,1fr);align-items:start;gap:22px}
.player-file .split>.folder-rail{position:relative;top:8px;align-self:start;margin:12px 0 0;padding:36px 15px 20px;border:1px solid #998253;border-left:1px solid #998253;border-radius:1px;background-color:#bda873;background-image:var(--fiber),linear-gradient(105deg,#c5b17f,#b49c67);box-shadow:2px 4px 0 #7d6a47,5px 8px 18px #18120f55}
.player-file .folder-rail h2{margin:0 0 16px;color:#463c2c!important;font:600 20px/1.25 Georgia,"Times New Roman",serif}
.player-file .folder-rail label{margin:12px 0 6px;color:#594d37;font-size:12px}
.player-file .folder-rail .file-pick{border:0;border-bottom:1px solid #806d4850;background:transparent;color:#423a2d;font:14px/1.35 Georgia,"Times New Roman",serif}
.player-file .folder-rail .file-pick:hover,.player-file .folder-rail .file-pick.selected{border-left:3px solid #5b4130;background:#e8ddc5;color:#2f3029;box-shadow:0 2px 4px #56472c25}
.player-file .split>.issued-paper{min-width:0;min-height:62vh;margin:8px 4px 26px 0;padding:clamp(30px,4.4vw,60px);border:1px solid #b9ad91;border-radius:1px;background-color:#f3ecd9;background-image:var(--fiber),linear-gradient(127deg,#faf5e9,#eee4d0);box-shadow:1px 2px 0 #b8aa8d,3px 5px 0 #e6ddca,6px 9px 0 #ad9f83,10px 16px 23px #0e100d70}
.player-file .split>.issued-paper:before{content:none}
.player-file .split>.issued-paper.paper-letter{margin-top:15px;background-image:var(--fiber),linear-gradient(125deg,#fffaf0,#f1e8d5);box-shadow:1px 2px 0 #c5b99f,4px 7px 0 #dfd5c1,9px 14px 24px #14100d6b}
.player-file .split>.issued-paper.paper-academic{background-color:#f2ead8;background-image:var(--fiber),linear-gradient(130deg,#f8f2e5,#e8ddc6);border:4px double #a68c5e;border-left-width:7px}
.player-file .split>.issued-paper.paper-institutional,.player-file .split>.issued-paper.paper-official{border-top:6px solid #718080;background-color:#e9ebe4;background-image:var(--fiber),linear-gradient(120deg,#f3f3ea,#e1e5dc)}
.player-file .split>.issued-paper.paper-clipping{background-color:#e8e1d1;background-image:var(--fiber),linear-gradient(120deg,#f1ebdc,#ddd4c2);box-shadow:1px 2px 0 #b8aa8d,3px 5px 0 #c8bea7,8px 13px 21px #0e100d66}
.player-file .split>.issued-paper.paper-photograph{border:10px solid #f3eee1;border-bottom-width:28px;background:#302f2c;box-shadow:1px 2px 0 #b8aa8d,5px 8px 0 #d6c9ad,9px 15px 22px #0e100d70}
.player-file .issued-paper .paper-body{max-width:68ch;color:#303735;font:17px/1.8 Georgia,"Times New Roman",serif;user-select:text}
.player-file .issued-paper.paper-telegram .paper-body{font:600 15px/1.75 "Courier New",Courier,monospace}
.player-file .issued-paper.paper-handwritten .paper-body{font:17px/1.8 "Bradley Hand","Segoe Print",cursive}
.player-file #status{position:absolute!important;inset:auto auto auto -10000px!important;width:1px!important;height:1px!important;margin:0!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;background:transparent!important;box-shadow:none!important}
@media(max-width:760px){.player-file main{padding:10px 12px 24px}.player-file #view>.dossier{min-height:0;margin:8px 0 24px;padding:38px 22px 30px!important}.player-file .dossier .portrait{float:left;width:104px;height:132px;margin:2px 18px 12px 0}.player-file .dossier-summary{font-size:14px}.player-file .split{grid-template-columns:minmax(0,1fr);gap:12px}.player-file .split>.folder-rail{position:static;margin:4px 0;padding:20px 14px 14px}.player-file .split>.issued-paper{min-height:55vh;margin:3px 0 22px;padding:28px 22px}.player-file .split>.issued-paper.paper-photograph{padding:12px 12px 22px}}
@media(max-width:420px){.player-file #view>.dossier{padding:36px 16px 24px!important}.player-file .dossier .portrait{float:none;width:96px;height:122px;margin:0 0 14px}.player-file .dossier>h2{font-size:28px!important}.player-file .dossier>h3{clear:both;margin-top:23px}.player-file .dossier-summary{font-size:13px;line-height:1.7}.player-file .split>.issued-paper{padding:24px 17px}.player-file .issued-paper .paper-body{font-size:16px}}

/* Final interaction details: a writing surface without a textarea-shaped field. */
.player-file .notebook-page .notebook-title{height:26px;min-height:26px;margin:0 0 1px;padding:1px 0 3px;background:transparent!important;color:#343d39;font:600 16px/1.4 "Courier New",Courier,monospace;letter-spacing:.035em}
.player-file .notebook-page .notebook-title:not(.has-title){border-bottom:1px solid transparent}
.player-file .notebook-page .notebook-title.has-title{border-bottom:1px solid #b8aa8f}
.player-file .notebook-page .notebook-title::placeholder{content:none;color:#817968;opacity:.58;font-weight:400}.player-file .notebook-page .notebook-title:focus-visible{outline:1px dashed #64766e80!important;outline-offset:3px}
.player-file .notebook-page .notebook-writing{outline:none!important;font:16px/1.72 "Courier New",Courier,monospace;letter-spacing:.005em}
.player-file .notebook-page .notebook-writing:focus-visible{box-shadow:inset 2px 0 0 #64766e55!important}
.player-file .empty-file-note{margin:14px 2px 0;padding:8px 0;border-top:1px solid #806d4850;color:#584c38;font:13px/1.45 Georgia,"Times New Roman",serif}
.player-file #status{position:fixed!important;z-index:12;inset:auto 16px 16px auto!important;width:max-content!important;max-width:min(90vw,360px)!important;height:auto!important;margin:0!important;padding:8px 12px!important;overflow:hidden!important;clip:auto!important;clip-path:none!important;border:1px solid #bdb49e!important;border-radius:2px!important;background:#f7f2e8ed!important;color:#3c4642!important;box-shadow:0 2px 9px #0c090533!important;font:12px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:0!important;opacity:0;transform:translateY(4px);pointer-events:none;transition:opacity .16s ease,transform .16s ease}
.player-file #status.is-visible{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){.player-file #status{transition:none}}
@media(max-width:760px){.player-file #status{right:10px!important;bottom:10px!important;max-width:calc(100vw - 20px)!important}.player-file .empty-file-note{margin-top:10px}}
.player-file .notebook-controls .delete-page{border-color:#c9bdb0;background:#f5f1e8ed;color:#704d43}
.player-file .notebook-controls .delete-page:hover{border-color:#a8887d;background:#f3e7df;color:#633d34}
.player-file .notebook-page .notebook-writing{font-family:"Courier New",Courier,monospace;font-size:16px;font-weight:600;line-height:1.68;letter-spacing:.035em}
.player-file .notebook-page .notebook-title,.player-file #view .notebook-page #notes{font-family:"Courier New",Courier,monospace!important;font-size:16px!important;font-weight:600!important;letter-spacing:.035em!important;color:#343d39!important}
@media(max-width:760px){.player-file .notebook-page .notebook-title,.player-file #view .notebook-page #notes{font-size:15px!important}}
@media(max-width:420px){.player-file .notebook-page .notebook-title,.player-file #view .notebook-page #notes{font-size:14px!important}}
.player-file .notebook-page .notebook-title.has-title{border-bottom-color:transparent}
.player-file .notebook-title-divider{height:23px;margin:0 0 1px;overflow:hidden;white-space:nowrap;color:#343d39;font:600 16px/1.4 "Courier New",Courier,monospace;letter-spacing:.035em;user-select:none;pointer-events:none}
.player-file .notebook-title-divider:before{content:"--------------------------------------------------------------------------------------------------------------------------------"}
.player-file .notebook-title-divider[hidden]{display:none!important}
@media(max-width:760px){.player-file .notebook-title-divider{height:22px;font-size:15px}}
@media(max-width:420px){.player-file .notebook-title-divider{height:20px;font-size:14px}}

/* Filed personal notes use the same typing sheet as the notebook, with controls below it. */
.player-file .filed-note-work{min-width:0;margin:8px 4px 26px 0}
.player-file .filed-note-page{min-height:clamp(540px,70vh,900px);margin:0;transform:none}
.player-file .filed-note-page .notebook-title-display{display:block;height:auto;min-height:26px;margin:0 0 1px;padding:1px 0 3px;border:0;background:transparent;color:#343d39;font:600 16px/1.4 "Courier New",Courier,monospace;letter-spacing:.035em}
.player-file .filed-note-page .notebook-title-divider{height:23px;margin:0 0 1px;overflow:hidden;white-space:nowrap;color:#343d39;font:600 16px/1.4 "Courier New",Courier,monospace;letter-spacing:.035em}
.player-file .filed-note-page .filed-note-body{display:block;min-height:clamp(420px,61vh,760px);margin:0;padding:0;border:0;background:transparent;color:#303735;font:600 16px/1.68 "Courier New",Courier,monospace;letter-spacing:.035em;white-space:pre-wrap;overflow-wrap:anywhere;user-select:text}
.player-file .filed-note-controls{align-items:center;gap:7px;margin:10px 0 0;padding:0;background:transparent}
.player-file .filed-note-work>.notebook-controls button{min-height:34px;margin:0;padding:6px 11px;border:1px solid #d1c8b5;border-radius:3px;background:#f5f1e8ed;color:#33403d;font:12px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif;box-shadow:0 1px 3px #17110c24;cursor:pointer}
.player-file .filed-note-work>.notebook-controls button:hover{background:#fffdf6}
.player-file .filed-note-work>.notebook-controls button.delete-page{border-color:#c9bdb0;background:#f5f1e8ed;color:#704d43}
.player-file .filed-note-work>.notebook-controls button.delete-page:hover{border-color:#a8887d;background:#f3e7df;color:#633d34}
@media(max-width:760px){.player-file .filed-note-work{margin:3px 0 22px}.player-file .filed-note-page{min-height:55vh}.player-file .filed-note-page .filed-note-body{min-height:48vh}}
@media(max-width:420px){.player-file .filed-note-page .notebook-title-display,.player-file .filed-note-page .filed-note-body{font-size:14px}.player-file .filed-note-page .notebook-title-divider{font-size:14px;height:20px}}

/* Photographic paper assets provide the silhouette and surface; HTML remains the text layer. */
.player-file .notebook-page{overflow:visible!important;border:0!important;border-radius:0!important;background-color:transparent!important;background-image:url("paper-notebook-wide.webp")!important;background-position:center center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;box-shadow:none!important;transform:none!important}
.player-file .notebook-page:before,.player-file .notebook-page:after{content:none!important;display:none!important}
.player-file #view>.dossier,.player-file .split>.issued-paper:not(.paper-photograph):not(.paper-clipping){border:0!important;border-radius:0!important;background-color:transparent!important;background-image:url("paper-record-wide.webp")!important;background-position:center center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;box-shadow:none!important}
.player-file #view>.dossier:before,.player-file .split>.issued-paper:not(.paper-photograph):not(.paper-clipping):before,.player-file .issued-paper.paper-letter:after{content:none!important;display:none!important}
@media(max-width:760px){.player-file .notebook-page{background-image:url("paper-notebook-mobile.webp")!important}.player-file #view>.dossier,.player-file .split>.issued-paper:not(.paper-photograph):not(.paper-clipping){background-image:url("paper-record-mobile.webp")!important}}

/* Align editable notebook content with the visible paper, beneath the transparent image margin. */
.player-file .notebook-page{padding-top:clamp(104px,15vh,140px)!important}
@media(max-width:760px){.player-file .notebook-page{padding-top:clamp(52px,9vh,72px)!important}}


/* Issued Documents: a compact folder index that opens beside the reading surface. */
.player-file .issued-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
.player-file .issued-workspace.index-open{grid-template-columns:minmax(220px,270px) minmax(0,1fr);gap:20px}
.player-file .issued-workspace>.folder-rail{position:relative;align-self:start;min-width:0;margin:0;padding:0;border:1px solid #92805c;background-color:#bda873;background-image:var(--fiber),linear-gradient(105deg,#c5b17f,#b49c67);box-shadow:2px 3px 0 #7d6a47,4px 7px 14px #18120f45}
.player-file .folder-rail-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:44px;margin:0;padding:9px 13px;border:0;border-radius:0;background:transparent;color:#463c2c;font:600 16px/1.35 Georgia,"Times New Roman",serif;text-align:left;box-shadow:none}
.player-file .folder-rail-toggle:hover{background:#ffffff20}
.player-file .folder-rail-arrow{flex:none;margin-left:12px;color:#4a3e2e;font:18px/1 system-ui,sans-serif}
.player-file .folder-index-body{max-height:min(68vh,720px);overflow:auto;padding:0 13px 14px;border-top:1px solid #806d4850}
.player-file .folder-index-body>label{display:block;margin:12px 0 5px;color:#594d37;font:12px/1.35 system-ui,sans-serif}
.player-file .folder-index-body select,.player-file .folder-index-body input[type="search"]{display:block;width:100%;min-height:38px;margin:0;padding:8px 10px;border:1px solid #92805c;border-radius:2px;background-color:#eee5d1;background-image:var(--fiber);color:#393a32;font:14px/1.35 system-ui,sans-serif;box-shadow:inset 0 1px 2px #4c3e2820}
.player-file .folder-index-body .file-pick{display:block;width:100%;margin:7px 0 0;padding:10px;border:0;border-bottom:1px solid #806d4850;border-radius:0;background:transparent;color:#423a2d;text-align:left}
.player-file .folder-index-body .file-pick span{display:block;overflow-wrap:anywhere}
.player-file .folder-index-body .file-pick:hover{background:#e9dec4aa}
.player-file .folder-index-body .file-pick.selected{border-left:3px solid #5b4130;background:#e8ddc5;color:#2f3029;box-shadow:0 2px 4px #56472c25}
.player-file .folder-index-body .file-pick small{display:block;margin-top:4px;color:#655d4d}
.player-file .issued-document-stage{min-width:0;width:100%}
.player-file .index-collapsed .issued-document-stage{grid-column:1/-1}
.player-file .issued-document-stage>.issued-paper{width:100%;max-width:none;min-height:clamp(540px,70vh,900px);margin:0 0 20px}
.player-file .issued-document-stage>.filed-note-work{width:100%;max-width:none;margin:0 0 20px}
.player-file .issued-document-stage>.empty-file-note{margin:8px 3px;color:#f2ead7;text-shadow:0 1px 3px #201811aa}
.player-file .issued-document-stage>.issued-paper:not(.paper-photograph):not(.paper-clipping){border:0!important;border-radius:0!important;background-color:transparent!important;background-image:url("paper-record-wide.webp")!important;background-position:center center!important;background-size:100% 100%!important;background-repeat:no-repeat!important;box-shadow:none!important}
@media(max-width:760px){.player-file .issued-workspace.index-open{grid-template-columns:minmax(0,1fr);gap:12px}.player-file .folder-index-body{max-height:48vh}.player-file .issued-document-stage>.issued-paper{min-height:58vh}.player-file .issued-document-stage>.issued-paper:not(.paper-photograph):not(.paper-clipping){background-image:url("paper-record-mobile.webp")!important}}


/* GM-issued Player documents use Littia’s notebook paper and typewriter face. */
.player-file .issued-document-page{width:100%;max-width:none;min-height:clamp(540px,70vh,900px);margin:0 0 20px}
.player-file .issued-document-page .issued-document-meta{display:block;margin:0 0 18px;color:#686254;font:12px/1.5 "Courier New",Courier,monospace;letter-spacing:.025em}
.player-file .issued-document-page .filed-note-body{min-height:clamp(420px,61vh,760px)}
@media(max-width:760px){.player-file .issued-document-page{min-height:58vh}.player-file .issued-document-page .filed-note-body{min-height:48vh}}


/* GM-issued Player document photos: small period prints taped directly to Littia's note. */
.player-file .issued-document-page.has-photo-attachment{display:flow-root}
.player-file .issued-document-page .issued-photo-gallery{float:right;width:min(42%,430px);margin:6px 0 18px 24px;display:flex;flex-direction:column;gap:18px}
.player-file .issued-document-page .issued-photo-print{position:relative;isolation:isolate;margin:0;padding:8px 8px 16px;background:#fffef8;border:1px solid #d8d2c4;box-shadow:0 5px 11px #211b1433,0 1px 2px #211b1420}
.player-file .issued-document-page .issued-photo-print:before{content:"";position:absolute;z-index:2;left:-49px;top:-39px;width:98px;height:77px;background:url("photo-tape-beige.png") center/contain no-repeat;pointer-events:none}
.player-file .issued-document-page .issued-photo-image{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;object-position:center;background:#e9e4d8;border:1px solid #e2ddd2}
.player-file .issued-document-page .filed-note-body{overflow:visible}
@media(max-width:760px){.player-file .issued-document-page .issued-photo-gallery{float:none;width:min(100%,430px);margin:14px auto 22px}.player-file .issued-document-page .issued-photo-print:before{left:-45px;top:-36px;width:90px;height:71px}}
@media(max-width:420px){.player-file .issued-document-page .issued-photo-gallery{width:min(100%,360px)}.player-file .issued-document-page .issued-photo-print{padding:6px 6px 13px}}


/* One photo treatment for all attached images in the Player workspace. */
.player-file #view .attached-photo-figure{margin:0;padding:0;border:0;background:transparent;box-shadow:none;transform:none;min-width:0}
.player-file #view .attached-photo-print{display:block;position:relative;isolation:isolate;box-sizing:border-box;width:100%;max-width:430px;margin:0;padding:8px 8px 16px;background:#fffef8;border:1px solid #d8d2c4;box-shadow:0 5px 11px #211b1433,0 1px 2px #211b1420}
.player-file #view .attached-photo-print:before{content:"";position:absolute;z-index:2;left:-49px;top:-39px;width:98px;height:77px;background:url("photo-tape-beige.png") center/contain no-repeat;pointer-events:none}
.player-file #view .attached-photo-image{display:block;box-sizing:border-box;width:100%;height:auto;max-height:none;aspect-ratio:3/2;object-fit:cover;object-position:center;padding:0;background:#e9e4d8;border:1px solid #e2ddd2;box-shadow:none}
.player-file #view .attached-photo-figure>figcaption{position:static;margin:8px 0;color:#645b4c;font:12px/1.4 Georgia,serif}
.player-file #view .attached-photo-figure>button{margin-top:6px}
.player-file #view .notebook-photos{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),430px));gap:28px;margin-top:32px}
@media(max-width:760px){.player-file #view .attached-photo-print:before{left:-45px;top:-36px;width:90px;height:71px}}
@media(max-width:420px){.player-file #view .attached-photo-print{padding:6px 6px 13px}}


/* Place attached prints below headings; reserve the tape overhang in the text gutter. */
.player-file #view .has-photo-attachment{display:flow-root}
.player-file #view .attached-photo-gallery{float:right;display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;width:min(42%,430px);margin:32px 0 22px 64px;gap:44px}
.player-file #view .has-photo-attachment>pre{overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere}
.player-file #view .has-photo-attachment>.notebook-controls{clear:both}
.player-file #view .has-photo-attachment>textarea{display:block;clear:both}
@media(max-width:600px){.player-file #view .attached-photo-gallery{float:right;width:min(calc(100% - 49px),360px);margin:32px 0 22px 49px}.player-file #view .has-photo-attachment>pre,.player-file #view .has-photo-attachment>p{clear:both}}


/* Standard single-image issued report: flowing text on desktop, text then photo on tablet. */
.player-file #view .single-image-issued{min-height:0}
.player-file #view .issued-image-body{display:flow-root;padding-top:24px}
.player-file #view .issued-image-body>.issued-primary-photo{float:right;display:block;box-sizing:border-box;width:40%;margin:0 0 16px;padding:0 0 0 58px}
.player-file #view .issued-image-body>.issued-image-text{display:block;width:auto;max-width:none;min-height:0;height:auto;margin:0;padding:0;overflow:visible;white-space:pre-wrap;overflow-wrap:anywhere;clear:none}
@media(max-width:900px){
.player-file #view .issued-image-body{display:flex;flex-direction:column;padding-top:0}
.player-file #view .issued-image-body>.issued-image-text{order:1;width:100%;clear:both}
.player-file #view .issued-image-body>.issued-primary-photo{order:2;float:none;width:min(100%,503px);margin:12px auto 16px;padding:39px 24px 0 49px}
}

/* Preserve depth only along loose edges; the taped corner sits flush. */
.player-file #view .attached-photo-print{box-shadow:none}
.player-file #view .attached-photo-print:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;box-shadow:0 2.5px 5.5px #211b1433,0 .5px 1px #211b1420;mask-image:linear-gradient(135deg,transparent 0%,transparent 22%,#000 60%)}


/* The editable notebook uses the same flowing report body as its filed version. */
.player-file #view [data-note-editor]{white-space:pre-wrap;overflow-wrap:anywhere;cursor:text}
.player-file #view [data-note-editor]:focus-visible{outline:1px dashed #64766e80;outline-offset:5px}
.player-file #view .issued-primary-photo>.attached-photo-figure+.attached-photo-figure{margin-top:44px}
.player-file #view .photo-management-controls{clear:both}

/* Littia's personal working file. All material silhouettes come from photographs. */
.player-file .filing-system{max-width:1100px;margin:0 auto}
.player-file .filing-tools{align-items:center;margin:8px 8px 16px;gap:10px}
.player-file .filing-tools button{min-height:44px;font-size:14px}
.player-file .filing-move-label{display:flex;gap:10px;align-items:center;margin:0 0 0 auto;font:14px system-ui,sans-serif;color:#f7f0e2}
.player-file .filing-move-label select{width:auto;max-width:280px;min-height:44px}
.player-file .filing-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:0 8px 20px;padding:12px;background:#faf7ed}
.player-file .filing-form label{margin:0}.player-file .filing-form input{flex:1;min-width:180px}.player-file .filing-form-error{width:100%;margin:0;color:#8a3029;font:14px system-ui,sans-serif}.player-file .filing-form-error:empty{display:none}
.player-file .folder-object{position:relative;width:100%;aspect-ratio:1.42;background-position:center;background-repeat:no-repeat;background-size:100% 100%;color:#403c33}
.player-file .folder-cover{background-image:url('file-folder-cover.png');transform:rotate(-.6deg)}
.player-file .folder-open{background-image:url('file-folder-index.png')}
.player-file .folder-object-content{position:absolute;inset:20% 13% 14% 15%;display:flex;flex-direction:column;min-height:0;font:16px/1.55 'Courier New',Courier,monospace}
.player-file .folder-cover .folder-object-content{inset:22% 13% 15% 14%}
.player-file .folder-object-content h2{margin:0 0 16px;font:600 30px/1.2 'Courier New',Courier,monospace;overflow-wrap:anywhere}
.player-file .folder-object-content p{margin:0 0 12px;font:14px/1.5 'Courier New',Courier,monospace;letter-spacing:.06em}
.player-file .folder-directory{overflow:auto;min-height:0;scrollbar-width:thin;flex:1}
.player-file .folder-directory-entry{display:flex;align-items:center;gap:16px;width:100%;min-height:48px;padding:9px 0;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;font:600 18px/1.4 'Courier New',Courier,monospace;box-shadow:none}
.player-file .folder-directory-entry>span{flex:1;overflow-wrap:anywhere}.player-file .folder-directory-entry>small{font:14px 'Courier New',Courier,monospace}.player-file .folder-directory-entry>em{font:13px 'Courier New',Courier,monospace;white-space:nowrap}
.player-file .folder-directory-entry:hover,.player-file .file-index-entry:hover{background:#58462b0a;text-decoration:underline;text-underline-offset:4px}
.player-file .filed-notes-link{align-self:flex-start;margin-top:18px;padding:4px 0;border:0;background:transparent;color:inherit;font:14px/1.4 'Courier New',Courier,monospace;text-decoration:underline;box-shadow:none}
.player-file .file-index-heading{display:flex;gap:16px;align-items:baseline;justify-content:space-between}.player-file .file-index-heading h2{font-size:24px}.player-file .file-index-heading small{flex:none;font:13px 'Courier New',Courier,monospace}
.player-file .file-index-scroll{min-height:0;overflow:auto;scrollbar-width:thin;flex:1}
.player-file .file-index-columns,.player-file .file-index-entry{display:grid;grid-template-columns:105px minmax(0,1fr);column-gap:18px}
.player-file .file-index-columns{padding:0 0 9px;border-bottom:1px dashed #6d6657;font:14px 'Courier New',Courier,monospace}
.player-file .file-index-entry{width:100%;min-height:48px;padding:11px 0;border:0;border-radius:0;background:transparent;color:inherit;font:16px/1.5 'Courier New',Courier,monospace;text-align:left;box-shadow:none}
.player-file .file-index-entry time{font-size:14px}.player-file .file-index-entry>span{overflow-wrap:anywhere}.player-file .file-index-entry small{display:inline-block;margin-left:12px;font:11px 'Courier New',Courier,monospace;letter-spacing:.06em}.player-file .file-index-scroll>p{margin-top:18px}
.player-file .filing-opened{background:url('file-folder-cover.png') center top/100% auto no-repeat;padding:18px 22px 10px}.player-file .filing-opened>.issued-document-stage{position:relative}
@media(max-width:900px){.player-file .folder-object{aspect-ratio:1 / 1.24}.player-file .folder-open{background-image:url('file-folder-index-tablet.png')}.player-file .folder-object-content{inset:19% 13% 15% 16%}.player-file .folder-cover .folder-object-content{inset:19% 12% 14% 13%}.player-file .folder-object-content h2{font-size:25px}.player-file .folder-directory-entry{font-size:17px;flex-wrap:wrap;gap:8px}.player-file .file-index-columns,.player-file .file-index-entry{grid-template-columns:82px minmax(0,1fr);gap:10px}.player-file .file-index-entry{font-size:15px;min-height:52px}.player-file .filing-opened{padding:12px 8px 8px}.player-file .filing-move-label{margin-left:0;flex-wrap:wrap}}
@media(max-width:480px){.player-file .folder-object{min-height:520px}.player-file .folder-object-content h2{font-size:21px}.player-file .folder-object-content p{font-size:12px}.player-file .file-index-columns,.player-file .file-index-entry{grid-template-columns:62px minmax(0,1fr);gap:8px}.player-file .file-index-entry time{font-size:12px}.player-file .file-index-entry{font-size:14px}.player-file .filing-tools{margin-inline:0}.player-file .filing-move-label select{max-width:230px}}
/* On tablets the same file opens vertically, keeping the photographic proportions intact. */
@media(max-width:900px){.player-file .folder-object{max-width:640px;aspect-ratio:2 / 3;margin-inline:auto}.player-file .folder-cover{background-image:url('file-folder-index-tablet.png');transform:none}}

/* Simplified three-state filing metaphor: closed folder, open index, or document alone. */
.player-file .filing-tools{display:flex;align-items:center;gap:10px;margin:8px 0 14px}
.player-file .filing-tools button{min-height:40px}
.player-file .folder-object-content{inset:0;display:flex;align-items:center;justify-content:center}
.player-file .folder-cover .folder-object-content{inset:0}
.player-file .open-file-button{min-width:150px;background:#faf7edcc;border-color:#796848;color:#433a2b;box-shadow:0 2px 5px #241b1230;font:600 17px Georgia,serif}
.player-file .delivery-note{position:absolute;right:12%;top:19%;width:min(240px,32%);aspect-ratio:1.62;background:url('delivery-note.png') center/100% 100% no-repeat;border:0;color:#453c30;padding:22px 18px 14px;font:600 15px/1.35 'Courier New',Courier,monospace;transform:rotate(3deg);text-shadow:0 1px #fff8;box-shadow:none}
.player-file .folder-open{background-image:url('file-folder-index.png');transform:none}
.player-file .folder-open .folder-object-content{inset:20% 13% 14% 15%;display:block}
.player-file .folder-open .file-index-scroll{max-height:68%;overflow:auto}
.player-file .issued-document-stage{background:transparent!important}
@media(max-width:900px){
  .player-file .folder-object{max-width:640px;aspect-ratio:1.42;transform:rotate(90deg);margin-block:10%}
  .player-file .folder-object-content{transform:rotate(-90deg)}
  .player-file .folder-open .folder-object-content{inset:15% 20% 14% 13%;width:70%;height:70%}
  .player-file .delivery-note{right:15%;top:22%;width:34%}
}
@media(max-width:480px){.player-file .folder-object{width:78vw;min-height:0;aspect-ratio:1.42;margin-block:16vw}.player-file .delivery-note{font-size:11px;padding:14px 11px}}

/* Closed-file landing correction: the photographed folder is the only visible affordance. */
.player-file .folder-cover{cursor:pointer;outline:none;transition:filter .18s ease,transform .18s ease}
.player-file .folder-cover:hover{filter:brightness(1.018)}
.player-file .folder-cover:focus-visible{outline:2px solid #6f604c;outline-offset:7px}
.player-file .folder-cover.has-new-documents::after{content:"";position:absolute;z-index:3;left:47%;top:35%;width:min(30%,300px);aspect-ratio:4.4;pointer-events:none;background:url('new-documents-stamp.png') center/contain no-repeat;transform:rotate(-1.5deg);opacity:.88}
.player-file .folder-cover .folder-object-content{display:none}
@media(max-width:900px){
  .player-file .folder-object{width:90%;max-width:none;aspect-ratio:2 / 3;margin:4vh auto;background-size:contain;}
  .player-file .folder-cover{background-image:url('file-folder-cover.png');transform:rotate(270deg)}
  .player-file .folder-open{transform:rotate(270deg);background-image:url('file-folder-index.png');background-size:contain}
  .player-file .folder-object-content{transform:rotate(90deg)}
  .player-file .folder-open .folder-object-content{inset:15% 20% 14% 13%;width:70%;height:70%;transform:rotate(90deg)}
  .player-file .folder-cover.has-new-documents::after{left:38%;top:35%;width:48%;transform:rotate(-1.5deg)}
}
@media(max-width:480px){.player-file .folder-object{width:90%;margin:3vh auto}.player-file .folder-cover.has-new-documents::after{width:50%;left:36%;top:35%}}

/* Tablet portrait uses rotated copies of the same photographed folder, preserving proportions and readable HTML. */
@media(max-width:900px){
  .player-file .folder-object{width:90%;max-width:none;aspect-ratio:2 / 3;margin:3vh auto;background-size:100% 100%;transform:none}
  .player-file .folder-cover{background-image:url('file-folder-cover-portrait.png');transform:none}
  .player-file .folder-open{background-image:url('file-folder-index-portrait.png');transform:none}
  .player-file .folder-object-content,.player-file .folder-open .folder-object-content{transform:none}
  .player-file .folder-open .folder-object-content{inset:14% 10% 10%;width:auto;height:auto}
  .player-file .folder-cover.has-new-documents::after{left:30%;top:30%;width:58%;transform:rotate(-1.5deg)}
}
@media(max-width:480px){.player-file .folder-object{width:92%;margin:2vh auto}.player-file .folder-cover.has-new-documents::after{left:27%;top:30%;width:62%}}

/* Open index typography and paper-safe bounds. */
.player-file .folder-open .folder-object-content{inset:17% 14% 12% 14%;font-family:'Courier New',Courier,monospace;overflow:hidden}
.player-file .folder-open .folder-object-content *{font-family:'Courier New',Courier,monospace}
.player-file .folder-open .file-index-heading{display:block;margin:0 0 14px}
.player-file .folder-open .file-index-heading h2{margin:0;font:700 34px/1.1 'Courier New',Courier,monospace;letter-spacing:-.02em}
.player-file .folder-open .folder-object-content>p{margin:0 0 16px;font:600 15px/1.35 'Courier New',Courier,monospace;letter-spacing:.08em}
.player-file .folder-open .file-index-scroll{max-height:none;overflow:auto;padding-right:4px}
.player-file .folder-open .file-index-columns,.player-file .folder-open .file-index-entry{grid-template-columns:92px minmax(0,1fr);column-gap:14px;max-width:100%;box-sizing:border-box}
.player-file .folder-open .file-index-columns{font:600 14px/1.3 'Courier New',Courier,monospace}
.player-file .folder-open .file-index-entry{font:600 16px/1.4 'Courier New',Courier,monospace;overflow-wrap:anywhere}
@media(max-width:900px){
  .player-file .folder-open .folder-object-content{inset:17% 14% 11% 14%;overflow:hidden}
  .player-file .folder-open .file-index-heading h2{font-size:31px}
  .player-file .folder-open .file-index-columns,.player-file .folder-open .file-index-entry{grid-template-columns:88px minmax(0,1fr);column-gap:12px}
}
@media(max-width:480px){
  .player-file .folder-open .folder-object-content{inset:17% 13% 10% 13%}
  .player-file .folder-open .file-index-heading h2{font-size:26px}
  .player-file .folder-open .file-index-columns,.player-file .folder-open .file-index-entry{grid-template-columns:76px minmax(0,1fr);column-gap:9px}
  .player-file .folder-open .file-index-entry{font-size:14px}
}
.player-file .file-index-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:10px;border-top:1px dashed #6d6657;font:600 13px/1.2 'Courier New',Courier,monospace}
.player-file .file-index-page-control{min-height:34px;padding:5px 8px;border:0;background:transparent;color:inherit;box-shadow:none;font:600 13px/1.2 'Courier New',Courier,monospace;text-decoration:underline;text-underline-offset:3px}
.player-file .file-index-page-control:disabled{opacity:.35;text-decoration:none;cursor:default}
.player-file .file-index-page-label{flex:1;text-align:center;white-space:nowrap}
.player-file .folder-open .folder-object-content{overflow:visible}
.player-file .filing-index-tab{position:absolute;z-index:5;left:-10%;top:4%;min-width:92px;min-height:54px;padding:8px 16px;border:0;border-radius:3px 0 0 3px;color:#fff;box-shadow:0 2px 4px #211b1440;font:700 15px/1 'Courier New',Courier,monospace;letter-spacing:.08em;transform:rotate(-2deg);cursor:pointer}
.player-file .filing-index-tab.notes-tab{background:#365d88}
.player-file .filing-index-tab.documents-tab{background:#8c3b36}
.player-file .filing-index-tab:hover{filter:brightness(1.08)}
@media(max-width:900px){.player-file .filing-index-tab{left:-11%;top:3%;min-width:88px;min-height:52px;font-size:14px}}
@media(max-width:480px){.player-file .filing-index-tab{left:-12%;min-width:78px;padding-inline:11px;font-size:12px}}

/* Photographic index tabs sit behind the white index sheet. */
.player-file .folder-open .folder-object-content{z-index:2;overflow:visible}
.player-file .filing-index-tab{z-index:1;left:3%;top:14%;width:25%;min-width:0;height:58px;min-height:0;padding:0 10px;border:0;border-radius:0;background-position:center;background-size:100% 100%;background-repeat:no-repeat;color:#f8f3e8;text-shadow:0 1px 1px #1b1b1b80;box-shadow:none;font:700 16px/1 'Bradley Hand','Comic Sans MS',cursive;letter-spacing:.03em;transform:rotate(-1deg)}
.player-file .filing-index-tab.notes-tab{background-image:url('index-tab-blue.webp')!important;background-color:transparent!important}
.player-file .filing-index-tab.documents-tab{background-image:url('index-tab-red.webp')!important;background-color:transparent!important}
@media(max-width:900px){.player-file .filing-index-tab{left:3%;top:13%;width:28%;height:62px;font-size:15px}}
@media(max-width:480px){.player-file .filing-index-tab{left:2%;top:13%;width:31%;height:54px;font-size:13px}}

/* Final closed-file stamp sizing/state and open-index placement. */
@media(max-width:900px){
  .player-file .folder-cover.has-new-documents::after,
  .player-file .folder-cover.no-new-documents::after{content:"";position:absolute;z-index:3;left:calc(30% - 140px);top:30%;width:87%;aspect-ratio:4.4;pointer-events:none;background:url('new-documents-stamp.png') center/contain no-repeat;transform:rotate(-1.5deg);opacity:.88;display:block;}
  .player-file .folder-cover.no-new-documents::after{background-image:url('click-to-review-stamp.png');opacity:.88}
  .player-file .folder-open .folder-object-content{inset:12% 12% 11% 17%}
}
@media(max-width:480px){
  .player-file .folder-cover.has-new-documents::after,
  .player-file .folder-cover.no-new-documents::after{left:calc(27% - 140px);width:93%;display:block}
  .player-file .folder-open .folder-object-content{inset:12% 11% 10% 16%}
}

/* Temporary tab-layout harness. Hidden unless ?tab-harness=1 is present. */
.tab-harness-panel{position:fixed;z-index:10000;right:14px;bottom:14px;width:min(360px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;padding:14px 15px;background:#f7f2e8f5;color:#28241e;border:1px solid #756448;box-shadow:0 8px 24px #160f0c66;font:13px/1.35 system-ui,sans-serif}
.tab-harness-panel h2{margin:0 0 8px;font:700 17px/1.2 Georgia,serif}
.tab-harness-panel p{margin:0 0 10px}
.tab-harness-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin:7px 0}
.tab-harness-row label{font-weight:600}.tab-harness-row input[type=range]{width:150px}.tab-harness-row input[type=number]{width:72px}.tab-harness-panel select{width:100%;min-height:30px}
.tab-harness-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.tab-harness-actions button{min-height:32px;padding:5px 9px;border:1px solid #756448;background:#eee5d4;color:#28241e;cursor:pointer}
.tab-harness-report{width:100%;min-height:115px;margin-top:10px;padding:7px;border:1px solid #b9aa8d;background:#fffdf7;color:#28241e;font:11px/1.35 ui-monospace,SFMono-Regular,Consolas,monospace;resize:vertical}
.tab-harness-target{cursor:move!important;outline:1px dashed #8b3b34!important;outline-offset:3px!important}
.tab-harness-stage .folder-object{max-width:980px!important;width:min(92vw,980px)!important;margin:20px auto!important;transform:none!important}
.tab-harness-stage .folder-open{background-image:url('file-folder-index.png')!important;background-size:100% 100%!important}
.tab-harness-stage .folder-open .folder-object-content{transform:none!important;z-index:2!important}
.tab-harness-stage .folder-open{pointer-events:none!important}
.tab-harness-stage .folder-open .filing-index-tab,.tab-harness-stage .tab-harness-label{pointer-events:auto!important}
.tab-harness-stage .tab-harness-paper-layer{position:absolute;inset:0;z-index:2;pointer-events:none;background:url('paper-only-landscape.png') center/100% 100% no-repeat;clip-path:none}
.tab-harness-stage .filing-index-tab{clip-path:none!important;overflow:visible!important;z-index:1!important}
.tab-harness-stage .tab-harness-label{position:absolute;white-space:nowrap;pointer-events:auto;color:#111;opacity:.86;mix-blend-mode:multiply;text-shadow:none;font:900 20px/1 'Courier New',Courier,monospace;letter-spacing:.055em}
.tab-harness-stage.harness-portrait .folder-object{width:min(78vw,640px)!important;aspect-ratio:2 / 3!important}
.tab-harness-stage.harness-portrait .folder-open{background-image:url('file-folder-index-portrait.png')!important}
.tab-harness-stage.harness-portrait .tab-harness-paper-layer{background-image:url('paper-only-portrait.png');clip-path:none}
.tab-harness-stage.harness-portrait .folder-open .folder-object-content{inset:12% 11% 10% 16%!important}
.tab-harness-device-overlay{position:fixed;inset:0;z-index:11000;display:grid;place-items:center;background:#17251bcc;overflow:hidden}
.tab-harness-device-close{position:fixed;top:18px;right:18px;z-index:11002;min-height:36px;padding:7px 11px;border:1px solid #d8c7a3;background:#f7f2e8;color:#28241e;font:600 13px system-ui,sans-serif;cursor:pointer}
.tab-harness-device-frame{width:834px;height:1194px;border:10px solid #26231f;border-radius:24px;background:#fff;box-shadow:0 14px 40px #0008;transform-origin:center center}
.harness-viewport-preview body{overflow:hidden}
.harness-viewport-preview .tab-harness-panel{display:none}
.harness-viewport-preview .tab-harness-stage .folder-object{width:92vw!important;max-width:none!important;margin:16px auto!important}
.harness-shell-body{overflow:hidden}
.tab-harness-shell{position:fixed;inset:0;z-index:12000;display:flex;flex-direction:column;align-items:center;background:#17251bf2;overflow:hidden}
.tab-harness-shell-bar{display:flex;align-items:center;gap:12px;flex:0 0 auto;width:min(96vw,1200px);min-height:48px;padding:8px 10px;color:#f7f2e8;font:14px system-ui,sans-serif}
.tab-harness-shell-bar select{width:auto;min-width:280px;min-height:34px;padding:5px 8px;background:#f7f2e8;color:#28241e;font:14px system-ui,sans-serif}
.tab-harness-shell-bar button{margin-left:auto;min-height:34px;padding:6px 10px;background:#f7f2e8;color:#28241e;font:600 13px system-ui,sans-serif;cursor:pointer}
.tab-harness-shell-frame{flex:0 0 auto;border:10px solid #26231f;border-radius:24px;background:#fff;box-shadow:0 14px 40px #0008;transform-origin:top center}
.tab-harness-external-panel{position:fixed!important;top:60px!important;right:14px!important;bottom:14px!important;left:auto!important;width:min(360px,calc(100vw - 28px))!important;max-height:calc(100vh - 74px)!important;overflow:auto!important;z-index:13000!important}

/* Root-cause fix: the deployed cascade was leaving the photographic tab at
   its intrinsic 1922px width. Force the physical artwork to fill its control
   box while preserving the existing tab geometry and placement. */
.player-file .filing-index-tab.notes-tab,
.player-file .filing-index-tab.documents-tab{background-size:100% 100%!important}

/* Published calibration profiles. These values are the reviewed harness
   capture, kept separate by composition state rather than orientation alone. */
.player-file .folder-open .filing-index-tab.notes-tab{
  left:49.4489795918%!important;top:9.4346940162%!important;
  transform:rotate(-1deg) scale(1.39)!important;
}
.player-file .folder-open .filing-index-tab.documents-tab{
  left:49.8571428571%!important;top:10.1591840431%!important;
  transform:rotate(-1deg) scale(1.37)!important;
}
.player-file .folder-open .filing-index-tab-label.notes-label{
  left:81.6291129940%!important;top:11.0533456245%!important;
  transform:translate(-50%,-50%) rotate(0deg) scale(1.03)!important;
}
.player-file .folder-open .filing-index-tab-label.documents-label{
  left:81.9463338835%!important;top:11.9857139623%!important;
  transform:translate(-50%,-50%) rotate(0deg) scale(1.02)!important;
}
.player-file .folder-open .filing-paper-edge{
  left:0!important;top:0!important;right:auto!important;bottom:auto!important;
  width:100%!important;height:100%!important;transform-origin:center center!important;
  transform:rotate(0deg) scale(1,1)!important;
}
@media (min-width:861px) and (max-width:1000px) and (orientation:portrait){
  .player-file .folder-open .filing-index-tab.notes-tab{
    left:-1.75%!important;top:26.3958333334%!important;
    transform:rotate(-90deg) scale(2)!important;
  }
  .player-file .folder-open .filing-index-tab.documents-tab{
    left:-.96875%!important;top:25.9791666667%!important;
    transform:rotate(-90deg) scale(2)!important;
  }
  .player-file .folder-open .filing-index-tab-label.notes-label{
    left:9.875%!important;top:17.375%!important;
    transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important;
  }
  .player-file .folder-open .filing-index-tab-label.documents-label{
    left:10.34375%!important;top:17.375%!important;
    transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important;
  }
  .player-file .folder-open .filing-paper-edge{
    left:12.55%!important;top:11.45%!important;
    transform:rotate(0deg) scale(.97,1.11)!important;
  }
}
@media (max-width:860px) and (min-height:1000px) and (orientation:portrait){
  .player-file .folder-open .filing-index-tab.notes-tab{
    left:-1.2718779655%!important;top:26.2570440405%!important;
    transform:rotate(-90deg) scale(2)!important;
  }
  .player-file .folder-open .filing-index-tab.documents-tab{
    left:-.9225011052%!important;top:26.8393553563%!important;
    transform:rotate(-90deg) scale(2)!important;
  }
  .player-file .folder-open .filing-index-tab-label.notes-label{
    left:9.3448792755%!important;top:17.4599624632%!important;
    transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important;
  }
  .player-file .folder-open .filing-index-tab-label.documents-label{
    left:10.0436444169%!important;top:18.5081148171%!important;
    transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important;
  }
  .player-file .folder-open .filing-paper-edge{
    left:12.66%!important;top:12.17%!important;
    transform:rotate(0deg) scale(1,1.12)!important;
  }
}

/* Index tabs tuck beneath the top sheet: the exposed upper half carries the
   handwritten label while the lower half disappears under the paper edge. */
.player-file .folder-open .filing-index-tab{
  left:7%;
  top:9%;
  width:37.5%;
  height:87px;
  min-height:0;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  padding:14px 18px 0;
  box-sizing:border-box;
  overflow:hidden;
  clip-path:inset(0 0 50% 0);
  color:#1d1a16;
  text-shadow:.25px .2px 0 #1d1a1680;
  font:700 20px/1.05 'Segoe Print','Bradley Hand','Comic Sans MS',cursive;
  letter-spacing:.025em;
  transform:rotate(-1deg);
}
@media(max-width:900px){
  .player-file .folder-open .filing-index-tab{left:7%;top:9%;width:37.5%;height:87px;font-size:19px}
}
@media(max-width:480px){
  .player-file .folder-open .filing-index-tab{left:6%;top:9%;width:40%;height:81px;padding:12px 14px 0;font-size:16px}
}

/* Calibrated filing-tab profile from the layout harness. */
.player-file .folder-open .filing-index-tab{
  left:51.5918367347%!important;
  top:8.4204079784%!important;
  width:37.5%!important;
  height:87px!important;
  padding:0!important;
  z-index:1!important;
  background-image:none!important;
  transform:rotate(-1deg) scale(1.25)!important;
}
.player-file .folder-open .filing-index-tab::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background-position:center;
  background-size:100% 100%;
  background-repeat:no-repeat;
  transform:scaleX(-1);
  pointer-events:none;
}
.player-file .folder-open .filing-index-tab.notes-tab::before{background-image:url('index-tab-blue.webp')}
.player-file .folder-open .filing-index-tab.documents-tab::before{background-image:url('index-tab-red.webp')}
@media(max-width:900px){
  .player-file .folder-open .filing-index-tab::before{transform:scaleX(-1)}
}
@media(max-width:900px){
  .player-file .folder-open .filing-index-tab{
    left:-2.6875%!important;
    top:28.4791666667%!important;
    width:37.5%!important;
    height:87px!important;
    transform:rotate(-90deg) scale(1.9)!important;
  }
}

/* The photographed folder asset already contains the physical paper stack. */
.player-file .folder-open .folder-object-content{z-index:5!important}
.player-file .folder-open .filing-paper-edge{
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
  background:url('paper-edge-landscape.png') center/100% 100% no-repeat;
}
@media(max-width:900px){
  .player-file .folder-open .filing-paper-edge{
    background-image:url('paper-edge-portrait.png');
  }
}

/* Final calibrated NOTES and DOCUMENTS tab profiles. */
.player-file .folder-open .filing-index-tab{
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  color:transparent!important;
  overflow:hidden!important;
  clip-path:inset(0 0 50% 0)!important;
}
.player-file .folder-open .filing-index-tab.notes-tab{
  left:49.4489795918%!important;
  top:9.4346940162%!important;
  width:37.5%!important;
  height:87px!important;
  z-index:1!important;
  transform:rotate(-1deg) scale(1.39)!important;
}
.player-file .folder-open .filing-index-tab.documents-tab{
  left:49.8571428571%!important;
  top:10.1591840431%!important;
  width:37.5%!important;
  height:87px!important;
  z-index:1!important;
  transform:rotate(-1deg) scale(1.37)!important;
}
.player-file .folder-open .filing-index-tab-label{
  position:absolute;
  z-index:5!important;
  pointer-events:none;
  white-space:nowrap;
  color:#111;
  opacity:.86;
  mix-blend-mode:multiply;
  text-shadow:none;
  font:900 20px/1 'Courier New',Courier,monospace;
  letter-spacing:.055em;
}
.player-file .folder-open .filing-index-tab-label.notes-label{
  left:82.0816326531%!important;
  top:11.6959179515%!important;
  transform:translate(-50%,-50%) rotate(0deg) scale(.84)!important;
}
.player-file .folder-open .filing-index-tab-label.documents-label{
  left:82.2857142857%!important;
  top:11.9857139623%!important;
  transform:translate(-50%,-50%) rotate(0deg) scale(.91)!important;
}
@media(max-width:900px){
  .player-file .folder-open .filing-index-tab.notes-tab{
    left:-1.75%!important;
    top:26.3958333334%!important;
    width:37.5%!important;
    height:87px!important;
    z-index:1!important;
    transform:rotate(-90deg) scale(1.85)!important;
  }
  .player-file .folder-open .filing-index-tab.documents-tab{
    left:-.96875%!important;
    top:25.9791666667%!important;
    width:37.5%!important;
    height:87px!important;
    z-index:1!important;
    transform:rotate(-90deg) scale(2)!important;
  }
  .player-file .folder-open .filing-index-tab-label.notes-label{
    left:9.875%!important;
    top:17.3750000000%!important;
    transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important;
  }
  .player-file .folder-open .filing-index-tab-label.documents-label{
    left:10.34375%!important;
    top:17.3750000000%!important;
    transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important;
  }
}

/* Final published calibration override: reviewed three-state capture. */
.player-file .folder-open .filing-index-tab.notes-tab{left:49.4489795918%!important;top:9.4346940162%!important;transform:rotate(-1deg) scale(1.39)!important}
.player-file .folder-open .filing-index-tab.documents-tab{left:49.8571428571%!important;top:10.1591840431%!important;transform:rotate(-1deg) scale(1.37)!important}
.player-file .folder-open .filing-index-tab-label.notes-label{left:81.6291129940%!important;top:11.0533456245%!important;transform:translate(-50%,-50%) rotate(0deg) scale(1.03)!important}
.player-file .folder-open .filing-index-tab-label.documents-label{left:81.9463338835%!important;top:11.9857139623%!important;transform:translate(-50%,-50%) rotate(0deg) scale(1.02)!important}
.player-file .folder-open .filing-paper-edge{left:0!important;top:0!important;right:auto!important;bottom:auto!important;width:100%!important;height:100%!important;transform-origin:center center!important;transform:rotate(0deg) scale(1,1)!important}
@media (min-width:861px) and (max-width:1000px) and (orientation:portrait){
  .player-file .folder-open .filing-index-tab.notes-tab{left:-1.75%!important;top:26.3958333334%!important;transform:rotate(-90deg) scale(2)!important}
  .player-file .folder-open .filing-index-tab.documents-tab{left:-.96875%!important;top:25.9791666667%!important;transform:rotate(-90deg) scale(2)!important}
  .player-file .folder-open .filing-index-tab-label.notes-label{left:9.875%!important;top:17.375%!important;transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important}
  .player-file .folder-open .filing-index-tab-label.documents-label{left:10.34375%!important;top:17.375%!important;transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important}
  .player-file .folder-open .filing-paper-edge{left:12.55%!important;top:11.45%!important;transform:rotate(0deg) scale(.97,1.11)!important}
}
@media (max-width:860px) and (min-height:1000px) and (orientation:portrait){
  .player-file .folder-open .filing-index-tab.notes-tab{left:-1.2718779655%!important;top:26.2570440405%!important;transform:rotate(-90deg) scale(2)!important}
  .player-file .folder-open .filing-index-tab.documents-tab{left:-.9225011052%!important;top:26.8393553563%!important;transform:rotate(-90deg) scale(2)!important}
  .player-file .folder-open .filing-index-tab-label.notes-label{left:9.3448792755%!important;top:17.4599624632%!important;transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important}
  .player-file .folder-open .filing-index-tab-label.documents-label{left:10.0436444169%!important;top:18.5081148171%!important;transform:translate(-50%,-50%) rotate(-90deg) scale(1)!important}
  .player-file .folder-open .filing-paper-edge{left:12.66%!important;top:12.17%!important;transform:rotate(0deg) scale(1,1.12)!important}
}

/* The harness calibrated a complete sheet, not the narrow edge-only mask. */
.player-file .folder-open .filing-paper-edge{
  background-image:url('paper-only-landscape.png')!important;
  background-position:center center!important;
  background-size:100% 100%!important;
}
@media (orientation:portrait){
  .player-file .folder-open .filing-paper-edge{
    background-image:url('paper-only-portrait.png')!important;
  }
}
