/* Side layout protects the table; an explicit expanded layout uses the viewport. */
.table-workspace-layer{position:fixed;inset:0;z-index:65;pointer-events:none;--tw-ink:#eee8dc;--tw-muted:#b2bca6;--tw-accent:#efbf99;color:var(--tw-ink);font-size:15px;line-height:1.55}
.table-workspace-layer[hidden],.table-workspace-layer [hidden]{display:none!important}
.tw-window,.tw-window *{box-sizing:border-box}
.tw-window{position:absolute;display:flex;flex-direction:column;min-width:0;min-height:0;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:hidden;border:1px solid #dbbd8d77;border-radius:16px;background:linear-gradient(140deg,#273329fc,#17211bfd);box-shadow:0 20px 70px #0009,0 0 0 1px #03070455;pointer-events:auto;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);isolation:isolate;font-size:15px;line-height:1.6;--tw-section-space:18px;--tw-text:15px;transition:box-shadow .18s ease}
.tw-window:before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;z-index:-1;background:radial-gradient(ellipse at 15% 0,#f4c3900b,transparent 60%)}
.tw-window[data-dragging=true]{box-shadow:0 30px 90px #000a,0 0 0 1px #f1cd9855;user-select:none;-webkit-user-select:none}
.tw-window[data-expanded=true]{border-color:#efbf99aa;background:linear-gradient(140deg,#263328,#142018);box-shadow:0 25px 100px #000b}
.tw-window button{font:inherit;color:inherit;touch-action:manipulation;min-height:44px}
.tw-window button:focus-visible,.tw-drag-handle:focus-visible,.tw-minimised button:focus-visible{outline:2px solid #efba91;outline-offset:-3px}
.tw-header{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;min-height:70px;background:#101a14e8;border-bottom:1px solid #ccbd9633;flex:none}
.tw-drag-handle{min-width:130px;flex:1 1 150px;display:flex;gap:9px;align-items:center;cursor:grab;touch-action:none;align-self:stretch;padding:5px 0;border-radius:6px;user-select:none;-webkit-user-select:none}
.tw-window[data-dragging=true] .tw-drag-handle{cursor:grabbing}
.tw-header-mark{font-size:23px;line-height:1;color:#d3bb95;flex:none}
.tw-drag-handle>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:3px}
.tw-drag-handle strong{font-size:16px;font-weight:600;line-height:1.45}
.tw-subtitle{font-size:14px;line-height:1.45;color:#aab89d}
.tw-header-actions{display:flex;gap:3px;flex:0 1 auto;align-items:center;justify-content:flex-end;margin-left:auto}
.tw-header-actions button{min-width:40px;height:44px;border:0;background:transparent;border-radius:7px;font-size:20px;color:#c5cfb8;display:grid;place-items:center;padding:4px 7px;white-space:nowrap}
.tw-header-actions .tw-expand,.tw-header-actions .tw-close{width:auto;font-size:14px;min-width:70px;padding-inline:11px;border:1px solid #cdbb9344;background:#d6c49a0a}
.tw-header-actions .tw-expand{color:#efc5a3;border-color:#efbf9966}
.tw-header-actions button:hover{background:#e8dfbd17;color:#fff2d8}
.tw-jumps{display:flex;gap:7px;padding:10px 14px;overflow-x:auto;overscroll-behavior:contain;flex:none;border-bottom:1px solid #ccbd9625;scrollbar-width:thin;scrollbar-color:#91a48266 transparent;min-height:65px}
.tw-jumps button{display:flex;gap:7px;align-items:center;flex:none;white-space:nowrap;font-size:14px;padding:9px 12px;background:#d5dec609;border:1px solid #d5dec633;border-radius:7px;color:#c3cdb8;max-width:260px}
.tw-jumps button>span{overflow:hidden;text-overflow:ellipsis}.tw-jumps button>i{font-size:14px;font-style:normal;color:#e4bc8c}
.tw-jumps button[aria-pressed=true]{background:#efa88c17;border-color:#efa88c77;color:#f2d1af}
.tw-scroll{min-height:0;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9daf8c77 #152015;scroll-padding-block:12px;padding:16px}
.tw-sections{display:flex;flex-direction:column;gap:14px}
.tw-section{border:1px solid #d1d9ba2b;background:#1b271de8;border-radius:11px;flex:none;min-width:0;overflow:hidden;scroll-margin:12px}
.tw-section[data-pinned=true]{border-color:#d7bb8466}
.tw-section-header{display:flex;align-items:center;gap:3px;background:#d9e0bb09;min-height:55px;padding-right:6px}
.tw-section-toggle{display:flex;align-items:center;gap:9px;flex:1;min-width:0;text-align:left;background:none;border:0;padding:14px 7px 14px 14px;font-size:15px!important;font-weight:500!important;line-height:1.5}
.tw-section-toggle>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tw-section-symbol{font-size:18px;color:#d9bd97;flex:none;width:20px;text-align:center}
.tw-section-chevron{margin-left:auto;font-size:17px;font-style:normal;color:#a5b597;transition:transform .15s}.tw-section[data-collapsed=true] .tw-section-chevron{transform:rotate(-90deg)}
.tw-section-actions{display:flex;gap:0;flex:none}.tw-section-actions button{width:34px;display:grid;place-items:center;padding:0;border:0;background:transparent;color:#a7ba9d;border-radius:5px;font-size:15px}.tw-section-actions button:hover{color:#f0d6af;background:#fff1}.tw-section-actions [aria-pressed=true]{color:#efc494}
.tw-section-content{font-size:var(--tw-text);line-height:1.7;padding:var(--tw-section-space);min-width:0;border-top:1px solid #b6c49f1c;overflow-wrap:anywhere}
.tw-section-content>*:first-child{margin-top:0}.tw-section-content>*:last-child{margin-bottom:0}
.tw-section-content p{font-size:inherit;line-height:1.75;color:#c0c9b2}.tw-section-content h2{font:28px/1.25 Georgia,serif;color:#eee4cf}.tw-section-content h3{font-size:18px;line-height:1.5;font-weight:500;color:#ecdbbc}.tw-section-content small{color:#a9bba1}
/* A 14px floor includes adapter labels; decorative card artwork keeps its sizing. */
.tw-window .tw-section-content :is(p,small,label,button,input,select,textarea,li,dt,dd,summary,output,span,strong,b,a):not(.playing-card,.playing-card *){font-size:max(14px,1em);line-height:1.55}
.tw-section-content ul,.tw-section-content ol{padding-left:21px;line-height:1.8}.tw-section-content li{margin-block:9px}
.tw-window[data-density=compact]{--tw-section-space:13px;--tw-text:14px}.tw-window[data-density=compact] .tw-sections{gap:9px}.tw-window[data-density=compact] .tw-section-toggle{padding-block:11px}
.tw-window[data-density=large]{--tw-section-space:22px;--tw-text:18px}.tw-window[data-density=large] .tw-section-content h3{font-size:21px}.tw-window[data-density=large] .tw-section-toggle{font-size:17px!important}
.tw-footer{padding:3px 6px;display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #d4dabc33;background:#101a14d9;flex:none;min-height:50px}
.tw-footer>.tw-size-note{font-size:14px;line-height:1.45;color:#a9b99d;text-align:center;pointer-events:none}
.tw-resize-handle{display:flex;align-items:center;gap:7px;flex:none;background:#d8e0bd08;border:1px solid #d8e0bd22;border-radius:7px;min-width:94px;min-height:44px;padding:5px 10px;color:#c5d0b6!important;font-size:14px!important;touch-action:none}
.tw-resize-left{cursor:nesw-resize}.tw-resize-right{cursor:nwse-resize}.tw-resize-handle>span{font-size:23px;line-height:1}
.tw-catalogue-heading{padding:10px 5px 22px}.tw-eyebrow{font-size:14px;line-height:1.55;letter-spacing:.06em;color:#bdc5a7}.tw-catalogue-heading h2{font:32px/1.25 Georgia,serif;margin:13px 0 10px;font-weight:normal;color:#eee2cc}.tw-catalogue-heading p{font-size:15px;line-height:1.7;color:#bdc9b0;margin:0}
.tw-catalogue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.tw-catalogue-grid>button{display:flex;flex-direction:column;align-items:flex-start;min-width:0;text-align:left;border:1px solid #c6d5aa33;background:linear-gradient(140deg,#c6d5aa0a,#c6d5aa03);border-radius:10px;padding:17px 15px;min-height:225px;transition:border-color .15s,background .15s}.tw-catalogue-grid>button:hover{border-color:#e6b68e88;background:#e6b68e0d}.tw-panel-symbol{font-size:26px;color:#d5bd97;min-height:34px}.tw-catalogue-grid strong{font-size:16px;font-weight:500;color:#eee3cb;margin:9px 0;line-height:1.45}.tw-catalogue-grid small{font-size:14px;line-height:1.6;color:#b0c0a5;display:block}.tw-panel-state{display:flex;align-items:center;gap:5px;width:100%;font-size:14px;line-height:1.5;color:#d0b993;margin-top:auto;padding-top:17px}.tw-panel-state b{margin-left:auto;font-size:19px;font-weight:normal}
.tw-window[data-expanded=true] .tw-catalogue-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}
.tw-layout-controls{flex:none;max-height:64%;overflow-y:auto;padding:18px;background:#17251b;border-bottom:1px solid #e6cd9c44;overscroll-behavior:contain}.tw-control-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.tw-control-heading strong{font-size:17px;font-weight:500}.tw-control-heading>button{font-size:14px;background:#e8c49a1c;border:1px solid #e8c49a55;border-radius:6px;padding:9px 15px;color:#ecd0ac}.tw-layout-label{font-size:14px;line-height:1.55;letter-spacing:.05em;color:#b3c3a7;margin:19px 0 11px}.tw-choice-row{display:flex;flex-wrap:wrap;gap:6px}.tw-choice-row button{flex:1;min-width:100px;padding:11px 8px;border:1px solid #c8d7b033;background:#c8d7b008;border-radius:6px;font-size:14px}.tw-choice-row [aria-pressed=true]{border-color:#e8bd8788;background:#e8bd8718;color:#f0d3ae}.tw-geometry-controls{display:flex;flex-wrap:wrap;gap:6px}.tw-geometry-controls button{padding:10px 14px;border:1px solid #d6dcb633;background:#d6dcb609;border-radius:6px;font-size:14px}.tw-reset{display:block;width:100%;text-align:left;font-size:14px!important;border:1px solid #d0d7af33;border-radius:6px;background:none;padding:12px 13px;margin-top:11px}.tw-layout-controls p{font-size:14px;color:#b0c2a5;line-height:1.75;margin:17px 0 0}
.tw-minimised{position:absolute;right:18px;bottom:24px;display:flex;flex-wrap:wrap;align-items:center;pointer-events:auto;background:#19271ef5;border:1px solid #c4b08788;border-radius:10px;box-shadow:0 10px 30px #0008;padding:5px}.tw-minimised button{background:none;border:0;color:#eee0c4;padding:12px;font-size:14px;line-height:1.55;min-height:44px;border-radius:6px}.tw-minimised button:hover{background:#ffffff10}.tw-open-count{font-size:14px;color:#bacbad;margin-left:9px}
.table-workspace-layer[data-motion=reduced] *{transition:none!important;scroll-behavior:auto!important}
@media(max-width:619px){.tw-window{border-radius:12px;font-size:15px;backdrop-filter:none;-webkit-backdrop-filter:none;background:#1b291f}.tw-header{gap:4px;padding:8px 10px}.tw-drag-handle{flex-basis:100%}.tw-header-actions{width:100%;justify-content:flex-end}.tw-jumps{padding:8px 10px;min-height:61px}.tw-scroll{padding:12px}.tw-section-toggle{font-size:15px!important;padding-left:10px}.tw-section-actions button{width:30px}.tw-section-content{--tw-section-space:14px}.tw-minimised{right:10px;bottom:12px;left:10px}.tw-minimised button:first-child{flex:1;text-align:left}.tw-layout-controls{max-height:65%}.tw-footer>.tw-size-note{font-size:14px}.tw-resize-handle{min-width:86px;padding-inline:7px}}
@media(prefers-reduced-motion:reduce){.tw-window,.tw-window *{transition:none!important;scroll-behavior:auto!important}}
