#table-workshop{position:fixed;inset:12px 12px auto auto;margin:0;width:348px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:0;border:1px solid #baa162;border-radius:18px;background:linear-gradient(135deg,#193d2b,#0a2118 65%);color:#f4e6c4;box-shadow:0 15px 55px #000a;font:12px/1.45 Interface,system-ui,sans-serif;overflow:hidden;z-index:2147483600;box-sizing:border-box}#table-workshop:popover-open{display:flex;flex-direction:column}
#table-workshop .workshop-heading{display:flex;align-items:center;gap:7px;padding:9px 11px;background:#102c20;border-bottom:1px solid #c5ad6d44;min-height:57px;cursor:grab;touch-action:none;flex-shrink:0}#table-workshop .workshop-heading strong{font:600 18px Georgia,serif;flex:1;white-space:nowrap;color:#efd69a}#table-workshop .workshop-grip{font-size:21px;color:#bda469}#table-workshop button{font:inherit;min-height:40px;padding:7px 10px;border:1px solid #c5a96a77;border-radius:11px;background:linear-gradient(#254c36,#10291e);color:#f3e3bd;box-shadow:inset 0 1px #fff1,0 2px 5px #0005;cursor:pointer}#table-workshop button:hover{border-color:#f0d8a0}#table-workshop button:disabled{opacity:.42;cursor:default}#table-workshop button:focus-visible,#table-workshop input:focus-visible{outline:2px solid #f5d898;outline-offset:2px}#table-workshop button.gold{background:linear-gradient(#e8ce94,#b7904d);color:#20190e;font-weight:700}#table-workshop #workshop-save{font-size:11px;padding:7px 9px}#table-workshop #workshop-collapse,#table-workshop #workshop-close{width:32px;min-width:32px;padding:0;font-size:20px}#table-workshop #workshop-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#73aa8d}#table-workshop #workshop-dot[data-dirty=true]{background:#ffcb6d;box-shadow:0 0 6px #ffcb6d66}
#table-workshop #workshop-dirty{padding:7px 12px;margin:0;background:#0e271d;color:#e0c98e;font-size:10px;flex-shrink:0}#table-workshop #workshop-error{padding:8px 12px;margin:0;background:#562c22;color:#ffe2c0;font-size:11px;flex-shrink:0}#table-workshop [hidden]{display:none!important}#table-workshop .workshop-body{padding:12px 14px;overflow:auto;min-height:0;scrollbar-width:thin}#table-workshop.workshop-collapsed .workshop-body,#table-workshop.workshop-collapsed #workshop-dirty{display:none}#table-workshop.workshop-collapsed .workshop-heading{border:0;min-height:52px}
#table-workshop .workshop-tabs,#table-workshop .workshop-row,#table-workshop .workshop-nudge{display:flex;gap:7px;margin:0 0 12px}#table-workshop .workshop-tabs button{flex:1}#table-workshop .workshop-row{margin:10px 0 0}#table-workshop .workshop-row button{flex:1;font-size:11px}#table-workshop .workshop-tabs [aria-pressed=true]{background:#60502a;border-color:#e3c67c}#table-workshop .workshop-help{color:#b8caba;font-size:10px;margin:8px 0 13px}#table-workshop label{display:block;margin:14px 0;color:#e8d8b4}#table-workshop .workshop-toggle{display:flex;gap:8px;align-items:center}#table-workshop input[type=checkbox]{accent-color:#d7b76e;width:19px;height:19px}#table-workshop input[type=range]{display:block;width:100%;min-height:32px;margin:8px 0;accent-color:#d1ae64;touch-action:pan-y}#table-workshop output{float:right;color:#efd18d;font-variant-numeric:tabular-nums}#table-workshop details{padding:10px;background:#0b241a;border:1px solid #a88f573f;border-radius:11px}#table-workshop summary{cursor:pointer;min-height:22px}#table-workshop #workshop-objects{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}#table-workshop #workshop-objects label{display:flex;gap:6px;align-items:center;font-size:11px;margin:0;min-height:34px;overflow:hidden}#table-workshop #workshop-selection{color:#d8ba78;font-size:11px;margin:9px 0}#table-workshop .workshop-nudge button{flex:1;font-size:19px}#table-workshop .workshop-reset,#table-workshop #workshop-cancel{width:100%;margin-top:10px;font-size:11px}
body.workshop-editing #players .player-panel{pointer-events:auto!important;cursor:grab;touch-action:none!important;animation:none!important;transition:none!important}body.workshop-editing #players .player-panel *{touch-action:none!important}body.workshop-editing :is(#play-card,#take-bottom,#declare,#history-button,#draw,#ready,#start,#open-menu,#open-settings,#open-chat,#auth-account,#portrait-occupancy){touch-action:none!important;cursor:grab!important;transition:none!important;animation:none!important}
@media(max-width:700px){#table-workshop{inset:auto 8px 8px auto;width:min(348px,calc(100vw - 16px));max-height:54dvh}#table-workshop .workshop-heading{padding:7px 8px;gap:5px}#table-workshop .workshop-heading strong{font-size:17px}#table-workshop .workshop-body{padding:11px 12px}}
@media(orientation:landscape) and (max-height:500px){#table-workshop{inset:8px 8px auto auto;max-height:calc(100dvh - 16px);width:330px}body.workshop-editing>*{visibility:visible!important}body.workshop-editing::before,body.workshop-editing::after{content:none!important;display:none!important}}

/* Card groups remain separate workshop targets, including nested desktop piles. */
body.workshop-editing [data-workshop-card],body.workshop-editing [data-workshop-card] *{touch-action:none!important;transition:none!important;animation:none!important}body.workshop-editing [data-workshop-card]{pointer-events:auto!important;cursor:grab!important}
