/* Tabletop management extends the approved staff workspace. */
.ad-page .ag-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#d1dce0;margin-bottom:16px}
.ad-page .ag-summary button{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:15px 18px;border-right:1px solid #9baeb4;text-align:left;min-width:0;transition:background .2s}
.ad-page .ag-summary button:last-child{border:0}.ad-page .ag-summary button:hover{background:#e1e9eb}
.ag-summary button>span{font-size:14px;color:#344c50}.ag-summary strong{grid-column:2;grid-row:1/3;font:34px/1.2 Georgia,serif;color:#29494e}.ag-summary small{font-size:12px;color:#52656a}
.ad-page .ag-filters{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(150px,1fr) minmax(150px,1fr) minmax(130px,.9fr) auto;gap:12px;align-items:end;padding:16px 18px;background:#253c3e;color:#edf3e9;margin-bottom:16px}
.ad-page .ag-filters .ws-field{font-size:12px;gap:6px;font-weight:400}.ad-page .ag-filters input,.ad-page .ag-filters select{font-size:16px;height:44px;padding:8px 10px;border-radius:2px;border-color:#a6b8b2;background:#f7f6ed;min-width:0}
.ad-page .ag-list{background:#f3f1e7;padding:18px 20px}.ag-list-head{display:flex;gap:16px;justify-content:space-between;align-items:center;margin-bottom:12px}.ag-list-head h3{display:flex;gap:8px;align-items:center;font:600 18px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#2d453b;margin:0 0 4px}.ag-list-head img{width:25px;height:25px}.ag-list-head p{font-size:12px;color:#5b6754}.ag-list-head>span{font-size:12px;color:#53674e;white-space:nowrap}
.ad-page .ag-table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse;font-size:13px;line-height:1.5;text-align:left}
.ad-page .ag-table th{font-size:12px;font-weight:500;padding:10px 10px;color:#53644f;background:#e1e6d9;border:0;white-space:normal}
.ad-page .ag-table th:nth-child(1){width:26%}.ad-page .ag-table th:nth-child(2){width:23%}.ad-page .ag-table th:nth-child(3){width:13%}.ad-page .ag-table th:nth-child(4){width:14%}.ad-page .ag-table th:last-child{width:104px}
.ad-page .ag-table td{padding:12px 10px;border-bottom:1px solid #cad1c1;vertical-align:middle;overflow-wrap:anywhere}.ad-page .ag-table tbody tr:last-child td{border-bottom:1px solid #cad1c1}
.ad-page .ag-table td>strong{display:block;font-size:13px;font-weight:500}.ad-page .ag-table td>small{display:block;font-size:12px;color:#596651;line-height:1.5;margin-top:4px}
.ad-page .ag-table .ws-button{min-height:44px;font-size:12px;padding:8px 9px;white-space:nowrap;gap:4px;color:#315c4b}
.ag-state{display:inline-block;line-height:1.5;background:#dbe7dc;color:#33583f;font-size:12px;padding:3px 6px}.ag-state-review{background:#e6d7b3;color:#644e26}.ag-state-change{background:#dfd6e4;color:#61496c}
.ad-page .ag-table .ag-venue{font-size:12px;color:#365f49}.ad-page .ag-table .ag-venue-pending{color:#7a592d}
.ag-rule-band{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:18px 20px;background:#d1dce0;margin-top:16px}.ag-rule-band h3{font:600 14px/1.5 -apple-system,BlinkMacSystemFont,"PingFang SC",sans-serif;color:#344c50;margin-bottom:6px}.ag-rule-band p{font-size:12px;color:#52656a;line-height:1.7}
.ag-dialog-tabs{display:flex;gap:8px;margin:12px 0 16px;border-bottom:1px solid #b7c4b0}.ag-dialog-tabs button{flex:1;min-height:44px;padding:8px 10px;font-size:13px;color:#425d4b;border-bottom:2px solid transparent;transition:background .2s,border-color .2s}.ag-dialog-tabs button[aria-pressed=true]{border-bottom-color:#315e4b;background:#e0e7d9;font-weight:500}
.ag-detail-states{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.ad-game-dialog .ad-dialog-facts{grid-template-columns:1fr 1fr}.ad-game-dialog .ad-dialog-facts dd{font-size:13px;line-height:1.7}.ad-game-dialog .ad-private-list strong{font-weight:500}.ag-change-note{padding:12px;background:#e5dce7;color:#624d6b;font-size:13px;line-height:1.7;border-left:3px solid #8c7397}
.ag-check{display:flex;gap:10px;align-items:center;font-size:13px;line-height:1.7;min-height:44px;padding:8px;background:#e1e8d9}.ag-check input{width:22px;height:22px;flex-shrink:0;accent-color:#315e4b}
.ad-game-dialog .ws-demo-result{margin-bottom:14px}
@media(max-width:1200px){.ad-page .ag-filters{grid-template-columns:1.3fr 1fr 1fr}.ad-page .ag-filters>.ag-search{grid-column:1/3}.ad-page .ag-table th:nth-child(1){width:23%}.ad-page .ag-table th:nth-child(2){width:22%}.ad-page .ag-table th:nth-child(3){width:13%}.ad-page .ag-table th:nth-child(4){width:15%}.ad-page .ag-table th:last-child{width:95px}.ad-page .ag-table td,.ad-page .ag-table th{padding-left:8px;padding-right:8px}}
@media(max-width:1050px){.ad-page .ag-table{table-layout:auto}.ad-page .ag-table th:nth-child(n){width:auto}.ad-page .ag-table td>strong{font-size:12px}.ad-page .ag-table td>small{font-size:11px}.ag-summary small{font-size:11px}.ad-page .ag-summary button{padding:14px}.ag-summary button>span{font-size:13px}.ag-summary strong{font-size:30px}}
@media(max-width:650px){
 .ad-page .ag-summary{margin-bottom:12px}.ad-page .ag-summary button{grid-template-columns:1fr;gap:5px;padding:12px 10px}.ag-summary strong{grid-column:1;grid-row:auto;font-size:28px}.ag-summary button>span{font-size:12px}.ag-summary small{font-size:10px;line-height:1.5}
 .ad-page .ag-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:14px;gap:12px 10px;margin-bottom:12px}.ad-page .ag-filters>.ag-search{grid-column:1/-1}.ad-page .ag-filters>.ad-filter-reset{justify-self:start}
 .ad-page .ag-list{padding:14px}.ag-list-head{margin-bottom:8px;gap:10px}.ag-list-head h3{font-size:17px}.ag-list-head img{width:23px;height:23px}
 .ad-page .ag-table{display:block}.ad-page .ag-table caption{display:block}.ad-page .ag-table thead{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.ad-page .ag-table tbody{display:block}
 .ad-page .ag-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px 12px;padding:12px 0;border-bottom:1px solid #cad1c1}.ad-page .ag-table td,.ad-page .ag-table tbody tr:last-child td{padding:0;border:0;min-width:0}.ad-page .ag-table td>strong{font-size:13px}.ad-page .ag-table td>small{font-size:11px;margin-top:2px}
 .ad-page .ag-table td:first-child{grid-column:1/-1;grid-row:1}.ad-page .ag-table td:first-child>small{display:inline;font-size:10px;color:#61705a}
 .ad-page .ag-table td:nth-child(2){grid-column:1/-1;grid-row:2;display:flex;flex-wrap:wrap;gap:2px 10px}.ad-page .ag-table td:nth-child(2)>strong{font-size:12px}.ad-page .ag-table td:nth-child(2)>small{font-size:12px;margin:0}
 .ad-page .ag-table td:nth-child(3){grid-column:1;grid-row:3}.ad-page .ag-table td:nth-child(4){grid-column:2;grid-row:3;text-align:right}.ad-page .ag-table td:nth-child(4)>strong{font-size:12px}
 .ad-page .ag-table td:nth-child(5){grid-column:1;grid-row:4;align-self:center}.ad-page .ag-table td:nth-child(6){grid-column:2;grid-row:4;align-self:center;justify-self:end}.ad-page .ag-table td:nth-child(5) .ag-venue{font-size:11px}.ag-state{font-size:11px}.ad-page .ag-table .ws-button{min-width:86px;min-height:44px}
 .ag-rule-band{grid-template-columns:1fr;gap:12px;padding:16px;margin-top:12px}.ag-rule-band>div+div{border-top:1px solid #aebdc2;padding-top:12px}.ad-game-dialog .ad-dialog-facts{grid-template-columns:1fr}.ag-dialog-tabs{gap:6px;margin:10px 0 14px}.ag-dialog-tabs button{padding:8px;font-size:12px}
}
@media(max-width:360px){.ad-page .ag-filters{grid-template-columns:1fr}.ad-page .ag-filters>.ag-search{grid-column:1}.ad-page .ag-summary button{padding:10px 7px}.ag-summary button>span{font-size:11px}.ag-summary small{font-size:10px}.ad-page .ag-table tr{gap:6px 8px}}
@media(prefers-reduced-motion:reduce){.ag-dialog-tabs button{transition:none}}
