/* Appel Support — Help panel client styles.
 * All classes are prefixed hdc- to avoid collisions with the host product. */

.hdc-help-btn{background:#ec2c8c;color:#fff;border:0;border-radius:8px;padding:9px 16px;
  font:inherit;font-weight:700;cursor:pointer}
.hdc-help-btn:hover{background:#d4267f}
.hdc-help-link{color:#ec2c8c;cursor:pointer;text-decoration:none;font:inherit}
.hdc-help-link:hover{text-decoration:underline}

/* overlay + panel */
.hdc-overlay{position:fixed;inset:0;background:rgba(4,7,15,.72);display:none;
  align-items:center;justify-content:center;z-index:9999;padding:18px}
.hdc-overlay.hdc-open{display:flex}
.hdc-panel{width:min(620px,94vw);max-height:88vh;display:flex;flex-direction:column;
  background:#11182b;color:#f4f6fb;border:1px solid #26314f;border-radius:14px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.hdc-head{display:flex;justify-content:space-between;align-items:center;
  padding:16px 18px;border-bottom:1px solid #26314f}
.hdc-head strong{font-size:17px}
.hdc-head small{display:block;color:#9aa6bd;font-size:11px;margin-top:3px;letter-spacing:.06em}
.hdc-x{background:transparent;border:0;color:#f4f6fb;font-size:26px;cursor:pointer;line-height:1}
.hdc-tabs{display:flex;gap:4px;padding:10px 18px 0;border-bottom:1px solid #26314f}
.hdc-tab{background:transparent;border:0;color:#9aa6bd;font:inherit;font-size:13px;font-weight:600;
  padding:10px 12px;cursor:pointer;border-bottom:2px solid transparent}
.hdc-tab.hdc-active{color:#fff;border-bottom-color:#ec2c8c}
.hdc-body{padding:18px;overflow:auto}

/* form */
.hdc-form{display:grid;gap:12px}
.hdc-form label{display:grid;gap:6px;font-size:12px;color:#9aa6bd}
.hdc-form input,.hdc-form select,.hdc-form textarea,.hdc-search{background:#0c1221;
  border:1px solid #26314f;color:#f4f6fb;border-radius:8px;padding:10px 11px;font:inherit}
.hdc-form textarea{resize:vertical}
.hdc-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hdc-warn{background:#493518;color:#ffd58a;border-radius:8px;padding:10px 12px;font-size:13px}
.hdc-actions{display:flex;justify-content:flex-end}
.hdc-primary{background:#ec2c8c;color:#fff;border:0;border-radius:8px;
  padding:10px 18px;font:inherit;font-weight:700;cursor:pointer}
.hdc-primary:hover{background:#d4267f}
.hdc-status{color:#9aa6bd;font-size:13px;min-height:1.2em;margin:0}

/* diagnostics notice */
.hdc-diag{background:#0c1221;border:1px dashed #26314f;border-radius:10px;
  padding:12px 14px;font-size:12.5px;color:#9aa6bd}
.hdc-diag strong{color:#f4f6fb}
.hdc-diag ul{margin:8px 0;padding-left:20px;display:grid;gap:3px}
.hdc-diag p{margin:8px 0 0;line-height:1.5}

/* lists, pills, thread */
.hdc-list{display:grid;gap:8px}
.hdc-ticket{display:grid;grid-template-columns:auto 1fr auto auto;gap:10px;align-items:center;
  background:#0c1221;border:1px solid #26314f;border-radius:10px;padding:11px 13px;
  color:#f4f6fb;font:inherit;text-align:left;cursor:pointer;width:100%}
.hdc-ticket:hover{border-color:#ec2c8c}
.hdc-ticket-id{font-weight:800;font-size:12px;color:#9fc3ff}
.hdc-ticket-subject{font-size:13.5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hdc-ticket-meta{font-size:11px;color:#9aa6bd}
.hdc-pill{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;
  text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.hdc-st-new{background:#243253;color:#9fc3ff}
.hdc-st-assigned{background:#243253;color:#9fc3ff}
.hdc-st-in-progress{background:#332552;color:#d2adff}
.hdc-st-waiting-on-user{background:#493518;color:#ffd58a}
.hdc-st-resolved{background:#183c30;color:#8ce3bd}
.hdc-st-closed{background:#2a2f3a;color:#9aa6bd}
.hdc-thread{margin-top:12px}
.hdc-detail{background:#0c1221;border:1px solid #26314f;border-radius:10px;padding:14px}
.hdc-detail h4{margin:8px 0;color:#f4f6fb;font-size:15px}
.hdc-detail-head{display:flex;gap:10px;align-items:center}
.hdc-muted{color:#9aa6bd;font-size:13px}
.hdc-reply{background:#11182b;border:1px solid #26314f;border-radius:8px;
  padding:10px 12px;margin:8px 0}
.hdc-reply-head{display:flex;justify-content:space-between;margin-bottom:6px;font-size:13px}
.hdc-reply-head small{color:#9aa6bd}
.hdc-reply p{margin:0;font-size:13.5px;line-height:1.55}
.hdc-role-system{border-style:dashed}
.hdc-empty{padding:30px 10px;text-align:center;color:#9aa6bd;font-size:14px}
.hdc-loading{padding:24px;text-align:center;color:#9aa6bd}
.hdc-search{width:100%;margin-bottom:12px}
.hdc-article{display:flex;justify-content:space-between;align-items:center;width:100%;
  background:#0c1221;border:1px solid #26314f;border-radius:10px;padding:12px 14px;
  color:#f4f6fb;font:inherit;cursor:pointer;text-align:left}
.hdc-article:hover{border-color:#ec2c8c}
.hdc-article-title{font-size:14px}
.hdc-article-body{margin-top:12px}
.hdc-done{text-align:center;padding:26px 10px;display:grid;gap:10px;justify-items:center}
.hdc-check{width:52px;height:52px;border-radius:50%;background:#183c30;color:#8ce3bd;
  display:grid;place-items:center;font-size:26px}

/* automatic ticket notice */
.hdc-notice{position:fixed;left:0;right:0;bottom:22px;display:flex;
  justify-content:center;z-index:10000;pointer-events:none;padding:0 18px}
.hdc-notice-card{pointer-events:auto;display:flex;gap:14px;align-items:center;
  background:#11182b;border:1px solid #ec2c8c;border-radius:12px;padding:14px 16px;
  max-width:560px;color:#f4f6fb;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  box-shadow:0 12px 40px rgba(0,0,0,.5)}
.hdc-notice-icon{width:34px;height:34px;border-radius:50%;background:#ec2c8c;color:#fff;
  display:grid;place-items:center;font-weight:800;flex:none}
.hdc-notice-card p{margin:4px 0 0;font-size:13px;color:#9aa6bd}
.hdc-notice-actions{display:flex;gap:8px;align-items:center;flex:none}
.hdc-linkbtn{background:transparent;border:1px solid #26314f;color:#f4f6fb;border-radius:8px;
  padding:8px 12px;font:inherit;font-size:13px;cursor:pointer}
.hdc-linkbtn:hover{border-color:#ec2c8c}
.hdc-notice .hdc-x{font-size:22px}

@media(max-width:560px){
  .hdc-two{grid-template-columns:1fr}
  .hdc-ticket{grid-template-columns:auto 1fr auto}
  .hdc-ticket-meta{display:none}
  .hdc-notice-card{flex-wrap:wrap}
}
