.entry-chest>button,.menu-cabinet-drawer,.document-chest>.chest-drawer{isolation:isolate}
body .entry-chest>button:not(.plans-trigger)::before,body.craft-review .tool-roll.cabinet-menu.open a.menu-cabinet-drawer::before,body .document-chest>.chest-drawer::before{content:''!important;display:block!important;pointer-events:none}
body .entry-chest>button:not(.plans-trigger),body.craft-review .tool-roll.cabinet-menu.open a.menu-cabinet-drawer,body:is(.portal-page,.admin-page) .document-chest>.chest-drawer{color:#e6b886!important;-webkit-text-fill-color:#e6b886!important;text-shadow:0 1px 1px #080806,0 -1px #fff1c755!important}
.entry-chest>button:not(.plans-trigger)::before,.menu-cabinet-drawer::before{content:'';position:absolute;z-index:-1;left:32.9%;width:34%;top:11%;height:76%;background:linear-gradient(135deg,#20251f,#45453a 48%,#171e18);border:1px solid #b4895e;border-radius:5px;box-shadow:inset 0 1px #bba077,inset 0 -2px #0e130f}
.document-chest>.chest-drawer::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(135deg,#20251f,#45453a 48%,#171e18);border:1px solid #b4895e;border-radius:4px}
body .entry-chest>.plans-trigger,body .document-chest>.plans-trigger,body .menu-cabinet-art>.plans-trigger{position:absolute!important;top:3%!important;left:13%!important;width:66%!important;height:14%!important;min-height:30px!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important;display:flex!important;align-items:center!important;justify-content:center!important;transform:rotate(-4deg)!important;font:700 clamp(12px,2vw,20px) Georgia,serif!important;color:#312d21!important;-webkit-text-fill-color:#312d21!important;text-shadow:0 1px #ede0c4!important;cursor:pointer}
.plans-trigger:focus-visible{outline:2px solid #684624!important;outline-offset:1px}
body .owner-access.owner-lantern{left:var(--lantern-x,19%)!important;top:var(--lantern-y,75%)!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%);width:64px;height:90px;padding:0!important;min-width:44px;min-height:44px;background:none!important;border:0!important;box-shadow:none!important;z-index:3}
.owner-lantern span{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);white-space:nowrap;opacity:0;color:#d7b27b!important;-webkit-text-fill-color:#d7b27b!important;font:700 15px Georgia,serif;text-shadow:0 1px 3px #120d08,0 0 5px #120d08;pointer-events:none}
.owner-lantern:is(:hover,:focus-visible) span{opacity:1}
.owner-lantern:is(:hover,:focus-visible){filter:drop-shadow(0 0 8px #e5a33a)}
.owner-lantern:focus-visible{outline:2px solid #bf935b;outline-offset:3px}
body .owner-lantern.lantern-offscreen{left:24px!important;top:auto!important;bottom:185px!important;transform:none;width:120px;height:44px}
.owner-lantern.lantern-offscreen span{opacity:1;left:0;bottom:12px;transform:none}
.rolled-extras>summary{display:none!important}
.rolled-extras[open]{position:relative;isolation:isolate;box-sizing:border-box;padding:64px clamp(24px,5vw,48px)!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.rolled-extras[open]::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border:56px solid transparent;border-inline-width:18px;border-image:url('media/brand/jobsite-plan-sheet-v1.png') 145 55 fill / 56px 18px / 0 stretch;clip-path:polygon(2% 0,98% 0,100% 3%,98% 12%,99% 55%,98% 89%,100% 98%,98% 100%,2% 100%,0 98%,2% 89%,1% 55%,2% 12%,0 3%)}
body .rolled-extras :is(a,button){background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#29251e!important;-webkit-text-fill-color:#29251e!important;text-shadow:none!important;min-height:44px}
body .rolled-extras :is(a,button) span{background:none!important;color:inherit!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
body .cabinet-menu-close{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#f3dfb7!important;-webkit-text-fill-color:#f3dfb7!important;text-shadow:0 1px 2px #17120f,0 0 5px #17120f!important;text-decoration:underline;text-underline-offset:4px}
body .entry-chest>.plans-trigger,body .document-chest>.plans-trigger,body .menu-cabinet-art>.plans-trigger{color:#171b16!important;-webkit-text-fill-color:#171b16!important;font-size:clamp(16px,2.2vw,22px)!important;text-shadow:0 1px 1px #fff3d7,0 0 3px #fff3d7!important;text-decoration:underline;text-underline-offset:3px}
body :is(.cabinet-menu-close,.rolled-extras a,.rolled-extras button):focus-visible{outline:2px solid #b58a51!important;outline-offset:3px!important}
.file-sharing{margin:14px 0}.file-sharing summary,.completed-projects summary{min-height:44px;padding:10px 0;cursor:pointer;font-weight:700}.file-sharing :is(input,select,button){display:block;margin:12px 0;max-width:100%;min-height:44px}.file-sharing input[hidden]{display:none}.project-status-action{background:none;border:0;text-decoration:underline;cursor:pointer;padding:12px;color:#273323;font:700 16px Georgia,serif}
/* Irregular hammered copper plates, with legible dark stamped lettering. */
body .entry-chest>button:not(.plans-trigger)::before,body.craft-review .tool-roll.cabinet-menu.open a.menu-cabinet-drawer::before,body .document-chest>.chest-drawer::before{background:url('media/brand/weathered-copper-plaque.svg') center/100% 100% no-repeat!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:drop-shadow(0 2px 1px #100d0a99)}
body .entry-chest>button:not(.plans-trigger),body.craft-review .tool-roll.cabinet-menu.open a.menu-cabinet-drawer,body:is(.portal-page,.admin-page) .document-chest>.chest-drawer{color:#241d16!important;-webkit-text-fill-color:#241d16!important;text-shadow:0 1px #e3c49899!important}
/* Category accents stay dark enough for the brass; labels also remain underlined. */
body :is(.entry-chest>button,.chest-drawer,.menu-cabinet-drawer){--category-ink:#241d16}
body :is([data-drawer="plans"],[data-folder="plans"],[data-show-workspace="projects"]){--category-ink:#18384b}
body :is([data-drawer="photos"],[data-folder="photos"],[data-show-workspace="files"]){--category-ink:#193b2c}
body :is([data-drawer="change-orders"],[data-folder="change-orders"]){--category-ink:#54281c}
body :is([data-drawer="contracts"],[data-folder="contracts"]){--category-ink:#382a48}
body.admin-page .entry-chest>button:nth-of-type(1){--category-ink:#18384b}
body.admin-page .entry-chest>button:nth-of-type(2){--category-ink:#54281c}
body.admin-page .entry-chest>button:nth-of-type(3){--category-ink:#193b2c}
body.admin-page .entry-chest>button:nth-of-type(4){--category-ink:#382a48}
body.portal-page:not(.portal-guest) .entry-chest>button:nth-of-type(1){--category-ink:#193b2c}
body.portal-page:not(.portal-guest) .entry-chest>button:nth-of-type(2){--category-ink:#18384b}
body.portal-page:not(.portal-guest) .entry-chest>button:nth-of-type(3){--category-ink:#54281c}
body .entry-chest>button:not(.plans-trigger),body.craft-review .tool-roll.cabinet-menu.open a.menu-cabinet-drawer,body:is(.portal-page,.admin-page) .document-chest>.chest-drawer{color:var(--category-ink)!important;-webkit-text-fill-color:var(--category-ink)!important;font-weight:800!important;text-shadow:0 1px 1px #ffe9b9!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}
body :is(.entry-chest>button,.chest-drawer,.menu-cabinet-drawer):is(:hover,:focus-visible){text-decoration-thickness:3px!important;text-underline-offset:5px}
body:is(.admin-page,.portal-page) :is(.portal-cabinet-back,.drawer-back,.cabinet-upload>summary,.cabinet-upload button[type=submit]){color:#192c25!important;-webkit-text-fill-color:#192c25!important;font-weight:800!important;text-shadow:0 1px 1px #fff0cb,0 0 3px #fff0cb!important;text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:5px;cursor:pointer}
body:is(.admin-page,.portal-page) .cabinet-upload>summary{font-size:clamp(20px,3vw,25px)!important;line-height:1.4;min-height:44px}
body:is(.admin-page,.portal-page) :is(button,a,summary,input):focus-visible{outline:3px solid #244e60!important;outline-offset:4px!important}
body:is(.admin-page,.portal-page) button:disabled{opacity:.55;cursor:not-allowed;text-decoration:none!important}
/* The brass is part of the artwork, never a second plaque laid over it. */
body .entry-chest>button:not(.plans-trigger)::before,body.craft-review .tool-roll.cabinet-menu.open a.menu-cabinet-drawer::before,body .document-chest>.chest-drawer::before{content:none!important;display:none!important}
body .cabinet-menu-close{position:sticky!important;top:0!important;z-index:10!important;margin-top:0!important}
@media(max-width:600px){
 body .portal-cabinet-entry,body nav.artwork-cabinet{overflow-x:clip}
 body .entry-chest,body .document-chest,body .menu-cabinet-art{width:430px!important;max-width:none!important;left:50%;margin-left:-215px!important}
 body:is(.portal-page,.admin-page) .entry-chest>button:not(.plans-trigger),body:is(.portal-page,.admin-page) .document-chest>.chest-drawer,body.craft-review .tool-roll.cabinet-menu.open a.menu-cabinet-drawer{height:11.8%!important;min-height:44px!important;top:calc(21.5% + var(--drawer)*12%)!important;font-size:14px!important;line-height:1.05!important}
 body.craft-review .site-header .tool-roll.cabinet-menu.open{overflow-x:hidden!important}
}
