:root{--ink:#202c28;--muted:#637169;--line:#d9dfd8;--paper:#fafbf8;--green:#24634d;--soft:#e2ece4;--gold:#e6b65b;font:14px/1.5 system-ui,-apple-system,sans-serif;color:var(--ink);background:#edf0e9}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--line);border-radius:7px;padding:8px 12px;background:var(--paper);color:var(--ink);font-weight:600}button:hover{border-color:var(--green);background:#edf4ed}button:disabled{cursor:wait;opacity:.55}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c0882e;outline-offset:2px}header{padding:20px 28px;background:#172e27;color:#fff;display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:4px solid var(--gold)}.brand{display:flex;align-items:center;gap:12px}.mark{font-size:39px;color:var(--gold)}h1{font-family:Georgia,serif;font-size:27px;line-height:1.1;margin:0}.brand p{font-size:9px;letter-spacing:2px;color:#bacfc4;margin:7px 0 0}.topactions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.topactions>span{font-size:11px;margin-right:8px;color:#b8d0c1}.primary{background:var(--gold);border-color:var(--gold);color:#27291d}.primary:hover{background:#edc97f}.primary b{margin-left:7px;background:#172e27;color:white;padding:1px 6px;border-radius:4px}main{display:grid;grid-template-columns:230px minmax(320px,1fr) 310px;max-width:1540px;margin:24px auto;padding:0 24px;gap:22px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:16px}.sectionhead{display:flex;justify-content:space-between;align-items:center}h2{margin:0 0 13px;font-size:12px;text-transform:uppercase;letter-spacing:1.1px}input:not([type=checkbox]):not([type=color]):not([type=range]),select,textarea{width:100%;padding:8px 9px;border:1px solid #cdd5cc;border-radius:6px;background:white;color:var(--ink);min-width:0}input[type=range]{width:100%;accent-color:var(--green)}input[type=checkbox]{accent-color:var(--green);width:16px;height:16px;flex-shrink:0}label{display:block;font-size:12px;font-weight:600;margin-top:12px}label input,label select,label textarea{margin-top:4px}label.include{display:flex;align-items:center;gap:7px}input[type=color]{width:34px;height:31px;padding:2px;border:1px solid var(--line);border-radius:5px;background:white}.twocol{display:grid;grid-template-columns:1fr 1fr;gap:0 10px}.filters{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.filters button{font-size:11px;padding:4px 8px}.filters button.active{background:var(--green);color:white;border-color:var(--green)}.selectrow{display:flex;gap:12px;border-bottom:1px solid var(--line);padding-bottom:9px}.selectrow button{padding:0;border:0;background:none;color:var(--green);font-size:11px}.roster{position:sticky;top:16px;max-height:calc(100vh - 40px);overflow:auto;padding:14px}.entry{display:flex;align-items:center;gap:4px;border-bottom:1px solid #e7ebe4;padding:4px 0}.entry button{border:0;background:none;display:flex;text-align:left;gap:8px;align-items:center;flex:1;min-width:0;padding:7px 3px;font-size:12px}.entry.active{background:#dfeadf;border-radius:6px}.entry .mini{height:51px;width:34px;object-fit:contain}.entry small{display:block;color:var(--muted);font-size:10px;font-weight:400}.entry input{width:14px;height:14px}.worktitle{display:flex;align-items:center;justify-content:space-between;margin:4px 0 18px;gap:12px}.worktitle h2{font-family:Georgia,serif;font-size:29px;text-transform:none;letter-spacing:0;margin:2px 0}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:700;color:var(--green);text-transform:uppercase;margin:0}.viewbuttons{display:flex;gap:6px}.viewbuttons button{font-size:11px;padding:7px}.mat{position:relative;min-height:645px;border:1px solid #bdcfbd;border-radius:12px;background-color:#d5e1d3;background-image:linear-gradient(#b8cdb855 1px,transparent 1px),linear-gradient(90deg,#b8cdb855 1px,transparent 1px),linear-gradient(#96b39866 1px,transparent 1px),linear-gradient(90deg,#96b39866 1px,transparent 1px);background-size:7px 7px,7px 7px,35px 35px,35px 35px;display:flex;justify-content:center;align-items:center;padding:50px 20px 40px}.matlabel,.matfoot{position:absolute;font:11px ui-monospace,monospace;color:#3e5d49;left:18px}.matlabel{top:14px}.matfoot{bottom:14px}#preview{position:relative;outline:1px dashed #698d70;outline-offset:4px;filter:drop-shadow(3px 5px 4px #24382b30)}#preview>svg{display:block;width:195px;height:auto}#preview.guide:after{content:'';position:absolute;left:10%;width:80%;top:4.82%;height:44.58%;border:1px dashed #c85f37;pointer-events:none}.under{display:flex;align-items:center;justify-content:space-between;margin:14px 0;gap:10px}.under strong{font-size:12px}.under span{display:block;font-size:11px;color:var(--muted)}.under button{background:var(--green);color:white;border-color:var(--green)}#status{font-size:12px;color:var(--green);min-height:20px;padding:0 0 12px}#status.error{color:#a23828}progress{width:100%;accent-color:var(--green)}.controls{display:flex;flex-direction:column;gap:14px}.hint{font-size:11px;color:var(--muted);margin:12px 0 0}.paletteRow{display:flex;gap:8px;align-items:center;margin-top:8px}.paletteRow span{font-size:12px;flex:1}.paletteRow b{font:11px ui-monospace,monospace;color:var(--muted);width:16px}.fxrow{border:1px solid var(--line);border-radius:7px;padding:9px;margin-top:8px;display:grid;grid-template-columns:1fr 60px 24px;gap:5px}.fxrow select,.fxrow input{font-size:11px!important;padding:5px!important}.fxrow button{padding:2px;border:0;background:none}.fxrow .include{grid-column:1/-1;margin:0;font-weight:400}.fxrow .include input{margin:0}.fxhead{display:flex;justify-content:space-between;align-items:center;margin-top:15px}.fxhead:first-child{margin-top:0}.fxhead h2{margin:0}.fxhead button{font-size:10px;padding:3px 6px}.notes{font-size:11px}.notes textarea{font-size:11px;min-height:70px;resize:vertical}.quiet{font-size:11px;background:transparent;color:var(--muted)}.help{font-size:12px;margin-top:10px}.help summary{cursor:pointer;font-weight:700}.help p{color:var(--muted)}#legend{display:grid;grid-template-columns:1fr 1fr;gap:8px}#legend span{display:flex;gap:7px;align-items:center;font-size:11px}#legend svg{width:23px;height:23px}footer{max-width:1540px;margin:25px auto;padding:18px 24px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:11px}[hidden]{display:none!important}@media(min-width:1400px){main{grid-template-columns:250px minmax(400px,1fr) 340px}#preview>svg{width:210px}}@media(max-width:1050px){main{grid-template-columns:185px minmax(270px,1fr)}.controls{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.roster{max-height:790px}.topactions>span{display:none}.mat{min-height:640px}}@media(max-width:650px){header{padding:16px;flex-direction:column;align-items:flex-start}h1{font-size:25px}.topactions{width:100%}.topactions button{font-size:11px}.topactions .primary{margin-left:auto}main{display:flex;flex-direction:column;padding:0 12px;margin:14px 0;gap:16px}.roster{position:static;width:100%;max-height:260px}.entry{width:50%;float:left}.selectrow{clear:both}#list:after{content:'';display:block;clear:both}.work{width:100%}.worktitle{padding:0 4px}.mat{min-height:610px}.controls{width:100%;display:flex}.worktitle h2{font-size:26px}footer{flex-direction:column}.entry .mini{height:40px}#legend{grid-template-columns:1fr 1fr}}

.batchPlan{margin-top:16px;padding:14px 18px}.batchPlan summary{font-weight:700;cursor:pointer}.platePlanRow{padding:14px 0;border-bottom:1px solid #d5dfd6;display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between}.plateColors{display:flex;flex-wrap:wrap;gap:8px;width:100%}.plateColors span{display:inline-flex;align-items:center;gap:5px;font-size:11px}.plateColors i{width:16px;height:16px;border:1px solid #8b978c;border-radius:4px}#exportScope{width:auto;max-width:190px}
/* Maker controls extend the original Foundry workbench. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cardActions{display:flex;flex-wrap:wrap;gap:5px;margin:10px 0}.cardActions button{font-size:11px;padding:7px}.cardActions #newCard{flex:1;background:var(--green);color:white}.danger{color:#a23828}.deckTools{font-size:12px;margin-top:14px}.deckTools button{width:100%;margin-top:10px;font-size:11px}.deckTools summary,details>summary{cursor:pointer;font-weight:600}.upload{display:block;width:100%;margin-top:15px;border:1px dashed var(--green);padding:12px;color:var(--green)}.artName{overflow-wrap:anywhere;font-size:12px;color:var(--green)}#customArt{background:var(--soft);padding:10px;border-radius:7px;margin-top:10px}#customArt button{font-size:11px}#customArt details{font-size:11px;margin-top:8px}#artColors label{font-size:11px}#visibility label{margin-top:8px;font-size:11px}.exportPanel{margin-top:16px}.exportPanel h2{margin:0}.exportPanel .batchPlan{padding:0;margin-top:14px}.notice{background:#fff4d6;padding:12px 28px;color:#654a1e;font-size:13px;border-bottom:1px solid #e9d49f}#status.error{border:1px solid #dfada2;border-radius:7px;padding:12px;background:#fff3ef}#status:empty{display:none}#exportProgress{margin:12px 0}#cancelExport{font-size:11px}.topactions button{font-size:12px}.topactions #undo,.topactions #redo{background:transparent;color:#d4e1d8;border-color:#516a5d}button:disabled{cursor:not-allowed}.bodySettings summary{font-size:12px;letter-spacing:.6px}dialog{width:min(540px,calc(100% - 24px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:14px;padding:24px;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #0005}dialog::backdrop{background:#10251dc0}dialog p{font-size:12px;color:var(--muted)}dialog .sectionhead h2{margin:0}.dialogActions{display:flex;justify-content:space-between;gap:12px;margin-top:16px}.importPreview{margin-top:16px;min-height:180px;max-height:330px;overflow:auto;border:1px dashed var(--line);display:flex;align-items:center;justify-content:center;background:repeating-conic-gradient(#edf0e9 0% 25%,#fff 0% 50%) 50% / 16px 16px;border-radius:8px}.importPreview svg{height:240px;width:auto;max-width:100%}#importStatus{min-height:20px}.worktitle h2{overflow-wrap:anywhere}#list .entry span{overflow-wrap:anywhere}#notes{resize:vertical}#artDialog input[type=file]{font-size:12px}.topactions{justify-content:flex-end}@media(max-width:650px){.topactions{justify-content:flex-start}.mat{min-height:550px}#preview>svg{width:175px}.exportPanel .sectionhead{gap:8px;flex-wrap:wrap}.notice{padding:12px}.brand p{letter-spacing:1px;font-size:8px}#visibility{grid-template-columns:1fr 1fr}}
