.group-center,.gc-dialog{--gc-ink:#29445d;--gc-muted:#7c90a4;--gc-line:#dfe8f1;--gc-blue:#77a5d9;--gc-soft:#f5f8fc;font-family:"Microsoft YaHei",Arial,sans-serif;color:var(--gc-ink);font-size:13px;box-sizing:border-box}
.group-center *,.gc-dialog *{box-sizing:border-box}.group-center [hidden],.gc-dialog [hidden]{display:none!important}.group-center button,.gc-dialog button{font:inherit;cursor:pointer}.group-center button:disabled,.gc-dialog button:disabled{opacity:.46;cursor:not-allowed}.group-center input,.group-center select,.group-center textarea,.gc-dialog input,.gc-dialog select,.gc-dialog textarea{font:inherit;border:1px solid #cfdeec;border-radius:5px;background:#fff;color:#476580;padding:8px 10px;min-width:0;max-width:100%;box-shadow:none}.group-center input:focus,.group-center select:focus,.gc-dialog input:focus,.gc-dialog select:focus,.gc-dialog textarea:focus{outline:2px solid #77a5d92b;border-color:#77a5d9}.group-center button:focus-visible,.gc-dialog button:focus-visible{outline:2px solid #5a94c7;outline-offset:2px}.group-center input[type=checkbox],.gc-dialog input[type=checkbox],.gc-dialog input[type=radio]{width:16px;height:16px;accent-color:var(--gc-blue);margin:0;padding:0;vertical-align:middle}.gc-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.gc-heading h1{font-size:21px;font-weight:600;margin:0 0 8px;color:#294b68}.gc-heading p{color:var(--gc-muted);font-size:12px;margin:0}.gc-heading>span{font-size:11px;color:var(--gc-muted)}.gc-card{background:white;border:1px solid var(--gc-line);border-radius:8px;box-shadow:0 3px 14px #253c5306;overflow:hidden}.gc-filters{display:flex;gap:9px;flex-wrap:wrap;align-items:center;padding:20px;border-bottom:1px solid var(--gc-line)}.gc-filters>input{width:205px;height:36px}.gc-filters>select{height:36px;min-width:145px}.gc-filters input.gc-keyword{width:330px}.gc-date-range{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gc-date-range input{height:36px;width:144px}.gc-date-range select{height:36px;width:110px}.gc-date-range span{color:#91a0af}.gc-button{display:inline-flex;justify-content:center;align-items:center;gap:5px;white-space:nowrap;min-height:34px;padding:7px 13px;background:white;border:1px solid #ccddeb;border-radius:5px;color:#587c9d;font-weight:400;line-height:1.4}.gc-button:hover{background:#f1f7fc;border-color:#aac8df}.gc-button.gc-primary{background:var(--gc-blue);border-color:var(--gc-blue);color:#fff}.gc-button.gc-primary:hover{background:#6798cb}.gc-button.gc-danger-button{background:#c5645e;border-color:#c5645e;color:#fff}.gc-link{border:0;background:none;color:#5b8ab3;padding:4px 5px;white-space:nowrap;line-height:1.5}.gc-link:hover{text-decoration:underline}.gc-danger{color:#bd625d!important}.gc-toolbar{display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:12px}.gc-toolbar>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.gc-toolbar>span,.gc-selection-note{font-size:12px;color:var(--gc-muted)}.gc-selection-note{margin-right:8px}.gc-table-scroll{overflow:auto;max-height:calc(100vh - 350px);min-height:220px;position:relative}.gc-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px;text-align:left;table-layout:auto}.gc-table th{background:#edf3fa;color:#5a7b99;font-weight:500;padding:13px 12px;border-block:1px solid #d5e3ef;position:sticky;top:0;z-index:1;min-width:95px}.gc-table th button{border:0;background:none;color:inherit;padding:0;font:inherit;display:flex;align-items:center;gap:7px}.gc-table th button span{color:#91a9be;font-size:11px}.gc-table td{border-bottom:1px solid #e7edf4;padding:13px 12px;color:#526d86;max-width:320px;vertical-align:middle;line-height:1.6}.gc-table tbody tr:nth-child(even){background:#f8fafc}.gc-table tbody tr:hover,.gc-table tbody tr.gc-selected{background:#edf5fd}.gc-table .gc-index{min-width:50px;width:50px;text-align:center;color:#8498aa}.gc-table .gc-name{min-width:190px;white-space:normal;overflow-wrap:anywhere}.gc-table .gc-wrap{white-space:normal;min-width:160px;line-height:1.6;overflow-wrap:anywhere}.gc-table .gc-actions{min-width:112px;white-space:nowrap}.gc-table .gc-select-cell{min-width:48px;width:48px;text-align:center;position:sticky;right:0;background:#f7faff;box-shadow:-1px 0 #dfe8f1}.gc-table th.gc-select-cell{z-index:2;background:#edf3fa}.gc-table td.gc-rule-person{min-width:155px;max-width:230px;white-space:normal}.gc-bound-list{display:flex;flex-direction:column;gap:5px}.gc-bound-line{display:flex;gap:6px;align-items:flex-start;max-width:320px;white-space:normal}.gc-bound-line>span{flex:1;overflow-wrap:anywhere}.gc-bound-line button{flex-shrink:0;font-size:16px;padding:0 4px}.gc-status{display:inline-flex;align-items:center;border-radius:4px;padding:3px 7px;font-size:11px;color:#8796a4;background:#eef2f6;white-space:nowrap}.gc-status-created{color:#598b73;background:#edf6f1}.gc-status-creating{color:#ab873f;background:#fcf6e9}.gc-status-failed,.gc-status-dismissed{color:#b65f5a;background:#fff2ef}.gc-status-completed{color:#5b80a8;background:#eef4fc}.gc-switch{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#6c86a0}.gc-empty{text-align:center!important;padding:65px 20px!important;color:#8498ab!important;font-size:13px;white-space:normal!important}.gc-empty>span,.gc-empty>small{display:block}.gc-empty small{font-size:12px;color:#a0adba;margin-top:10px}.gc-pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;padding:15px 20px;color:#7e93a8;font-size:12px;border-top:1px solid var(--gc-line)}.gc-pagination>div{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.gc-pagination select{font-size:12px;height:33px;padding:6px 8px}.gc-pagination .gc-button{font-size:12px;min-height:32px;padding:6px 9px}.gc-pagination label{display:flex;align-items:center;gap:6px}.gc-pagination input{width:58px;height:32px;font-size:12px}.gc-page-number{padding:5px 9px;background:#eef5fd;border:1px solid #9dbde3;border-radius:4px;color:#6794c3}.gc-banner{padding:11px 15px;border:1px solid var(--gc-line);border-radius:6px;margin-bottom:14px;display:flex;align-items:center;gap:14px;justify-content:space-between;line-height:1.6;font-size:12px}.gc-banner.gc-error{background:#fff6f4;color:#ad5f59;border-color:#eed5d1}.gc-banner.gc-success{background:#f0f8f4;color:#568871;border-color:#d7e9df}.gc-banner.gc-info{background:#f3f7fc;color:#6f87a0;border-color:#dce6f0}.gc-banner p{margin:0}.gc-muted{font-size:12px;color:#8d9fae;line-height:1.7}.gc-error-text{display:block;color:#b85e57;font-size:11px;white-space:normal;max-width:180px}.gc-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.gc-dialog{border:1px solid #dae4ef;border-radius:8px;width:800px;max-width:calc(100vw - 36px);max-height:calc(100vh - 40px);padding:0;background:#fff;box-shadow:0 20px 75px #29445d3d;overflow:hidden}.gc-dialog.gc-dialog-small{width:520px}.gc-dialog.gc-dialog-wide{width:960px}.gc-dialog::backdrop{background:#233b535e;backdrop-filter:blur(2px)}.gc-dialog-head{display:flex;justify-content:space-between;align-items:center;padding:19px 23px;background:#f6f9fd;border-bottom:1px solid var(--gc-line);gap:20px}.gc-dialog-head h2{font-size:18px;font-weight:500;margin:0;color:#43698c}.gc-close{border:0;padding:0 5px;background:none;font-size:27px!important;line-height:1;color:#92a3b0}.gc-dialog-body{overflow:auto;max-height:calc(100vh - 205px);padding:22px}.gc-dialog-foot{display:flex;gap:10px;align-items:center;justify-content:flex-end;padding:16px 22px;border-top:1px solid var(--gc-line);background:#f7f9fc}.gc-save-note{margin-right:auto;font-size:11px;color:#91a0b1}.gc-form-row{display:grid;grid-template-columns:155px minmax(0,1fr);gap:18px;padding:13px 0;border-bottom:1px solid #e8eef4;align-items:start}.gc-form-row:first-child{padding-top:0}.gc-form-row:last-child{border-bottom:0}.gc-form-label{color:#607f9b;padding-top:8px;line-height:1.5}.gc-form-row>div>input:not([type=checkbox]),.gc-form-row>div>select,.gc-form-row>div>textarea{width:100%}.gc-form-row textarea{min-height:72px;resize:vertical;line-height:1.7}.gc-form-row .gc-inline-fields{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.gc-form-row .gc-inline-fields>input{width:84px}.gc-form-row .gc-inline-fields>input[type=time]{width:130px}.gc-form-row small{display:block;font-size:11px;color:#8c9fb0;margin-top:7px;line-height:1.6}.gc-role-list{display:flex;flex-wrap:wrap;gap:14px 20px;padding-top:8px}.gc-role-list label{display:flex;align-items:center;gap:8px;min-width:155px}.gc-person-field{display:flex;align-items:flex-start;gap:9px}.gc-person-field .gc-chip-list{flex:1;min-height:35px;background:#fff;border:1px solid #cfdeec;border-radius:5px;padding:5px;min-width:0}.gc-chip-list{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.gc-chip{display:inline-flex;align-items:center;gap:6px;background:#edf4fb;border:1px solid #d6e6f3;border-radius:4px;padding:3px 6px;font-size:12px;color:#6385a5;max-width:100%;overflow-wrap:anywhere}.gc-chip button{border:0;background:none;color:#7b98b1;padding:0;font-size:15px;line-height:1}.gc-form-error{font-size:12px;color:#b95c58;line-height:1.7;white-space:pre-wrap}.gc-form-error:empty{display:none}.gc-form-error:not(:empty){margin:0 0 15px;padding:10px 12px;border:1px solid #edd7d4;background:#fff7f5;border-radius:4px}.gc-confirm p{font-size:13px;color:#7b8fa3;line-height:1.8;margin:0 0 17px}.gc-confirm strong{font-size:15px;font-weight:500;color:#3f5f7b;display:block;padding:15px;background:#f5f8fc;border:1px solid #e2eaf2;border-radius:6px;margin-bottom:15px;overflow-wrap:anywhere}.gc-lookup-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:15px}.gc-lookup-filters input{flex:1;min-width:160px}.gc-lookup-summary{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#7b91a6;margin:10px 0}.gc-lookup .gc-table-scroll{max-height:360px;min-height:150px;border:1px solid var(--gc-line);border-radius:4px}.gc-lookup .gc-table td,.gc-lookup .gc-table th{padding:11px 10px}.gc-lookup .gc-pagination{padding:14px 0 0;border:0}.gc-lookup .gc-table tbody tr{cursor:pointer}.gc-lookup .gc-chip-list{max-height:105px;overflow:auto;margin-top:14px}.gc-advanced-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.gc-advanced-grid label{display:flex;flex-direction:column;gap:8px;color:#6b839b;font-size:12px}.gc-advanced-grid input,.gc-advanced-grid select{width:100%}.gc-preview-title{font-size:16px;font-weight:500;color:#42627f;margin:0 0 16px}.gc-message-preview{border:1px solid var(--gc-line);border-radius:5px;padding:15px;margin-top:12px;background:#fafcfe}.gc-message-preview small{display:block;color:#8599ac;font-size:11px;margin-bottom:10px}.gc-message-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.8;margin:0;color:#59748c}.gc-readonly input:disabled,.gc-readonly textarea:disabled,.gc-readonly select:disabled{background:#f8fafc;color:#60768b;opacity:1}.gc-form-row.gc-hidden{display:none}.gc-loading{padding:50px 20px;text-align:center;color:#8ca0b3;font-size:13px}
.gc-heading{height:auto;min-height:0;position:static;padding:0;background:transparent;border:0;box-shadow:none}.gc-dialog-head{height:auto;min-height:0;position:static;box-shadow:none}.gc-pagination label,.gc-role-list label,.gc-switch{flex-direction:row}.gc-rule-form{display:block}.gc-dialog .gc-form-label{display:block;margin:0}.gc-dialog-foot,.gc-pagination{position:static;height:auto;min-height:0}.gc-dialog form{margin:0}.gc-dialog .gc-rule-form{padding:0}.gc-dialog .gc-role-list input{flex-shrink:0}
@media(max-width:1100px){.gc-filters{gap:10px}.gc-filters input.gc-keyword{width:255px}.gc-table-scroll{max-height:580px}.gc-heading>span{display:none}}@media(max-width:700px){.gc-heading{margin-bottom:16px}.gc-heading h1{font-size:19px}.gc-filters,.gc-toolbar,.gc-pagination{padding:14px}.gc-filters>input,.gc-filters>select{flex:1 1 140px;width:140px}.gc-filters input.gc-keyword{width:100%;flex-basis:100%}.gc-date-range{width:100%;gap:7px}.gc-date-range select{width:100%}.gc-date-range input{flex:1;width:120px}.gc-toolbar{align-items:flex-start;flex-direction:column}.gc-toolbar>div{gap:7px}.gc-toolbar .gc-button{font-size:12px;padding:6px 9px}.gc-pagination{align-items:flex-start;flex-direction:column}.gc-pagination>div{width:100%;justify-content:flex-end;gap:6px}.gc-pagination label{display:none}.gc-dialog{max-width:calc(100vw - 18px);max-height:calc(100vh - 20px)}.gc-dialog-head{padding:15px 16px}.gc-dialog-head h2{font-size:16px}.gc-dialog-body{padding:14px;max-height:calc(100vh - 165px)}.gc-dialog-foot{padding:13px 15px}.gc-save-note{display:none}.gc-form-row{grid-template-columns:1fr;gap:8px;padding:12px 0}.gc-form-label{padding-top:0}.gc-role-list{gap:13px;padding-top:0}.gc-role-list label{min-width:150px}.gc-person-field{flex-wrap:wrap}.gc-person-field .gc-chip-list{flex-basis:100%}.gc-advanced-grid{grid-template-columns:1fr}.gc-lookup-filters input{min-width:120px}.gc-lookup .gc-table-scroll{max-height:300px}.gc-heading{gap:10px}}
/* Keep OA-enhanced and native date controls in the same compact filter group. */
.group-center .gc-date-range{display:grid;grid-template-columns:118px minmax(0,1fr) 18px minmax(0,1fr);align-items:center;gap:8px;flex:0 1 480px;width:480px;max-width:100%;min-width:0;padding:5px;border:1px solid #d9e5f2;border-radius:8px;background:#f7faff;transition:border-color .15s,box-shadow .15s}
.group-center .gc-date-range:focus-within{border-color:#9bbde3;box-shadow:0 0 0 3px #77a5d914}
.group-center .gc-date-range>select,.group-center .gc-date-range>input,.group-center .gc-date-range>.query-date-input,.group-center .gc-date-range>.query-date-input>input{width:100%;min-width:0;max-width:100%;height:36px;margin:0}
.group-center .gc-date-range>select{background:#eaf2fc;border-color:transparent;color:#41698f;font-weight:500;padding:7px 10px}
.group-center .gc-date-range>select:hover{background:#e3eefb}
.group-center .gc-date-range>input,.group-center .gc-date-range>.query-date-input>input{background:#fff;border-color:#d8e4f0;border-radius:5px;color:#476580}
.group-center .gc-date-range>.query-date-input{position:relative;display:block;flex:none}
.group-center .gc-date-range>span:not(.query-date-input){display:block;width:18px;text-align:center;color:#8b9fb3;font-size:12px;line-height:36px}
.group-center .gc-date-range .query-calendar-trigger{display:grid;place-items:center;right:4px;top:50%;transform:translateY(-50%);width:26px;min-width:26px;height:26px;padding:0;border:0;border-radius:4px;color:#6f93b6;background:transparent;font-size:16px;line-height:1}
.group-center .gc-date-range .query-calendar-trigger:hover{background:#eaf2fc;color:#4678a7}
@media(max-width:700px){.group-center .gc-date-range{grid-template-columns:minmax(0,1fr) 18px minmax(0,1fr);flex-basis:100%;width:100%;padding:8px}.group-center .gc-date-range>select{grid-column:1 / -1}}

/* Team rows stay one line; rule lists and lookup dialogs retain their layout. */
.group-center .gc-teams-table{table-layout:fixed;min-width:1920px;width:100%}
.group-center .gc-teams-table th:nth-child(1){width:50px}
.group-center .gc-teams-table th:nth-child(2){width:170px}
.group-center .gc-teams-table th:nth-child(3){width:64px}
.group-center .gc-teams-table th:nth-child(4),
.group-center .gc-teams-table th:nth-child(5){width:108px}
.group-center .gc-teams-table th:nth-child(6){width:320px}
.group-center .gc-teams-table th:nth-child(7){width:110px}
.group-center .gc-teams-table th:nth-child(8){width:140px}
.group-center .gc-teams-table th:nth-child(9){width:180px}
.group-center .gc-teams-table th:nth-child(10){width:160px}
.group-center .gc-teams-table th:nth-child(11){width:130px}
.group-center .gc-teams-table th:nth-child(12){width:80px}
.group-center .gc-teams-table th:nth-child(13){width:190px}
.group-center .gc-teams-table th:nth-child(14){width:48px}
.group-center .gc-teams-table tbody tr[data-team-id]{height:48px}
.group-center .gc-teams-table tbody tr[data-team-id]>td{
  height:48px;padding:0 12px;line-height:20px;vertical-align:middle;
  min-width:0;max-width:none;white-space:nowrap;overflow-wrap:normal;
  overflow:hidden;text-overflow:ellipsis;
}
.group-center .gc-teams-table .gc-bound-list{
  display:flex;flex-direction:row;align-items:center;gap:8px;
  min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;
}
.group-center .gc-teams-table .gc-link{
  display:inline-block;min-width:0;max-width:100%;vertical-align:middle;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:20px;
}
.group-center .gc-teams-table .gc-bound-list>.gc-link{flex:0 1 auto}
.group-center .gc-teams-table [data-gc-action="bind-one-messages"],
.group-center .gc-teams-table [data-gc-action="bind-one-rule"]{flex-shrink:0}
.group-center .gc-teams-table td:nth-child(10)>.gc-link:first-child:not(:last-child){max-width:calc(100% - 52px)}
.group-center .gc-teams-table .gc-error-text{display:inline;white-space:nowrap;margin-left:6px}
