.cgc-tickets [hidden],.tickets220 [hidden]{display:none!important}
.cgc-ticket-search{display:grid;grid-template-columns:minmax(260px,2fr) minmax(150px,1fr) minmax(150px,1fr) auto;gap:16px;align-items:end;margin:0 0 24px}
.cgc-ticket-search-actions,.cgc-ticket-pagination,.cgc-ticket-pagination>div,.cgc-ticket-rule-heading,.cgc-ticket-compose-head,.cgc-ticket-rule>header{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cgc-ticket-search-actions{justify-content:flex-start}.cgc-ticket-table{min-width:1200px;table-layout:fixed}.cgc-ticket-table th,.cgc-ticket-table td{text-align:center!important;vertical-align:middle!important;overflow-wrap:anywhere}.cgc-ticket-table th{font-size:16px!important;font-weight:600!important}.cgc-ticket-table td{font-size:14px;line-height:1.65}.cgc-ticket-table th:first-child{width:72px}.cgc-ticket-table th:nth-child(2){width:190px}.cgc-ticket-table th:nth-child(4){width:190px}.cgc-ticket-table th:nth-child(n+5):nth-child(-n+7){width:130px}.cgc-ticket-table small{display:block;font-size:13px;line-height:1.7;color:#617389}.cgc-ticket-pagination{margin-top:20px;font-size:13px;color:#617389}
.cgc-ticket-note{background:#f5f8fb;border-radius:8px;padding:20px;margin-top:24px;font-size:14px;line-height:1.8}.cgc-ticket-note p{font-size:13px!important;color:#617389;margin:8px 0}.cgc-ticket-rule-heading{margin:28px 0 16px}.cgc-ticket-rule-heading h3,.cgc-ticket-rule h3,.cgc-ticket-compose-head h3{font-size:16px;margin:0;font-weight:600}.cgc-ticket-rule-heading p{font-size:13px;color:#617389;margin:6px 0}.cgc-ticket-rule{border:1px solid #dce5ef;border-radius:8px;padding:20px;margin:14px 0;background:#fafcff}.cgc-ticket-rule>header{margin-bottom:16px}.cgc-tickets textarea{min-height:144px}.cgc-tickets .cgc-check{margin-bottom:20px}
.cgc-ticket-dialog{box-sizing:border-box;width:min(1040px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid #dce5ef;border-radius:14px;color:#173451;background:#fff;box-shadow:0 18px 70px #102b4930;font:14px/1.65 system-ui,"Microsoft YaHei",sans-serif}.cgc-ticket-dialog::backdrop{background:#10233975}.cgc-ticket-dialog>header{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;padding:24px;border-bottom:1px solid #e2e9f1}.cgc-ticket-dialog>header h2{font-size:20px;line-height:1.5;margin:0;overflow-wrap:anywhere}.cgc-ticket-dialog>header p{font-size:13px;color:#617389;margin:8px 0 0;overflow-wrap:anywhere}.cgc-ticket-dialog>header button{flex-shrink:0}.cgc-ticket-dialog-body{padding:24px}.cgc-ticket-conversation{display:grid;gap:16px;max-height:38vh;overflow:auto;padding:2px 12px 16px 2px;margin-bottom:24px;overscroll-behavior:contain}.cgc-ticket-message{background:#f6f8fb;border:1px solid #e3e9f1;border-radius:10px;padding:18px;min-width:0}.cgc-ticket-message.staff{background:#f0f7ff;border-color:#d5e7fa}.cgc-ticket-message header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}.cgc-ticket-message strong{font-size:14px}.cgc-ticket-message time{font-size:13px;color:#617389}.cgc-ticket-text{font-size:14px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.cgc-ticket-text a{color:#0866c2;text-decoration:underline}.cgc-ticket-attachments{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px}.cgc-ticket-attachments:empty{display:none}.cgc-ticket-attachments>div{display:grid;gap:6px}.cgc-ticket-attachments img{display:block;width:112px;height:84px;object-fit:cover;border:1px solid #dce5ef;border-radius:6px}.cgc-ticket-attachments button{border:0;background:transparent;color:#a42e39;cursor:pointer;font-size:13px;padding:5px}.cgc-ticket-expired{border:1px dashed #a8b7c7;padding:18px;font-size:13px;color:#617389;border-radius:6px}.cgc-ticket-compose-head{margin-bottom:16px}.cgc-ticket-dialog form{display:grid;gap:16px}.cgc-ticket-dialog .cgc-field{display:grid;gap:8px;margin:0}.cgc-ticket-dialog .cgc-field>span{font-size:16px;font-weight:600}.cgc-ticket-dialog small{font-size:13px;color:#617389}.cgc-ticket-dialog input,.cgc-ticket-dialog select,.cgc-ticket-dialog textarea{box-sizing:border-box;width:100%;max-width:none;border:1px solid #cddbed;border-radius:8px;min-height:44px;padding:10px 12px;font-family:inherit;font-size:14px;line-height:1.6;color:inherit;background-color:#fff}.cgc-ticket-dialog textarea{min-height:120px;resize:vertical}.cgc-ticket-dialog input[type=file]{height:auto;padding:8px}.cgc-ticket-dialog .cgc-actions{margin:0;justify-content:flex-end}.cgc-ticket-error{font-size:13px;line-height:1.7;color:#a22e3c;margin:0;min-height:20px}.cgc-ticket-dialog button:disabled{opacity:.5;cursor:wait}
@media(max-width:1200px){.cgc-ticket-search{grid-template-columns:1fr 1fr}.cgc-ticket-search>.cgc-field:first-of-type{grid-column:1/-1}}
@media(max-width:600px){.cgc-ticket-search{grid-template-columns:1fr}.cgc-ticket-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px)}.cgc-ticket-dialog>header,.cgc-ticket-dialog-body{padding:18px}.cgc-ticket-dialog>header{gap:10px}.cgc-ticket-dialog>header h2{font-size:18px}.cgc-ticket-message header{align-items:flex-start;flex-direction:column;gap:4px}.cgc-ticket-rule-heading,.cgc-ticket-pagination{align-items:flex-start;flex-wrap:wrap}.cgc-ticket-rule{padding:16px}.cgc-ticket-conversation{padding-right:2px}.cgc-ticket-dialog .cgc-ticket-compose-head{flex-wrap:wrap}}
.cgc-ticket-dialog>header{position:sticky;top:0;z-index:2;background:#fff}
.cgc-tickets .cgc-ticket-dialog{width:min(1180px,calc(100vw - 32px))}
.cgc-tickets .cgc-ticket-dialog-body{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,1fr);gap:24px;align-items:start}
.cgc-tickets .cgc-ticket-conversation{max-height:calc(100dvh - 220px);margin:0}
.cgc-ticket-error{color:#52657c}.cgc-ticket-dialog select{appearance:auto;background-image:none}
.cgc-ticket-rule .cgc-field+.cgc-field{margin-top:20px}
@media(max-width:900px){.cgc-tickets .cgc-ticket-dialog-body{grid-template-columns:minmax(0,1fr)}.cgc-tickets .cgc-ticket-conversation{max-height:36vh}}



/* Submission controls share a label row and a 44px control row. */
.cgc-tickets .cgc-ticket-submit-grid{max-width:760px;gap:24px;align-items:start}
.cgc-tickets .cgc-ticket-submit-grid .cgc-check-cell{display:flex;align-items:center;justify-content:flex-start;min-height:44px;height:44px;padding:10px 12px}
.cgc-tickets .cgc-ticket-submit-grid .cgc-check{margin:0;min-height:24px;font-size:14px;line-height:24px}
@container(max-width:650px){.cgc-tickets .cgc-ticket-submit-grid{grid-template-columns:minmax(0,1fr);gap:20px}}
