.office-patch-binder{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:clamp(8px,2.5vw,28px);box-sizing:border-box;background:#080e14c9;backdrop-filter:blur(8px);color:#302c25;font:14px/1.5 system-ui,sans-serif;pointer-events:auto}
.office-patch-binder[hidden],.office-patch-binder [hidden]{display:none!important}
.patch-binder-book{width:min(860px,100%);max-height:calc(100dvh - 32px);overflow:auto;background:#e9e0cd;border:12px solid #3d3029;border-left:30px solid #342721;border-radius:8px 14px 14px 8px;box-shadow:0 20px 70px #0008;box-sizing:border-box;animation:patch-book-open .3s ease-out;transform-origin:left center}
.patch-binder-book header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 22px 0}.patch-binder-book h1{font-size:clamp(20px,3vw,29px);margin:0;font-weight:600}.patch-binder-book header small{font-size:10px;letter-spacing:.16em;color:#786957}
.office-patch-binder button{font:inherit;cursor:pointer;color:inherit}.patch-binder-book header button,.patch-binder-book footer button,.patch-detail-card>button{border:1px solid #a79477;background:#f5efdf;padding:7px 12px;border-radius:4px}.office-patch-binder button:focus-visible{outline:3px solid #21818e;outline-offset:3px}.office-patch-binder button:disabled{opacity:.35;cursor:default}
.patch-collection-status{font-size:12px;color:#72644e;margin:4px 22px 12px}.patch-page{margin:0 18px;background:repeating-linear-gradient(0deg,#bfae8d0a 0 1px,transparent 1px 4px),#f2ead8;box-shadow:0 2px 8px #3b2c2620;border:1px solid #c5b79d;padding:12px}
.patch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.patch-slot{min-width:0;min-height:130px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px;border:0;background:transparent;border-radius:5px}.patch-slot:hover{background:#a3926c18}.patch-slot img{width:100%;height:clamp(75px,13vh,135px);object-fit:contain;filter:drop-shadow(1px 3px 2px #30241e40)}.patch-slot span{font:600 12px/1.25 system-ui;text-align:center}.patch-slot small{font-size:10px;color:#746a57}.patch-slot[data-earned=false] img{filter:grayscale(1);opacity:.18}.patch-slot.is-empty{border:1px dashed #b5a48366;opacity:.45;background:#c7b6980a}.patch-binder-book footer{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;font-size:12px}
.patch-detail{position:absolute;inset:0;display:grid;place-items:center;padding:18px;background:#080e14a8;backdrop-filter:blur(5px)}.patch-detail-card{width:min(780px,100%);max-height:calc(100dvh - 50px);overflow:auto;background:#f0e8d7;color:#302c25;border:1px solid #b6a080;border-radius:8px;box-shadow:0 20px 70px #0009;padding:22px;box-sizing:border-box}.patch-detail-card>button{display:block;margin:0 0 20px auto}.patch-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;align-items:center}.patch-detail-art img{width:100%;max-height:330px;object-fit:contain;filter:drop-shadow(1px 5px 4px #2c201c44)}.patch-detail[data-earned=false] img{filter:grayscale(1);opacity:.3}.patch-detail h2{font-size:clamp(23px,3vw,34px);line-height:1.15;margin:8px 0 12px}.patch-subtext{font-style:normal;color:#8c652d;font-size:17px}.patch-description{line-height:1.7;font-style:italic}.patch-earned-date{font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#786957}

.lab-patch-access{display:none!important}
@keyframes patch-book-open{from{opacity:0;transform:perspective(1200px) rotateY(-9deg) scale(.97)}to{opacity:1;transform:none}}
@media(max-width:600px){.patch-binder-book{border-width:7px;border-left-width:15px;max-height:calc(100dvh - 16px)}.patch-binder-book header{padding:12px 10px 0}.patch-collection-status{margin:5px 10px 12px}.patch-page{margin:0 7px;padding:6px}.patch-grid{gap:3px}.patch-slot{padding:4px;min-height:115px}.patch-slot img{height:80px}.patch-slot span{font-size:10px}.patch-slot small{font-size:9px}.patch-binder-book footer{padding:12px 8px;gap:6px}.patch-binder-book footer button{padding:6px;font-size:11px}.patch-detail{padding:9px}.patch-detail-card{padding:16px}.patch-detail-layout{gap:14px;grid-template-columns:1fr}.patch-detail-art img{max-height:220px}.patch-detail-copy h2{font-size:25px}.patch-subtext{font-size:16px}}
@media(prefers-reduced-motion:reduce){.patch-binder-book{animation:none}}
/* Empty fabric impressions, with no premature glimpse of unearned artwork. */
.patch-shape{display:block;width:100%;height:clamp(75px,13vh,135px);background:#b3ada3;opacity:.22;mask-size:contain;mask-repeat:no-repeat;mask-position:center;-webkit-mask-size:contain;-webkit-mask-repeat:no-repeat;-webkit-mask-position:center}
.patch-slot.is-empty{border:0;background:none;position:relative;opacity:1}
.patch-slot.is-empty::before{content:'';display:block;width:min(85%,115px);aspect-ratio:1;border-radius:50%;background:#b3ada3;opacity:.22}
.patch-detail[data-earned=false] .patch-detail-art img{display:none}
.patch-detail-art .patch-shape{height:260px}
.patch-binder-tools{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0}.patch-binder-tools button{white-space:nowrap}.patch-binder-tools button:first-child{border:1px solid #a79477;background:transparent;padding:7px 10px;border-radius:4px;font-size:11px;color:#74644e}
@media(max-width:600px){.patch-binder-book header{flex-wrap:wrap;gap:8px}.patch-binder-tools{margin-left:auto}.patch-binder-tools button{padding:6px 9px;font-size:11px}}
@media(max-width:600px){.patch-shape{height:80px}.patch-slot.is-empty::before{width:80px;max-width:95%}.patch-detail-art .patch-shape{height:180px}}
