/* tabulator.min.css */
.tabulator{position:relative;border:1px solid #333;font-size:14px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #999;background-color:#333;color:#fff;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #aaa;background:#333;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #999;background:#1a1a1a;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:clip}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #aaa;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#1a1a1a}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #888}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #888}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;background:#404040!important;border-top:1px solid #888;border-bottom:1px solid #aaa}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#404040!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle,.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#666;white-space:nowrap;overflow:visible;color:#fff}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#373737!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #888}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #888}.tabulator .tabulator-footer{border-top:1px solid #999;background-color:#333;color:#333;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#404040!important;border-bottom:1px solid #888;border-top:1px solid #888;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#404040!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#333;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #aaa;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #aaa;border-radius:3px;background:hsla(0,0%,100%,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#fff}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:10;vertical-align:middle}.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #d00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:22px;background-color:#666}.tabulator-row.tabulator-row-even{background-color:#444}.tabulator-row.tabulator-selectable:hover{background-color:#999;cursor:pointer}.tabulator-row.tabulator-selected{background-color:#000}.tabulator-row.tabulator-selected:hover{background-color:#888;cursor:pointer}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #888;border-bottom:1px solid #888;pointer-events:none;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #888;border-bottom:1px solid #888}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #888;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:10}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #888}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #888}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #999;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #888;border-bottom:2px solid #888}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #fff;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#fff}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#fff}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#666;font-weight:700;font-size:1.1em}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#666}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #888;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#666;border:1px solid #888;box-shadow:0 0 5px 0 rgba(0,0,0,.2);font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:Min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#444}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-color:#888;border-style:solid;border-width:1px 1px 0 0;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #888}.tabulator-edit-list{max-height:200px;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#fff;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#666;background:#999}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid hsla(0,0%,40%,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #999}.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#666;background:#999}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#fff;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #888;padding:6px 4px 4px;color:#fff;font-weight:700}.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #aaa;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:0;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:auto}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #888}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:0;margin-left:5px;border-bottom-left-radius:0;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #888}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:0;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #888}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #888}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #888;border-bottom:2px solid #888}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #888;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #fff;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#fff}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#fff}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#fff}.tabulator{background-color:#222}.tabulator .tabulator-header .tabulator-col{background-color:#333}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{color:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input,.tabulator .tabulator-header .tabulator-col .tabulator-header-filter select{border:1px solid #999;background:#ffd;color:#000}.tabulator .tabulator-header .tabulator-calcs-holder,.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#1a1a1a!important}.tabulator .tabulator-footer .tabulator-calcs-holder,.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{background:#262626!important}.tabulator .tabulator-footer .tabulator-page-counter,.tabulator .tabulator-footer .tabulator-paginator label{color:#fff}.tabulator .tabulator-footer .tabulator-page{color:#333;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator-row.tabulator-group{min-width:100%;color:#333}.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-row.tabulator-group span{color:#666}.tabulator-edit-select-list{background:#fff}.tabulator-edit-select-list .tabulator-edit-select-list-item{color:#666}.tabulator-edit-select-list .tabulator-edit-select-list-item.active{color:#999;background:#444}.tabulator-edit-select-list .tabulator-edit-select-list-item.active.focused{outline:1px solid hsla(0,0%,60%,.5)}.tabulator-edit-select-list .tabulator-edit-select-list-item.focused{outline:1px solid #444}.tabulator-edit-select-list .tabulator-edit-select-list-item:hover{color:#999;background:#666}.tabulator-print-table .tabulator-print-table-group{color:#333}
/*# sourceMappingURL=tabulator_midnight.min.css.map */
/* autoComplete.min.css */
.autoComplete_wrapper{display:inline-block;position:relative}.autoComplete_wrapper>input{height:3rem;width:370px;margin:0;padding:0 2rem 0 3.2rem;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;font-size:1rem;text-overflow:ellipsis;color:rgba(255,122,122,.3);outline:0;border-radius:10rem;border:.05rem solid rgba(255,122,122,.5);background-image:url(images/search.svg);background-size:1.4rem;background-position:left 1.05rem top .8rem;background-repeat:no-repeat;background-origin:border-box;background-color:#fff;transition:all .4s ease;-webkit-transition:all -webkit-transform .4s ease}.autoComplete_wrapper>input::placeholder{color:rgba(255,122,122,.5);transition:all .3s ease;-webkit-transition:all -webkit-transform .3s ease}.autoComplete_wrapper>input:hover::placeholder{color:rgba(255,122,122,.6);transition:all .3s ease;-webkit-transition:all -webkit-transform .3s ease}.autoComplete_wrapper>input:focus::placeholder{padding:.1rem .6rem;font-size:.95rem;color:rgba(255,122,122,.4)}.autoComplete_wrapper>input:focus::selection{background-color:rgba(255,122,122,.15)}.autoComplete_wrapper>input::selection{background-color:rgba(255,122,122,.15)}.autoComplete_wrapper>input:hover{color:rgba(255,122,122,.8);transition:all .3s ease;-webkit-transition:all -webkit-transform .3s ease}.autoComplete_wrapper>input:focus{color:#ff7a7a;border:.06rem solid rgba(255,122,122,.8)}.autoComplete_wrapper>ul{position:absolute;max-height:226px;overflow-y:scroll;box-sizing:border-box;left:0;right:0;margin:.5rem 0 0 0;padding:0;z-index:1;list-style:none;border-radius:.6rem;background-color:#fff;border:1px solid rgba(33,33,33,.07);box-shadow:0 3px 6px rgba(149,157,165,.15);outline:0;transition:opacity .15s ease-in-out;-moz-transition:opacity .15s ease-in-out;-webkit-transition:opacity .15s ease-in-out}.autoComplete_wrapper>ul:empty,.autoComplete_wrapper>ul[hidden]{display:block;opacity:0;transform:scale(0)}.autoComplete_wrapper>ul>li{margin:.3rem;padding:.3rem .5rem;text-align:left;font-size:1rem;color:#212121;border-radius:.35rem;background-color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .2s ease}.autoComplete_wrapper>ul>li mark{background-color:transparent;color:#ff7a7a;font-weight:700}.autoComplete_wrapper>ul>li:hover{cursor:pointer;background-color:rgba(255,122,122,.15)}.autoComplete_wrapper>ul>li[aria-selected=true]{background-color:rgba(255,122,122,.15)}@media only screen and (max-width:600px){.autoComplete_wrapper>input{width:18rem}}
/* wgpowertools.css */
.collapsible {
    overflow: hidden;
  }
  
  .collapsible-button:hover {
    background-color: #ccc;
  }
  
  .collapsible-content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: white;
  }

  .grid-container-14 {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(14, 1fr);
    gap: 1px;
  }

   .grid-container-20 {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(20, 1fr);
    gap: 1px;
  }
  
  .grid-item {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    margin :2px;

  }
  
  .grid-item:hover {
    cursor: pointer;
  }
 /* just outer white box, not necessary for functionality */
.toggle-checkbox-wrapper {
  /* background-color: rgba(255, 255, 255, 0.171); */
  padding: 4px;
}

/* toggle styling starts here */
/* hide the "default" checkbox/appearance */
.toggle-checkbox {
  display: none;
}

.slider {
  position: relative;
}

/* ellipsis */
.slider::before {
  background: lightsalmon;
  border-radius: 34px;
  bottom: 0;
  content: '';
  height: 24px;
  margin: auto;
  position: absolute;
  top: 0;
  width: 40px;
}

/* circle */
.slider::after {
  background: maroon;
  border-radius: 50%;
  bottom: 0;
  content: '';
  height: 16px;
  left: 4px;
  margin: auto;
  position: absolute;
  top: 0;
  transition: 0.4s;
  width: 16px;
}

.toggle-switch {
  margin-left: 50px;
}

.toggle-switch.opt1 {
  color: maroon;
}

.toggle-switch.opt2 {
  color: rgb(9, 118, 38);
  display: none;
}

.toggle-checkbox:checked + .slider::before {
  background-color: lightblue;
}

.toggle-checkbox:checked + .slider::after {
  background-color: rgb(9, 118, 38);
  transform: translateX(16px);
}

.toggle-checkbox:checked ~ .slider > .toggle-switch.opt1 {
  display: none;
}

.toggle-checkbox:checked ~ .slider > .toggle-switch.opt2 {
  display: inline-block;
}



html {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Work Sans", sans-serif;
  text-align: center;
}
html h1, html h2, html h3, html h4, html h5, html h6 {
  margin: 0;
}
html h1 {
  color: #333;
  font-weight: 500;
}
html h3 {
  color: #aaa;
  font-weight: 500;
}
html h4 {
  color: #999;
  font-weight: 500;
}
html h4:after {
  content: "%";
  padding-left: 1px;
}
html input[type=range] {
  outline: 0;
  border: 0;
  border-radius: 500px;
  width: 400px;
  max-width: 100%;
  margin: 24px 0 16px;
  transition: box-shadow 0.2s ease-in-out;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  html input[type=range] {
    overflow: hidden;
    height: 20px;
    -webkit-appearance: none;
    background-color: beige
  }
  html input[type=range]::-webkit-slider-runnable-track {
    height: 20px;
    -webkit-appearance: none;
    color: #444;
    -webkit-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
  }
  html input[type=range]::-webkit-slider-thumb {
    width: 20px;
    -webkit-appearance: none;
    height: 20px;
    cursor: ew-resize;
    background: #fff;
    box-shadow: -330px 0 0 320px #1597ff, inset 0 0 0 20px #1597ff;
    border-radius: 50%;
    -webkit-transition: box-shadow 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out;
    position: relative;
  }
  html input[type=range]:active::-webkit-slider-thumb {
    background: rgb(0, 0, 0);
    box-shadow: -330px 0 0 320px #1597ff, inset 0 0 0 3px #1597ff;
  }
}
html input[type=range]::-moz-range-progress {
  background-color: #43e5f7;
}
html input[type=range]::-moz-range-track {
  background-color: #9a905d;
}
html input[type=range]::-ms-fill-lower {
  background-color: #43e5f7;
}
html input[type=range]::-ms-fill-upper {
  background-color: #9a905d;
}

#h4-container {
  width: 400px;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
}
#h4-container #h4-subcontainer {
  width: 100%;
  position: relative;
}
#h4-container #h4-subcontainer h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  color: #fff !important;
  font-size: 12px;
  transform-origin: center -10px;
  transform: translateX(-50%);
  transition: margin-top 0.15s ease-in-out, opacity 0.15s ease-in-out;
}
#h4-container #h4-subcontainer h4 span {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 0 50% 50% 50%;
  transform: rotate(45deg);
  z-index: -1;
}

input:not(:active) + #h4-container h4 {
  opacity: 0;
  margin-top: -50px;
  pointer-events: none;
}




/* =============================================
* RADIO BUTTONS
=============================================== */

#radiosTo label {
	cursor: pointer;
	/* position: relative; */
}

#radiosFrom label {
	cursor: pointer;
	/* position: relative; */
}

input[type="radio"] {
	opacity: 0; /* hidden but still tabable */
	position: absolute;
}

input[type="radio"] + span {
	color: #B3CEFB;
	border-radius: 50%;
	padding: 12px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
}

input[type="radio"]:checked + span {
	color: #D9E7FD;
  background-color: #4285F4;
}

input[type="radio"]:focus + span {
	color: #fff;
}



/* flip the pane when hovered */

.flip-container.hover .flipper {
  transform: rotateY(180deg);
}

.flip-container,
.front,
.back {
  width: 250px;
  height: 250px;
}


/* flip speed */

.flipper {
  transition: 0.8s;
  transform-style: preserve-3d;
  position: relative;
}


/* hide back of pane during swap */

.front,
.back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
}


/* front pane, placed above back */
.front {
  z-index: 2;
  transform: rotateY(0deg);
}

/* back, initially hidden pane */

.back {
  transform: rotateY(180deg);
}


.progress {
  margin: 0 auto;
width: 400px;
padding: 4px;
background: rgba(0, 0, 0, 0.25);
border-radius: 6px;
-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar {
height: 16px;
border-radius: 4px;
background-image: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
background-image: -moz-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
background-image: -o-linear-gradient(top, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
-webkit-transition: 0.4s linear;
-moz-transition: 0.4s linear;
-o-transition: 0.4s linear;
transition: 0.4s linear;
-webkit-transition-property: width, background-color;
-moz-transition-property: width, background-color;
-o-transition-property: width, background-color;
transition-property: width, background-color;
-webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.1);
box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25), inset 0 1px rgba(255, 255, 255, 0.1);
}

.progress > .progress-bar {
  width: 0%;
  background-color: #f63a0f;
}


.accordionbody {
  color: #2c3e50;
  background: #ecf0f1;
  padding: 0 1em 1em;
}


.accordioninput {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.row {
  display: flex;
}
.row .col {
  flex: 1;
}
.row .col:last-child {
  margin-left: 1em;
}

/* Accordion styles */
.tabs {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 4px -2px rgba(0, 0, 0, 0.5);
}

.tab {
  width: 100%;
  color: white;
  overflow: hidden;
}
.tab-label {
  display: flex;
  justify-content: space-between;
  padding: 1em;
  background: #979797;
  font-weight: bold;
  cursor: pointer;
  /* Icon */
}
.tab-label:hover {
  background: #707070;
}
.tab-label::after {
  content: "❯";
  width: 1em;
  height: 1em;
  text-align: center;
  transition: all 0.35s;
}
.tab-content {
  max-height: 0;
  padding: 0 1em;
  color: #4e80b2;
  background: #a1a1a1;
  transition: all 0.35s;
}
.tab-close {
  display: flex;
  justify-content: flex-end;
  padding: 1em;
  font-size: 0.75em;
  background: #979797;
  cursor: pointer;
}
.tab-close:hover {
  background: #707070;
}

input:checked + .tab-label {
  background: #707070;
}
input:checked + .tab-label::after {
  transform: rotate(90deg);
}
input:checked ~ .tab-content {
  max-height: 100vh;
  padding: 1em;
}


.styled-table {
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 1.1em;
  min-width: 400px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.styled-table thead tr {
  background-color: #009879;
  color: #ffffff;
  text-align: left;
}

.styled-table th,
.styled-table td {
    padding: 12px 15px;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid #009879;
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: #009879;
}

.button-container {
  position: relative;
  display: inline-block;
}

.additionalButtons {
  position: absolute;
  left: 100%;
  top: 0;
  width:200px;
  flex-direction: column;
}

.hidden {
  display: none;
}



.wolf-wits-table td {
  border: 1px solid #fff;
  font-weight: 700
}

.wolf-wits-table {
  table-layout: auto;
  border: 0
}

.wolf-wits-table tbody {
  border: 2px solid #000000;
  border-top: 0
}

.wolf-wits-table tbody tr:first-child td:first-child,.wolf-wits-table thead th:not(:first-child) {
  border-top: 2px solid #000000
}

.wolf-wits-table thead th:first-child,.wolf-wits-table thead th:last-child {
  border-right: 2px solid #000000
}

.wolf-wits-table td:not(.card-name),.wolf-wits-table thead th {
  text-align: center
}

.card-name {
  font-weight: 700;
  width: 80px;
}


#rmradiosFrom label {
	cursor: pointer;
}

input[type="radio"] {
	opacity: 0; 
	position: absolute;
}

input[type="radio"] + span {
	color: #B3CEFB;
	border-radius: 50%;
	padding: 12px;
	transition: all 0.4s;
	-webkit-transition: all 0.4s;
}

input[type="radio"]:checked + span {
	color: #D9E7FD;
  background-color: #4285F4;
}

input[type="radio"]:focus + span {
	color: #fff;
}


.tabulator{position:relative;border:1px solid #999;font-size:14px;text-align:left;overflow:hidden;-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select{user-select:none}.tabulator .tabulator-header{position:relative;box-sizing:border-box;width:100%;border-bottom:1px solid #999;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;overflow:hidden;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{display:inline-block}.tabulator .tabulator-header .tabulator-col{display:inline-flex;position:relative;box-sizing:border-box;flex-direction:column;justify-content:flex-start;border-right:1px solid #ddd;background:#fff;text-align:left;vertical-align:bottom;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{position:absolute;border:1px solid #999;background:#e6e6e6;pointer-events:none}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;position:relative;padding:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 8px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:clip}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;width:100%;border:1px solid #999;padding:1px;background:#fff}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{display:flex;align-items:center;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{position:relative;display:flex;border-top:1px solid #ddd;overflow:hidden;margin-right:-1px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{position:relative;box-sizing:border-box;margin-top:2px;width:100%;text-align:center}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:3px}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:25px}.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer;background-color:#e6e6e6}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:#bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #bbb}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid #555}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid #666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid #555}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid #666;color:#666}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;display:flex;align-items:center;justify-content:center}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:20px}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;left:0;right:0;top:4px;bottom:auto}.tabulator .tabulator-header .tabulator-frozen{position:sticky;left:0;z-index:10}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid #ddd}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid #ddd}.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;background:#fff!important;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#fff!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle,.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}.tabulator .tabulator-tableholder{position:relative;width:100%;white-space:nowrap;overflow:auto;-webkit-overflow-scrolling:touch}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-placeholder{box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%;min-width:100%}.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents{display:inline-block;text-align:center;padding:10px;color:#ccc;font-weight:700;font-size:20px;white-space:normal}.tabulator .tabulator-tableholder .tabulator-table{position:relative;display:inline-block;background-color:#fff;white-space:nowrap;overflow:visible;color:#333}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:#f2f2f2!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid #ddd}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid #ddd}.tabulator .tabulator-footer{border-top:1px solid #999;background-color:#fff;color:#555;font-weight:700;white-space:nowrap;user-select:none;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator .tabulator-footer .tabulator-footer-contents{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:5px 10px}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;width:100%;text-align:left;background:#fff!important;border-bottom:1px solid #ddd;border-top:1px solid #ddd;overflow:hidden}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:#fff!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{margin-bottom:-5px;border-bottom:none}.tabulator .tabulator-footer>*+.tabulator-page-counter{margin-left:10px}.tabulator .tabulator-footer .tabulator-page-counter{font-weight:400}.tabulator .tabulator-footer .tabulator-paginator{flex:1;text-align:right;color:#555;font-family:inherit;font-weight:inherit;font-size:inherit}.tabulator .tabulator-footer .tabulator-page-size{display:inline-block;margin:0 5px;padding:2px 5px;border:1px solid #aaa;border-radius:3px}.tabulator .tabulator-footer .tabulator-pages{margin:0 7px}.tabulator .tabulator-footer .tabulator-page{display:inline-block;margin:0 2px;padding:2px 5px;border:1px solid #aaa;border-radius:3px;background:hsla(0,0%,100%,.2)}.tabulator .tabulator-footer .tabulator-page.active{color:#d00}.tabulator .tabulator-footer .tabulator-page:disabled{opacity:.5}.tabulator .tabulator-footer .tabulator-page:not(.disabled):hover{cursor:pointer;background:rgba(0,0,0,.2);color:#fff}.tabulator .tabulator-col-resize-handle{position:relative;display:inline-block;width:6px;margin-left:-3px;margin-right:-3px;z-index:10;vertical-align:middle}.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-alert{position:absolute;display:flex;align-items:center;top:0;left:0;z-index:100;height:100%;width:100%;background:rgba(0,0,0,.4);text-align:center}.tabulator .tabulator-alert .tabulator-alert-msg{display:inline-block;margin:0 auto;padding:10px 20px;border-radius:10px;background:#fff;font-weight:700;font-size:16px}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{border:4px solid #333;color:#000}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid #d00;color:#590000}.tabulator-row{position:relative;box-sizing:border-box;min-height:22px}.tabulator-row,.tabulator-row.tabulator-row-even{background-color:#fff}.tabulator-row.tabulator-selectable:hover{background-color:#bbb;cursor:pointer}.tabulator-row.tabulator-selected{background-color:#9abcea}.tabulator-row.tabulator-selected:hover{background-color:#769bcc;cursor:pointer}.tabulator-row.tabulator-row-moving{border:1px solid #000;background:#fff}.tabulator-row.tabulator-moving{position:absolute;border-top:1px solid #ddd;border-bottom:1px solid #ddd;pointer-events:none;z-index:15}.tabulator-row .tabulator-row-resize-handle{position:absolute;right:0;bottom:0;left:0;height:5px}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:5px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:14px}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:10px}.tabulator-row .tabulator-cell{display:inline-block;position:relative;box-sizing:border-box;padding:4px;border-right:1px solid #ddd;vertical-align:middle;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tabulator-row .tabulator-cell.tabulator-frozen{display:inline-block;position:sticky;left:0;background-color:inherit;z-index:10}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid #ddd}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid #ddd}.tabulator-row .tabulator-cell.tabulator-editing{border:1px solid #1d68cd;outline:none;padding:0}.tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-row .tabulator-cell.tabulator-editing select{border:1px;background:transparent;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:1px solid #d00}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:1px;background:transparent;color:#d00}.tabulator-row .tabulator-cell.tabulator-row-handle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:2px;background:#666}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #ddd;border-bottom:2px solid #ddd}.tabulator-row .tabulator-cell .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-row .tabulator-cell .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-row .tabulator-cell .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{display:inline-flex;align-items:center;justify-content:center;-moz-user-select:none;-khtml-user-select:none;-webkit-user-select:none;-o-user-select:none;height:15px;width:15px;border-radius:20px;background:#666;color:#fff;font-weight:700;font-size:1.1em}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:#fff}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}.tabulator-row .tabulator-cell .tabulator-traffic-light{display:inline-block;height:14px;width:14px;border-radius:14px}.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #ddd;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-row.tabulator-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-block}.tabulator-row.tabulator-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-row.tabulator-group span{margin-left:10px;color:#d00}.tabulator-popup-container{position:absolute;display:inline-block;box-sizing:border-box;background:#fff;border:1px solid #ddd;box-shadow:0 0 5px 0 rgba(0,0,0,.2);font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;z-index:10000}.tabulator-popup{padding:5px;border-radius:3px}.tabulator-tooltip{max-width:Min(500px,100%);padding:3px 5px;border-radius:2px;box-shadow:none;font-size:12px;pointer-events:none}.tabulator-menu .tabulator-menu-item{position:relative;box-sizing:border-box;padding:5px 10px;user-select:none}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:#fff}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:25px}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;height:7px;width:7px;content:"";border-color:#ddd;border-style:solid;border-width:1px 1px 0 0;vertical-align:top;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:1px solid #ddd}.tabulator-edit-list{max-height:200px;font-size:14px;overflow-y:auto;-webkit-overflow-scrolling:touch}.tabulator-edit-list .tabulator-edit-list-item{padding:4px;color:#333;outline:none}.tabulator-edit-list .tabulator-edit-list-item.active{color:#fff;background:#1d68cd}.tabulator-edit-list .tabulator-edit-list-item.active.focused{outline:1px solid hsla(0,0%,100%,.5)}.tabulator-edit-list .tabulator-edit-list-item.focused{outline:1px solid #1d68cd}.tabulator-edit-list .tabulator-edit-list-item:hover{cursor:pointer;color:#fff;background:#1d68cd}.tabulator-edit-list .tabulator-edit-list-placeholder{padding:4px;color:#333;text-align:center}.tabulator-edit-list .tabulator-edit-list-group{border-bottom:1px solid #ddd;padding:6px 4px 4px;color:#333;font-weight:700}.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-2,.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-2{padding-left:12px}.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-3,.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-3{padding-left:20px}.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-4,.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-4{padding-left:28px}.tabulator-edit-list .tabulator-edit-list-group.tabulator-edit-list-group-level-5,.tabulator-edit-list .tabulator-edit-list-item.tabulator-edit-list-group-level-5{padding-left:36px}.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:1px solid #ddd;border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:0;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:25px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:auto}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:1px solid #ddd}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:0;margin-left:5px;border-bottom-left-radius:0;border-bottom-right-radius:1px;border-left:initial;border-right:2px solid #ddd}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-control{margin-right:0;margin-left:5px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid #ddd}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid #ddd}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}.tabulator-print-fullscreen{position:absolute;top:0;bottom:0;left:0;right:0;z-index:10000}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{display:inline-block;vertical-align:middle;height:9px;width:7px;margin-top:-9px;margin-right:5px;border-bottom-left-radius:1px;border-left:2px solid #ddd;border-bottom:2px solid #ddd}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:1px solid #999;border-right:1px solid #ddd;border-top:1px solid #999;padding:5px 5px 5px 10px;background:#ccc;font-weight:700;min-width:100%}.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:rgba(0,0,0,.1)}.tabulator-print-table .tabulator-print-table-group.tabulator-group-visible .tabulator-arrow{margin-right:10px;border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid #666;border-bottom:0}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group .tabulator-arrow{display:inline-block;width:0;height:0;margin-right:16px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:0;border-left:6px solid #666;vertical-align:middle}.tabulator-print-table .tabulator-print-table-group span{color:#d00}.tabulator-print-table .tabulator-data-tree-control{display:inline-flex;justify-content:center;align-items:center;vertical-align:middle;height:11px;width:11px;margin-right:5px;border:1px solid #333;border-radius:2px;background:rgba(0,0,0,.1);overflow:hidden}.tabulator-print-table .tabulator-data-tree-control:hover{cursor:pointer;background:rgba(0,0,0,.2)}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse{display:inline-block;position:relative;height:7px;width:1px;background:transparent}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-collapse:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand{display:inline-block;position:relative;height:7px;width:1px;background:#333}.tabulator-print-table .tabulator-data-tree-control .tabulator-data-tree-control-expand:after{position:absolute;content:"";left:-3px;top:3px;height:1px;width:7px;background:#333}.tabulator{border:none;background-color:#fff}.tabulator .tabulator-header .tabulator-calcs-holder{background:#f2f2f2!important;border-bottom:1px solid #999}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:#f2f2f2!important}.tabulator .tabulator-tableholder .tabulator-placeholder span{color:#000}.tabulator .tabulator-footer .tabulator-calcs-holder{background:#f2f2f2!important;border-bottom:1px solid #fff}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{background:#f2f2f2!important}.tabulator-row{border-bottom:1px solid #ddd}.tabulator-row .tabulator-cell:last-of-type{border-right:none}.tabulator-row.tabulator-group span{color:#666}.tabulator-print-table .tabulator-print-table-group span{margin-left:10px;color:#666}
/*# sourceMappingURL=tabulator_simple.min.css.map */




/* menu */

/* Ensures hidden buttons are initially not interactable */
nav.float-action-button a.buttons:not(.main-button) {
  pointer-events: none;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.4s, transform 0.4s;
}


nav.float-action-button {
  position: fixed;
  bottom: 34px;
  left: 50%; /* Set left to 50% to start from the center */
  transform: translateX(-50%); /* Shift it back by half of its width */
  text-shadow: 1px 1px 1px #000;
}

a.buttons {
  box-shadow: 0 5px 11px -2px rgba(0, 0, 0, 0.18), 0 4px 12px -7px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  color: #fff;
  font-size: 2.6em;
  padding: 1px 0 0 0;
  text-align: center;
  display: block;
  margin: 20px auto 0;
  position: relative;
  -webkit-transition: all .1s ease-out;
  transition: all .1s ease-out;
}

a.buttons:active,
a.buttons:focus,
a.buttons:hover {
  box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
  text-decoration: none;
}

a.buttons:not(:last-child) {
  width: 40px;
  height: 40px;
  margin: 20px auto 0;
  opacity: 0;
  font-size: 1.6em;
  padding-top: 4px;
  -webkit-transform: translateY(50px);
  -ms-transform: translateY(50px);
  transform: translateY(50px);
}

a.buttons.main-button > i:first-child {
  position: relative;
  margin-top: 10px;
}


nav.float-action-button:hover a.buttons:not(:last-child) {
  pointer-events: all;
  opacity: 0.8;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  margin-top: 12px auto 0;
}

a.buttons:nth-last-child(1) {
  -webkit-transition-delay: 25ms;
  transition-delay: 25ms;
  /* Button color */
}

a.buttons:nth-last-child(1) i.fa {
  transform: rotate3d(0, 0, 1, 0);
  transition: content 0.4s, transform 0.4s, opacity 0.4s;
}

a.buttons:nth-last-child(1):hover i.fa {
  transform: rotate3d(0, 0, 1, -180deg);
}

a.buttons:nth-last-child(1) i.fa:nth-last-child(1) {
  position: absolute;
  margin: 10px 0 0 -32px;
}

a.buttons:nth-last-child(1) i.fa:nth-last-child(2) {
  opacity: 0;
}

a.buttons:nth-last-child(1):hover i.fa:nth-last-child(1) {
  opacity: 0;
}

a.buttons:nth-last-child(1):hover i.fa:nth-last-child(2) {
  opacity: 1;
}

a.buttons:not(:last-child):nth-last-child(2) {
  -webkit-transition-delay: 50ms;
  transition-delay: 20ms;
  background-color: #3b5998;
}

a.buttons:not(:last-child):nth-last-child(3) {
  -webkit-transition-delay: 100ms;
  transition-delay: 80ms;
  background-color: #1da1f2;
}

a.buttons:not(:last-child):nth-last-child(4) {
  -webkit-transition-delay: 200ms;
  transition-delay: 120ms;
  background-color: #8bf0f9;

}

.tooltip.left {
  margin-left: -10px;
}

.notification-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 5px 10px;
  border-radius: 50%;
  background-color: rgb(25, 44, 255);
  color: white;
  font-size: 10px;
}


.qatooltip {
  position: absolute;
  top: 10px;
  left: 50px;
  padding: 5px 10px;
  background-color: rgb(72, 73, 73);
  color: white;
  font-size: 10px;
  width: 100px;
}

.buttons {
  position: relative; /* Ensure the .buttons class has position:relative for absolute positioning inside it */
  /* Existing .buttons styles */
}


.wave {
  animation-name: wave;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes wave {
  0% {box-shadow: 0 0 0px 0px rgba(255, 255, 255, 0.5);}
  100% {box-shadow: 0 0 0px 10px rgba(255, 255, 255, 0);}
}

.itemorder:hover {
  background-color: #78ea8d; /* Light yellow background for highlight */
  cursor: pointer;
}

.highlightitemorder {
  background-color: #7887ea; /* Light yellow background for highlight */
  cursor: pointer;
}
/* evo-calendar.min.css */
/*!
 * Evo Calendar - Simple and Modern-looking Event Calendar Plugin
 *
 * Licensed under the MIT License
 *
 * Version: 1.1.2
 * Author: Edlyn Villegas
 * Docs: https://edlynvillegas.github.com/evo-calendar
 * Repo: https://github.com/edlynvillegas/evo-calendar
 * Issues: https://github.com/edlynvillegas/evo-calendar/issues
 *
*/
*,::after,::before{-webkit-box-sizing:border-box;box-sizing:border-box}html,body{padding:0;margin:0}body{font-family:'Source Sans Pro'}input:focus,textarea:focus,button:focus{outline:none}.evo-calendar{position:relative;background-color:#fbfbfb;color:#5a5a5a;width:100%;-webkit-box-shadow:0 10px 50px -20px #8773c1;box-shadow:0 10px 50px -20px #8773c1;margin:0 auto;overflow:hidden;z-index:1}.calendar-sidebar{position:absolute;margin-top:0;width:200px;height:100%;float:left;background-color:#8773c1;color:#fff;z-index:1;-webkit-box-shadow:5px 0 18px -3px #8773c1;box-shadow:5px 0 18px -3px #8773c1;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);z-index:2}.sidebar-hide .calendar-sidebar{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);-webkit-box-shadow:none;box-shadow:none}.calendar-sidebar>span#sidebarToggler{position:absolute;width:40px;height:40px;top:0;right:0;-webkit-transform:translate(100%,0);-ms-transform:translate(100%,0);transform:translate(100%,0);background-color:#8773c1;padding:10px 8px;cursor:pointer;-webkit-box-shadow:5px 0 18px -3px #8773c1;box-shadow:5px 0 18px -3px #8773c1}.calendar-sidebar>.calendar-year{padding:20px;text-align:center}.calendar-sidebar>.calendar-year>p{margin:0;font-size:30px;display:inline-block}.calendar-sidebar>.calendar-year>button.icon-button{display:inline-block;width:20px;height:20px;overflow:visible}.calendar-sidebar>.calendar-year>button.icon-button>span{border-right:4px solid #fff;border-bottom:4px solid #fff;width:100%;height:100%}.calendar-sidebar>.calendar-year>img[year-val="prev"]{float:left}.calendar-sidebar>.calendar-year>img[year-val="next"]{float:right}.calendar-sidebar>.month-list::-webkit-scrollbar{width:5px;height:5px}.calendar-sidebar>.month-list::-webkit-scrollbar-track{background:transparent}.calendar-sidebar>.month-list::-webkit-scrollbar-thumb{background:#fff;border-radius:5px}.calendar-sidebar>.month-list::-webkit-scrollbar-thumb:hover{background:#d6c8ff}.calendar-sidebar>.month-list>.calendar-months{list-style-type:none;margin:0;padding:0}.calendar-sidebar>.month-list>.calendar-months>li{padding:7px 30px;cursor:pointer;font-size:16px}.calendar-sidebar>.month-list>.calendar-months>li:hover{background-color:#a692e0}.calendar-sidebar>.month-list>.calendar-months>li.active-month{background-color:#755eb5}.calendar-inner{position:relative;padding:40px 30px;float:left;width:100%;max-width:calc(100% - 600px);margin-left:200px;background-color:#fff;-webkit-box-shadow:5px 0 18px -3px rgba(0,0,0,.15);box-shadow:5px 0 18px -3px rgba(0,0,0,.15);-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;z-index:1}.calendar-inner::after{content:none;position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(83,74,109,.5)}.sidebar-hide .calendar-inner{max-width:calc(100% - 400px);margin-left:0}.event-hide .calendar-inner{max-width:calc(100% - 200px)}.event-hide.sidebar-hide .calendar-inner{max-width:100%}.calendar-inner .calendar-table{border-collapse:collapse;font-size:20px;width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}th[colspan="7"]{position:relative;text-align:center;text-transform:uppercase;font-weight:600;font-size:30px;color:#8773c1}th[colspan="7"]::after{content:'';position:absolute;bottom:-3px;left:50%;width:50px;height:5px;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);background-color:rgba(135,115,193,.15)}tr.calendar-header .calendar-header-day{padding:10px;text-align:center;color:#5a5a5a}tr.calendar-body .calendar-day{padding:10px 0}tr.calendar-body .calendar-day .day{position:relative;padding:15px;height:60px;width:60px;margin:0 auto;border-radius:50%;text-align:center;color:#5a5a5a;border:1px solid transparent;-webkit-transition:all .3s ease,-webkit-transform .5s ease;transition:all .3s ease,-webkit-transform .5s ease;-o-transition:all .3s ease,transform .5s ease;transition:all .3s ease,transform .5s ease;transition:all .3s ease,transform .5s ease,-webkit-transform .5s ease;cursor:pointer}tr.calendar-body .calendar-day .day:hover{background-color:#dadada}tr.calendar-body .calendar-day .day:active{-webkit-transform:scale(.9);-ms-transform:scale(.9);transform:scale(.9)}tr.calendar-body .calendar-day .day.calendar-active,tr.calendar-body .calendar-day .day.calendar-active:hover{color:#5a5a5a;border-color:rgba(0,0,0,.5)}tr.calendar-body .calendar-day .day.calendar-today{color:#fff;background-color:#8773c1}tr.calendar-body .calendar-day .day.calendar-today:hover{color:#fff;background-color:#755eb5}tr.calendar-body .calendar-day .day[disabled]{pointer-events:none;cursor:not-allowed;background-color:transparent;color:#b9b9b9}.calendar-events{position:absolute;top:0;right:0;width:400px;height:100%;padding:70px 30px 60px 30px;background-color:#fbfbfb;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;overflow-y:auto;z-index:0}.calendar-events::-webkit-scrollbar{width:5px;height:5px}.calendar-events::-webkit-scrollbar-track{background:transparent}.calendar-events::-webkit-scrollbar-thumb{background:#8e899c;border-radius:5px}.calendar-events::-webkit-scrollbar-thumb:hover{background:#6c6875}.calendar-events>.event-header>p{font-size:30px;font-weight:600;color:#5a5a5a}#eventListToggler{position:absolute;width:40px;height:40px;top:0;right:0;background-color:#8773c1;padding:10px;cursor:pointer;-webkit-box-shadow:5px 0 18px -3px #8773c1;box-shadow:5px 0 18px -3px #8773c1;z-index:1}.event-list::after{content:"";clear:both;display:table}.event-list>.event-empty{padding:15px 10px;background-color:rgba(135,115,193,.15);border:1px solid #8773c1}.event-list>.event-empty>p{margin:0;color:#755eb5}.event-container{position:relative;display:flex;width:100%;border-radius:10px;margin-bottom:10px;-webkit-transition:all .3s ease;-o-transition:all .3s ease;transition:all .3s ease;cursor:pointer;float:left}.event-container::before{content:'';position:absolute;top:0;left:0;width:2px;height:100%;transform:translate(29px,30px);background-color:#eaeaea;z-index:-1}.event-container:last-child.event-container::before{height:30px;transform:translate(29px,0)}.event-container:only-child.event-container::before{height:0;opacity:0}.event-container:hover{background-color:#fff;-webkit-box-shadow:0 3px 12px -4px rgba(0,0,0,.65);box-shadow:0 3px 12px -4px rgba(0,0,0,.65)}.event-container>.event-icon{position:relative;padding:20px;width:60px;height:60px;float:left}.event-container>.event-icon>img{width:30px}.event-container>.event-info{align-self:center;width:calc(100% - 60px);display:inline-block;padding:10px 10px 10px 0}.event-container>.event-info>p{margin:0;color:#5a5a5a}.event-container>.event-info>p.event-title{position:relative;font-size:14px;font-weight:600}.event-container>.event-info>p.event-title>span{position:absolute;top:50%;right:0;font-size:12px;font-weight:400;color:#755eb5;border:1px solid #755eb5;border-radius:3px;background-color:rgb(237 234 246);padding:3px 6px;transform:translateY(-50%)}.event-container>.event-info>p.event-desc{font-size:14px;margin-top:5px}.event-indicator{position:absolute;width:-moz-max-content;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;top:100%;left:50%;-webkit-transform:translate(-50%,calc(-100% + -5px));-ms-transform:translate(-50%,calc(-100% + -5px));transform:translate(-50%,calc(-100% + -5px))}.event-indicator>.type-bullet{float:left;padding:2px}.event-indicator>.type-bullet>div{width:10px;height:10px;border-radius:50%}.event-container>.event-icon>div{width:100%;height:100%;border-radius:50%}.event-container>.event-icon>div.event-bullet-event,.event-indicator>.type-bullet>div.type-event{background-color:#ff7575}.event-container>.event-icon>div.event-bullet-holiday,.event-indicator>.type-bullet>div.type-holiday{background-color:#ffc107}.event-container>.event-icon>div.event-bullet-birthday,.event-indicator>.type-bullet>div.type-birthday{background-color:#3ca8ff}button.icon-button{border:none;background-color:transparent;width:100%;height:100%;padding:0;cursor:pointer}button.icon-button>span.bars{position:relative;width:100%;height:4px;display:block;background-color:#fff}button.icon-button>span.bars::before,button.icon-button>span.bars::after{content:'';position:absolute;width:100%;height:4px;display:block;background-color:#fff}button.icon-button>span.bars::before{top:-8px}button.icon-button>span.bars::after{bottom:-8px}button.icon-button>span.chevron-arrow-left{display:inline-block;border-right:6px solid #fff;border-bottom:6px solid #fff;width:18px;height:18px;-webkit-transform:rotate(-225deg);-ms-transform:rotate(-225deg);transform:rotate(-225deg)}button.icon-button>span.chevron-arrow-right{display:block;border-right:4px solid #fff;border-bottom:4px solid #fff;width:16px;height:16px;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}@media screen and (max-width:1280px){.calendar-inner{padding:50px 20px 70px 20px;max-width:calc(100% - 580px)}.sidebar-hide .calendar-inner{max-width:calc(100% - 380px)}tr.calendar-header .calendar-header-day,tr.calendar-body .calendar-day{padding:10px 5px}.calendar-events{width:380px;padding:70px 20px 60px 20px}}@media screen and (max-width:1024px){.calendar-sidebar{width:175px}.calendar-inner{padding:50px 10px 70px 10px;max-width:calc(100% - 475px);margin-left:175px}.sidebar-hide .calendar-inner{max-width:calc(100% - 300px)}.event-hide .calendar-inner{max-width:calc(100% - 175px)}.calendar-events{width:300px;padding:70px 10px 60px 10px}tr.calendar-body .calendar-day .day{padding:10px;height:45px;width:45px;font-size:16px}.event-indicator>.type-bullet>div{width:8px;height:8px;border-radius:50%}.calendar-sidebar>span#sidebarToggler,#eventListToggler{width:50px;height:50px}#eventListToggler,.event-hide #eventListToggler{right:0;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}button.icon-button>span.bars{height:5px}button.icon-button>span.bars::before,button.icon-button>span.bars::after{height:5px}button.icon-button>span.bars::before{top:-10px}button.icon-button>span.bars::after{bottom:-10px}button.icon-button>span.chevron-arrow-right{border-right-width:5px;border-bottom-width:5px;width:20px;height:20px}.event-container::before{transform:translate(24px,25px)}.event-container:last-child.event-container::before{height:25px;transform:translate(24px,0)}.event-container>.event-icon{padding:15px;width:50px;height:50px}.event-container>.event-icon::before{left:24px}.event-container>.event-info{width:calc(100% - 50px)}.event-container>.event-info>p{font-size:18px}}@media screen and (max-width:991px){.calendar-sidebar{width:150px}.calendar-inner{padding:50px 10px 70px 10px;max-width:calc(100% - 425px);margin-left:150px}.sidebar-hide .calendar-inner{max-width:calc(100% - 275px)}.event-hide .calendar-inner{max-width:calc(100% - 150px)}.calendar-events{width:275px;padding:70px 10px 60px 10px}}@media screen and (max-width:768px){.calendar-sidebar{width:180px}.calendar-inner{padding:50px 10px 70px 10px;max-width:100%;margin-left:0}.sidebar-hide .calendar-inner,.event-hide .calendar-inner{max-width:100%}.calendar-inner::after{content:'';opacity:1}.sidebar-hide.event-hide .calendar-inner::after{content:none;opacity:0}.event-indicator{-webkit-transform:translate(-50%,calc(-100% + -3px));-ms-transform:translate(-50%,calc(-100% + -3px));transform:translate(-50%,calc(-100% + -3px))}.event-indicator>.type-bullet{padding:0 1px 3px 1px}.calendar-events{width:48%;padding:70px 20px 60px 20px;-webkit-box-shadow:-5px 0 18px -3px rgba(135,115,193,.5);box-shadow:-5px 0 18px -3px rgba(135,115,193,.5);z-index:1}.event-hide .calendar-events{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);-webkit-box-shadow:none;box-shadow:none}#eventListToggler{right:48%;-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%)}.event-hide #eventListToggler{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}.calendar-events>.event-list{margin-top:20px}.calendar-sidebar>.calendar-year>button.icon-button{width:16px;height:16px}.calendar-sidebar>.calendar-year>button.icon-button>span{border-right-width:2px;border-bottom-width:2px}.calendar-sidebar>.calendar-year>p{font-size:14px}.calendar-sidebar>.month-list>.calendar-months>li{padding:6px 26px}.calendar-events>.event-header>p{margin:0}.event-container>.event-info>p.event-title{font-size:20px}.event-container>.event-info>p.event-desc{font-size:12px}}@media screen and (max-width:768px) and (min-width:426px){.event-container>.event-info>p.event-title{font-size:18px}}@media screen and (max-width:425px){.calendar-sidebar{width:100%}.sidebar-hide .calendar-sidebar{height:43px}.sidebar-hide .calendar-sidebar{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);-webkit-box-shadow:none;box-shadow:none}.calendar-sidebar>.calendar-year{position:relative;padding:10px 20px;text-align:center;background-color:#8773c1;-webkit-box-shadow:0 3px 8px -3px rgba(53,43,80,.65);box-shadow:0 3px 8px -3px rgba(53,43,80,.65)}.calendar-sidebar>.calendar-year>button.icon-button{width:14px;height:14px}.calendar-sidebar>.calendar-year>button.icon-button>span{border-right-width:3px;border-bottom-width:3px}.calendar-sidebar>.calendar-year>p{font-size:18px;margin:0 10px}.calendar-sidebar>.month-list{position:relative;width:100%;height:calc(100% - 43px);overflow-y:auto;background-color:#8773c1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);z-index:-1}.sidebar-hide .calendar-sidebar>.month-list{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}.calendar-sidebar>.month-list>.calendar-months{position:absolute;top:0;left:0;width:100%;list-style-type:none;margin:0;padding:0;padding:10px}.calendar-sidebar>.month-list>.calendar-months::after{content:"";clear:both;display:table}.calendar-sidebar>.month-list>.calendar-months>li{padding:10px 20px;font-size:20px}.calendar-sidebar>span#sidebarToggler{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0);top:0;bottom:unset;-webkit-box-shadow:none;box-shadow:none}th[colspan="7"]::after{bottom:0}.calendar-inner{margin-left:0;padding:53px 0 40px 0;float:unset}.calendar-inner::after{content:none;opacity:0}.sidebar-hide .calendar-inner,.event-hide .calendar-inner,.calendar-inner{max-width:100%}.calendar-sidebar>span#sidebarToggler,#eventListToggler{width:40px;height:40px}button.icon-button>span.chevron-arrow-right{border-right-width:4px;border-bottom-width:4px;width:18px;height:18px;-webkit-transform:translateX(-3px) rotate(-45deg);-ms-transform:translateX(-3px) rotate(-45deg);transform:translateX(-3px) rotate(-45deg)}button.icon-button>span.bars,button.icon-button>span.bars::before,button.icon-button>span.bars::after{height:4px}button.icon-button>span.bars::before{top:-8px}button.icon-button>span.bars::after{bottom:-8px}tr.calendar-header .calendar-header-day{padding:0}tr.calendar-body .calendar-day{padding:8px 0}tr.calendar-body .calendar-day .day{padding:10px;width:40px;height:40px;font-size:16px}.event-indicator{-webkit-transform:translate(-50%,calc(-100% + -3px));-ms-transform:translate(-50%,calc(-100% + -3px));transform:translate(-50%,calc(-100% + -3px))}.event-indicator>.type-bullet{padding:1px}.event-indicator>.type-bullet>div{width:6px;height:6px}.event-indicator{-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}tr.calendar-body .calendar-day .day.calendar-today .event-indicator,tr.calendar-body .calendar-day .day.calendar-active .event-indicator{-webkit-transform:translate(-50%,3px);-ms-transform:translate(-50%,3px);transform:translate(-50%,3px)}.calendar-events{position:relative;padding:20px 15px;width:100%;height:185px;-webkit-box-shadow:0 5px 18px -3px rgba(0,0,0,.15);box-shadow:0 5px 18px -3px rgba(0,0,0,.15);overflow-y:auto;z-index:0}.event-hide .calendar-events{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);padding:0 15px;height:0}.calendar-events>.event-header>p{font-size:20px}.event-list>.event-empty{padding:10px}.event-container::before{transform:translate(21.5px,25px)}.event-container:last-child.event-container::before{height:22.5px;transform:translate(21.5px,0)}.event-container>.event-icon{width:45px;height:45px}.event-container>.event-icon::before{left:21px}.event-container:last-child>.event-icon::before{height:50%}.event-container>.event-info{width:calc(100% - 45px)}.event-hide #eventListToggler,#eventListToggler{top:calc(100% - 185px);right:0;-webkit-transform:translate(0,-100%);-ms-transform:translate(0,-100%);transform:translate(0,-100%)}.event-hide #eventListToggler{top:100%}#eventListToggler button.icon-button>span.chevron-arrow-right{position:relative;display:inline-block;-webkit-transform:translate(0,-3px) rotate(45deg);-ms-transform:translate(0,-3px) rotate(45deg);transform:translate(0,-3px) rotate(45deg)}}@media screen and (max-width:375px){th[colspan="7"]{font-size:20px;padding-bottom:5px}tr.calendar-header .calendar-header-day{font-size:16px}tr.calendar-body .calendar-day .day{padding:5px;width:30px;height:30px;font-size:14px}}
/* evo-calendar.midnight-blue.min.css */
/*!
 * Evo Calendar - Simple and Modern-looking Event Calendar Plugin
 *
 * Licensed under the MIT License
 * 
 * Version: 1.1.2
 * Author: Edlyn Villegas
 * Docs: https://edlynvillegas.github.com/evo-calendar
 * Repo: https://github.com/edlynvillegas/evo-calendar
 * Issues: https://github.com/edlynvillegas/evo-calendar/issues
 * 
*/
.midnight-blue{-webkit-box-shadow:0 10px 50px -20px rgba(19,31,51,.65);box-shadow:0 10px 50px -20px rgba(19,31,51,.65);border:2px solid #222831;color:#EEE}.midnight-blue .calendar-sidebar{background:#222831;border-right:2px solid #222831;-webkit-box-shadow:0 0 18px -3px rgba(0,0,0,.65);box-shadow:0 0 18px -3px rgba(0,0,0,.65)}.midnight-blue.sidebar-hide .calendar-sidebar{-webkit-box-shadow:none;box-shadow:none}.midnight-blue .calendar-sidebar>.month-list::-webkit-scrollbar-thumb:hover{background:#cee1ff}.midnight-blue .calendar-sidebar>.month-list>.calendar-months>li{text-transform:uppercase}.midnight-blue .calendar-sidebar>.month-list>.calendar-months>li:hover{background-color:rgba(255,255,255,.2)}.midnight-blue .calendar-sidebar>.month-list>.calendar-months>li.active-month{background-color:#00adb5;font-weight:600}.midnight-blue .calendar-sidebar>span#sidebarToggler,.midnight-blue #eventListToggler{background-color:#222831;-webkit-box-shadow:0 0 18px -3px rgba(0,0,0,.65);box-shadow:0 0 18px -3px rgba(0,0,0,.65)}.midnight-blue .calendar-sidebar>span#sidebarToggler{right:-2px}.midnight-blue button.icon-button>span.bars{background-color:#00adb5}.midnight-blue button.icon-button>span.bars::before{background-color:#12cbd4}.midnight-blue button.icon-button>span.bars::after{background-color:#027e84}.midnight-blue .calendar-sidebar>.calendar-year>button.icon-button>span,.midnight-blue button.icon-button>span.chevron-arrow-right{display:block;border-right:6px solid #00adb5;border-bottom:6px solid #027e84}.midnight-blue .calendar-sidebar>.calendar-year>button.icon-button>span{border-width:4px}.midnight-blue .calendar-inner{background-color:#393e46;-webkit-box-shadow:5px 0 18px -3px rgba(0,0,0,.35);box-shadow:5px 0 18px -3px rgba(0,0,0,.35)}.midnight-blue .calendar-inner td{color:#fff}.midnight-blue th[colspan="7"]{position:relative;font-size:30px;color:#00adb5}.midnight-blue th[colspan="7"]::after{content:'';display:block;width:92%;height:1px;margin:0 auto;background:#027e84}.midnight-blue tr.calendar-body .calendar-day .day:hover{background-color:rgba(255,255,255,.12);color:#00f4ff}.midnight-blue tr.calendar-body .calendar-day .day.calendar-today{background:#00adb5}.midnight-blue tr.calendar-body .calendar-day .day{border-width:2px;border-radius:0;color:#fff}.midnight-blue tr.calendar-body .calendar-day .day.calendar-active,.midnight-blue tr.calendar-body .calendar-day .day.calendar-active:hover{border-color:#EEE;color:#EEE}.midnight-blue tr.calendar-body .calendar-day .day.calendar-today:hover{color:#EEE}.midnight-blue .calendar-events{background-color:#192435;padding:70px 20px 60px 20px}.midnight-blue .calendar-events::-webkit-scrollbar-thumb{background:#fff;border-radius:5px}.midnight-blue .calendar-events::-webkit-scrollbar-thumb:hover{background:#cee1ff}.midnight-blue .calendar-events p{color:#EEE}.midnight-blue .calendar-inner::after{background-color:rgba(25,36,53,.65)}.midnight-blue .event-container{border-radius:0}.midnight-blue .event-container:hover{background-color:#5d6979}.midnight-blue .event-container>.event-icon>div{border:2px solid transparent}.midnight-blue .event-container:hover>.event-icon>div{border-color:#fff}.midnight-blue .event-container>.event-icon>div.event-bullet-birthday,.midnight-blue .event-indicator>.type-bullet>div.type-birthday{background-color:#6c72bf}.midnight-blue .event-container>.event-info>p.event-title>span{color:#fff;border-radius:0;background-color:rgba(0,173,181,.15);border:1px solid #00adb5}.midnight-blue .event-container:hover>.event-info>p.event-title>span{background-color:rgb(0 173 181)}.midnight-blue .event-list>.event-empty{background-color:rgba(0,173,181,.15);border:1px solid #00adb5}.midnight-blue .event-list>.event-empty>p{color:#fff}@media only screen and (max-width:768px){.midnight-blue .event-indicator{-webkit-transform:translate(-50%,-100%);-ms-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.midnight-blue .calendar-events{-webkit-box-shadow:-5px 0 18px -3px rgba(0,0,0,.65);box-shadow:-5px 0 18px -3px rgba(0,0,0,.65)}.midnight-blue.event-hide .calendar-events{-webkit-box-shadow:none;box-shadow:none}}@media screen and (max-width:425px){.midnight-blue .calendar-sidebar{border-right:none}.midnight-blue .calendar-sidebar>.calendar-year{background-color:#222831;-webkit-box-shadow:0 3px 8px -3px rgba(0,0,0,.65);box-shadow:0 3px 8px -3px rgba(0,0,0,.65)}.midnight-blue .calendar-sidebar>.month-list{background-color:#192435}.midnight-blue .calendar-sidebar>span#sidebarToggler{right:0}.midnight-blue #eventListToggler,.midnight-blue .calendar-sidebar>span#sidebarToggler{-webkit-box-shadow:none;box-shadow:none}.midnight-blue .calendar-inner{-webkit-box-shadow:5px 0 18px -3px rgba(0,0,0,.35);box-shadow:0 5px 18px -3px rgba(0,0,0,.65)}.midnight-blue tr.calendar-body .calendar-day .day.calendar-active,.midnight-blue tr.calendar-body .calendar-day .day.calendar-active:hover{border-width:1px}.midnight-blue tr.calendar-body .calendar-day .day.calendar-today .event-indicator{-webkit-transform:translate(-50%,3px);-ms-transform:translate(-50%,3px);transform:translate(-50%,3px)}.midnight-blue tr.calendar-body .calendar-day .day.calendar-active .event-indicator{-webkit-transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.midnight-blue .event-indicator{-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}.midnight-blue .calendar-events{padding:20px 15px}.midnight-blue.event-hide .calendar-events{padding:0 15px}}
/* powerpanel.css */
/* WG Power Panel — isolated styling, prefix wgpt-pp- to avoid collisions */

.wgpt-pp-launcher {
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6d28d9 0%, #2563eb 100%);
    color: #fff;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 2147483600;
    user-select: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.wgpt-pp-launcher:hover {
    transform: translateY(calc(-50% - 2px)) scale(1.04);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 4px 8px rgba(0, 0, 0, 0.25);
}

.wgpt-pp-launcher:active {
    transform: translateY(-50%) scale(0.98);
}

.wgpt-pp-launcher-badge {
    display: none;
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #ef4444;
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    border: 2px solid #0f1119;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.5);
    pointer-events: none;
}

.wgpt-pp-launcher-badge.is-active {
    display: inline-flex;
}

.wgpt-pp-launcher-tooltip {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20, 20, 28, 0.92);
    color: #e2e8f0;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.wgpt-pp-launcher:hover .wgpt-pp-launcher-tooltip {
    opacity: 1;
}

.wgpt-pp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 14, 0.65);
    backdrop-filter: blur(3px);
    z-index: 2147483640;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    /* No padding: the panel can be positioned absolutely (windowed), and the
       absolute containing block is the overlay's padding box — padding here
       would offset viewport-coordinate drags. Default breathing room comes
       from the modal's own 96vw/86vh sizing instead. */
    padding: 0;
}

.wgpt-pp-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.wgpt-pp-modal {
    width: min(1320px, 96vw);
    height: min(86vh, 920px);
    background: #14161f;
    color: #e2e8f0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: scale(0.96);
    opacity: 0;
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.18s ease;
    overflow: hidden;
    position: relative;           /* anchor for the resize grip */
    min-width: 480px;
    min-height: 360px;
    max-width: 100vw;
    max-height: 100vh;
}

/* Once the user moves/resizes, the panel becomes a free-floating window
   positioned absolutely within the (fixed, full-viewport) overlay. */
.wgpt-pp-modal.is-windowed {
    position: absolute;
    margin: 0;
}

/* Resize grip — bottom-right corner, diagonal grip lines. */
.wgpt-pp-resize-handle {
    position: absolute;
    right: 2px;
    bottom: 2px;
    width: 18px;
    height: 18px;
    cursor: nwse-resize;
    z-index: 6;
    background-image:
        linear-gradient(135deg, transparent 0 45%, rgba(255, 255, 255, 0.35) 45% 55%, transparent 55% 70%, rgba(255, 255, 255, 0.35) 70% 80%, transparent 80%);
    border-bottom-right-radius: 10px;
}
.wgpt-pp-resize-handle:hover {
    background-image:
        linear-gradient(135deg, transparent 0 45%, rgba(255, 255, 255, 0.6) 45% 55%, transparent 55% 70%, rgba(255, 255, 255, 0.6) 70% 80%, transparent 80%);
}

.wgpt-pp-overlay.is-open .wgpt-pp-modal {
    transform: scale(1);
    opacity: 1;
}

.wgpt-pp-header {
    padding: 14px 18px 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-shrink: 0;
    cursor: move;            /* drag here to move the panel */
    user-select: none;
}
/* Interactive controls in the header keep their normal cursor. */
.wgpt-pp-header button,
.wgpt-pp-header input,
.wgpt-pp-header select,
.wgpt-pp-header a {
    cursor: pointer;
}

.wgpt-pp-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wgpt-pp-title-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6d28d9 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.wgpt-pp-title-text {
    font-size: 16px;
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: 0.2px;
}

.wgpt-pp-title-sub {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 2px;
}

.wgpt-pp-header-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.wgpt-pp-icon-btn {
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.12s ease, color 0.12s ease;
}

.wgpt-pp-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.wgpt-pp-icon-btn.is-active {
    background: rgba(124, 58, 237, 0.2);
    color: #fff;
    border-color: rgba(124, 58, 237, 0.5);
}

.wgpt-pp-tabs {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #0f1119;
    flex-shrink: 0;
}

.wgpt-pp-tabs-row {
    display: flex;
}

.wgpt-pp-tabs-row + .wgpt-pp-tabs-row {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.wgpt-pp-tab {
    padding: 11px 22px;
    color: #94a3b8;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wgpt-pp-tab-icon {
    font-size: 15px;
    line-height: 1;
    opacity: 0.85;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    flex-shrink: 0;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
}

.wgpt-pp-tab.is-active .wgpt-pp-tab-icon {
    opacity: 1;
}

.wgpt-pp-tab:hover {
    color: #e2e8f0;
}

.wgpt-pp-tab.is-active {
    color: #fff;
    border-bottom-color: #7c3aed;
    background: rgba(124, 58, 237, 0.06);
}

.wgpt-pp-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 6px;
    margin-left: 8px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 600;
}

.wgpt-pp-tab.is-active .wgpt-pp-tab-count {
    background: rgba(124, 58, 237, 0.35);
    color: #fff;
}

.wgpt-pp-tab-badge {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 6px;
    border-radius: 9px;
    background: #ef4444;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
}

.wgpt-pp-tab-badge.is-active {
    display: inline-flex;
}

.wgpt-pp-toolbar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: #11131c;
    flex-shrink: 0;
}

.wgpt-pp-toolbar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.wgpt-pp-toolbar-label {
    font-size: 10.5px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    flex-shrink: 0;
}

.wgpt-pp-search {
    flex: 1;
    min-width: 180px;
    max-width: 300px;
    background: #0f1119;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 7px 11px;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition: border-color 0.12s ease;
}

.wgpt-pp-search:focus {
    border-color: #7c3aed;
}

.wgpt-pp-chip {
    background: #0f1119;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 5px 11px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
    user-select: none;
}

.wgpt-pp-chip:hover {
    background: rgba(124, 58, 237, 0.12);
    color: #fff;
}

.wgpt-pp-chip.is-active {
    background: rgba(124, 58, 237, 0.25);
    color: #fff;
    border-color: rgba(124, 58, 237, 0.55);
}

.wgpt-pp-chip-count {
    margin-left: 5px;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.wgpt-pp-chip.is-active .wgpt-pp-chip-count {
    color: rgba(255, 255, 255, 0.85);
}

.wgpt-pp-body {
    flex: 1;
    overflow: auto;
    background: #14161f;
    scrollbar-width: thin;
    scrollbar-color: #2a2e3d transparent;
}

.wgpt-pp-body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.wgpt-pp-body::-webkit-scrollbar-thumb {
    background: #2a2e3d;
    border-radius: 5px;
}

.wgpt-pp-empty {
    text-align: center;
    color: #64748b;
    padding: 60px 16px;
    font-size: 13px;
}

.wgpt-pp-loading {
    text-align: center;
    color: #94a3b8;
    padding: 60px 16px;
    font-size: 13px;
}

.wgpt-pp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 12.5px;
}

.wgpt-pp-table thead th {
    background: #0f1119;
    color: #94a3b8;
    font-weight: 600;
    text-align: left;
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.5px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    white-space: nowrap;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-cols th {
    cursor: pointer;
    user-select: none;
    transition: color 0.12s ease, background 0.12s ease;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-cols th:hover {
    color: #e2e8f0;
    background: #11141d;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-cols th.is-sorted {
    color: #c4b5fd;
    background: #11141d;
}

.wgpt-pp-sort-arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: 9px;
    opacity: 0.35;
    transition: opacity 0.12s ease, color 0.12s ease;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-cols th.is-sorted .wgpt-pp-sort-arrow {
    opacity: 1;
    color: #c4b5fd;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-groups th {
    text-align: center;
    background: #0a0c14;
    padding: 8px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    font-size: 11px;
    letter-spacing: 0.7px;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-groups th.is-group-info {
    color: #93c5fd;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-groups th.is-group-collection {
    color: #fcd34d;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-groups th.is-group-farmer {
    color: #f472b6;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-groups th.is-group-automations {
    color: #c4b5fd;
}

.wgpt-pp-table thead tr.wgpt-pp-thead-groups th.is-group-combat {
    color: #fca5a5;
}

.wgpt-pp-table thead th.wgpt-pp-th-toggle {
    text-align: center;
    width: 110px;
}

.wgpt-pp-table tbody td {
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    vertical-align: middle;
    white-space: nowrap;
}

.wgpt-pp-table tbody tr:hover td {
    background: rgba(124, 58, 237, 0.05);
}

.wgpt-pp-table tbody td.wgpt-pp-td-toggle {
    text-align: center;
    width: 110px;
}

.wgpt-pp-table thead th.wgpt-pp-th-jug,
.wgpt-pp-table tbody td.wgpt-pp-td-jug {
    width: 200px;
}

.wgpt-pp-jug-cell {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.wgpt-pp-jug-inline {
    width: 90px;
    background: transparent;
    color: #cbd5e1;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 4px 7px;
    font-size: 11px;
    text-align: center;
    outline: none;
    font-family: inherit;
    font-variant-numeric: tabular-nums;
    cursor: text;
    transition: border-color 0.12s ease, background 0.12s ease, color 0.12s ease;
}

.wgpt-pp-jug-inline::-webkit-outer-spin-button,
.wgpt-pp-jug-inline::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wgpt-pp-jug-inline {
    -moz-appearance: textfield;
}

.wgpt-pp-jug-inline::placeholder {
    color: #64748b;
    font-style: italic;
}

.wgpt-pp-jug-inline:hover {
    border-color: rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
}

.wgpt-pp-jug-inline:focus {
    border-style: solid;
    border-color: rgba(124, 58, 237, 0.55);
    background: rgba(124, 58, 237, 0.08);
    color: #fff;
}

.wgpt-pp-jug-inline.is-saved {
    border-color: rgba(34, 197, 94, 0.5);
    color: #86efac;
}

.wgpt-pp-jug-mode-hint {
    color: #64748b;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wgpt-pp-jug-mkt {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wgpt-pp-id {
    color: #f1f5f9;
    font-weight: 600;
}

.wgpt-pp-id-cell {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.wgpt-pp-id-cell.is-focusable {
    cursor: pointer;
    border-radius: 6px;
    padding: 4px 8px;
    margin: -4px -8px;
    border: 1px solid rgba(124, 58, 237, 0.18);
    background: rgba(124, 58, 237, 0.06);
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}

.wgpt-pp-id-cell.is-focusable .wgpt-pp-id {
    color: #c4b5fd;
    text-decoration: underline;
    text-decoration-color: rgba(196, 181, 253, 0.4);
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.wgpt-pp-id-cell.is-focusable .wgpt-pp-avatar {
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.wgpt-pp-id-cell.is-focusable::after {
    content: '↗';
    margin-left: 6px;
    color: #a78bfa;
    font-size: 13px;
    line-height: 1;
    opacity: 0.55;
    transform: translate(0, 0);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.wgpt-pp-id-cell.is-focusable:hover {
    background: rgba(124, 58, 237, 0.22);
    border-color: rgba(124, 58, 237, 0.55);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.18);
    transform: translateY(-1px);
}

.wgpt-pp-id-cell.is-focusable:hover .wgpt-pp-id {
    color: #ddd6fe;
    text-decoration-color: #ddd6fe;
}

.wgpt-pp-id-cell.is-focusable:hover .wgpt-pp-avatar {
    box-shadow: 0 0 0 2px rgba(196, 181, 253, 0.7);
    transform: scale(1.05);
}

.wgpt-pp-id-cell.is-focusable:hover::after {
    opacity: 1;
    transform: translate(2px, -2px);
}

.wgpt-pp-id-cell.is-focusable:active {
    transform: translateY(0);
    box-shadow: 0 0 0 0 transparent;
}

.wgpt-pp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #0f1119;
    border: 1px solid rgba(255, 255, 255, 0.06);
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    flex-shrink: 0;
}

.wgpt-pp-avatar.is-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 14px;
    font-weight: 700;
}

.wgpt-pp-muted {
    color: #94a3b8;
}

.wgpt-pp-status {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.4px;
    display: inline-block;
}

.wgpt-pp-status.is-idle {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
}

.wgpt-pp-status.is-busy {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.wgpt-pp-status.is-collecting {
    background: rgba(59, 130, 246, 0.18);
    color: #60a5fa;
}

.wgpt-pp-status.is-breeding {
    background: rgba(236, 72, 153, 0.18);
    color: #f9a8d4;
}

.wgpt-pp-energy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wgpt-pp-energy-bar {
    display: inline-block;
    width: 70px;
    height: 6px;
    background: #2a2e3d;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.wgpt-pp-energy-bar-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #84cc16 100%);
    border-radius: 3px;
    transition: width 0.18s ease;
}

.wgpt-pp-energy-bar-fill.is-low {
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
}

.wgpt-pp-energy-text {
    font-size: 11px;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-weather {
    display: inline-flex;
    gap: 3px;
}

.wgpt-pp-weather img {
    width: 18px;
    height: 18px;
}

.wgpt-pp-resource-img {
    display: inline-block;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.wgpt-pp-weather img,
.wgpt-pp-quote img,
.wgpt-pp-market-banner img,
.wgpt-pp-resource-btn img,
.wgpt-pp-resource-tag img,
.wgpt-pp-item-price img {
    display: inline-block;
    vertical-align: middle;
}

.wgpt-pp-rank-pill {
    display: inline-block;
    min-width: 28px;
    text-align: center;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #f1f5f9;
}

.wgpt-pp-rank-pill.is-top {
    background: rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}

.wgpt-pp-rank-pill.is-mid {
    background: rgba(234, 179, 8, 0.25);
    color: #fde047;
}

.wgpt-pp-rank-pill.is-low {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

.wgpt-pp-farmer-effect {
    color: #f472b6;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.wgpt-pp-switch {
    position: relative;
    width: 32px;
    height: 18px;
    background: #2a2e3d;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease;
    display: inline-block;
    vertical-align: middle;
    border: none;
    padding: 0;
}

.wgpt-pp-switch::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.wgpt-pp-switch.is-on {
    background: #7c3aed;
}

.wgpt-pp-switch.is-on::after {
    transform: translateX(14px);
}

.wgpt-pp-switch:hover:not(.is-on) {
    background: #3a3f52;
}

.wgpt-pp-bulk-row {
    background: #0d0f17 !important;
    border-bottom: 2px solid rgba(124, 58, 237, 0.25) !important;
}

.wgpt-pp-bulk-row td {
    padding: 8px 12px !important;
    color: #94a3b8 !important;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.wgpt-pp-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 9px 18px;
    color: #64748b;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f1119;
    flex-shrink: 0;
}

.wgpt-pp-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    background: #1a1d29;
    color: #f1f5f9;
    border: 1px solid rgba(124, 58, 237, 0.5);
    padding: 9px 14px;
    border-radius: 8px;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12px;
    z-index: 2147483647;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.wgpt-pp-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Orders view */

.wgpt-pp-orders {
    padding: 16px 22px 28px 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.wgpt-pp-orders-subtabs {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wgpt-pp-orders-subtab {
    background: #0f1119;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.wgpt-pp-orders-subtab:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #fff;
}

.wgpt-pp-orders-subtab.is-active {
    background: rgba(124, 58, 237, 0.22);
    color: #fff;
    border-color: rgba(124, 58, 237, 0.55);
}

.wgpt-pp-market-banner {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #11141d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 12px;
    color: #cbd5e1;
    font-size: 12.5px;
}

.wgpt-pp-market-banner img {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 3px;
}

.wgpt-pp-market-spacer {
    flex: 1;
}

.wgpt-pp-order-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1a1d29;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.wgpt-pp-order-form-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.wgpt-pp-order-input {
    background: #0f1119;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 7px 11px;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    width: 140px;
    transition: border-color 0.12s ease;
}

.wgpt-pp-order-input:focus {
    border-color: #7c3aed;
}

.wgpt-pp-order-select {
    background: #0f1119;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 7px 9px;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    cursor: pointer;
}

.wgpt-pp-buy-btn {
    background: rgba(124, 58, 237, 0.3);
    color: #fff;
    border: 1px solid rgba(124, 58, 237, 0.6);
    border-radius: 6px;
    padding: 7px 18px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.12s ease;
}

.wgpt-pp-buy-btn:hover {
    background: rgba(124, 58, 237, 0.5);
}

.wgpt-pp-item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.wgpt-pp-item-card {
    background: #1a1d29;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: border-color 0.12s ease, background 0.12s ease;
}

.wgpt-pp-item-card:hover {
    border-color: rgba(124, 58, 237, 0.45);
}

.wgpt-pp-item-card.is-selected {
    border-color: rgba(124, 58, 237, 0.7);
    background: rgba(124, 58, 237, 0.08);
}

.wgpt-pp-item-name {
    color: #f1f5f9;
    font-size: 12.5px;
    font-weight: 600;
}

.wgpt-pp-item-price {
    color: #94a3b8;
    font-size: 11.5px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-item-price img {
    width: 14px;
    height: 14px;
}

.wgpt-pp-orders-empty-row {
    text-align: center;
    color: #64748b;
    padding: 18px;
    font-size: 12px;
}

.wgpt-pp-order-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wgpt-pp-order-status.is-open {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

.wgpt-pp-order-status.is-filled {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

.wgpt-pp-remove-btn {
    background: transparent;
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
    padding: 0;
    font-family: inherit;
}

.wgpt-pp-remove-btn:hover {
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.08);
}

/* Exchange view */

.wgpt-pp-exchange {
    padding: 16px 22px 28px 22px;
    max-width: 1180px;
    margin: 0 auto;
}

.wgpt-pp-exchange-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.wgpt-pp-exchange-row-label {
    font-size: 11px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.wgpt-pp-resource-pickers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.wgpt-pp-resource-btn {
    background: #0f1119;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}

.wgpt-pp-resource-btn img {
    width: 18px;
    height: 18px;
}

.wgpt-pp-resource-btn:hover {
    background: rgba(124, 58, 237, 0.12);
    color: #fff;
}

.wgpt-pp-resource-btn.is-active {
    background: rgba(124, 58, 237, 0.25);
    border-color: rgba(124, 58, 237, 0.55);
    color: #fff;
}

.wgpt-pp-resource-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.wgpt-pp-quote {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #11141d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    color: #cbd5e1;
    font-size: 13px;
    flex-wrap: wrap;
}

.wgpt-pp-quote img {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin: 0 3px;
}

.wgpt-pp-quote-label {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    line-height: 1.4;
}

.wgpt-pp-quote strong {
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-quote-spacer {
    flex: 1;
}

.wgpt-pp-mode-segment {
    display: inline-flex;
    background: #0f1119;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2px;
    margin-bottom: 10px;
}

.wgpt-pp-orders-filter {
    margin-top: 4px;
}

.wgpt-pp-orders-filterbar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
    margin-bottom: 8px;
}

.wgpt-pp-mode-segment-btn {
    background: transparent;
    border: none;
    padding: 6px 14px;
    color: #94a3b8;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    border-radius: 4px;
    transition: background 0.12s ease, color 0.12s ease;
    font-weight: 500;
}

.wgpt-pp-mode-segment-btn:hover {
    color: #e2e8f0;
}

.wgpt-pp-mode-segment-btn.is-active {
    background: rgba(124, 58, 237, 0.3);
    color: #fff;
}

.wgpt-pp-exchange-form {
    background: #1a1d29;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.wgpt-pp-exchange-fields {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-bottom: 12px;
}

.wgpt-pp-exchange-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wgpt-pp-exchange-field-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.wgpt-pp-exchange-input {
    background: #0f1119;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 11px;
    font-family: inherit;
    font-size: 12.5px;
    outline: none;
    transition: border-color 0.12s ease;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-exchange-input:focus {
    border-color: #7c3aed;
}

.wgpt-pp-exchange-summary {
    background: #11141d;
    border: 1px dashed rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 10px 12px;
    color: #cbd5e1;
    font-size: 12.5px;
    margin-bottom: 12px;
    line-height: 1.4;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.wgpt-pp-exchange-summary img {
    width: 14px;
    height: 14px;
    vertical-align: middle;
    margin: 0 3px;
    display: inline-block;
}

.wgpt-pp-exchange-summary strong {
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
    margin: 0 2px;
}

.wgpt-pp-exchange-aware {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 12.5px;
    line-height: 1.5;
}

.wgpt-pp-fill-ok {
    color: #86efac;
    font-weight: 600;
}

.wgpt-pp-fill-bad {
    color: #fca5a5;
    font-weight: 600;
}

.wgpt-pp-exchange-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wgpt-pp-exchange-actions-spacer {
    flex: 1;
}

.wgpt-pp-link-btn {
    background: rgba(255, 255, 255, 0.04);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 7px 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    transition: background 0.12s ease;
}

.wgpt-pp-link-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.wgpt-pp-resource-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wgpt-pp-resource-tag img {
    width: 16px;
    height: 16px;
}

/* Insights view */

.wgpt-pp-insights {
    padding: 16px 22px 28px 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.wgpt-pp-section-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    font-weight: 600;
    margin: 18px 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wgpt-pp-section-title:first-child {
    margin-top: 4px;
}

.wgpt-pp-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.wgpt-pp-kpi {
    background: #1a1d29;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 14px;
    border-left: 3px solid rgba(124, 58, 237, 0.5);
}

.wgpt-pp-kpi.is-sheep {
    border-left-color: #60a5fa;
}

.wgpt-pp-kpi.is-wolf {
    border-left-color: #f472b6;
}

.wgpt-pp-kpi.is-warning {
    border-left-color: #f59e0b;
}

.wgpt-pp-kpi-label {
    color: #94a3b8;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.wgpt-pp-kpi-value {
    color: #f1f5f9;
    font-size: 22px;
    font-weight: 700;
    margin-top: 4px;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
}

.wgpt-pp-kpi-sub {
    color: #64748b;
    font-size: 11px;
    margin-top: 4px;
}

.wgpt-pp-insight-card {
    background: #1a1d29;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid #7c3aed;
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.wgpt-pp-insight-card.is-warning {
    border-left-color: #f59e0b;
}

.wgpt-pp-insight-card.is-success {
    border-left-color: #22c55e;
}

.wgpt-pp-insight-card.is-info {
    border-left-color: #3b82f6;
}

.wgpt-pp-insight-text {
    flex: 1;
    min-width: 0;
}

.wgpt-pp-insight-title {
    color: #f1f5f9;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 3px;
}

.wgpt-pp-insight-desc {
    color: #94a3b8;
    font-size: 11.5px;
    line-height: 1.45;
}

.wgpt-pp-action-btn {
    background: rgba(124, 58, 237, 0.25);
    color: #fff;
    border: 1px solid rgba(124, 58, 237, 0.5);
    border-radius: 6px;
    padding: 7px 14px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    flex-shrink: 0;
    font-family: inherit;
    transition: background 0.12s ease;
}

.wgpt-pp-action-btn:hover {
    background: rgba(124, 58, 237, 0.4);
}

.wgpt-pp-action-btn.is-secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

.wgpt-pp-action-btn.is-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.wgpt-pp-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wgpt-pp-insights-empty {
    color: #64748b;
    text-align: center;
    padding: 18px 14px;
    background: #11141d;
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    font-size: 12px;
}

/* Settings view */

.wgpt-pp-settings {
    padding: 18px 22px 28px 22px;
    max-width: 980px;
    margin: 0 auto;
}

.wgpt-pp-settings-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wgpt-pp-settings-tab {
    background: #0f1119;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.wgpt-pp-settings-tab:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #fff;
}

.wgpt-pp-settings-tab.is-active {
    background: rgba(124, 58, 237, 0.22);
    color: #fff;
    border-color: rgba(124, 58, 237, 0.55);
}

.wgpt-pp-settings-tab-icon {
    font-size: 15px;
}

.wgpt-pp-settings-section {
    background: #1a1d29;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
}

.wgpt-pp-settings-head {
    padding: 12px 16px;
    background: #11141d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: background 0.12s ease;
}

.wgpt-pp-settings-head:hover {
    background: #161927;
}

.wgpt-pp-settings-title {
    font-size: 13px;
    font-weight: 600;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wgpt-pp-settings-title-mark {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(124, 58, 237, 0.18);
    color: #c4b5fd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.wgpt-pp-settings-caret {
    color: #64748b;
    font-size: 12px;
    transition: transform 0.15s ease;
}

.wgpt-pp-settings-section.is-open .wgpt-pp-settings-caret {
    transform: rotate(90deg);
}

.wgpt-pp-settings-body {
    padding: 14px 16px 18px 16px;
    display: none;
}

.wgpt-pp-settings-section.is-open .wgpt-pp-settings-body {
    display: block;
}

.wgpt-pp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wgpt-pp-row:last-child {
    border-bottom: none;
}

.wgpt-pp-row-label {
    color: #cbd5e1;
    font-size: 12.5px;
    flex: 1;
}

.wgpt-pp-row-help {
    color: #64748b;
    font-size: 11px;
    margin-top: 2px;
}

.wgpt-pp-row-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.wgpt-pp-pj-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 0.8fr 0.8fr auto auto auto;
    gap: 6px 10px;
    align-items: center;
    padding: 8px 0;
}

.wgpt-pp-pj-head {
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wgpt-pp-pj-cell {
    color: #cbd5e1;
    font-size: 12.5px;
    padding: 4px 0;
}

.wgpt-pp-pj-cell.is-loading {
    color: #64748b;
    font-style: italic;
}

.wgpt-pp-pj-sub {
    color: #64748b;
    font-size: 10.5px;
    margin-top: 2px;
}

.wgpt-pp-input {
    background: #0f1119;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 9px;
    font-family: inherit;
    font-size: 12px;
    outline: none;
    width: 100px;
    transition: border-color 0.12s ease;
}

.wgpt-pp-input:focus {
    border-color: #7c3aed;
}

/* Rebalance tab */
.wgpt-pp-rebalance {
    padding: 16px 20px;
    color: #cbd5e1;
}

.wgpt-pp-rebal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0 12px;
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
}

.wgpt-pp-rebal-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.wgpt-pp-rebal-state::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.wgpt-pp-rebal-state.is-on {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
}

.wgpt-pp-rebal-state.is-off {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.wgpt-pp-rebal-targets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 2fr auto;
    gap: 8px 12px;
    align-items: center;
    padding: 8px 0;
}

.wgpt-pp-rebal-head {
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wgpt-pp-rebal-cell {
    color: #cbd5e1;
    font-size: 12.5px;
    padding: 4px 0;
}

.wgpt-pp-rebal-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wgpt-pp-rebal-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    overflow: hidden;
}

.wgpt-pp-rebal-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #7c3aed);
    transition: width 0.3s ease;
}

.wgpt-pp-rebal-bar-fill.is-done {
    background: linear-gradient(90deg, #10b981, #059669);
}

.wgpt-pp-rebal-bar-label {
    color: #94a3b8;
    font-size: 11px;
    min-width: 32px;
    text-align: right;
}

.wgpt-pp-rebal-x {
    background: transparent;
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 11px;
    cursor: pointer;
}

.wgpt-pp-rebal-x:hover {
    background: rgba(239, 68, 68, 0.12);
}

.wgpt-pp-rebal-add {
    display: flex;
    gap: 8px;
    padding-top: 8px;
}

.wgpt-pp-rebal-chips {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.wgpt-pp-rebal-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(124, 58, 237, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(124, 58, 237, 0.3);
    padding: 3px 4px 3px 8px;
    border-radius: 4px;
    font-size: 11.5px;
}

.wgpt-pp-rebal-pairs {
    padding: 10px 0 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 8px;
}

.wgpt-pp-rebal-pairs-head {
    color: #94a3b8;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 0 6px;
}

.wgpt-pp-rebal-pair-line {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    font-size: 12px;
    color: #94a3b8;
}

.wgpt-pp-rebal-pair-line .is-trigger {
    color: #34d399;
    font-weight: 600;
}

.wgpt-pp-rebal-trade {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    font-size: 11.5px;
    color: #cbd5e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wgpt-pp-rebal-trade:last-child {
    border-bottom: none;
}

.wgpt-pp-rebal-trade-time {
    color: #64748b;
    font-variant-numeric: tabular-nums;
    min-width: 64px;
}

.wgpt-pp-rebal-trade .is-order {
    color: #34d399;
}

.wgpt-pp-rebal-trade .is-dryrun {
    color: #fbbf24;
}

.wgpt-pp-rebal-trade .is-skip {
    color: #64748b;
}

.wgpt-pp-rebal-status {
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 11.5px;
    color: #94a3b8;
}

.wgpt-pp-rebal-conflict {
    margin: 8px 0 16px;
    padding: 12px 14px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 8px;
    color: #fde68a;
}

.wgpt-pp-rebal-conflict-head {
    font-size: 12.5px;
    line-height: 1.5;
}

.wgpt-pp-rebal-conflict-head strong {
    color: #fbbf24;
    margin-right: 4px;
}

.wgpt-pp-rebal-conflict-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 10px 0 4px;
}

.wgpt-pp-rebal-conflict-chip {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #fef3c7;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-rebal-conflict-actions {
    padding-top: 8px;
}

.wgpt-pp-segment {
    display: inline-flex;
    background: #0f1119;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 2px;
}

.wgpt-pp-segment-btn {
    background: transparent;
    border: none;
    padding: 5px 12px;
    color: #94a3b8;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    border-radius: 4px;
    transition: background 0.12s ease, color 0.12s ease;
}

.wgpt-pp-segment-btn:hover {
    color: #e2e8f0;
}

.wgpt-pp-segment-btn.is-active {
    background: rgba(124, 58, 237, 0.3);
    color: #fff;
}

.wgpt-pp-weather-pickers {
    display: inline-flex;
    gap: 4px;
}

.wgpt-pp-weather-pick {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #0f1119;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.wgpt-pp-weather-pick img {
    width: 18px;
    height: 18px;
    opacity: 0.4;
    transition: opacity 0.12s ease;
}

.wgpt-pp-weather-pick.is-active {
    background: rgba(124, 58, 237, 0.18);
    border-color: rgba(124, 58, 237, 0.55);
}

.wgpt-pp-weather-pick.is-active img {
    opacity: 1;
}

.wgpt-pp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 22px;
}

.wgpt-pp-info-banner {
    background: rgba(59, 130, 246, 0.08);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 11.5px;
    margin-bottom: 12px;
}

/* Journal view */

.wgpt-pp-journal {
    padding: 16px 22px 28px 22px;
    max-width: 1120px;
    margin: 0 auto;
}

.wgpt-pp-journal-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.wgpt-pp-journal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wgpt-pp-journal-actions-spacer {
    flex: 1;
}

.wgpt-pp-journal-search {
    min-width: 240px;
    padding: 6px 10px;
    font-size: 12px;
}

/* Daily briefing card */
.wgpt-pp-daily-brief {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(34, 197, 94, 0.06));
    border: 1px solid rgba(167, 139, 250, 0.35);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
}

.wgpt-pp-daily-brief-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.wgpt-pp-daily-brief-title {
    font-size: 14px;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: 0.02em;
}

.wgpt-pp-daily-brief-dismiss {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #94a3b8;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
}
.wgpt-pp-daily-brief-dismiss:hover {
    background: rgba(248, 113, 113, 0.12);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.45);
}

.wgpt-pp-daily-brief-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.wgpt-pp-daily-brief-stat {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 6px;
    padding: 8px 10px;
}

.wgpt-pp-daily-brief-stat-label {
    color: #94a3b8;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.wgpt-pp-daily-brief-stat-value {
    color: #f8fafc;
    font-size: 18px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-daily-brief-stat-sub {
    color: #94a3b8;
    font-size: 11px;
    margin-top: 2px;
}

.wgpt-pp-daily-brief-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Relocation table */
.wgpt-pp-relocate {
    margin-top: 18px;
    margin-bottom: 18px;
}

.wgpt-pp-relocate-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.wgpt-pp-relocate-head .wgpt-pp-section-title {
    margin: 0;
}

.wgpt-pp-relocate-table {
    width: 100%;
    font-size: 12px;
}

.wgpt-pp-relocate-table th,
.wgpt-pp-relocate-table td {
    padding: 6px 10px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    vertical-align: top;
}

.wgpt-pp-relocate-delta {
    color: #4ade80;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-relocate-switch {
    color: #fbbf24;
    font-weight: 700;
    margin-right: 2px;
}

.wgpt-pp-journal-download {
    background: #1a1d29;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 600;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.wgpt-pp-journal-download:hover {
    background: rgba(124, 58, 237, 0.18);
    color: #fff;
    border-color: rgba(124, 58, 237, 0.4);
}

.wgpt-pp-journal-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wgpt-pp-journal-card {
    display: flex;
    gap: 12px;
    background: #11141d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 14px;
    color: #cbd5e1;
    font-size: 12.5px;
    line-height: 1.5;
}

.wgpt-pp-journal-portrait {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    background: #0f1119;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wgpt-pp-journal-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wgpt-pp-journal-body {
    flex: 1 1 auto;
    min-width: 0;
}

.wgpt-pp-journal-title {
    color: #f1f5f9;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wgpt-pp-journal-desc {
    color: #cbd5e1;
    margin-bottom: 4px;
}

.wgpt-pp-journal-sub {
    color: #94a3b8;
    margin-bottom: 4px;
}

.wgpt-pp-journal-stamp {
    color: #64748b;
    font-size: 11px;
}

.wgpt-pp-journal-resolve {
    margin-top: 4px;
    margin-bottom: 4px;
}

.wgpt-pp-action-btn.is-small {
    padding: 4px 10px;
    font-size: 11px;
}

.wgpt-pp-journal-title img,
.wgpt-pp-journal-desc img,
.wgpt-pp-journal-sub img,
.wgpt-pp-journal-icon {
    display: inline-block;
    vertical-align: middle;
    width: 14px;
    height: 14px;
    margin: 0 2px;
}

/* Pair Trading view */

.wgpt-pp-pairtrade {
    color: #cbd5e1;
}

.wgpt-pp-pairtrade-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.wgpt-pp-pairtrade-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wgpt-pp-pairtrade-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #0f1119;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.wgpt-pp-pairtrade-tab:hover {
    background: rgba(124, 58, 237, 0.1);
    color: #fff;
}

.wgpt-pp-pairtrade-tab.is-active {
    background: rgba(124, 58, 237, 0.22);
    color: #fff;
    border-color: rgba(124, 58, 237, 0.55);
}

.wgpt-pp-pairtrade-tab-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.wgpt-pp-pairtrade-tab.is-enabled .wgpt-pp-pairtrade-tab-dot {
    background: #34d399;
    box-shadow: 0 0 4px rgba(52, 211, 153, 0.6);
}

.wgpt-pp-pairtrade-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 12.5px;
    color: #cbd5e1;
}

.wgpt-pp-pairtrade-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    background: #11141d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.wgpt-pp-pairtrade-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wgpt-pp-pairtrade-stat span {
    color: #64748b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wgpt-pp-pairtrade-stat strong {
    color: #f1f5f9;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-pairtrade-stat strong.is-trigger {
    color: #fbbf24;
}

.wgpt-pp-pairtrade-stat-empty {
    color: #94a3b8;
    font-size: 12px;
}

.wgpt-pp-pairtrade-chart-wrap {
    background: #11141d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 14px;
}

.wgpt-pp-pairtrade-chart {
    width: 100%;
    height: 220px;
    display: block;
}

.wgpt-pp-pairtrade-chart-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    padding: 6px 4px 12px;
    font-size: 11px;
    color: #cbd5e1;
}

.wgpt-pp-pairtrade-marker-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.wgpt-pp-marker-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    box-sizing: border-box;
}

.wgpt-pp-marker-dot.is-filled {
    background: #34d399;
    border: 1.5px solid #34d399;
}

.wgpt-pp-marker-dot.is-pending {
    background: transparent;
    border: 1.5px solid #60a5fa;
}

.wgpt-pp-marker-dot.is-dryrun {
    background: transparent;
    border: 1.5px solid #fbbf24;
    transform: rotate(45deg);
    border-radius: 1px;
}

.wgpt-pp-marker-dot.is-error {
    background: transparent;
    border: 1.5px solid #f87171;
}

.wgpt-pp-pairtrade-hint {
    background: rgba(251, 191, 36, 0.10);
    border: 1px solid rgba(251, 191, 36, 0.30);
    color: #fde68a;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12.5px;
    margin-bottom: 14px;
}

.wgpt-pp-pairtrade-legend {
    color: #94a3b8;
    font-size: 11.5px;
    margin: -4px 0 12px;
    font-style: italic;
}

.wgpt-pp-pairtrade-legend strong {
    color: #c4b5fd;
    font-weight: 600;
    font-style: normal;
}

.wgpt-pp-rate-impact {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(251, 191, 36, 0.14);
    color: #fde68a;
    font-size: 10px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    vertical-align: middle;
}

.wgpt-pp-pairtrade-stat strong em {
    color: #94a3b8;
    font-weight: 400;
    font-style: normal;
    font-size: 10.5px;
    margin-left: 3px;
}

.wgpt-pp-pairtrade-config {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.wgpt-pp-pairtrade-config-field {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 12px;
}

.wgpt-pp-pairtrade-config-field input {
    width: 70px;
    background: #0f1119;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 4px 6px;
    color: #f1f5f9;
    font-size: 12px;
    font-family: inherit;
}

.wgpt-pp-pairtrade-config-suffix {
    color: #64748b;
    font-size: 11px;
}

.wgpt-pp-pairtrade-balances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.wgpt-pp-pairtrade-bal {
    background: #11141d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 8px 14px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 110px;
}

.wgpt-pp-pairtrade-bal span {
    color: #64748b;
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wgpt-pp-pairtrade-bal strong {
    color: #f1f5f9;
    font-size: 16px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-pairtrade-bal-note {
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 11px;
    padding: 6px 0;
    align-self: center;
}

.wgpt-pp-pairtrade-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    background: #11141d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 12.5px;
}

.wgpt-pp-pairtrade-cooldown {
    background: rgba(59, 130, 246, 0.08);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    margin-bottom: 14px;
}

.wgpt-pp-pairtrade-log {
    margin-bottom: 14px;
}

.wgpt-pp-pairtrade-log .wgpt-pp-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wgpt-pp-pairtrade-kind {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(124, 58, 237, 0.18);
    color: #c4b5fd;
}

.wgpt-pp-pairtrade-kind.is-dryrun {
    background: rgba(59, 130, 246, 0.18);
    color: #93c5fd;
}

.wgpt-pp-pairtrade-kind.is-trade {
    background: rgba(34, 197, 94, 0.18);
    color: #86efac;
}

.wgpt-pp-pairtrade-kind.is-pause {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
}

.wgpt-pp-pairtrade-totals {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    margin: 6px 0 10px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.22);
    border-radius: 6px;
    font-size: 12px;
}

.wgpt-pp-pnl {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.wgpt-pp-pnl.is-positive {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.wgpt-pp-pnl.is-negative {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ---------- My Lands ---------- */

.wgpt-pp-lands-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.wgpt-pp-lands-tablewrap {
    overflow-x: auto;
    padding: 0 0 12px 0;
}

.wgpt-pp-lands-table thead tr.wgpt-pp-thead-groups th.is-group-tax {
    color: #fbbf24;
}

.wgpt-pp-lands-table thead tr.wgpt-pp-thead-groups th.is-group-structure {
    color: #93c5fd;
}

.wgpt-pp-lands-table thead tr.wgpt-pp-thead-groups th.is-group-recharging {
    color: #c4b5fd;
}

.wgpt-pp-lands-table thead tr.wgpt-pp-thead-groups th.is-group-trend {
    color: #a78bfa;
}

.wgpt-pp-sparkline {
    display: block;
    margin: 0 auto;
}

.wgpt-pp-lands-cell-trend7d {
    min-width: 90px;
}

/* Map (heatmap) tab */
.wgpt-pp-map {
    padding: 16px 20px;
}

.wgpt-pp-map-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 12px;
    color: #cbd5e1;
}

.wgpt-pp-map-legend {
    margin-left: auto;
    color: #94a3b8;
    font-size: 11.5px;
    font-variant-numeric: tabular-nums;
}

/* "Compare" group — diff toggle + discrete time offset chip buttons */
.wgpt-pp-map-compare {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    flex-wrap: wrap;
}

.wgpt-pp-map-compare-sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
}

.wgpt-pp-map-diffbtn,
.wgpt-pp-map-offsetbtn {
    padding: 4px 9px;
    font-size: 11px;
    border-radius: 5px;
    border: 1px solid transparent;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.wgpt-pp-map-diffbtn:hover,
.wgpt-pp-map-offsetbtn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.04);
}

.wgpt-pp-map-diffbtn.is-active {
    background: rgba(124, 58, 237, 0.22);
    color: #f3e8ff;
    border-color: rgba(124, 58, 237, 0.5);
}

.wgpt-pp-map-offsetbtn.is-active {
    background: rgba(56, 189, 248, 0.18);
    color: #e0f2fe;
    border-color: rgba(56, 189, 248, 0.45);
}

.wgpt-pp-map-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
}

.wgpt-pp-map-gridarea {
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: 22px 1fr;
    gap: 4px;
    max-width: 760px;
}

.wgpt-pp-map-axiscorner {
    grid-column: 1;
    grid-row: 1;
}

.wgpt-pp-map-topaxis {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
}

.wgpt-pp-map-leftaxis {
    grid-column: 1;
    grid-row: 2;
    display: grid;
    grid-template-rows: repeat(10, 1fr);
    gap: 4px;
}

.wgpt-pp-map-axis-label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #64748b;
    letter-spacing: 0.04em;
    transition: color 0.1s ease;
}

.wgpt-pp-map-axis-label.is-hovered {
    color: #f8fafc;
    font-weight: 600;
}

.wgpt-pp-map-grid {
    grid-column: 2;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 4px;
    aspect-ratio: 1 / 1;
}

.wgpt-pp-map-grid-lands {
    aspect-ratio: 1 / 1;
    gap: 2px;
}

.wgpt-pp-map-peakrow {
    margin-top: 12px;
    max-width: 760px;
}

.wgpt-pp-map-cell {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    color: #e2e8f0;
    font-family: inherit;
    cursor: pointer;
    padding: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    aspect-ratio: 1 / 1;
    transition: transform 0.08s ease, border-color 0.12s ease;
}

.wgpt-pp-map-cell:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.06);
    z-index: 2;
}

.wgpt-pp-map-cell.is-hot .wgpt-pp-map-cell-val {
    color: #fff;
    font-weight: 600;
}

.wgpt-pp-map-cell.is-peak {
    aspect-ratio: auto;
    width: 100%;
    height: 56px;
    flex-direction: row;
    gap: 12px;
}

.wgpt-pp-map-cell-cid {
    font-size: 9.5px;
    color: #94a3b8;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wgpt-pp-map-cell-val {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: #cbd5e1;
}

.wgpt-pp-map-cell-weather {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2px;
    font-size: 8.5px;
    line-height: 1;
    opacity: 0.85;
}

.wgpt-pp-map-cell-weather-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 11px;
    height: 11px;
}

.wgpt-pp-map-cell-weather-tile.is-today {
    transform: scale(1.15);
    opacity: 1;
}

.wgpt-pp-map-cell.is-best-pick {
    border-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.55);
    z-index: 2;
}

.wgpt-pp-map-respick,
.wgpt-pp-map-bestfor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wgpt-pp-map-bestfor .wgpt-pp-action-btn {
    padding: 4px 8px;
    font-size: 11px;
    min-width: 28px;
}

.wgpt-pp-map-bestfor .wgpt-pp-action-btn.is-active {
    background: rgba(251, 191, 36, 0.18);
    border-color: #fbbf24;
    color: #fde68a;
}

.wgpt-pp-map-bestcallout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    margin-bottom: 10px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 6px;
}

.wgpt-pp-map-bestcallout-title {
    font-size: 11.5px;
    color: #fde68a;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wgpt-pp-map-bestcallout-chip {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fde68a;
    border-radius: 999px;
    padding: 3px 10px;
    font-size: 11px;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-map-bestcallout-chip:hover {
    background: rgba(251, 191, 36, 0.22);
}

/* Drilled-in community header card */
.wgpt-pp-map-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    max-width: 760px;
}

.wgpt-pp-map-header-title {
    font-size: 13px;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wgpt-pp-map-header-stats {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.wgpt-pp-map-header-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wgpt-pp-map-header-stat-label {
    font-size: 9.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.wgpt-pp-map-header-stat-value {
    font-size: 13px;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-map-header-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.wgpt-pp-map-header-block-title {
    font-size: 10.5px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.wgpt-pp-map-header-block-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wgpt-pp-map-header-resource {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
    padding: 2px 6px;
}

.wgpt-pp-map-resicon {
    font-size: 12px;
    line-height: 1;
}

/* 7-day forecast strip */
.wgpt-pp-map-forecast {
    display: flex;
    gap: 4px;
    margin-bottom: 10px;
    max-width: 760px;
}

.wgpt-pp-map-forecast-tile {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 4px;
}

.wgpt-pp-map-forecast-tile.is-today {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.4);
}

.wgpt-pp-map-forecast-tile.is-rainy {
    background: rgba(96, 165, 250, 0.12);
    border-color: rgba(96, 165, 250, 0.35);
}

.wgpt-pp-map-forecast-day {
    font-size: 10px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wgpt-pp-map-forecast-emoji {
    font-size: 16px;
    line-height: 1.2;
}

/* Activity icons on land cells */
.wgpt-pp-map-cell-activity {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px;
    margin-top: 2px;
    font-size: 13px;
    line-height: 1;
}

.wgpt-pp-map-cell-activity-dot {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    color: #f1f5f9;
    font-variant-numeric: tabular-nums;
    font-size: 11px;
    font-weight: 600;
}

/* Grid / Spatial view toggle (drilled view) */
.wgpt-pp-map-viewtoggle {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-left: 8px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
}

.wgpt-pp-map-viewtoggle .wgpt-pp-action-btn {
    padding: 4px 10px;
    font-size: 11.5px;
    border-radius: 4px;
    border: none;
    background: transparent;
}

.wgpt-pp-map-viewtoggle .wgpt-pp-action-btn.is-active {
    background: rgba(124, 58, 237, 0.25);
    color: #f3e8ff;
}

.wgpt-pp-map-viewtoggle-icon {
    font-size: 13px;
    line-height: 1;
    margin-right: 2px;
}

.wgpt-pp-map-cell.has-building {
    border-color: rgba(167, 139, 250, 0.55);
}

/* Spatial map (drilled-in view, when toggle = spatial) */
.wgpt-pp-map-spatial {
    margin-top: 6px;
    max-width: 760px;
}

.wgpt-pp-map-spatial-svg {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: block;
    width: 100%;
}

.wgpt-pp-map-spatial-land {
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 0.5;
    cursor: pointer;
    transition: stroke 0.1s ease, stroke-width 0.1s ease;
}

.wgpt-pp-map-spatial-land:hover {
    stroke: #fbbf24;
    stroke-width: 1.5;
}

.wgpt-pp-map-spatial-land.is-owned {
    stroke: rgba(56, 189, 248, 0.6);
    stroke-width: 1;
}

.wgpt-pp-map-spatial-char.is-sheep {
    fill: #34d399;
    opacity: 0.85;
}

.wgpt-pp-map-spatial-char.is-wolf {
    fill: #f87171;
    opacity: 0.95;
}

.wgpt-pp-map-cell-land {
    padding: 2px;
    gap: 1px;
}

.wgpt-pp-map-cell-land .wgpt-pp-map-cell-cid {
    font-size: 8.5px;
}

.wgpt-pp-map-cell-land .wgpt-pp-map-cell-val {
    font-size: 9px;
}

.wgpt-pp-map-cell.is-unowned {
    opacity: 0.45;
    border-style: dashed;
}

.wgpt-pp-map-cell.is-search-hit {
    border-color: #facc15;
    box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.5);
    animation: wgpt-pp-map-pulse 1.4s ease-in-out infinite;
    z-index: 3;
}

@keyframes wgpt-pp-map-pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.5); }
    50%      { box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.85); }
}

.wgpt-pp-map-legend-bar {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 760px;
    padding-top: 4px;
}

.wgpt-pp-map-legend-strip {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(
        to right,
        hsl(220, 60%, 22%) 0%,
        hsl(280, 72%, 31%) 50%,
        hsl(12, 85%, 40%) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.wgpt-pp-map-legend-strip.is-diff {
    background: linear-gradient(
        to right,
        hsl(0, 75%, 40%) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        hsl(142, 75%, 40%) 100%
    );
}

.wgpt-pp-map-legend-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

/* Hunt sub-tab — manual scan + attack matrix */
.wgpt-pp-hunt {
    padding: 16px 20px;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wgpt-pp-hunt-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.wgpt-pp-hunt-limit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #94a3b8;
}

.wgpt-pp-hunt-status {
    margin-left: auto;
    color: #94a3b8;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-hunt-status-text {
    color: #cbd5e1;
}

.wgpt-pp-hunt-ready {
    font-size: 12px;
    color: #cbd5e1;
}

.wgpt-pp-hunt-ready strong {
    color: #34d399;
    font-size: 14px;
}

.wgpt-pp-hunt-log {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 8px 10px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 11.5px;
    line-height: 1.4;
    height: 160px;
    overflow-y: auto;
    color: #cbd5e1;
}

.wgpt-pp-hunt-log-line {
    display: flex;
    gap: 8px;
}

.wgpt-pp-hunt-log-ts {
    color: #64748b;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-hunt-log-line.is-success .wgpt-pp-hunt-log-msg { color: #34d399; }
.wgpt-pp-hunt-log-line.is-warn .wgpt-pp-hunt-log-msg { color: #fbbf24; }
.wgpt-pp-hunt-log-line.is-error .wgpt-pp-hunt-log-msg { color: #f87171; }

.wgpt-pp-hunt-matrix-host {
    overflow-x: auto;
    max-width: 100%;
}

.wgpt-pp-hunt-matrix {
    min-width: 600px;
}

.wgpt-pp-hunt-grid {
    border-collapse: separate;
    border-spacing: 4px;
    font-size: 11.5px;
}

.wgpt-pp-hunt-grid th,
.wgpt-pp-hunt-grid td {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 6px 8px;
    vertical-align: middle;
}

.wgpt-pp-hunt-corner {
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.06em;
}

.wgpt-pp-hunt-sheephdr {
    min-width: 92px;
    text-align: center;
}

.wgpt-pp-hunt-sheephdr.is-attacked {
    opacity: 0.4;
    text-decoration: line-through;
}

.wgpt-pp-hunt-sheephdr.is-protected {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
}

.wgpt-pp-hunt-sheephdr.is-protected.is-soon {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.45);
    box-shadow: inset 0 0 0 1px rgba(248, 113, 113, 0.35);
}

.wgpt-pp-hunt-sheephdr.is-protected.is-soon .wgpt-pp-hunt-sheep-protlabel {
    color: #fca5a5;
}

.wgpt-pp-hunt-sheephdr.is-protected.is-soon .wgpt-pp-hunt-sheep-shield {
    color: #fecaca;
}

.wgpt-pp-hunt-sheep-protlabel {
    margin-top: 4px;
    color: #fbbf24;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.wgpt-pp-hunt-sheep-shield {
    margin-top: 1px;
    color: #fde68a;
    font-variant-numeric: tabular-nums;
    font-size: 10.5px;
    font-weight: 600;
}

.wgpt-pp-hunt-sheep-id {
    font-weight: 600;
    color: #f8fafc;
    font-size: 12px;
}

.wgpt-pp-hunt-sheep-meta {
    color: #94a3b8;
    font-size: 10.5px;
    margin-top: 1px;
}

.wgpt-pp-hunt-sheep-wool {
    color: #a78bfa;
    font-variant-numeric: tabular-nums;
    margin-top: 3px;
    font-size: 11px;
}

.wgpt-pp-hunt-wolfhdr {
    text-align: left;
    min-width: 140px;
}

.wgpt-pp-hunt-wolf-id {
    color: #f8fafc;
    font-size: 12px;
    font-weight: 600;
}

.wgpt-pp-hunt-wolf-meta {
    color: #94a3b8;
    font-size: 10.5px;
    margin-top: 1px;
}

.wgpt-pp-hunt-wolf-ev {
    margin-top: 3px;
    color: #fbbf24;
    font-variant-numeric: tabular-nums;
    font-size: 11px;
}

.wgpt-pp-hunt-grid tr.is-attacked {
    opacity: 0.45;
}

.wgpt-pp-hunt-cell {
    text-align: center;
    transition: background 0.15s ease;
}

.wgpt-pp-hunt-cell.is-disabled {
    background: rgba(255, 255, 255, 0.02) !important;
    cursor: not-allowed;
}

.wgpt-pp-hunt-attack-btn {
    width: 100%;
    border: none;
    padding: 6px 4px;
    font-family: inherit;
    font-size: 11px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.5);
    color: #f8fafc;
    cursor: pointer;
    font-variant-numeric: tabular-nums;
    transition: transform 0.08s ease, background 0.12s ease;
}

.wgpt-pp-hunt-attack-btn:hover:not(:disabled) {
    background: rgba(124, 58, 237, 0.5);
    transform: scale(1.04);
}

.wgpt-pp-hunt-attack-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wgpt-pp-hunt-attack-btn.is-schedule {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.45);
}

.wgpt-pp-hunt-attack-btn.is-schedule:hover:not(:disabled) {
    background: rgba(251, 191, 36, 0.32);
    color: #fff;
}

.wgpt-pp-hunt-tables {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wgpt-pp-hunt-scrollwrap {
    overflow-x: auto;
    max-width: 100%;
}

.wgpt-pp-hunt-grid.is-protected-table {
    background: rgba(251, 191, 36, 0.03);
}

/* Scheduled attacks table */
.wgpt-pp-hunt-sched-host {
    display: block;
}

.wgpt-pp-hunt-sched-table {
    width: 100%;
    font-size: 12px;
}

.wgpt-pp-hunt-sched-table th,
.wgpt-pp-hunt-sched-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.wgpt-pp-hunt-sched-row.is-scheduled .wgpt-pp-hunt-sched-status {
    color: #fbbf24;
}
.wgpt-pp-hunt-sched-row.is-attempting .wgpt-pp-hunt-sched-status {
    color: #f87171;
    font-weight: 600;
}
.wgpt-pp-hunt-sched-row.is-succeeded {
    background: rgba(34, 197, 94, 0.06);
}
.wgpt-pp-hunt-sched-row.is-succeeded .wgpt-pp-hunt-sched-status {
    color: #4ade80;
}
.wgpt-pp-hunt-sched-row.is-failed {
    background: rgba(248, 113, 113, 0.05);
    opacity: 0.85;
}
.wgpt-pp-hunt-sched-row.is-failed .wgpt-pp-hunt-sched-status {
    color: #f87171;
}

.wgpt-pp-hunt-sched-row.is-stale {
    background: rgba(251, 191, 36, 0.06);
    opacity: 0.85;
}
.wgpt-pp-hunt-sched-row.is-stale .wgpt-pp-hunt-sched-status {
    color: #fbbf24;
    cursor: help;
}

.wgpt-pp-hunt-sched-countdown {
    font-variant-numeric: tabular-nums;
    color: #cbd5e1;
}

.wgpt-pp-hunt-sched-clearrow {
    margin-top: 8px;
    text-align: right;
}

/* Actions tab */
.wgpt-pp-actions {
    padding: 16px 20px;
    color: #cbd5e1;
}

.wgpt-pp-actions-clear {
    padding: 24px;
    text-align: center;
    color: #34d399;
    font-size: 14px;
    background: rgba(52, 211, 153, 0.06);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: 8px;
}

.wgpt-pp-actions-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 16px;
}

.wgpt-pp-actions-chip {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11.5px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.wgpt-pp-actions-chip strong {
    color: #fff;
    font-weight: 700;
    margin-right: 4px;
}

.wgpt-pp-actions-chip.is-prio-1 {
    background: rgba(52, 211, 153, 0.12);
    border-color: rgba(52, 211, 153, 0.35);
    color: #d1fae5;
}

.wgpt-pp-actions-chip.is-prio-2 {
    background: rgba(251, 191, 36, 0.10);
    border-color: rgba(251, 191, 36, 0.30);
    color: #fef3c7;
}

.wgpt-pp-actions-chip.is-prio-3 {
    background: rgba(96, 165, 250, 0.10);
    border-color: rgba(96, 165, 250, 0.30);
    color: #dbeafe;
}

.wgpt-pp-actions-chip.is-prio-4 {
    background: rgba(148, 163, 184, 0.10);
    border-color: rgba(148, 163, 184, 0.30);
    color: #e2e8f0;
}

.wgpt-pp-actions-section {
    padding: 12px 0;
}

.wgpt-pp-actions-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    padding: 6px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wgpt-pp-actions-count {
    color: #64748b;
    font-weight: 400;
    margin-left: 4px;
}

.wgpt-pp-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

.wgpt-pp-actions-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    transition: border-color 0.12s ease;
}

.wgpt-pp-actions-card:hover {
    border-color: rgba(124, 58, 237, 0.4);
}

.wgpt-pp-actions-thumb {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.wgpt-pp-actions-meta {
    flex: 1;
    min-width: 0;
}

.wgpt-pp-actions-name {
    font-size: 12px;
    color: #e2e8f0;
    font-weight: 500;
}

.wgpt-pp-actions-hint {
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 2px;
}

.wgpt-pp-actions-loc {
    font-size: 10px;
    color: #64748b;
    margin-top: 1px;
}

.wgpt-pp-lands-table tbody td {
    padding: 8px 10px;
    font-size: 12.5px;
}

.wgpt-pp-lands-cell {
    text-align: center;
    vertical-align: middle;
}

.wgpt-pp-lands-cell-landid {
    text-align: left;
}

.wgpt-pp-lands-cell.is-empty {
    color: rgba(203, 213, 225, 0.3);
}

/* max-width:none + min-width override any inherited `img{max-width:100%}` from
   the game page that otherwise lets these icons collapse to a few px wide when
   the wide lands table compresses its columns. */
.wgpt-pp-lands-thumb {
    width: 32px;
    height: 32px;
    min-width: 32px;
    max-width: none;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    object-fit: cover;
    flex: none;
}

.wgpt-pp-lands-resicon {
    width: 16px;
    height: 16px;
    min-width: 16px;
    max-width: none;
    vertical-align: middle;
    display: inline-block;
    object-fit: contain;
    flex: none;
}

.wgpt-pp-lands-bldicon {
    width: 22px;
    height: 22px;
    min-width: 22px;
    max-width: none;
    vertical-align: middle;
    object-fit: contain;
    flex: none;
}

.wgpt-pp-lands-rcthumb {
    width: 24px;
    height: 24px;
    min-width: 24px;
    max-width: none;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    object-fit: cover;
    flex: none;
}

.wgpt-pp-lands-focus {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: #c4b5fd;
    border-radius: 4px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-lands-focus:hover {
    background: rgba(124, 58, 237, 0.25);
    border-color: rgba(124, 58, 237, 0.6);
}

.wgpt-pp-lands-tick {
    color: #86efac;
    font-weight: 700;
}

.wgpt-pp-lands-cross {
    color: rgba(203, 213, 225, 0.3);
    font-weight: 700;
}

.wgpt-pp-lands-refresh {
    background: transparent;
    border: 1px solid rgba(196, 181, 253, 0.35);
    color: #c4b5fd;
    border-radius: 4px;
    padding: 1px 6px;
    margin-left: 6px;
    cursor: pointer;
    font-size: 11px;
    line-height: 1;
}

.wgpt-pp-lands-refresh:hover:not(:disabled) {
    background: rgba(124, 58, 237, 0.18);
}

.wgpt-pp-lands-refresh:disabled {
    cursor: default;
    opacity: 0.6;
}

.wgpt-pp-lands-row td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.wgpt-pp-lands-row:hover td {
    background: rgba(124, 58, 237, 0.05);
}

/* ---------- Leaderboard ---------- */

.wgpt-pp-lb {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 14px 18px 18px;
}

.wgpt-pp-lb-subtabs {
    display: inline-flex;
    gap: 4px;
    padding: 3px;
    background: rgba(15, 17, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    align-self: flex-start;
    margin-bottom: 12px;
}

.wgpt-pp-lb-subtab {
    background: transparent;
    border: none;
    color: #cbd5e1;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.wgpt-pp-lb-subtab:hover {
    color: #e2e8f0;
}

.wgpt-pp-lb-subtab.is-active {
    background: rgba(124, 58, 237, 0.25);
    color: #c4b5fd;
}

.wgpt-pp-lb-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wgpt-pp-lb-toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wgpt-pp-lb-toolbar .wgpt-pp-search {
    flex: 0 1 320px;
}

.wgpt-pp-lb-season {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.wgpt-pp-lb-season-chip {
    display: inline-flex;
    flex-direction: column;
    background: rgba(15, 17, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 6px 12px;
    min-width: 110px;
}

.wgpt-pp-lb-season-chip-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #94a3b8;
    margin-bottom: 2px;
}

.wgpt-pp-lb-season-chip-value {
    font-size: 13px;
    font-weight: 600;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-lb-tablewrap {
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.wgpt-pp-lb-table {
    width: 100%;
    min-width: 720px;
}

.wgpt-pp-lb-table tbody td {
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12.5px;
    vertical-align: middle;
}

.wgpt-pp-lb-row:hover td {
    background: rgba(124, 58, 237, 0.05);
}

.wgpt-pp-lb-tablewrap.is-me {
    border: 1px solid rgba(196, 181, 253, 0.4);
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.02));
    margin-bottom: 4px;
}

.wgpt-pp-lb-row.is-me td {
    background: rgba(124, 58, 237, 0.1);
    border-bottom-color: rgba(196, 181, 253, 0.2);
}

.wgpt-pp-lb-row.is-me:hover td {
    background: rgba(124, 58, 237, 0.16);
}

.wgpt-pp-lb-metag {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 6px;
    border-radius: 10px;
    background: rgba(196, 181, 253, 0.2);
    border: 1px solid rgba(196, 181, 253, 0.45);
    color: #c4b5fd;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.7px;
    vertical-align: middle;
}

.wgpt-pp-lb-rank {
    text-align: right;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: #cbd5e1;
    width: 70px;
}

.wgpt-pp-lb-rank.is-gold {
    color: #facc15;
}

.wgpt-pp-lb-rank.is-silver {
    color: #cbd5e1;
}

.wgpt-pp-lb-rank.is-bronze {
    color: #d97706;
}

.wgpt-pp-lb-player {
    text-align: left;
}

.wgpt-pp-lb-playerwrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wgpt-pp-lb-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.wgpt-pp-lb-avatar.is-placeholder {
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.wgpt-pp-lb-playerinfo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.wgpt-pp-lb-playername {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 12.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 220px;
}

.wgpt-pp-lb-playeraddr {
    color: #64748b;
    font-size: 10.5px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-lb-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: #cbd5e1;
}

.wgpt-pp-lb-num.is-strong {
    color: #c4b5fd;
    font-weight: 700;
}

.wgpt-pp-lb-pagination {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    flex-wrap: wrap;
}

.wgpt-pp-lb-pagebtn {
    background: rgba(15, 17, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    border-radius: 6px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.wgpt-pp-lb-pagebtn:hover:not(:disabled):not(.is-active) {
    background: rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.4);
}

.wgpt-pp-lb-pagebtn:disabled {
    opacity: 0.4;
    cursor: default;
}

.wgpt-pp-lb-pagebtn.is-active {
    background: rgba(124, 58, 237, 0.25);
    border-color: rgba(124, 58, 237, 0.5);
    color: #c4b5fd;
    cursor: default;
}

.wgpt-pp-lb-page-ell {
    color: #64748b;
    padding: 0 4px;
}

.wgpt-pp-lb-pageinfo {
    margin-left: 12px;
    color: #64748b;
    font-size: 11px;
}

.wgpt-pp-lb-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.wgpt-pp-lb-summary-card {
    background: rgba(15, 17, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
}

.wgpt-pp-lb-summary-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #94a3b8;
}

.wgpt-pp-lb-summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-lb-summary-sub {
    font-size: 10.5px;
    color: #c4b5fd;
    margin-top: 1px;
}

.wgpt-pp-lb-section-heading {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    margin-top: 4px;
}

.wgpt-pp-lb-actionpill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10.5px;
    font-weight: 600;
    background: rgba(124, 58, 237, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(124, 58, 237, 0.3);
    white-space: nowrap;
}

.wgpt-pp-lb-actionpill.is-loot {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}

.wgpt-pp-lb-actionpill.is-sheep_breeding {
    background: rgba(244, 114, 182, 0.12);
    color: #f9a8d4;
    border-color: rgba(244, 114, 182, 0.3);
}

.wgpt-pp-lb-actionpill.is-shiny_booster {
    background: rgba(250, 204, 21, 0.12);
    color: #fde68a;
    border-color: rgba(250, 204, 21, 0.3);
}

.wgpt-pp-lb-actionpill.is-gathered_resources {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

.wgpt-pp-lb-actionpill.is-sheep_recharge {
    background: rgba(56, 189, 248, 0.12);
    color: #93c5fd;
    border-color: rgba(56, 189, 248, 0.3);
}

/* ---------- Profit ---------- */

.wgpt-pp-profit {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px 18px;
}

.wgpt-pp-profit-periods {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.wgpt-pp-profit-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wgpt-pp-profit-summary {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.wgpt-pp-profit-summary-card {
    background: rgba(15, 17, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
}

.wgpt-pp-profit-summary-card.is-positive {
    border-color: rgba(34, 197, 94, 0.3);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.08), rgba(15, 17, 25, 0.6));
}

.wgpt-pp-profit-summary-card.is-negative {
    border-color: rgba(239, 68, 68, 0.3);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.08), rgba(15, 17, 25, 0.6));
}

.wgpt-pp-profit-summary-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #94a3b8;
}

.wgpt-pp-profit-summary-value {
    font-size: 18px;
    font-weight: 700;
    color: #e2e8f0;
    margin-top: 2px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-profit-summary-card.is-positive .wgpt-pp-profit-summary-value {
    color: #86efac;
}

.wgpt-pp-profit-summary-card.is-negative .wgpt-pp-profit-summary-value {
    color: #fca5a5;
}

.wgpt-pp-profit-summary-sub {
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 2px;
    text-transform: capitalize;
}

.wgpt-pp-profit-table tbody td {
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 12.5px;
    vertical-align: middle;
}

.wgpt-pp-profit-resource {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e2e8f0;
    font-weight: 600;
    text-transform: capitalize;
}

.wgpt-pp-profit-resicon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.wgpt-pp-profit-cell.is-zero {
    color: rgba(148, 163, 184, 0.3);
}

.wgpt-pp-profit-cell.is-claim:not(.is-zero) {
    color: #86efac;
}

.wgpt-pp-profit-cell.is-tax:not(.is-zero) {
    color: #fde68a;
}

.wgpt-pp-profit-cell.is-loot:not(.is-zero) {
    color: #fca5a5;
}

.wgpt-pp-profit-cell.is-swapin:not(.is-zero) {
    color: #93c5fd;
}

.wgpt-pp-profit-cell.is-swapout:not(.is-zero) {
    color: #f9a8d4;
}

.wgpt-pp-profit-net {
    font-weight: 700;
    color: #cbd5e1;
}

.wgpt-pp-profit-net.is-positive {
    color: #86efac;
}

.wgpt-pp-profit-net.is-negative {
    color: #fca5a5;
}

/* ---- pending USD summary strip (header) ---- */
.wgpt-pp-pending-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: linear-gradient(90deg, rgba(109, 40, 217, 0.18) 0%, rgba(37, 99, 235, 0.18) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    font-size: 12px;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.wgpt-pp-pending-total {
    font-weight: 600;
    color: #f1f5f9;
}

.wgpt-pp-pending-total strong {
    color: #86efac;
    font-weight: 700;
    margin-left: 4px;
}

.wgpt-pp-pending-stale {
    margin-left: 4px;
    color: #fbbf24;
    cursor: help;
}

.wgpt-pp-pending-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-left: auto;
}

.wgpt-pp-pending-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #cbd5e1;
}

.wgpt-pp-pending-chip img {
    width: 16px;
    height: 16px;
}

.wgpt-pp-pending-chip-amt {
    color: #94a3b8;
}

.wgpt-pp-pending-chip-usd {
    color: #86efac;
    font-weight: 600;
}

.wgpt-pp-pending-usd {
    color: #86efac;
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-pending-plums {
    color: #c4b5fd;
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-num {
    text-align: right;
    font-variant-numeric: tabular-nums;
    color: #e2e8f0;
}

.wgpt-pp-relocate-mode {
    margin: 8px 0 4px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wgpt-pp-relocate-mode-pill {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 11px;
}

.wgpt-pp-relocate-mode-pill.is-usd {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(134, 239, 172, 0.3);
}

.wgpt-pp-relocate-mode-pill.is-rate {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.wgpt-pp-relocate-usd {
    color: #86efac;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-journal-usd {
    color: #86efac;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    margin: 0 2px;
}

/* ── Sheep Gathering Calculator ─────────────────────────────────────── */
.wgpt-pp-calc {
    padding: 16px;
    color: #cbd5e1;
    font-size: 13px;
}

.wgpt-pp-calc-grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 16px;
    align-items: start;
}

@media (max-width: 720px) {
    .wgpt-pp-calc-grid { grid-template-columns: 1fr; }
}

.wgpt-pp-calc-inputs,
.wgpt-pp-calc-results {
    background: rgba(15, 17, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 14px 16px;
}

.wgpt-pp-calc-section {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94a3b8;
    font-weight: 700;
    margin: 14px 0 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.wgpt-pp-calc-section:first-child { margin-top: 0; }

.wgpt-pp-calc-field {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 9px;
}

.wgpt-pp-calc-label {
    font-size: 12px;
    color: #cbd5e1;
    font-weight: 500;
}

.wgpt-pp-calc-hint {
    font-size: 10.5px;
    color: #64748b;
    line-height: 1.35;
}

.wgpt-pp-calc-input {
    background: #0f1119;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 9px;
    font-family: inherit;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
    font-variant-numeric: tabular-nums;
}
.wgpt-pp-calc-input:focus {
    outline: none;
    border-color: rgba(124, 58, 237, 0.6);
}
.wgpt-pp-calc-input-sm { width: 78px; }

.wgpt-pp-calc-energy {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    font-size: 12px;
    margin-bottom: 4px;
}

.wgpt-pp-calc-check {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 12.5px;
}
.wgpt-pp-calc-check input { accent-color: #7c3aed; }

.wgpt-pp-calc-adv-toggle {
    background: none;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #a78bfa;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 12px 0 8px;
    margin-top: 8px;
    width: 100%;
    text-align: left;
}

/* Results */
.wgpt-pp-calc-verdict {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.wgpt-pp-calc-verdict.is-pos { color: #4ade80; }
.wgpt-pp-calc-verdict.is-neg { color: #f87171; }

.wgpt-pp-calc-net {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    margin: 2px 0;
    font-variant-numeric: tabular-nums;
}
.wgpt-pp-calc-net.is-pos { color: #86efac; }
.wgpt-pp-calc-net.is-neg { color: #fca5a5; }

.wgpt-pp-calc-perday {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 14px;
}

.wgpt-pp-calc-lines {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
}
.wgpt-pp-calc-line {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 3px 0;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}
.wgpt-pp-calc-line.dim { color: #94a3b8; }
.wgpt-pp-calc-line.total {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 6px;
    padding-top: 8px;
    font-weight: 700;
    font-size: 14px;
}
.wgpt-pp-calc-line .pos { color: #86efac; }
.wgpt-pp-calc-line .neg { color: #fca5a5; }

.wgpt-pp-calc-tiers-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #94a3b8;
    font-weight: 700;
    margin: 16px 0 6px;
}
.wgpt-pp-calc-tiers {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    font-variant-numeric: tabular-nums;
}
.wgpt-pp-calc-tiers td {
    padding: 4px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.wgpt-pp-calc-tiers td:first-child { color: #94a3b8; }
.wgpt-pp-calc-tiers td.pos { color: #86efac; text-align: right; }
.wgpt-pp-calc-tiers td.neg { color: #fca5a5; text-align: right; }
.wgpt-pp-calc-tiers tr.is-current {
    background: rgba(124, 58, 237, 0.16);
}
.wgpt-pp-calc-tiers tr.is-current td:first-child { color: #c4b5fd; font-weight: 700; }

.wgpt-pp-calc-disclaimer {
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 8px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.45;
}

/* ── Gathering Calculator: 4-resource result cards ──────────────────── */
.wgpt-pp-calc-results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 560px) {
    .wgpt-pp-calc-results-grid { grid-template-columns: 1fr; }
}

.wgpt-pp-calc-card {
    background: rgba(15, 17, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.12s ease, background 0.12s ease;
}
.wgpt-pp-calc-card.is-best {
    border-color: rgba(124, 58, 237, 0.6);
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.14), rgba(15, 17, 25, 0.6));
    box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35);
}
.wgpt-pp-calc-card.is-empty { opacity: 0.55; }

.wgpt-pp-calc-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.wgpt-pp-calc-card-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #cbd5e1;
}
.wgpt-pp-calc-card-badge {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    padding: 2px 7px;
}
.wgpt-pp-calc-card.is-best .wgpt-pp-calc-card-badge {
    color: #fff;
    background: rgba(124, 58, 237, 0.55);
}

.wgpt-pp-calc-card-net {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 6px;
    font-variant-numeric: tabular-nums;
}
.wgpt-pp-calc-card-net.is-pos { color: #86efac; }
.wgpt-pp-calc-card-net.is-neg { color: #fca5a5; }

.wgpt-pp-calc-card-perday {
    font-size: 11.5px;
    color: #94a3b8;
}
.wgpt-pp-calc-card-sub {
    font-size: 10.5px;
    color: #64748b;
    margin-top: 4px;
    min-height: 13px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-calc-card-inputs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.wgpt-pp-calc-ri {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.wgpt-pp-calc-ri span {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #64748b;
}
.wgpt-pp-calc-ri .wgpt-pp-calc-input {
    width: 100%;
    padding: 4px 6px;
    font-size: 12px;
}

/* ── Gathering Calculator: header, break-even, compare-communities ───── */
.wgpt-pp-calc-results-wrap { display: flex; flex-direction: column; gap: 10px; }

.wgpt-pp-calc-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.wgpt-pp-calc-results-summary {
    font-size: 12px;
    color: #cbd5e1;
}
.wgpt-pp-calc-results-summary strong { color: #c4b5fd; }

.wgpt-pp-calc-sort { display: flex; align-items: center; gap: 6px; }
.wgpt-pp-calc-sort-lbl {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
}
.wgpt-pp-calc-sort .wgpt-pp-chip { padding: 3px 9px; font-size: 11px; }

.wgpt-pp-calc-card-be {
    font-size: 10px;
    color: #7c8aa0;
    margin-top: 4px;
    min-height: 12px;
    font-variant-numeric: tabular-nums;
}

.wgpt-pp-calc-compare-toggle { margin-top: 14px; }

.wgpt-pp-calc-compare {
    margin-top: 6px;
    background: rgba(15, 17, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px;
}
.wgpt-pp-calc-compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    margin-top: 8px;
    font-variant-numeric: tabular-nums;
}
.wgpt-pp-calc-compare-table td {
    padding: 5px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.wgpt-pp-calc-compare-table td:first-child { color: #64748b; width: 36px; }
.wgpt-pp-calc-compare-table td.pos { color: #86efac; }
.wgpt-pp-calc-compare-table td.neg { color: #fca5a5; }
.wgpt-pp-calc-compare-table tr { cursor: pointer; transition: background 0.1s ease; }
.wgpt-pp-calc-compare-table tr:hover { background: rgba(124, 58, 237, 0.12); }
.wgpt-pp-calc-compare-table tr.is-current { background: rgba(124, 58, 237, 0.2); }
.wgpt-pp-calc-obs { color: #86efac; font-weight: 700; }

/* ── Gathering Calculator: weather forecast picker ──────────────────── */
.wgpt-pp-calc-weather {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 4px 0 10px;
}
.wgpt-pp-calc-weather-row {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    background: #0f1119;
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 5px 9px;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.1s ease, border-color 0.1s ease;
}
.wgpt-pp-calc-weather-row:hover { background: rgba(124, 58, 237, 0.12); }
.wgpt-pp-calc-weather-row.is-active {
    border-color: rgba(124, 58, 237, 0.6);
    background: rgba(124, 58, 237, 0.2);
    color: #fff;
}
.wgpt-pp-calc-weather-emoji { width: 16px; text-align: center; }
.wgpt-pp-calc-weather-label { flex: 1; }
.wgpt-pp-calc-weather-mult {
    font-variant-numeric: tabular-nums;
    color: #94a3b8;
    font-weight: 600;
}
.wgpt-pp-calc-weather-row.is-active .wgpt-pp-calc-weather-mult { color: #c4b5fd; }
.wgpt-pp-calc-weather-div {
    font-size: 9.5px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
    margin: 5px 0 2px;
}

.wgpt-pp-calc-more {
    background: none;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    color: #a78bfa;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 9px;
    margin-top: 1px;
    text-align: center;
}
.wgpt-pp-calc-more:hover { background: rgba(124, 58, 237, 0.12); }

.wgpt-pp-calc-weather-days {
    display: flex;
    flex-direction: column;
    gap: 3px;
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #2a2e3d transparent;
    padding-right: 2px;
}
.wgpt-pp-calc-weather-days::-webkit-scrollbar { width: 8px; }
.wgpt-pp-calc-weather-days::-webkit-scrollbar-thumb { background: #2a2e3d; border-radius: 4px; }

/* site.css */
/* site.css — minimal website chrome: a sign-in gate + a tiny status dot.
   Everything else on the page is the extension's own UI (unchanged). */

html, body {
    margin: 0;
    padding: 0;
    background: #101418;
    color: #e6e6e6;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
}

/* ID selectors below set display, which would override the default [hidden]
   rule — so make hidden win explicitly. */
#wgptweb-gate[hidden], #wgptweb-status[hidden] { display: none !important; }

/* ---- landing / sign-in gate (covers the page until signed in) ---- */
#wgptweb-gate {
    position: fixed; inset: 0; z-index: 100000; overflow-y: auto; overflow-x: hidden;
    background:
        radial-gradient(1000px 600px at 50% -100px, rgba(124,58,237,0.22), transparent 70%),
        radial-gradient(900px 500px at 100% 100%, rgba(59,130,246,0.12), transparent 70%),
        #070b13;
    color: #F8FAFC;
}
/* Animated aurora glow */
.wgptweb-aurora {
    position: fixed; inset: -20% -10% auto -10%; height: 60%; z-index: 0; pointer-events: none;
    background:
        radial-gradient(600px 300px at 20% 30%, rgba(124,58,237,0.30), transparent 70%),
        radial-gradient(600px 300px at 80% 20%, rgba(96,165,250,0.22), transparent 70%),
        radial-gradient(500px 260px at 55% 60%, rgba(244,114,182,0.16), transparent 70%);
    filter: blur(20px); animation: wgptAurora 14s ease-in-out infinite alternate;
}
@keyframes wgptAurora {
    0%   { transform: translate(0,0) scale(1); opacity:.85; }
    50%  { transform: translate(3%, 2%) scale(1.08); opacity:1; }
    100% { transform: translate(-3%, -1%) scale(1.03); opacity:.9; }
}
/* Floating resource emoji */
.wgptweb-floaties { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.wgptweb-floaties span {
    position: absolute; font-size: 26px; opacity: .16; filter: saturate(1.2);
    left: calc(6% + (var(--i) * 9.2%)); top: 100%;
    animation: wgptFloat 16s linear infinite; animation-delay: calc(var(--i) * -1.6s);
}
@keyframes wgptFloat {
    0%   { transform: translateY(0) rotate(0deg); opacity:0; }
    10%  { opacity:.20; }
    90%  { opacity:.14; }
    100% { transform: translateY(-108vh) rotate(220deg); opacity:0; }
}

.wgptweb-land { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 5vh 22px 40px; }

/* Hero */
.wgptweb-hero { text-align: center; }
.wgptweb-hero-badge {
    display: inline-block; font-size: 13px; letter-spacing: 1px; color: #CBD5E1;
    padding: 6px 14px; border: 1px solid rgba(148,163,184,.24); border-radius: 30px;
    background: rgba(255,255,255,.03);
}
.wgptweb-hero-badge b { color: #8B5CF6; }
.wgptweb-hero-title {
    font-size: clamp(30px, 5.4vw, 56px); font-weight: 850; line-height: 1.05; margin: 20px 0 0;
    letter-spacing: -.5px;
}
.wgptweb-hero-title span {
    background: linear-gradient(100deg, #8B5CF6, #60A5FA 40%, #F472B6);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    background-size: 200% auto; animation: wgptShimmer 5s linear infinite;
}
@keyframes wgptShimmer { to { background-position: 200% center; } }
.wgptweb-hero-sub {
    max-width: 640px; margin: 16px auto 0; font-size: clamp(14px, 1.7vw, 16px);
    line-height: 1.6; color: #94A3B8;
}
.wgptweb-hero-sub b { color: #E2E8F0; }
.wgptweb-hero-cta { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wgptweb-gate-btn {
    background: linear-gradient(135deg, #7C3AED, #8B5CF6); color: #fff; border: 0; border-radius: 10px;
    padding: 13px 30px; font-size: 15px; font-weight: 700; cursor: pointer;
    box-shadow: 0 8px 30px rgba(124,58,237,0.45);
}
.wgptweb-cta-primary { animation: wgptPulse 2.6s ease-in-out infinite; }
@keyframes wgptPulse {
    0%,100% { box-shadow: 0 8px 30px rgba(124,58,237,0.40); transform: translateY(0); }
    50%     { box-shadow: 0 12px 40px rgba(124,58,237,0.65); transform: translateY(-2px); }
}
.wgptweb-gate-btn:hover { filter: brightness(1.08); }
.wgptweb-gate-btn:disabled { filter: grayscale(.5); cursor: default; animation: none; }
.wgptweb-cta-free { font-size: 12.5px; color: #94A3B8; }
.wgptweb-cta-free b { color: #CBD5E1; }
.wgptweb-gate-msg { font-size: 12.5px; color: #F87171; min-height: 16px; margin-top: 10px; text-align: center; }

/* Capabilities grid */
.wgptweb-caps {
    margin: 44px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.wgptweb-cap {
    position: relative; overflow: hidden;
    background: rgba(17,27,42,.72); border: 1px solid rgba(148,163,184,.14); border-radius: 14px;
    padding: 16px 12px; text-align: center; backdrop-filter: blur(4px);
    animation: wgptRise .6s cubic-bezier(.2,.7,.3,1) both; animation-delay: calc(var(--d) * 60ms);
    transition: transform .12s ease-out, border-color .18s, box-shadow .18s;
    transform-style: preserve-3d; will-change: transform;
    --mx: 50%; --my: 50%;
}
/* Pointer-follow spotlight highlight. */
.wgptweb-cap::before {
    content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    background: radial-gradient(240px circle at var(--mx) var(--my), rgba(139,92,246,.22), transparent 60%);
    opacity: 0; transition: opacity .2s;
}
.wgptweb-cap.is-lit { border-color: rgba(139,92,246,.55); box-shadow: 0 16px 40px rgba(124,58,237,.22); }
.wgptweb-cap.is-lit::before { opacity: 1; }
.wgptweb-cap:hover { border-color: rgba(139,92,246,.5); box-shadow: 0 10px 30px rgba(124,58,237,.18); }
.wgptweb-cap > * { position: relative; z-index: 1; }

/* Click-burst particles */
.wgptweb-particle {
    position: fixed; z-index: 100001; pointer-events: none; user-select: none;
    transform: translate(-50%, -50%); will-change: transform, opacity;
    animation: wgptBurst .85s cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes wgptBurst {
    0%   { transform: translate(-50%, -50%) scale(.4) rotate(0deg); opacity: 0; }
    15%  { opacity: 1; }
    100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot)); opacity: 0; }
}
@keyframes wgptRise { from { opacity:0; transform: translateY(14px); } to { opacity:1; transform:none; } }
.wgptweb-cap-ic { font-size: 26px; display: inline-block; animation: wgptBob 3s ease-in-out infinite; animation-delay: calc(var(--d) * 120ms); }
@keyframes wgptBob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-4px);} }
.wgptweb-cap-t { font-size: 13.5px; font-weight: 700; margin-top: 8px; }
.wgptweb-cap-s { font-size: 11px; color: #94A3B8; line-height: 1.35; margin-top: 3px; }

/* 24/7 strip */
.wgptweb-always {
    margin: 26px auto 0; max-width: 720px; text-align: center; font-size: 13.5px; color: #CBD5E1;
    padding: 12px 18px; border-radius: 12px;
    background: linear-gradient(90deg, rgba(124,58,237,.14), rgba(96,165,250,.12));
    border: 1px solid rgba(148,163,184,.18);
}

/* Free vs Pro */
.wgptweb-tiers { margin: 30px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 720px; }
.wgptweb-tier {
    position: relative; background: rgba(13,20,32,.8); border: 1px solid rgba(148,163,184,.16);
    border-radius: 14px; padding: 18px;
}
.wgptweb-tier.is-pro { border-color: #8B5CF6; background: linear-gradient(180deg, rgba(124,58,237,.14), rgba(13,20,32,.8) 60%); box-shadow: 0 0 30px rgba(124,58,237,.2); }
.wgptweb-tier-flag { position: absolute; top: -10px; right: 14px; background: linear-gradient(135deg,#7C3AED,#8B5CF6); color:#fff; font-size:10px; font-weight:800; letter-spacing:.5px; padding:3px 10px; border-radius:20px; }
.wgptweb-tier-h { font-size: 18px; font-weight: 800; display: flex; align-items: baseline; justify-content: space-between; }
.wgptweb-tier-h span { color: #4ADE80; font-size: 15px; }
.wgptweb-tier-s { font-size: 12px; color: #94A3B8; margin: 4px 0 10px; }
.wgptweb-tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.wgptweb-tier li { font-size: 12.5px; color: #E2E8F0; padding-left: 20px; position: relative; }
.wgptweb-tier li::before { content: '✓'; position: absolute; left: 0; color: #8B5CF6; font-weight: 700; }
.wgptweb-tier.is-pro li::before { color: #A78BFA; }

.wgptweb-land-foot { margin: 30px 0 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wgptweb-link { background: none; border: none; color: #64748B; font-size: 12px; cursor: pointer; text-decoration: underline; }
.wgptweb-link:hover { color: #94A3B8; }

@media (max-width: 820px) { .wgptweb-caps { grid-template-columns: repeat(2, 1fr); } .wgptweb-tiers { grid-template-columns: 1fr; } }

.wgptweb-link {
    background: none;
    border: 0;
    color: #6b93c9;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    padding: 2px 4px;
}
.wgptweb-link:hover { color: #8fb4e6; }

/* ---- settings importer ---- */
#wgptweb-importer {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 10, 14, 0.7);
    padding: 20px;
}
#wgptweb-importer[hidden] { display: none !important; }
.wgptweb-importer-box {
    width: min(560px, 100%);
    background: #161c23;
    border: 1px solid #2a333d;
    border-radius: 12px;
    padding: 20px 22px;
}
.wgptweb-importer-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.wgptweb-importer-help { font-size: 12px; color: #aab8c5; line-height: 1.6; margin: 0 0 10px 18px; padding: 0; }
.wgptweb-importer-help code, .wgptweb-importer-cmd {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    background: #0d1116;
    border: 1px solid #2a333d;
    border-radius: 5px;
    padding: 2px 6px;
    color: #cdd8e3;
}
.wgptweb-importer-cmd { display: block; padding: 8px 10px; margin-bottom: 12px; overflow-x: auto; white-space: nowrap; }
#wgptweb-import-text {
    width: 100%;
    height: 120px;
    box-sizing: border-box;
    background: #0d1116;
    color: #e6e6e6;
    border: 1px solid #2a333d;
    border-radius: 6px;
    padding: 8px 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    resize: vertical;
}
.wgptweb-importer-actions { display: flex; align-items: center; gap: 10px; margin-top: 12px; }

/* ---- tiny status indicator (bottom-right) ---- */
#wgptweb-status {
    position: fixed;
    left: 12px;      /* left, so it doesn't sit under the fixed journal column */
    bottom: 12px;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    font-size: 11px;
    color: #aab8c5;
    background: rgba(22, 28, 35, 0.9);
    border: 1px solid #2a333d;
    border-radius: 999px;
    pointer-events: auto;
}
.wgptweb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #45505c;
    flex: 0 0 auto;
}
.wgptweb-dot.ok { background: #4caf50; }
.wgptweb-dot.bad { background: #e57373; }
.wgptweb-status-link {
    background: transparent;
    border: 0;
    color: #6b93c9;
    font-size: 11px;
    cursor: pointer;
    text-decoration: underline;
    padding: 0 2px;
}
.wgptweb-status-link:hover { color: #8fb4e6; }
.wgptweb-bg {
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 999px;
    border: 1px solid #a3721f;
    color: #ffb74d;
}
.wgptweb-bg.on { border-color: #2e7d32; color: #81c784; }
.wgptweb-auto {
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 999px;
    border: 1px solid #a33;
    color: #e57373;
    background: transparent;
    cursor: pointer;
}
.wgptweb-auto.on { border-color: #2e7d32; color: #81c784; }
.wgptweb-notify {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 12px;
    opacity: 0.45;
    padding: 0 0 0 2px;
    line-height: 1;
}
.wgptweb-notify.on { opacity: 1; }

/* ---- inline the extension's PowerPanel (no floating launcher, no popup) ----
   Website-only overrides; the extension's powerpanel.css/js are untouched.
   The panel renders as the full page instead of a centered modal over a backdrop. */
.wgpt-pp-launcher { display: none !important; }

/* The panel fills the viewport MINUS the fixed journal column on the right and
   MINUS the top hero bar (set to 52px by wg-hud.js once signed in; 0 before). */
:root { --wgptweb-journal-w: 340px; --wgptweb-topbar-h: 0px; --wgptweb-balancebar-h: 0px; }
/* combined height of the fixed top bars (nav + balances) */

/* ---- design tokens (Flock Control redesign — mockup palette) ---- */
:root {
    --wg-bg: #080D16; --wg-nav: #070B13; --wg-panel: #0D1420; --wg-card: #111B2A;
    --wg-row: #101925; --wg-row-hover: #152236;
    --wg-border: rgba(148, 163, 184, 0.14); --wg-border-strong: rgba(148, 163, 184, 0.24);
    --wg-purple: #7C3AED; --wg-purple-br: #8B5CF6; --wg-purple-glow: rgba(124, 58, 237, 0.28);
    --wg-text: #F8FAFC; --wg-text2: #94A3B8; --wg-text3: #64748B;
    --wg-green: #4ADE80; --wg-blue: #60A5FA; --wg-pink: #F472B6;
    --wg-amber: #FBBF24; --wg-orange: #FB923C; --wg-red: #F87171; --wg-gold: #FACC15;
}


/* Keep the overlay FIXED and full-height; left-align it so the panel sits to the
   left of the journal column. Remove the dimmed backdrop; low z-index so the
   gate/importer sit above it. */
.wgpt-pp-overlay {
    opacity: 1 !important;
    pointer-events: auto !important;
    background: none !important;
    backdrop-filter: none !important;
    z-index: 1 !important;
    top: calc(var(--wgptweb-topbar-h) + var(--wgptweb-balancebar-h)) !important;   /* sit below both top bars */
    justify-content: flex-start !important;
    align-items: stretch !important;
}

/* Fixed-size panel window: full height, width = viewport minus journal column.
   Overflow is left untouched so the panel's header/tabs stay pinned and its body
   scrolls internally — a stable layout that doesn't resize when tabs load. */
.wgpt-pp-modal,
.wgpt-pp-overlay.is-open .wgpt-pp-modal {
    width: calc(100vw - var(--wgptweb-journal-w)) !important;
    height: calc(100vh - var(--wgptweb-topbar-h) - var(--wgptweb-balancebar-h)) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: calc(100vw - var(--wgptweb-journal-w)) !important;
    max-height: calc(100vh - var(--wgptweb-topbar-h) - var(--wgptweb-balancebar-h)) !important;
    transform: none !important;
    opacity: 1 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

/* Exchange feature is retired: hide the Exchange (resource swaps) and Orders
   (limit/market) tabs. Shiny/item marketplace tabs stay. */
.wgpt-pp-tab[data-tab="exchange"],
.wgpt-pp-tab[data-tab="orders"] { display: none !important; }

/* Hunt is owner-only (gray-area feature). Hide the Hunt view for non-owners;
   wg-owner.js adds .wgptweb-owner to <body> for allowed wallets and hides the
   Hunt sub-tab button for everyone else. */
body:not(.wgptweb-owner) .wgpt-pp-hunt { display: none !important; }
/* Any button that references Hunt (e.g. "Open Hunt" in the Actions insights). */
body:not(.wgptweb-owner) .wgpt-hunt-ref { display: none !important; }

/* Never let it become a free-floating/resizable window on the site. */
.wgpt-pp-modal.is-windowed {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: calc(100vw - var(--wgptweb-journal-w)) !important;
    height: calc(100vh - var(--wgptweb-topbar-h) - var(--wgptweb-balancebar-h)) !important;
}
.wgpt-pp-resize-handle { display: none !important; }

/* ---- fixed journal column (right) ---- */
#wgptweb-journal {
    position: fixed;
    top: calc(var(--wgptweb-topbar-h) + var(--wgptweb-balancebar-h));
    right: 0;
    width: var(--wgptweb-journal-w);
    height: calc(100vh - var(--wgptweb-topbar-h) - var(--wgptweb-balancebar-h));
    z-index: 10;
    display: flex;
    flex-direction: column;
    background: #12161d;
    border-left: 1px solid #2a333d;
    box-sizing: border-box;
}
#wgptweb-journal[hidden] { display: none !important; }
.wgptweb-journal-head {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #e6e6e6;
    border-bottom: 1px solid #2a333d;
    flex: 0 0 auto;
}
.wgptweb-journal-list { flex: 1 1 auto; overflow-y: auto; padding: 6px 0 40px; }
.wgptweb-j-empty { color: #6b7785; font-size: 12px; padding: 20px 14px; text-align: center; line-height: 1.6; }
.wgptweb-j-empty span { color: #566171; font-size: 11px; }

.wgptweb-j-row {
    display: flex;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    align-items: flex-start;
}
.wgptweb-j-row:hover { background: rgba(255, 255, 255, 0.02); }

.wgptweb-j-portrait {
    width: 38px; height: 38px;
    border-radius: 8px;
    object-fit: cover;
    background: #0d1116;
    border: 1px solid #2a333d;
    flex: 0 0 auto;
    image-rendering: pixelated;
}
.wgptweb-j-portrait-ph { background: #0d1116 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23455060" stroke-width="2"><path d="M4 20a8 8 0 0 1 16 0"/><circle cx="12" cy="8" r="4"/></svg>') center/20px no-repeat; }

.wgptweb-j-body { flex: 1 1 auto; min-width: 0; }
.wgptweb-j-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wgptweb-j-action { font-weight: 700; font-size: 12px; color: #b9c6d3; }
.wgptweb-j-time { color: #6b7785; font-size: 10px; white-space: nowrap; flex: 0 0 auto; }

.wgptweb-j-main { display: flex; align-items: center; gap: 5px; margin-top: 3px; flex-wrap: wrap; }
.wgptweb-j-amt { font-size: 14px; font-weight: 700; color: #e6edf3; }
.wgptweb-j-ricon { width: 16px; height: 16px; vertical-align: middle; }
.wgptweb-j-sub { color: #9aa7b4; line-height: 1.4; word-break: break-word; }

.wgptweb-j-badges { display: flex; gap: 5px; margin-top: 5px; flex-wrap: wrap; }
.wgptweb-j-id, .wgptweb-j-chip, .wgptweb-j-rank {
    font-size: 10px; padding: 1px 7px; border-radius: 999px;
    background: #1f2831; border: 1px solid #2a333d; color: #aab8c5; white-space: nowrap;
}
.wgptweb-j-rank.r-top { border-color: #2e7d32; color: #81c784; }
.wgptweb-j-rank.r-mid { border-color: #a3721f; color: #ffb74d; }

/* action accent (left border) */
.wgptweb-j-claim, .wgptweb-j-stop-collect { box-shadow: inset 3px 0 0 #4caf50; }
.wgptweb-j-claim-tax, .wgptweb-j-landtax { box-shadow: inset 3px 0 0 #ffb74d; }
.wgptweb-j-attack, .wgptweb-j-loot { box-shadow: inset 3px 0 0 #e57373; }
.wgptweb-j-farmer { box-shadow: inset 3px 0 0 #64b5f6; }
.wgptweb-j-hunt { box-shadow: inset 3px 0 0 #ba68c8; }
.wgptweb-j-claim .wgptweb-j-action { color: #81c784; }
.wgptweb-j-claim-tax .wgptweb-j-action { color: #ffb74d; }
.wgptweb-j-attack .wgptweb-j-action, .wgptweb-j-loot .wgptweb-j-action { color: #e57373; }
.wgptweb-j-farmer .wgptweb-j-action { color: #64b5f6; }
/* leaderboard rank-change entries */
.wgptweb-j-icon { display: flex; align-items: center; justify-content: center; font-size: 20px; background: #12161d; }
.wgptweb-j-leaderboard { box-shadow: inset 3px 0 0 #c4b5fd; }
.wgptweb-j-leaderboard .wgptweb-j-action { color: #c4b5fd; }
.wgptweb-j-rankchg { font-size: 14px; font-weight: 700; }
.wgptweb-j-rankchg.up { color: #81c784; }
.wgptweb-j-rankchg.down { color: #e57373; }
.wgptweb-j-arrow { color: #6b7785; font-weight: 400; margin: 0 1px; }

/* ============================================================================
   WEBSITE CHROME  (website-only; powerpanel.css/js untouched)
   Keep the extension's ORIGINAL dark palette. We only: (1) move the PowerPanel's
   navigation up into a full-width top bar, (2) hide the panel's own two tab rows,
   (3) drop the now-duplicated bottom controls. No recolouring of the panel.
   ========================================================================== */

/* Nav lives in the top bar now — hide the panel's two tab rows. */
.wgpt-pp-tabs { display: none !important; }

/* The "Power Panel" header (title + gear/refresh/close) is redundant with the
   top bar — hide it. Refresh + Settings are proxied into the top bar by wg-hud.js
   (Close isn't needed; the panel is the whole page). */
.wgpt-pp-header { display: none !important; }

/* Notifications + auto moved to the top bar; keep only the connection dot/text
   + import link in the bottom strip. */
#wgptweb-bg,
#wgptweb-status .wgptweb-notify,
#wgptweb-status .wgptweb-auto { display: none !important; }

/* ---- top bar ---- */
#wgptweb-hud {
    position: fixed; top: 0; left: 0; right: 0; height: 52px; z-index: 50;
    display: flex; align-items: stretch; gap: 14px; padding: 0 16px;
    box-sizing: border-box;
    background: #11141d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
#wgptweb-hud[hidden] { display: none !important; }

.wgptweb-hud-brand {
    display: flex; align-items: center; gap: 7px;
    font-size: 14px; letter-spacing: 1px; font-weight: 600;
    color: #94a3b8; white-space: nowrap; flex: 0 0 auto;
    padding-right: 14px; border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.wgptweb-hud-brand b { color: #c4b5fd; font-weight: 700; }
.wgptweb-hud-logo { font-size: 18px; }

/* nav — the primary navigation, replacing the panel's hidden tab rows */
.wgptweb-hud-nav { display: flex; align-items: stretch; gap: 2px; flex: 1 1 auto; overflow-x: auto; }
.wgptweb-hud-nav::-webkit-scrollbar { height: 0; }
.wgptweb-nav-btn {
    display: flex; align-items: center; gap: 7px;
    background: transparent; border: 1px solid transparent; cursor: pointer;
    margin: 8px 1px; padding: 0 12px; height: 36px;
    color: #94a3b8; font-size: 13px; font-weight: 600; border-radius: 8px;
    white-space: nowrap;
    transition: color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}
.wgptweb-nav-btn:hover { color: #f8fafc; background: rgba(148, 163, 184, 0.08); }
/* active item: dark purple fill + glow + white label (mockup section 1) */
.wgptweb-nav-btn.is-active {
    color: #fff;
    background: linear-gradient(180deg, #7c3aed, #6d28d9);
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.wgptweb-nav-btn.is-active .wgptweb-nav-count {
    background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.3);
}
/* separate game navigation from wallet/system controls */
.wgptweb-hud-right { border-left: 1px solid rgba(148, 163, 184, 0.14); }
.wgptweb-nav-ic { font-size: 15px; }
.wgptweb-nav-count {
    font-size: 11px; font-weight: 700; color: #c4b5fd;
    background: rgba(124, 58, 237, 0.18); border: 1px solid rgba(124, 58, 237, 0.35);
    border-radius: 999px; padding: 0 6px; min-width: 16px; text-align: center;
}
.wgptweb-nav-count[hidden] { display: none; }

/* right cluster: resource strip + refresh/settings + notifications + auto + online + wallet */
.wgptweb-hud-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; padding-left: 6px; }
.wgptweb-hud-stat { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.wgptweb-hud-k { font-size: 9px; letter-spacing: 0.8px; text-transform: uppercase; color: #64748b; }
.wgptweb-hud-v { font-size: 15px; font-weight: 700; color: #86efac; }

/* the panel's resource strip, relocated into the top bar — compact + horizontal */
.wgptweb-hud-pending-slot { display: flex; align-items: center; }
.wgptweb-hud-pending-slot .wgpt-pp-pending-strip {
    display: flex !important; align-items: center; gap: 12px;
    margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important;
}
.wgptweb-hud-pending-slot .wgpt-pp-pending-total { font-size: 12px !important; color: #94a3b8 !important; white-space: nowrap; }
.wgptweb-hud-pending-slot .wgpt-pp-pending-total strong { color: #86efac !important; font-size: 14px; }
.wgptweb-hud-pending-slot .wgpt-pp-pending-chips { display: flex !important; align-items: center; gap: 9px; }
.wgptweb-hud-pending-slot .wgpt-pp-pending-chip { display: flex !important; align-items: center; gap: 3px; font-size: 11px; padding: 0 !important; background: transparent !important; border: 0 !important; }
.wgptweb-hud-pending-slot .wgpt-pp-pending-chip img { width: 14px !important; height: 14px !important; }
.wgptweb-hud-pending-slot .wgpt-pp-pending-chip-amt { color: #64748b !important; }
.wgptweb-hud-pending-slot .wgpt-pp-pending-chip-usd { color: #cbd5e1 !important; font-weight: 600; }
.wgptweb-hud-bump { animation: wgHudBump 0.5s ease; }
@keyframes wgHudBump { 0% { transform: scale(1); } 35% { transform: scale(1.16); } 100% { transform: scale(1); } }

.wgptweb-hud-bell {
    position: relative; background: transparent; border: 0; cursor: pointer;
    font-size: 16px; opacity: 0.6; padding: 2px 4px; line-height: 1;
    transition: opacity 0.15s ease;
}
.wgptweb-hud-bell:hover { opacity: 1; }
.wgptweb-hud-bell.on { opacity: 1; filter: drop-shadow(0 0 6px rgba(196, 181, 253, 0.6)); }
.wgptweb-hud-badge {
    position: absolute; top: -3px; right: -3px;
    min-width: 15px; height: 15px; padding: 0 3px; box-sizing: border-box;
    background: #ef4444; color: #fff; font-size: 9px; font-weight: 700;
    border-radius: 999px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 2px #11141d;
}
.wgptweb-hud-badge[hidden] { display: none; }

.wgptweb-hud-icon {
    background: transparent; border: 0; cursor: pointer;
    font-size: 16px; color: #94a3b8; opacity: 0.75; padding: 3px 5px; line-height: 1;
    transition: color 0.15s ease, opacity 0.15s ease;
}
.wgptweb-hud-icon:hover { opacity: 1; color: #e2e8f0; }
.wgptweb-hud-icon.is-active { color: #c4b5fd; opacity: 1; }

/* Auto Jug config chip + popover (clearer than inline MKT/land pills) */
.wgpt-jug-cfg {
    display: inline-flex; align-items: center; gap: 4px;
    font-size: 9px; font-weight: 700; letter-spacing: 0.3px; cursor: pointer;
    padding: 2px 7px; border-radius: 6px; border: 1px solid var(--wg-border);
    color: var(--wg-text3); background: #0e1626; transition: all 0.15s ease; white-space: nowrap;
}
.wgpt-jug-cfg:hover { border-color: var(--wg-purple-br); color: var(--wg-text2); }
.wgpt-jug-cfg.is-set { color: var(--wg-blue); border-color: rgba(96,165,250,0.4); }
.wgpt-jug-cfg-gear { opacity: 0.8; }
.wgpt-jug-pop-back { position: fixed; inset: 0; z-index: 100050; }
.wgpt-jug-pop {
    position: fixed; z-index: 100051; width: 260px; box-sizing: border-box;
    background: var(--wg-card); border: 1px solid var(--wg-border-strong); border-radius: 12px;
    padding: 14px; box-shadow: 0 16px 40px rgba(0,0,0,0.55);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.wgpt-jug-pop-title { font-size: 13px; font-weight: 700; color: var(--wg-text); margin-bottom: 10px; }
.wgpt-jug-pop-lbl { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--wg-text3); margin-bottom: 5px; }
.wgpt-jug-pop-land {
    width: 100%; box-sizing: border-box; height: 38px; padding: 0 12px; border-radius: 9px;
    background: #0b1220; border: 1px solid var(--wg-border-strong); color: var(--wg-text); font-size: 15px;
}
.wgpt-jug-pop-land:focus { border-color: var(--wg-purple-br); box-shadow: 0 0 0 3px var(--wg-purple-glow); outline: none; }
.wgpt-jug-pop-hint { font-size: 11px; color: var(--wg-text3); margin: 6px 0 10px; line-height: 1.4; }
.wgpt-jug-pop-toggle { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--wg-text); cursor: pointer; margin-top: 4px; }
.wgpt-jug-pop-toggle input { width: 16px; height: 16px; accent-color: var(--wg-purple); }
.wgpt-jug-pop-actions { display: flex; gap: 8px; margin-top: 12px; }
.wgpt-jug-pop-actions button { flex: 1; height: 36px; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 600; }
.wgpt-jug-pop-clear { background: transparent; border: 1px solid var(--wg-border-strong); color: var(--wg-text2); }
.wgpt-jug-pop-clear:hover { color: var(--wg-text); }
.wgpt-jug-pop-save { background: linear-gradient(180deg, var(--wg-purple-br), var(--wg-purple)); border: 0; color: #fff; }
.wgpt-jug-pop-save:hover { filter: brightness(1.08); }

.wgptweb-hud-auto {
    font-size: 11px; font-weight: 700; letter-spacing: 0.4px; cursor: pointer;
    padding: 4px 11px; border-radius: 999px;
    border: 1px solid #7c5c1f; color: #fbbf24; background: transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.wgptweb-hud-auto.on { border-color: #2e7d4f; color: #86efac; }
.wgptweb-hud-online i {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: #34d399; box-shadow: 0 0 8px #34d399;
    animation: wgHudPulse 2.4s ease-in-out infinite;
}
@keyframes wgHudPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.wgptweb-hud-wallet {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px; color: #cbd5e1;
    padding: 4px 9px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.03);
}

/* ---- account balances bar (below the top nav bar) ---- */
#wgptweb-balances {
    position: fixed; left: 0; right: var(--wgptweb-journal-w);
    top: var(--wgptweb-topbar-h); height: var(--wgptweb-balancebar-h);
    z-index: 40;
    display: flex; align-items: center; gap: 20px;
    padding: 0 18px; overflow-x: auto;
    background: linear-gradient(180deg, #0d1016, #0b0d12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}
#wgptweb-balances[hidden] { display: none !important; }
#wgptweb-balances::-webkit-scrollbar { height: 0; }
.wgptweb-bal { display: flex; align-items: center; gap: 6px; white-space: nowrap; flex: 0 0 auto; }
.wgptweb-bal-ic { width: 17px; height: 17px; object-fit: contain; }
.wgptweb-bal-v { font-size: 13px; font-weight: 700; color: #e2e8f0; letter-spacing: 0.2px; }
.wgptweb-bal-empty { font-size: 12px; color: #64748b; }

/* ============================================================================
   FLOCK CONTROL header + summary cards (rendered by forked powerpanel.js)
   ========================================================================== */
.wgpt-flock { padding: 20px 22px 4px; }
.wgpt-flock-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.wgpt-flock-title-wrap { display: flex; align-items: center; gap: 14px; }
.wgpt-flock-mark {
    width: 52px; height: 52px; border-radius: 14px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; font-size: 28px;
    background: radial-gradient(circle at 30% 25%, #1b2942, #0e1626);
    border: 1px solid var(--wg-border-strong);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.wgpt-flock-title { font-size: 27px; font-weight: 700; color: var(--wg-text); letter-spacing: -0.3px; line-height: 1.1; }
.wgpt-flock-sub { font-size: 13px; color: var(--wg-text2); margin-top: 3px; }
.wgpt-flock-actions { display: flex; align-items: center; gap: 10px; }
.wgpt-flock-btn {
    height: 44px; padding: 0 18px; border-radius: 10px; cursor: pointer;
    font-size: 14px; font-weight: 600; color: var(--wg-text);
    background: var(--wg-card); border: 1px solid var(--wg-border-strong);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.wgpt-flock-btn:hover { background: var(--wg-row-hover); border-color: var(--wg-border-strong); }
.wgpt-flock-btn.primary {
    background: linear-gradient(180deg, var(--wg-purple-br), var(--wg-purple));
    border-color: transparent; color: #fff;
    box-shadow: 0 6px 20px -6px var(--wg-purple-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.wgpt-flock-btn.primary:hover { filter: brightness(1.07); transform: translateY(-1px); }
.wgpt-flock-btn.primary:disabled { background: #1a2233; color: var(--wg-text3); box-shadow: none; cursor: default; filter: none; transform: none; }

.wgpt-flock-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.wgpt-card {
    display: flex; align-items: center; gap: 14px; min-height: 108px;
    padding: 16px; border-radius: 12px;
    background: var(--wg-card); border: 1px solid var(--wg-border);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.wgpt-card-ic {
    width: 46px; height: 46px; border-radius: 12px; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.wgpt-card-label { font-size: 12px; color: var(--wg-text2); font-weight: 600; }
.wgpt-card-val { font-size: 27px; font-weight: 700; color: var(--wg-text); line-height: 1.15; font-variant-numeric: tabular-nums; }
.wgpt-card-sub { font-size: 12px; color: var(--wg-text3); }
/* semantic tints */
.wgpt-card-green  { background: linear-gradient(180deg, rgba(74,222,128,0.08), transparent), var(--wg-card); }
.wgpt-card-green  .wgpt-card-ic { background: rgba(74,222,128,0.14); box-shadow: 0 0 16px rgba(74,222,128,0.25); }
.wgpt-card-green  .wgpt-card-sub { color: var(--wg-green); }
.wgpt-card-blue   { background: linear-gradient(180deg, rgba(96,165,250,0.08), transparent), var(--wg-card); }
.wgpt-card-blue   .wgpt-card-ic { background: rgba(96,165,250,0.14); box-shadow: 0 0 16px rgba(96,165,250,0.22); }
.wgpt-card-pink   { background: linear-gradient(180deg, rgba(244,114,182,0.08), transparent), var(--wg-card); }
.wgpt-card-pink   .wgpt-card-ic { background: rgba(244,114,182,0.14); box-shadow: 0 0 16px rgba(244,114,182,0.22); }
.wgpt-card-amber  { background: linear-gradient(180deg, rgba(251,191,36,0.08), transparent), var(--wg-card); }
.wgpt-card-amber  .wgpt-card-ic { background: rgba(251,191,36,0.14); box-shadow: 0 0 16px rgba(251,191,36,0.22); }
.wgpt-card-gold   { background: linear-gradient(180deg, rgba(250,204,21,0.08), transparent), var(--wg-card); }
.wgpt-card-gold   .wgpt-card-ic { background: rgba(250,204,21,0.14); box-shadow: 0 0 16px rgba(250,204,21,0.25); }
.wgpt-card-gold   .wgpt-card-val { color: var(--wg-gold); }

@media (max-width: 1200px) { .wgpt-flock-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .wgpt-flock-cards { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================================
   SHEEP TABLE redesign (overrides the forked powerpanel.css; §5-9)
   ========================================================================== */
/* roomier rows + hover */
.wgpt-pp-table tbody td { padding: 12px 10px !important; height: 78px; box-sizing: border-box; vertical-align: middle; }
.wgpt-pp-table tbody tr:hover td { background: var(--wg-row-hover) !important; }
.wgpt-pp-table tbody tr { border-bottom: 1px solid var(--wg-border); }

/* group headers (INFO/COLLECTION/AUTOMATION) — quieter, spaced, uppercase */
.wgpt-pp-table thead tr.wgpt-pp-thead-groups th {
    background: #0b1320 !important; color: var(--wg-text3) !important;
    font-size: 10px !important; letter-spacing: 1.2px; text-transform: uppercase;
    border-bottom: 1px solid var(--wg-border) !important;
}
.wgpt-pp-table thead tr.wgpt-pp-thead-cols th {
    background: #0b1320 !important; color: var(--wg-text3) !important;
    font-size: 10.5px !important; letter-spacing: 0.5px; text-transform: uppercase;
    border-bottom: 1px solid var(--wg-border-strong) !important;
}

/* avatar 46px + rarity-tinted border */
.wgpt-pp-avatar { width: 46px !important; height: 46px !important; border-radius: 10px !important; border: 2px solid var(--wg-border-strong); object-fit: cover; }
.wgpt-pp-id-cell.tier-legendary .wgpt-pp-avatar { border-color: var(--wg-gold); box-shadow: 0 0 12px rgba(250,204,21,0.35); }
.wgpt-pp-id-cell.tier-epic .wgpt-pp-avatar { border-color: var(--wg-purple-br); box-shadow: 0 0 12px rgba(139,92,246,0.35); }
.wgpt-pp-id-cell.tier-rare .wgpt-pp-avatar { border-color: var(--wg-blue); box-shadow: 0 0 12px rgba(96,165,250,0.3); }
.wgpt-pp-id-cell.tier-common .wgpt-pp-avatar { border-color: #37455c; }
.wgpt-pp-id { font-size: 14px !important; font-weight: 700 !important; color: var(--wg-text) !important; }

/* status badges — mockup semantics (uppercase, tinted) */
.wgpt-pp-status { text-transform: uppercase !important; font-size: 11px !important; font-weight: 700 !important; letter-spacing: 0.4px; border-radius: 6px !important; padding: 3px 8px !important; border: 1px solid transparent; }
.wgpt-pp-status.is-collecting { background: rgba(96,165,250,0.14) !important; color: var(--wg-blue) !important; border-color: rgba(96,165,250,0.3) !important; }
.wgpt-pp-status.is-breeding  { background: rgba(244,114,182,0.14) !important; color: var(--wg-pink) !important; border-color: rgba(244,114,182,0.3) !important; }
.wgpt-pp-status.is-idle      { background: rgba(74,222,128,0.14) !important; color: var(--wg-green) !important; border-color: rgba(74,222,128,0.3) !important; }
.wgpt-pp-status.is-busy      { background: rgba(251,191,36,0.14) !important; color: var(--wg-amber) !important; border-color: rgba(251,191,36,0.3) !important; }

/* energy meter — wider + threshold colors */
.wgpt-pp-energy-bar { width: 96px !important; height: 7px !important; border-radius: 999px !important; background: rgba(148,163,184,0.15) !important; }
.wgpt-pp-energy-bar-fill { background: var(--wg-green) !important; border-radius: 999px !important; }
.wgpt-pp-energy-bar-fill.is-mid { background: var(--wg-amber) !important; }
.wgpt-pp-energy-bar-fill.is-low { background: var(--wg-orange) !important; }

/* production numerics — tabular */
.wgpt-pp-table tbody td { font-variant-numeric: tabular-nums; }
/* rank pill tiers */
.wgpt-pp-rank-pill.is-top { background: rgba(74,222,128,0.16) !important; color: var(--wg-green) !important; }
.wgpt-pp-rank-pill.is-mid { background: rgba(251,191,36,0.16) !important; color: var(--wg-amber) !important; }

/* ============================================================================
   Circular automation controls (§10) — rendered by makeAutoControl
   ========================================================================== */
.wgpt-auto-ctl { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.wgpt-auto-circle {
    width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 16px;
    background: #0e1626; border: 1px solid var(--wg-border-strong); color: var(--wg-text3);
    filter: grayscale(0.6) opacity(0.7);
    transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, transform 0.1s ease, filter 0.15s ease;
}
.wgpt-auto-circle:hover { border-color: var(--wg-purple-br); transform: translateY(-1px); }
.wgpt-auto-circle:focus-visible { outline: 2px solid var(--wg-purple-br); outline-offset: 2px; }
.wgpt-auto-circle.is-on {
    background: linear-gradient(180deg, var(--wg-purple-br), var(--wg-purple));
    border-color: transparent; color: #fff; filter: none;
    box-shadow: 0 0 14px var(--wg-purple-glow), inset 0 1px 0 rgba(255,255,255,0.18);
}
.wgpt-auto-lbl { font-size: 9px; font-weight: 700; letter-spacing: 0.6px; color: var(--wg-text3); }
.wgpt-auto-circle.is-on + .wgpt-auto-lbl { color: var(--wg-purple-br); }
.wgpt-auto-meta { display: flex; align-items: center; gap: 4px; margin-top: 1px; }
.wgpt-auto-mkt, .wgpt-auto-land {
    font-size: 8.5px; font-weight: 700; letter-spacing: 0.4px; cursor: pointer;
    padding: 1px 5px; border-radius: 5px; border: 1px solid var(--wg-border);
    color: var(--wg-text3); background: #0e1626;
}
.wgpt-auto-mkt.is-on { color: var(--wg-green); border-color: rgba(74,222,128,0.4); background: rgba(74,222,128,0.1); }
.wgpt-auto-land.is-set { color: var(--wg-blue); border-color: rgba(96,165,250,0.4); }
.wgpt-auto-land:hover, .wgpt-auto-mkt:hover { border-color: var(--wg-purple-br); color: var(--wg-text2); }
.wgpt-auto-landinput { width: 46px; font-size: 10px; padding: 1px 4px; border-radius: 5px; background: #0e1626; color: var(--wg-text); border: 1px solid var(--wg-purple-br); }
@media (prefers-reduced-motion: reduce) { .wgpt-auto-circle, .wgpt-flock-btn { transition: none; } }

/* ============================================================================
   ACTIVITY JOURNAL redesign (§12) — website-owned panel
   ========================================================================== */
.wgptweb-journal-head { display: flex !important; align-items: center; justify-content: space-between; padding: 14px 16px !important; }
.wgptweb-journal-title { font-size: 15px; font-weight: 700; color: var(--wg-text); letter-spacing: 0.2px; }
.wgptweb-journal-collapse {
    background: transparent; border: 1px solid var(--wg-border); color: var(--wg-text2);
    width: 26px; height: 26px; border-radius: 7px; cursor: pointer; font-size: 14px; line-height: 1;
    transition: background 0.15s ease, color 0.15s ease;
}
.wgptweb-journal-collapse:hover { background: var(--wg-row-hover); color: var(--wg-text); }
.wgptweb-journal-filters { display: flex; gap: 6px; padding: 0 14px 12px; flex-wrap: wrap; }
.wgptweb-jf {
    font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 999px; cursor: pointer;
    background: transparent; border: 1px solid var(--wg-border); color: var(--wg-text2);
    transition: all 0.15s ease;
}
.wgptweb-jf:hover { border-color: var(--wg-border-strong); color: var(--wg-text); }
.wgptweb-jf.is-active { background: var(--wg-purple); border-color: transparent; color: #fff; box-shadow: 0 0 12px var(--wg-purple-glow); }
.wgptweb-journal-full {
    margin: 8px 14px 14px; padding: 11px; border-radius: 10px; cursor: pointer;
    background: var(--wg-card); border: 1px solid var(--wg-border-strong); color: var(--wg-text);
    font-size: 13px; font-weight: 600; flex: 0 0 auto;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.wgptweb-journal-full:hover { background: var(--wg-row-hover); border-color: var(--wg-purple-br); }
#wgptweb-journal.is-collapsed { display: none !important; }
.wgptweb-journal-expand {
    position: fixed; right: 12px; z-index: 60;
    top: calc(var(--wgptweb-topbar-h) + var(--wgptweb-balancebar-h) + 12px);
    width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 18px;
    background: var(--wg-card); border: 1px solid var(--wg-border-strong); color: var(--wg-text);
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}
.wgptweb-journal-expand[hidden] { display: none !important; }
.wgptweb-journal-expand:hover { border-color: var(--wg-purple-br); }

/* ============================================================================
   TOOLBAR redesign (§4) — search + filter/column chips
   ========================================================================== */
.wgpt-pp-toolbar { padding: 14px 22px !important; gap: 10px 12px !important; }
.wgpt-pp-toolbar-label { color: var(--wg-text3) !important; font-size: 11px !important; text-transform: uppercase; letter-spacing: 0.6px; }
.wgpt-pp-search {
    height: 40px !important; min-width: 230px; border-radius: 10px !important;
    background: var(--wg-card) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%2394a3b8" stroke-width="2" stroke-linecap="round"><circle cx="11" cy="11" r="7"/><path d="M21 21l-4-4"/></svg>') 12px center/16px no-repeat !important;
    padding: 0 12px 0 36px !important; border: 1px solid var(--wg-border-strong) !important; color: var(--wg-text) !important;
    font-size: 13px !important;
}
.wgpt-pp-search::placeholder { color: var(--wg-text3); }
.wgpt-pp-search:focus { border-color: var(--wg-purple-br) !important; box-shadow: 0 0 0 3px var(--wg-purple-glow) !important; outline: none !important; }
.wgpt-pp-chip {
    border-radius: 999px !important; padding: 7px 13px !important; font-size: 12px !important; font-weight: 600 !important;
    background: var(--wg-card) !important; border: 1px solid var(--wg-border) !important; color: var(--wg-text2) !important;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
}
.wgpt-pp-chip:hover { border-color: var(--wg-border-strong) !important; color: var(--wg-text) !important; }
.wgpt-pp-chip.is-active { background: var(--wg-purple) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 0 12px var(--wg-purple-glow) !important; }
.wgpt-pp-chip-count { background: rgba(255,255,255,0.16) !important; color: inherit !important; border: 0 !important; }

/* footer (§13) — clean divider + muted meta (no fake pagination added) */
.wgpt-pp-footer { border-top: 1px solid var(--wg-border) !important; padding: 12px 22px !important; color: var(--wg-text3) !important; font-size: 12px !important; }

/* ============================================================================
   Row selection + bulk-action bar (§11)
   ========================================================================== */
.wgpt-id-box { display: flex; align-items: center; gap: 11px; }
/* custom themed checkbox */
.wgpt-row-check {
    appearance: none; -webkit-appearance: none; margin: 0;
    width: 18px; height: 18px; border-radius: 5px; cursor: pointer; flex: 0 0 auto;
    border: 1.5px solid var(--wg-border-strong); background: #0e1626;
    position: relative; transition: background 0.15s ease, border-color 0.15s ease;
}
.wgpt-row-check:hover { border-color: var(--wg-purple-br); }
.wgpt-row-check:checked { background: var(--wg-purple); border-color: var(--wg-purple); }
.wgpt-row-check:checked::after {
    content: '✓'; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 12px; font-weight: 800; line-height: 1;
}
.wgpt-row-check:focus-visible { outline: 2px solid var(--wg-purple-br); outline-offset: 1px; }
.wgpt-pp-table tbody tr.is-selected td { background: rgba(124, 58, 237, 0.12) !important; }
.wgpt-pp-table tbody tr.is-selected td:first-child { box-shadow: inset 3px 0 0 var(--wg-purple); }

.wgpt-bulk {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 22px; background: rgba(124, 58, 237, 0.1);
    border-top: 1px solid var(--wg-border); border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}
.wgpt-bulk-count { font-size: 13px; font-weight: 700; color: var(--wg-purple-br); margin-right: 6px; }
.wgpt-bulk-btn {
    height: 34px; padding: 0 14px; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: 600;
    background: var(--wg-purple); border: 1px solid transparent; color: #fff;
    transition: filter 0.15s ease, background 0.15s ease;
}
.wgpt-bulk-btn:hover { filter: brightness(1.1); }
.wgpt-bulk-btn.danger { background: transparent; border-color: rgba(248,113,113,0.5); color: var(--wg-red); }
.wgpt-bulk-btn.danger:hover { background: rgba(248,113,113,0.12); filter: none; }
.wgpt-bulk-btn.ghost { background: transparent; border-color: var(--wg-border-strong); color: var(--wg-text2); margin-left: auto; }
.wgpt-bulk-btn.ghost:hover { color: var(--wg-text); filter: none; }

/* ============================================================================
   LEADERBOARD revamp (Season Leaderboard)
   ========================================================================== */
.wgpt-pp-lb { padding: 4px 22px 20px; }
.wgpt-lb-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0 14px; flex-wrap: wrap; }
.wgpt-lb-head-l { display: flex; align-items: center; gap: 14px; }
.wgpt-lb-head-mark {
    width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 26px;
    background: radial-gradient(circle at 30% 25%, #3a2a12, #1a1508); border: 1px solid rgba(250,204,21,0.3);
    box-shadow: 0 0 18px rgba(250,204,21,0.18);
}
.wgpt-lb-head-title { font-size: 26px; font-weight: 700; color: var(--wg-text); letter-spacing: -0.3px; }
.wgpt-lb-head-sub { font-size: 13px; color: var(--wg-text2); margin-top: 2px; }
.wgpt-lb-season-pill {
    padding: 9px 16px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--wg-text);
    background: var(--wg-card); border: 1px solid var(--wg-border-strong);
}

.wgpt-pp-lb-subtabs { display: flex; gap: 8px; margin-bottom: 14px; }
.wgpt-pp-lb-subtab {
    padding: 8px 18px; border-radius: 9px; cursor: pointer; font-size: 13px; font-weight: 600;
    background: transparent; border: 1px solid var(--wg-border); color: var(--wg-text2); transition: all 0.15s ease;
}
.wgpt-pp-lb-subtab:hover { color: var(--wg-text); border-color: var(--wg-border-strong); }
.wgpt-pp-lb-subtab.is-active { background: var(--wg-purple); border-color: transparent; color: #fff; box-shadow: 0 0 14px var(--wg-purple-glow); }

.wgpt-pp-lb-toolbar { margin-bottom: 14px; }
.wgpt-pp-lb-season { display: flex; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.wgpt-pp-lb-season-chip {
    display: flex; align-items: center; gap: 12px; min-width: 190px;
    padding: 14px 18px; border-radius: 12px; background: var(--wg-card); border: 1px solid var(--wg-border);
}
.wgpt-lb-cardic {
    width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px;
    background: rgba(250,204,21,0.12);
}
.wgpt-lb-cardbody { display: flex; flex-direction: column; }
.wgpt-pp-lb-season-chip-label { font-size: 10px; letter-spacing: 0.8px; text-transform: uppercase; color: var(--wg-text3); }
.wgpt-pp-lb-season-chip-value { font-size: 19px; font-weight: 700; color: var(--wg-text); font-variant-numeric: tabular-nums; }

/* YOU row — highlighted purple bar */
.wgpt-pp-lb-tablewrap.is-me { margin-bottom: 12px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(124,58,237,0.5); box-shadow: 0 0 22px var(--wg-purple-glow); }
.wgpt-pp-lb-row.is-me td { background: linear-gradient(180deg, rgba(124,58,237,0.22), rgba(124,58,237,0.12)) !important; padding: 14px 12px !important; border: 0 !important; }
.wgpt-pp-lb-metag { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; background: var(--wg-purple); color: #fff; padding: 2px 6px; border-radius: 5px; margin-left: 6px; }

/* table */
.wgpt-pp-lb-table { width: 100%; border-collapse: collapse; }
.wgpt-pp-lb-table thead th { color: var(--wg-text3) !important; font-size: 10.5px !important; text-transform: uppercase; letter-spacing: 0.6px; padding: 10px 12px !important; border-bottom: 1px solid var(--wg-border) !important; background: transparent !important; }
.wgpt-lb-colic { opacity: 0.7; }
.wgpt-pp-lb-table tbody td { padding: 11px 12px !important; border-bottom: 1px solid var(--wg-border) !important; color: var(--wg-text); font-size: 13px; }
.wgpt-pp-lb-table tbody tr:hover td { background: var(--wg-row-hover) !important; }
.wgpt-pp-lb-num { text-align: right; font-variant-numeric: tabular-nums; }
.wgpt-pp-lb-rank { font-weight: 700; color: var(--wg-text2); white-space: nowrap; }
.wgpt-lb-medal { margin-right: 5px; }
.wgpt-pp-lb-rank.is-gold { color: var(--wg-gold); }
.wgpt-pp-lb-rank.is-silver { color: #cbd5e1; }
.wgpt-pp-lb-rank.is-bronze { color: #d9a441; }
.wgpt-pp-lb-playerwrap { display: flex; align-items: center; gap: 10px; }
.wgpt-pp-lb-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #1a2233; border: 1px solid var(--wg-border-strong); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--wg-text2); }
.wgpt-pp-lb-playername { font-size: 13px; font-weight: 600; color: var(--wg-text); display: flex; align-items: center; }
.wgpt-pp-lb-playeraddr { font-size: 11px; color: var(--wg-text3); font-family: ui-monospace, monospace; }
.wgpt-lb-verified { color: var(--wg-blue); font-size: 11px; margin-left: 4px; }

/* footer */
.wgpt-lb-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px 0; font-size: 12px; color: var(--wg-text3); border-top: 1px solid var(--wg-border); margin-top: 8px; }
.wgpt-lb-foot-net { display: flex; align-items: center; gap: 7px; }
.wgpt-lb-foot-net i { width: 8px; height: 8px; border-radius: 50%; background: var(--wg-green); box-shadow: 0 0 8px var(--wg-green); }

/* ============================================================================
   WOLVES / LANDS / PROFIT — shared header spacing + profit theming
   ========================================================================== */
/* lands/profit headers reuse .wgpt-flock; give them the same top padding */
.wgpt-pp-lands-view .wgpt-flock, .wgpt-pp-profit .wgpt-flock { padding-top: 16px; }

/* Profit: theme the existing summary cards + table with the token palette */
.wgpt-pp-profit { padding: 4px 22px 20px; }
.wgpt-pp-profit-periods { display: flex; gap: 8px; margin: 8px 0 14px; }
.wgpt-pp-profit-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 18px; }
.wgpt-pp-profit-summary-card {
    padding: 16px; border-radius: 12px; background: var(--wg-card) !important; border: 1px solid var(--wg-border) !important;
}
.wgpt-pp-profit-summary-label { font-size: 11px !important; text-transform: uppercase; letter-spacing: 0.6px; color: var(--wg-text3) !important; }
.wgpt-pp-profit-summary-value { font-size: 24px !important; font-weight: 700 !important; color: var(--wg-text) !important; font-variant-numeric: tabular-nums; }
.wgpt-pp-profit-summary-sub { font-size: 12px !important; color: var(--wg-text3) !important; }
.wgpt-pp-profit-summary-card.is-positive { background: linear-gradient(180deg, rgba(74,222,128,0.08), transparent), var(--wg-card) !important; }
.wgpt-pp-profit-summary-card.is-positive .wgpt-pp-profit-summary-value { color: var(--wg-green) !important; }
.wgpt-pp-profit-summary-card.is-negative { background: linear-gradient(180deg, rgba(248,113,113,0.08), transparent), var(--wg-card) !important; }
.wgpt-pp-profit-summary-card.is-negative .wgpt-pp-profit-summary-value { color: var(--wg-red) !important; }
.wgpt-pp-lb-section-heading { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--wg-text3); margin: 4px 0 10px; font-weight: 700; }
.wgpt-pp-profit-net.is-positive { color: var(--wg-green) !important; }
.wgpt-pp-profit-net.is-negative { color: var(--wg-red) !important; }
@media (max-width: 1100px) { .wgpt-pp-profit-summary { grid-template-columns: repeat(2, 1fr); } }

/* ---- journal: game notifications + tool/game source badge ---- */
.wgptweb-j-nsub { font-size: 12px; color: var(--wg-text2); line-height: 1.4; margin-top: 2px; word-break: break-word; }
.wgptweb-j-src {
    font-size: 8.5px; font-weight: 800; letter-spacing: 0.6px; padding: 1px 6px; border-radius: 4px;
    border: 1px solid transparent;
}
.wgptweb-j-src.src-tool { color: #93b0d6; background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.28); }
.wgptweb-j-src.src-game { color: #d9a441; background: rgba(217,164,65,0.12); border-color: rgba(217,164,65,0.3); }
.wgptweb-j-notification { box-shadow: inset 3px 0 0 #d9a441; }
.wgptweb-j-notification .wgptweb-j-icon { background: rgba(217,164,65,0.12); }

/* ============================================================================
   MAP redesign — use full width + my-asset overlays
   ========================================================================== */
.wgpt-pp-map { padding: 16px 22px !important; }
/* lift the fixed-width caps so the grid fills the panel */
.wgpt-pp-map-gridarea, .wgpt-pp-map-peakrow, .wgpt-pp-map-spatial { max-width: none !important; }
/* drop the square lock so cells grow with width and stay a sensible height */
.wgpt-pp-map-grid, .wgpt-pp-map-grid-lands { aspect-ratio: auto !important; }
.wgpt-pp-map-cell { aspect-ratio: auto !important; min-height: 84px; }
.wgpt-pp-map-cell.wgpt-pp-map-cell-land { min-height: 64px; }

/* my-asset overlay chips on a cell */
.wgpt-pp-map-mine { display: flex; gap: 6px; justify-content: center; margin-top: 3px; }
.wgpt-pp-map-mine span {
    font-size: 10px; font-weight: 700; line-height: 1; padding: 2px 5px; border-radius: 5px;
    background: rgba(0,0,0,0.45); color: #fff; border: 1px solid rgba(255,255,255,0.18);
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
/* map toolbar toggle buttons */
.wgpt-pp-map-mine-toggle {
    display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
    font-size: 12px; font-weight: 600; padding: 6px 11px; border-radius: 8px;
    background: var(--wg-card); border: 1px solid var(--wg-border); color: var(--wg-text2);
    transition: all 0.15s ease;
}
.wgpt-pp-map-mine-toggle:hover { border-color: var(--wg-border-strong); color: var(--wg-text); }
.wgpt-pp-map-mine-toggle.is-active { background: var(--wg-purple); border-color: transparent; color: #fff; box-shadow: 0 0 12px var(--wg-purple-glow); }

/* map: "Others" overlay (red) + grouped metric dropdown */
.wgpt-pp-map-mine-toggle.is-other.is-active { background: #b91c1c; box-shadow: 0 0 12px rgba(248,113,113,0.4); }
.wgpt-pp-map-others span { border-color: rgba(248,113,113,0.5) !important; background: rgba(248,113,113,0.18) !important; color: #fecaca !important; }
.wgpt-pp-input optgroup { color: var(--wg-text3); background: #0b1220; font-weight: 700; }
.wgpt-pp-input option { color: var(--wg-text); background: var(--wg-panel); font-weight: 400; }

/* ============================================================================
   ACTIONS + CALCULATOR — premium header + token theming
   ========================================================================== */
.wgpt-flock-slim { padding-bottom: 8px; }

/* Actions tab */
.wgpt-pp-orders { padding: 4px 22px 20px !important; }
.wgpt-pp-orders-subtabs { gap: 8px !important; margin-bottom: 14px !important; }
.wgpt-pp-orders-subtab {
    border-radius: 9px !important; background: transparent !important; border: 1px solid var(--wg-border) !important;
    color: var(--wg-text2) !important; padding: 8px 16px !important; font-weight: 600 !important; transition: all 0.15s ease !important;
}
.wgpt-pp-orders-subtab:hover { color: var(--wg-text) !important; border-color: var(--wg-border-strong) !important; }
.wgpt-pp-orders-subtab.is-active { background: var(--wg-purple) !important; border-color: transparent !important; color: #fff !important; box-shadow: 0 0 12px var(--wg-purple-glow) !important; }
.wgpt-pp-actions-card, .wgpt-pp-insight-card, .wgpt-pp-kpi { background: var(--wg-card) !important; border: 1px solid var(--wg-border) !important; border-radius: 12px !important; }
.wgpt-pp-actions-card:hover { border-color: var(--wg-border-strong) !important; background: var(--wg-row-hover) !important; }
.wgpt-pp-actions-section-title, .wgpt-pp-actions-hint { color: var(--wg-text2) !important; }
.wgpt-pp-actions-name { color: var(--wg-text) !important; }
.wgpt-pp-actions-loc { color: var(--wg-text3) !important; }
.wgpt-pp-actions-thumb { border-radius: 10px !important; border: 1px solid var(--wg-border-strong) !important; }

/* Calculator tab */
.wgpt-pp-calc { padding: 4px 22px 20px !important; }
.wgpt-pp-calc-inputs, .wgpt-pp-calc-results-wrap { background: var(--wg-panel) !important; border: 1px solid var(--wg-border) !important; border-radius: 12px !important; }
.wgpt-pp-calc-input, .wgpt-pp-calc-input-sm { background: #0b1220 !important; border: 1px solid var(--wg-border-strong) !important; color: var(--wg-text) !important; border-radius: 8px !important; }
.wgpt-pp-calc-input:focus { border-color: var(--wg-purple-br) !important; box-shadow: 0 0 0 3px var(--wg-purple-glow) !important; outline: none !important; }
.wgpt-pp-calc-card { background: var(--wg-card) !important; border: 1px solid var(--wg-border) !important; border-radius: 12px !important; }
.wgpt-pp-calc-card.is-best { border-color: var(--wg-purple) !important; box-shadow: 0 0 16px var(--wg-purple-glow) !important; }
.wgpt-pp-calc-card-net.is-pos { color: var(--wg-green) !important; }
.wgpt-pp-calc-card-net.is-neg { color: var(--wg-red) !important; }
.wgpt-pp-calc-label { color: var(--wg-text) !important; }
.wgpt-pp-calc-hint, .wgpt-pp-calc-card-sub, .wgpt-pp-calc-card-be { color: var(--wg-text3) !important; }
.wgpt-pp-calc-section { color: var(--wg-text2) !important; }

/* jug popover — red positioning disclaimer */
.wgpt-jug-pop-warn {
    font-size: 11px; line-height: 1.45; margin: 4px 0 10px; padding: 7px 9px;
    color: #fecaca; background: rgba(248,113,113,0.1);
    border: 1px solid rgba(248,113,113,0.4); border-radius: 8px;
}

/* ============================ Pro / subscriptions ======================== */
/* Top-bar CTA / status pill */
.wgptweb-pro-cta {
    display: none; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
    border-radius: 8px; font-size: 12.5px; font-weight: 700; cursor: pointer;
    border: 1px solid transparent; white-space: nowrap;
}
body.wgptweb-free .wgptweb-pro-cta.is-free,
body.wgptweb-pro  .wgptweb-pro-cta.is-pro { display: inline-flex; }
.wgptweb-pro-cta.is-free {
    color: #fff; border-color: var(--wg-purple-br);
    background: linear-gradient(135deg, var(--wg-purple), var(--wg-purple-br));
    box-shadow: 0 0 14px var(--wg-purple-glow);
}
.wgptweb-pro-cta.is-free:hover { filter: brightness(1.08); }
.wgptweb-pro-cta.is-pro {
    color: var(--wg-gold); background: rgba(250,204,21,0.08);
    border-color: rgba(250,204,21,0.4);
}
.wgptweb-pro-cta.is-pro:hover { background: rgba(250,204,21,0.14); }
.wgptweb-pro-cta .wgptweb-pro-days { color: var(--wg-text2); font-weight: 600; }
.wgptweb-pro-star { font-size: 13px; }

/* Locked automation controls (free users) — dimmed + open the upsell on click */
body.wgptweb-free .wgpt-auto-circle,
body.wgptweb-free .wgpt-pp-switch,
body.wgptweb-free .wgpt-bulk-btn,
body.wgptweb-free .wgpt-jug-cfg,
body.wgptweb-free .wgpt-pp-buy-btn {
    opacity: 0.45; filter: grayscale(0.6); cursor: pointer;
}
body.wgptweb-free .wgpt-auto-circle:hover,
body.wgptweb-free .wgpt-pp-switch:hover,
body.wgptweb-free .wgpt-pp-buy-btn:hover { opacity: 0.6; }

/* Clear lock affordance: 🔒 on the Pro action buttons */
body.wgptweb-free .wgpt-pp-buy-btn::before { content: '🔒 '; }
body.wgptweb-free .wgpt-bulk-btn:not(.ghost):not(.danger)::before { content: '🔒 '; }
/* Small lock badge on the circular per-row automation controls */
body.wgptweb-free .wgpt-auto-circle { position: relative; overflow: visible; }
body.wgptweb-free .wgpt-auto-circle::after {
    content: '🔒'; position: absolute; top: -4px; right: -4px; font-size: 9px; line-height: 1;
}
/* "PRO" badge on the Automations column-group header so the whole section reads as paid */
body.wgptweb-free th.is-group-automations { position: relative; }
body.wgptweb-free th.is-group-automations::after {
    content: '🔒 PRO'; margin-left: 6px; font-size: 9px; font-weight: 800; letter-spacing: .5px;
    color: var(--wg-purple-br); vertical-align: middle;
}

/* Pay modal */
.wgptweb-pro-overlay {
    position: fixed; inset: 0; z-index: 100060; display: flex;
    align-items: center; justify-content: center; padding: 20px;
    background: rgba(3,6,12,0.72); backdrop-filter: blur(3px);
}
.wgptweb-pro-box {
    position: relative; width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto;
    background:
        radial-gradient(1200px 240px at 50% -60px, var(--wg-purple-glow), transparent 70%),
        var(--wg-panel);
    border: 1px solid var(--wg-border-strong);
    border-radius: 16px; padding: 26px 26px 20px; color: var(--wg-text);
    box-shadow: 0 24px 70px rgba(0,0,0,0.6);
}

/* Free vs Pro comparison */
.wgptweb-pro-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 6px 0 20px; }
.wgptweb-pro-col {
    position: relative; background: var(--wg-card); border: 1px solid var(--wg-border);
    border-radius: 14px; padding: 16px 16px 14px;
}
.wgptweb-pro-col.pro {
    border-color: var(--wg-purple-br);
    background: linear-gradient(180deg, rgba(124,58,237,0.14), var(--wg-card) 60%);
    box-shadow: 0 0 0 1px var(--wg-purple-glow) inset, 0 8px 30px var(--wg-purple-glow);
}
.wgptweb-pro-col-flag {
    position: absolute; top: -10px; right: 14px; background: linear-gradient(135deg, var(--wg-purple), var(--wg-purple-br));
    color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 3px 10px; border-radius: 20px;
}
.wgptweb-pro-col-head { display: flex; align-items: baseline; justify-content: space-between; }
.wgptweb-pro-col-name { font-size: 17px; font-weight: 800; }
.wgptweb-pro-col-price { font-size: 15px; font-weight: 700; color: var(--wg-green); }
.wgptweb-pro-col-tag { font-size: 11.5px; color: var(--wg-text2); margin: 4px 0 12px; line-height: 1.45; min-height: 32px; }
.wgptweb-pro-feats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wgptweb-pro-feats li { font-size: 12.5px; color: var(--wg-text); display: flex; align-items: center; gap: 8px; line-height: 1.3; }
.wgptweb-pro-fi { width: 18px; text-align: center; flex: 0 0 18px; }
.wgptweb-pro-feats li.pro { color: var(--wg-text); }
.wgptweb-pro-feats li.yes::after { content: '✓'; margin-left: auto; color: var(--wg-green); font-weight: 700; }
.wgptweb-pro-feats li.pro::after { content: '✓'; margin-left: auto; color: var(--wg-purple-br); font-weight: 700; }
.wgptweb-pro-col-note { margin-top: 12px; font-size: 11px; color: var(--wg-text3); font-style: italic; }
.wgptweb-pro-cards-head { text-align: center; font-size: 13px; font-weight: 700; color: var(--wg-text2); text-transform: uppercase; letter-spacing: 1px; margin: 4px 0 12px; }
.wgptweb-pro-actions { margin-top: 16px; text-align: center; }
.wgptweb-pro-continue {
    background: transparent; border: 1px solid var(--wg-border-strong); color: var(--wg-text2);
    padding: 9px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.wgptweb-pro-continue:hover { color: var(--wg-text); border-color: var(--wg-text3); }
@media (max-width: 620px) { .wgptweb-pro-compare { grid-template-columns: 1fr; } }
.wgptweb-pro-loading, .wgptweb-pro-err { padding: 30px; text-align: center; color: var(--wg-text2); }
.wgptweb-pro-x {
    position: absolute; top: 14px; right: 16px; width: 30px; height: 30px;
    border: none; background: transparent; color: var(--wg-text3);
    font-size: 22px; cursor: pointer; line-height: 1;
}
.wgptweb-pro-x:hover { color: var(--wg-text); }
.wgptweb-pro-head { font-size: 20px; font-weight: 700; letter-spacing: .3px; }
.wgptweb-pro-head b { color: var(--wg-purple-br); }
.wgptweb-pro-logo { font-size: 20px; }
.wgptweb-pro-tag { margin: 8px 0 14px; color: var(--wg-text2); font-size: 13px; line-height: 1.5; }
.wgptweb-pro-status {
    font-size: 12.5px; color: var(--wg-text2); background: var(--wg-card);
    border: 1px solid var(--wg-border); border-radius: 10px; padding: 10px 12px; margin-bottom: 16px;
}
.wgptweb-pro-status.is-active { color: var(--wg-green); border-color: rgba(74,222,128,0.35); background: rgba(74,222,128,0.08); }
.wgptweb-pro-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wgptweb-pro-card {
    position: relative; background: var(--wg-card); border: 1px solid var(--wg-border);
    border-radius: 12px; padding: 16px 12px 14px; text-align: center;
}
.wgptweb-pro-card.is-best {
    border-color: var(--wg-gold);
    background: linear-gradient(180deg, rgba(250,204,21,0.08), var(--wg-card) 65%);
    box-shadow: 0 0 0 1px rgba(250,204,21,0.35) inset, 0 8px 26px rgba(250,204,21,0.14);
}
.wgptweb-pro-badge {
    position: absolute; top: -9px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #FACC15, #F59E0B); color: #1a1206; font-size: 10px; font-weight: 800;
    padding: 2px 9px; border-radius: 20px; white-space: nowrap;
    box-shadow: 0 2px 10px rgba(250,204,21,0.4);
}
.wgptweb-pro-card.is-best .wgptweb-pro-card-price { color: var(--wg-gold); }
.wgptweb-pro-card.is-best .wgptweb-pro-pay {
    background: linear-gradient(135deg, #FACC15, #F59E0B); color: #1a1206;
    box-shadow: 0 2px 14px rgba(250,204,21,0.28);
}
.wgptweb-pro-card.is-best .wgptweb-pro-pay:hover { filter: brightness(1.06); }
.wgptweb-pro-card-name { font-size: 12px; color: var(--wg-text2); text-transform: uppercase; letter-spacing: .5px; }
.wgptweb-pro-card-price { font-size: 24px; font-weight: 800; margin: 6px 0 2px; }
.wgptweb-pro-card-price span { font-size: 13px; color: var(--wg-text2); font-weight: 600; }
.wgptweb-pro-card-sub { font-size: 11px; color: var(--wg-text3); margin-bottom: 12px; }
.wgptweb-pro-pay {
    width: 100%; padding: 9px 0; border-radius: 8px; border: none; cursor: pointer;
    font-weight: 700; font-size: 12.5px; color: #fff;
    background: linear-gradient(135deg, var(--wg-purple), var(--wg-purple-br));
}
.wgptweb-pro-pay:hover { filter: brightness(1.08); }
.wgptweb-pro-pay:disabled { opacity: .6; cursor: default; filter: none; background: var(--wg-green); }
.wgptweb-pro-payfrom { margin: 16px 0 6px; font-size: 12px; color: var(--wg-text2); }
.wgptweb-pro-payfrom code, .wgptweb-pro-treasury code {
    background: var(--wg-bg); padding: 2px 6px; border-radius: 5px; color: var(--wg-text); font-size: 12px;
}
.wgptweb-pro-manual { font-size: 12px; color: var(--wg-text3); }
.wgptweb-pro-treasury { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.wgptweb-pro-treasury code { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.wgptweb-pro-copy {
    padding: 5px 10px; border-radius: 6px; border: 1px solid var(--wg-border-strong);
    background: var(--wg-card); color: var(--wg-text2); font-size: 11px; cursor: pointer;
}
.wgptweb-pro-copy:hover { color: var(--wg-text); }
.wgptweb-pro-foot { margin-top: 14px; font-size: 11px; color: var(--wg-text3); line-height: 1.5; }
.wgptweb-pro-msg { margin-top: 10px; font-size: 12.5px; min-height: 16px; }
.wgptweb-pro-msg.ok { color: var(--wg-green); }
.wgptweb-pro-msg.err { color: var(--wg-red); }
.wgptweb-pro-close {
    margin-top: 14px; padding: 8px 16px; border-radius: 8px; border: 1px solid var(--wg-border-strong);
    background: var(--wg-card); color: var(--wg-text); cursor: pointer;
}
@media (max-width: 560px) { .wgptweb-pro-cards { grid-template-columns: 1fr; } }

/* Map graceful fallback (new wallet / no game data) */
.wgpt-pp-map-fallback { max-width: 460px; margin: 40px auto; text-align: center; line-height: 1.55; }
.wgpt-pp-map-fallback-title { font-size: 16px; font-weight: 700; color: var(--wg-text); margin-bottom: 8px; }

/* ============================ Terms / Privacy =========================== */
.wgptweb-legal-overlay {
    position: fixed; inset: 0; z-index: 100070; display: flex;
    align-items: center; justify-content: center; padding: 20px;
    background: rgba(3,6,12,0.78); backdrop-filter: blur(3px);
}
.wgptweb-legal-overlay.is-gate { z-index: 100075; } /* above the pay modal */
.wgptweb-legal-box {
    position: relative; width: 100%; max-width: 720px; max-height: 88vh;
    display: flex; flex-direction: column;
    background: var(--wg-panel); border: 1px solid var(--wg-border-strong);
    border-radius: 16px; padding: 22px 22px 18px; color: var(--wg-text);
    box-shadow: 0 24px 70px rgba(0,0,0,0.6);
}
.wgptweb-legal-head { font-size: 19px; font-weight: 800; margin-bottom: 12px; }
.wgptweb-legal-x {
    position: absolute; top: 12px; right: 14px; width: 30px; height: 30px;
    border: none; background: transparent; color: var(--wg-text3); font-size: 22px; cursor: pointer; line-height: 1;
}
.wgptweb-legal-x:hover { color: var(--wg-text); }
.wgptweb-legal-tabs, .wgptweb-legal-foot { display: flex; gap: 8px; margin-bottom: 12px; }
.wgptweb-legal-foot { margin: 12px 0 0; }
.wgptweb-legal-seg, .wgptweb-legal-tab {
    padding: 7px 14px; border-radius: 8px; border: 1px solid var(--wg-border-strong);
    background: var(--wg-card); color: var(--wg-text2); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.wgptweb-legal-seg.is-active { background: var(--wg-purple); color: #fff; border-color: var(--wg-purple-br); }
.wgptweb-legal-tab:hover, .wgptweb-legal-seg:hover { color: var(--wg-text); }
.wgptweb-legal-doc {
    flex: 1; overflow-y: auto; padding: 4px 14px 4px 2px; font-size: 13px; line-height: 1.6; color: var(--wg-text2);
    border: 1px solid var(--wg-border); border-radius: 10px; background: var(--wg-bg);
}
.wgptweb-legal-doc { padding: 14px 16px; }
.wgptweb-legal-doc h2 { font-size: 18px; color: var(--wg-text); margin: 0 0 2px; }
.wgptweb-legal-doc h3 { font-size: 13.5px; color: var(--wg-text); margin: 16px 0 4px; }
.wgptweb-legal-doc .wgptweb-legal-meta { font-size: 11px; color: var(--wg-text3); margin-bottom: 8px; }
.wgptweb-legal-doc p { margin: 0 0 8px; }
.wgptweb-legal-doc b { color: var(--wg-text); }
.wgptweb-legal-agree {
    display: flex; align-items: flex-start; gap: 9px; margin: 14px 2px 0; font-size: 12.5px; color: var(--wg-text); cursor: pointer;
}
.wgptweb-legal-agree input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--wg-purple-br); cursor: pointer; }
.wgptweb-legal-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; }
.wgptweb-legal-decline {
    background: transparent; border: 1px solid var(--wg-border-strong); color: var(--wg-text2);
    padding: 9px 16px; border-radius: 8px; font-size: 12.5px; cursor: pointer;
}
.wgptweb-legal-decline:hover { color: var(--wg-red); border-color: var(--wg-red); }
.wgptweb-legal-accept {
    background: linear-gradient(135deg, var(--wg-purple), var(--wg-purple-br)); color: #fff; border: none;
    padding: 9px 22px; border-radius: 8px; font-size: 12.5px; font-weight: 700; cursor: pointer;
}
.wgptweb-legal-accept:disabled { opacity: .45; cursor: not-allowed; }
.wgptweb-legal-accept:not(:disabled):hover { filter: brightness(1.08); }
.wgptweb-legal-links {
    position: fixed; bottom: 8px; left: 10px; z-index: 90; display: flex; gap: 6px; align-items: center;
    font-size: 11px; color: var(--wg-text3);
}
.wgptweb-legal-links button {
    background: none; border: none; color: var(--wg-text3); font-size: 11px; cursor: pointer; padding: 0;
}
.wgptweb-legal-links button:hover { color: var(--wg-text2); text-decoration: underline; }

/* Retire the legacy bottom-left status bar (active · server · import). The HUD
   replaces it; #wgptweb-auto stays in the DOM (hidden) as the auto-state holder
   the top bar mirrors. Import now lives in Settings › Misc. */
#wgptweb-status { display: none !important; }

/* Game-session reconnect banner (shown when the server reports the token was rejected) */
.wgptweb-reauth {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100080;
    display: flex; align-items: center; justify-content: center; gap: 14px;
    padding: 9px 16px; font-size: 13px; font-weight: 600; color: #fff;
    background: linear-gradient(90deg, #b91c1c, #dc2626);
    box-shadow: 0 2px 14px rgba(220,38,38,0.4);
}
.wgptweb-reauth-msg { color: #fff; }
.wgptweb-reauth-btn {
    background: #fff; color: #b91c1c; border: none; border-radius: 7px;
    padding: 6px 14px; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.wgptweb-reauth-btn:hover { filter: brightness(0.95); }
.wgptweb-reauth-btn:disabled { opacity: .6; cursor: default; }

/* ---- landing wolf personality (howl + chase) ---- */
.wgptweb-moon {
    position: fixed; top: 24px; right: 36px; z-index: 1; font-size: 68px;
    filter: drop-shadow(0 0 14px rgba(250,220,120,.4)); opacity: .85;
    animation: wgptMoonBreath 6s ease-in-out infinite;
}
@keyframes wgptMoonBreath { 0%,100%{ filter: drop-shadow(0 0 8px rgba(250,220,120,.30)); } 50%{ filter: drop-shadow(0 0 16px rgba(250,220,120,.5)); } }
.wgptweb-moon.is-howl { filter: drop-shadow(0 0 28px rgba(255,225,140,.85)); transform: scale(1.12); transition: all .4s; }

.wgptweb-wolf {
    position: fixed; bottom: 16px; left: 26px; z-index: 2; font-size: 72px; cursor: pointer;
    transform-origin: 60% 80%; opacity: .95; filter: drop-shadow(0 5px 12px rgba(0,0,0,.55));
    transition: transform .2s;
}
.wgptweb-wolf:hover { transform: scale(1.08) rotate(-4deg); }
.wgptweb-wolf.is-howl { animation: wgptHowl 2s ease-in-out; }
@keyframes wgptHowl {
    0%   { transform: rotate(0) translateY(0); }
    18%  { transform: rotate(-22deg) translateY(-3px); }
    30%  { transform: rotate(-26deg) translateY(-4px); }
    70%  { transform: rotate(-24deg) translateY(-4px); }
    100% { transform: rotate(0) translateY(0); }
}
.wgptweb-awoo {
    position: fixed; z-index: 3; pointer-events: none; font-size: 15px; font-weight: 800;
    color: #E9D8FD; text-shadow: 0 0 10px rgba(167,139,250,.7); white-space: nowrap;
    transform: translate(-50%,-50%); animation: wgptAwoo 2s ease-out forwards;
}
@keyframes wgptAwoo {
    0%   { opacity: 0; transform: translate(-50%,-50%) scale(.7); }
    20%  { opacity: 1; }
    100% { opacity: 0; transform: translate(30px,-90px) scale(1.1); }
}
.wgptweb-howlring {
    position: fixed; z-index: 2; pointer-events: none; width: 14px; height: 14px; border-radius: 50%;
    border: 2px solid rgba(167,139,250,.6); transform: translate(-50%,-50%);
    animation: wgptHowlRing 1.3s ease-out forwards;
}
@keyframes wgptHowlRing {
    0%   { opacity: .8; width: 10px; height: 10px; }
    100% { opacity: 0; width: 120px; height: 120px; }
}
.wgptweb-runner {
    position: fixed; bottom: 10px; left: 0; z-index: 3; font-size: 40px; pointer-events: none;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.55));
    animation: wgptDash 4.6s linear forwards;
}
.wgptweb-runner.is-sheep { animation-duration: 4.4s; }
.wgptweb-runner.is-wolfrun { animation-delay: .55s; font-size: 44px; }
@keyframes wgptDash {
    0%   { transform: translateX(-8vw) scaleX(1); }
    49%  { transform: translateX(48vw) translateY(0) scaleX(1); }
    50%  { transform: translateX(48vw) translateY(-8px) scaleX(1); }
    100% { transform: translateX(112vw) scaleX(1); }
}

/* ---- My Farmers view ---- */
.wgpt-pp-farmers { padding: 4px 2px 30px; }
.wgpt-pp-farmer-autobar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    background: var(--wg-card); border: 1px solid var(--wg-border); border-radius: 12px;
    padding: 12px 16px; margin: 14px 0 18px;
}
.wgpt-pp-farmer-autobar-label b { display: block; font-size: 14px; color: var(--wg-text); }
.wgpt-pp-farmer-autobar-label span { font-size: 11.5px; color: var(--wg-text2); }
.wgpt-pp-farmer-group {
    background: var(--wg-panel); border: 1px solid var(--wg-border); border-radius: 12px;
    padding: 14px 16px; margin-bottom: 14px;
}
.wgpt-pp-farmer-group-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.wgpt-pp-farmer-type { font-size: 15px; font-weight: 700; color: var(--wg-text); }
.wgpt-pp-farmer-count { color: var(--wg-text3); font-weight: 600; font-size: 13px; }
.wgpt-pp-farmer-floor { font-size: 12.5px; color: var(--wg-text2); }
.wgpt-pp-farmer-floor b { color: var(--wg-gold); }
.wgpt-pp-farmer-minrow { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; flex-wrap: wrap; }
.wgpt-pp-farmer-minlabel { font-size: 12px; color: var(--wg-text2); font-weight: 600; }
.wgpt-pp-farmer-minhint { font-size: 11px; color: var(--wg-text3); }
.wgpt-pp-farmer-priceinput { width: 90px; }
.wgpt-pp-farmer-row {
    display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--wg-border);
}
.wgpt-pp-farmer-id { font-weight: 700; color: var(--wg-text); min-width: 64px; }
.wgpt-pp-farmer-status { flex: 1; font-size: 12.5px; }
.wgpt-pp-farmer-listed { color: var(--wg-gold); }
.wgpt-pp-farmer-ready { color: var(--wg-green); }
.wgpt-pp-farmer-cd { color: var(--wg-text3); }
.wgpt-pp-farmer-actions { display: flex; align-items: center; gap: 8px; }
.wgpt-pp-buy-btn.is-cancel { background: rgba(248,113,113,.15); color: var(--wg-red); border: 1px solid rgba(248,113,113,.4); }

/* Farmer portraits — full-body art, so crop to the top (head/shoulders). */
.wgpt-pp-farmer-portrait {
    width: 48px; height: 48px; border-radius: 10px; flex: 0 0 48px;
    object-fit: cover; object-position: center top;
    background: linear-gradient(180deg, #1b2740, #0f1626);
    border: 1px solid var(--wg-border-strong);
    display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.wgpt-pp-farmer-row { align-items: center; }

/* Farmer cooldown urgency colors (longer wait = redder) */
.wgpt-pp-farmer-cd { font-weight: 600; font-size: 13px; }
.wgpt-pp-farmer-cd.is-soon { color: var(--wg-gold); }   /* < 2 days */
.wgpt-pp-farmer-cd.is-mid  { color: var(--wg-orange); } /* 2–7 days */
.wgpt-pp-farmer-cd.is-far  { color: var(--wg-red); }    /* > 7 days */
.wgpt-pp-farmer-ready { font-weight: 700; }

