/* Host Geek client area 0.13.0: the screens that were still stock WHMCS.
   Lists (services, domains, tickets, quotes, emails), new ticket, view ticket, Your account pages,
   and the plain pages (network status, news, downloads). Loaded after hg.css; uses its tokens.
   Lists are tables on a computer and cards on a phone (below 768px). */

/* ---------- page head extras ---------- */
.hg-hello-btns{display:flex;flex-wrap:wrap;gap:8px}
.hg-hello h1{margin:0}
.hg .hg-h2{font-size:20px;margin:0 0 12px}
.hg-pagehead .hg-sub{margin:4px 0 0;font-size:15px}
.hg-empty{display:grid;gap:8px;justify-items:start;padding:22px}
.hg .hg-empty h3{margin:0}
.hg-empty p{margin:0;color:var(--muted)}
.hg .hg-c-plain{font-weight:600;font-size:14.5px;color:var(--link);text-decoration:none;display:inline-flex;align-items:center;min-height:40px}
.hg .hg-c-plain:hover{text-decoration:underline;text-underline-offset:3px}
button.hg-gbtn{cursor:pointer;font-family:var(--f-body)}

/* ---------- list tabs ---------- */
.hg-ftabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}
.hg-ftab{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font:600 14.5px var(--f-body);cursor:pointer}
.hg-ftab:hover{border-color:var(--blue)}
.hg-ftab[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.hg-ftab-n{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:var(--chip);color:var(--chipink);font:700 12px var(--f-body)}
.hg-ftab[aria-pressed="true"] .hg-ftab-n{background:rgba(255,255,255,.18);color:#fff}

/* ---------- lists (tables on a computer) ---------- */
.hg .hg-list{padding:8px 14px 12px}
.hg .hg-list .listtable{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.hg .hg-list .dataTables_filter{order:-1;flex:1 1 260px;float:none;text-align:left;margin:0}
.hg .hg-list .dataTables_filter label{display:block;margin:0;width:100%}
.hg .hg-list .dataTables_filter input{width:100%;max-width:420px;min-height:42px;margin:0;padding:0 14px;font-size:15px;background:var(--wash)}
.hg .hg-list .dataTables_info{flex:none;padding:0;font-size:13.5px;color:var(--muted)}
.hg .hg-list .listtable>table,.hg .hg-list .listtable>.table{flex:1 1 100%;margin:6px 0 0!important;width:100%!important}
.hg .hg-list .dataTables_paginate{float:right;margin-top:10px}
.hg .hg-list .dataTables_length{float:left;margin-top:12px;font-size:13.5px;color:var(--muted)}
.hg .hg-list .dataTables_length select{min-height:36px}
.hg .hg-list .pagination{flex-wrap:wrap;margin:0}
.hg .hg-cards thead th{text-align:center;vertical-align:middle;white-space:nowrap;hyphens:manual;-webkit-hyphens:manual;padding:10px 12px}
.hg .hg-cards thead th.sorting,.hg .hg-cards thead th.sorting_asc,.hg .hg-cards thead th.sorting_desc{padding-right:24px}
.hg .hg-cards td{text-align:center;padding:12px}
.hg .hg-cards td.hg-c-main{text-align:left}
.hg .hg-cards tbody tr{cursor:pointer;transition:background .12s}
.hg .hg-cards tbody tr:hover td{background:#F7FAFC}
.hg-c-name{display:block;font-weight:700;color:var(--ink)!important;text-decoration:none;line-height:1.3;overflow-wrap:anywhere}
a.hg-c-name:hover{text-decoration:underline;text-underline-offset:3px}
.hg-c-dom{word-break:break-word}
.hg-c-sub{display:block;font-size:13.5px;color:var(--muted);margin-top:2px;overflow-wrap:anywhere}
.hg-c-meta small{color:var(--muted);font-size:12.5px}
.hg-gst{font-size:12.5px;color:var(--muted);font-weight:600;white-space:nowrap}
.hg-dash{color:var(--muted)}
.hg-soon{color:var(--warn-ink)}
.hg-unread{font-weight:800}
.hg-unread::after{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--orange);margin-left:6px;vertical-align:middle}
.hg-cards tr.hg-ended .hg-c-name,.hg-cards tr.hg-ended .hg-c-meta{color:var(--muted)!important}
.hg-cards .hg-c-check{width:44px;padding-left:6px!important;padding-right:0!important}
.hg-cards .hg-c-check input{width:20px;height:20px;accent-color:var(--blue);cursor:pointer;vertical-align:middle}
.hg-cards .hg-c-act{white-space:nowrap;text-align:right!important}
.hg-cards .hg-c-act form{display:inline}
.hg-cards .hg-c-act .hg-btn-sm{min-height:38px}
.hg .table-list>tbody>tr>td.dataTables_empty{text-align:center;color:var(--muted);padding:24px}

/* domain bulk actions */
.hg-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.hg-bulk-label{font-size:13.5px;font-weight:700;color:var(--muted);margin-right:2px}
.hg-bulk .hg-gbtn{min-height:38px;font-size:14px;background:#fff;border-color:var(--line)}
.hg-bulk .hg-gbtn:hover{background:var(--wash)}

/* ---------- lists become cards on a phone ---------- */
@media (max-width:767px){
  .hg .hg-list{padding:8px 10px 10px}
  .hg .hg-list .dataTables_filter input{max-width:none;font-size:16px}
  .hg .hg-list .dataTables_info{width:100%}
  .hg .hg-list .dataTables_paginate,.hg .hg-list .dataTables_length{float:none;display:flex;justify-content:center;margin-top:10px}
  .hg .hg-list .pagination .page-link{min-width:40px;min-height:40px;display:grid;place-items:center}
  .hg-cards,.hg-cards tbody{display:block;width:100%!important}
  .hg-cards thead{display:none}
  .hg .hg-cards tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:4px 12px;padding:14px 4px;border-top:1px solid var(--line)}
  .hg .hg-cards tbody tr:first-child{border-top:0}
  .hg .hg-cards tbody tr:hover td{background:none}
  .hg .hg-cards td{display:block;border:0!important;padding:0!important;text-align:left!important;background:none!important}
  .hg .hg-cards td.dataTables_empty{grid-column:1/-1;text-align:center!important;padding:16px 0!important}
  .hg-cards .hg-c-main{grid-column:1;grid-row:1}
  .hg-cards .hg-c-status{grid-column:2;grid-row:1;justify-self:end}
  .hg-cards .hg-c-meta{grid-column:1/-1;font-size:14px;color:var(--body)}
  .hg-cards .hg-c-meta[data-label]::before{content:attr(data-label) " ";font-weight:600;color:var(--muted)}
  .hg-cards .hg-c-first{grid-row:2}
  .hg-cards .hg-c-act{grid-column:1/-1;margin-top:6px}
  .hg-cards .hg-c-act .hg-gbtn,.hg-cards .hg-c-act .hg-btn{width:100%;justify-content:center;min-height:44px}
  .hg-cards .hg-c-act .hg-c-plain{min-height:36px}
  .hg-cards-check tbody tr{grid-template-columns:32px minmax(0,1fr) auto}
  .hg-cards-check .hg-c-check{grid-column:1;grid-row:1;width:auto;padding:2px 0 0!important}
  .hg-cards-check .hg-c-main{grid-column:2}
  .hg-cards-check .hg-c-status{grid-column:3}
  .hg-cards-check .hg-c-meta,.hg-cards-check .hg-c-act{grid-column:2/-1}
  .hg-ftabs{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-right:-16px;padding-right:16px}
  .hg-ftabs::-webkit-scrollbar{display:none}
  .hg-ftab{flex:none;min-height:44px}
  .hg-bulk{display:grid;grid-template-columns:1fr 1fr}
  .hg-bulk-label{grid-column:1/-1}
  .hg-bulk .hg-gbtn{justify-content:center;text-align:center;min-height:44px}
  .hg-hello-btns{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .hg-hello>.hg-btn,.hg-hello-btns .hg-btn{min-height:44px;justify-content:center}
  .hg-hello>.hg-btn{width:100%}
}

/* ---------- new ticket ---------- */
.hg-tk-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-items:start}
@media (min-width:1200px){.hg-tk-grid{grid-template-columns:minmax(0,1fr) 290px}}
.hg-topics{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.hg a.hg-topic{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;color:var(--body);text-decoration:none;min-height:88px;transition:border-color .15s,background .15s,transform .15s}
.hg a.hg-topic:hover{border-color:var(--blue);background:var(--wash);transform:translateY(-1px)}
.hg-topic-ic{flex:none;width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:var(--chip);color:var(--blue)}
.hg-topic-txt{flex:1;min-width:0;display:grid;gap:2px}
.hg-topic-txt b{color:var(--ink);font:800 16.5px var(--f-display);letter-spacing:-.01em}
.hg-topic-txt span{font-size:14px;color:var(--muted);line-height:1.4}
.hg-topic-go{flex:none;font-size:26px;color:var(--blue);line-height:1}
.hg-tk-aside{display:grid;gap:12px}
.hg-tk-aside .hg-card{margin:0}
.hg .hg-tk-aside h3{font-size:17px;margin:0 0 6px}
.hg-tk-talk{background:var(--gwash);border-color:transparent}
.hg-tk-phone{margin:0}
.hg-tk-phone a{font:800 24px var(--f-display);color:var(--ink);text-decoration:none}
.hg-formcard{padding:20px 22px}
.hg-formcard .form-group{margin-bottom:18px}
.hg-hint{font-size:13.5px;color:var(--muted);margin:0 0 6px}
.hg-formcard .form-group>.hg-hint:last-child{margin:6px 0 0}
.hg-opt{font-weight:500;color:var(--muted)}
.hg-urgent{border:0;padding:0;display:grid;gap:8px}
.hg-urgent legend{font:600 15.5px var(--f-body);color:var(--ink);margin:0 0 6px;float:none;width:auto}
.hg-formacts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:6px}
.hg-formacts .hg-btn{min-height:48px;padding:0 24px}
#autoAnswerSuggestions{background:var(--wash);border-radius:12px;padding:12px 14px;margin:0 0 18px}
#autoAnswerSuggestions .kbsuggestions,#autoAnswerSuggestions a{font-weight:600}
.hg .custom-file-label{border:1.5px solid #C5D2E0;border-radius:10px;min-height:44px;display:flex;align-items:center}
.hg .custom-file-label::after{height:100%;display:flex;align-items:center;background:var(--wash);border-radius:0 9px 9px 0}
.hg .custom-file{min-height:44px}
.hg .attachment-group .input-group-append .btn{min-height:44px;border-width:1.5px;border-color:#C5D2E0}
.hg .md-editor{border:1.5px solid #C5D2E0;border-radius:10px;overflow:hidden}
.hg .md-editor>textarea{border:0;border-radius:0;min-height:180px}
.hg .md-editor .md-header{background:var(--wash);padding:6px 8px;border-bottom:1px solid var(--line)}
.hg .md-editor .md-footer{background:#fff;border-top:1px solid var(--line);font-size:12.5px;color:var(--muted)}
@media (max-width:767px){
  .hg-formcard{padding:16px}
  .hg-formacts .hg-btn{width:100%}
  .hg-topics{grid-template-columns:1fr}
  .hg .hg-formcard .form-control,.hg .hg-formcard .custom-select{font-size:16px}
}

/* ---------- view ticket ---------- */
.hg-tk-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px 20px;flex-wrap:wrap}
.hg-tk-head h1{overflow-wrap:anywhere}
.hg-tk-head .label{margin-top:2px}
.hg-tk-acts{display:flex;align-items:center;gap:6px 16px;flex-wrap:wrap}
.hg-tk-acts .hg-c-plain{color:var(--muted)}
.hg-tk-closed{background:var(--info-bg);color:var(--info-ink);border-radius:12px;padding:10px 14px;font-size:14.5px;margin:0 0 14px}
.hg-thread{display:grid;gap:12px;margin-bottom:18px}
.hg .hg-thread .ticket-reply{margin:0;padding:0;overflow:hidden}
.hg .hg-thread .ticket-reply .posted-by{display:flex;justify-content:space-between;align-items:baseline;gap:4px 12px;flex-wrap:wrap;margin:0!important;padding:12px 18px!important;background:#F7FAFC!important}
.hg .hg-thread .ticket-reply.staff .posted-by{background:#F3F8E8!important}
.hg-who{display:inline-flex;align-items:center;gap:8px;font-weight:700;color:var(--ink)}
.hg-geektag{font:700 11.5px var(--f-body);background:var(--green);color:#2B3A00;border-radius:999px;padding:2px 8px}
.posted-on{font-size:13px;color:var(--muted)}
.hg .hg-thread .message{padding:14px 18px;font-size:15px;overflow-wrap:anywhere}
.hg .hg-thread .message img{max-width:100%;height:auto}
.hg .hg-thread .message pre{white-space:pre-wrap}
.hg-tk-ip{font-size:12.5px;color:var(--muted);margin:12px 0 0}
.hg-rate{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);margin-top:14px;padding-top:10px}
.hg-rate-l{font-size:13.5px;font-weight:600;color:var(--muted)}
.hg-rate .rating,.hg-rate .rating-done{float:none!important;display:inline-flex;align-items:center;gap:2px}
.hg-rate .star{font-size:22px;cursor:pointer}
.hg .hg-thread .attachments{border-top:1px solid var(--line);padding:10px 18px;font-size:14px}
.hg .hg-thread .attachment-list{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.hg .hg-thread .attachment-list li a,.hg .hg-thread .attachment-list li>span{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;border-radius:999px;background:var(--wash);font-weight:600;text-decoration:none}
@media (max-width:767px){
  .hg-tk-acts{width:100%}
  .hg-tk-acts .hg-btn{flex:1;min-height:44px}
  .hg .hg-thread .ticket-reply .posted-by{padding:10px 14px!important}
  .hg .hg-thread .message{padding:12px 14px}
}

/* ---------- Your account ---------- */
.hg-acct-head{margin-bottom:12px}
.hg-tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin:0 0 18px;overflow-x:auto;scrollbar-width:none}
.hg-tabs::-webkit-scrollbar{display:none}
.hg .hg-tabs a{flex:none;display:inline-flex;align-items:center;min-height:44px;padding:0 14px;font-weight:600;font-size:14.5px;color:var(--muted);text-decoration:none;border-bottom:3px solid transparent;margin-bottom:-1px;white-space:nowrap}
.hg .hg-tabs a:hover{color:var(--ink)}
.hg .hg-tabs a[aria-current]{color:var(--ink);border-bottom-color:var(--green);font-weight:700}
.hg-subtabs{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}
.hg .hg-subtabs a{display:inline-flex;align-items:center;min-height:38px;padding:0 14px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:600;font-size:14px;color:var(--ink);text-decoration:none}
.hg .hg-subtabs a:hover{border-color:var(--blue)}
.hg .hg-subtabs a[aria-current]{background:var(--chip);border-color:var(--chip);color:var(--chipink)}
.hg-acct-body{max-width:960px}
.hg-acct-body>p:first-child{color:var(--muted)}
.hg .hg-acct-body .card{border-radius:14px}
.hg .hg-acct-body .card-body{padding:20px 22px}
.hg .hg-acct-body .card-title{font-size:18px;margin-bottom:12px}
.hg .hg-acct-body .card-footer{padding:14px 22px;display:flex;flex-wrap:wrap;gap:10px}
.hg .hg-acct-body .col-form-label{padding-top:0;padding-bottom:6px}
.hg .hg-acct-body .form-group.row .col-form-label{padding-top:10px}
.hg .hg-acct-body .table{font-size:14.5px}
.hg .hg-acct-body .table th{color:var(--muted);font:700 12px var(--f-body);letter-spacing:.06em;text-transform:uppercase;text-align:center;vertical-align:middle;white-space:nowrap;border-top:0}
.hg .hg-acct-body .table-striped tbody tr:nth-of-type(odd){background:#F7FAFC}
.hg .hg-acct-body .btn{min-height:44px}
.hg .hg-acct-body .btn-sm{min-height:36px}
.hg .hg-acct-body .list-group-item{border-radius:0}
.hg .hg-acct-body .custom-control-label{font-weight:500;color:var(--body)}
.hg .hg-acct-body .toggle-switch-success+.bootstrap-switch{vertical-align:middle}
.hg-acct-body .twofa-config-link strong{color:var(--ink)}
@media (max-width:767px){
  .hg-tabs{margin-right:-16px;padding-right:16px}
  .hg .hg-acct-body .card-body{padding:16px}
  .hg .hg-acct-body .card-footer{padding:12px 16px}
  .hg .hg-acct-body .btn,.hg .hg-acct-body input[type=submit],.hg .hg-acct-body input[type=reset]{width:100%;margin:0 0 8px}
  .hg .hg-acct-body .form-control,.hg .hg-acct-body .custom-select{font-size:16px}
  .hg .hg-acct-body .table-responsive,.hg .hg-acct-body .table-container{overflow-x:auto}
}

/* payment methods */
.hg-paylist .hg-card-head{flex-wrap:wrap;align-items:center}
.hg-pm{list-style:none;margin:6px 0 0;padding:0;display:grid}
.hg-pm-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:14px 0;border-top:1px solid var(--line)}
.hg-pm-row:first-child{border-top:0}
.hg-pm-ic{flex:none;width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--chip);color:var(--chipink);font-size:20px}
.hg-pm-txt{flex:1 1 200px;min-width:0;display:grid}
.hg-pm-txt b{color:var(--ink)}
.hg-pm-txt span{font-size:13.5px;color:var(--muted)}
.hg-pm-row.is-expired .hg-pm-txt span{color:var(--bad-ink)}
.hg-pm-acts{display:flex;flex-wrap:wrap;gap:6px;margin-left:auto}
.hg-pm-none{padding:14px 0;color:var(--muted)}
@media (max-width:767px){
  .hg-pm-acts{width:100%;margin-left:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}
  .hg-pm-acts .hg-gbtn{justify-content:center;min-height:44px}
  .hg-paylist .hg-hello-btns{grid-template-columns:1fr}
}

/* ---------- plain pages: network status, news, downloads ---------- */
.hg .hg-plainpage .card{border-radius:14px}
.hg .hg-plainpage .card-body{padding:20px 22px}
.hg .hg-plainpage .announcement{padding:4px 0 16px;border-bottom:1px solid var(--line);margin-bottom:16px}
.hg .hg-plainpage .announcement:last-child{border-bottom:0;margin-bottom:0}
.hg .hg-plainpage .announcement h1,.hg .hg-announce h1{font-size:22px;margin:0 0 6px}
.hg .hg-plainpage .announcement h1 a{color:var(--ink);text-decoration:none}
.hg .hg-plainpage .announcement h1 a:hover{text-decoration:underline}
.hg .hg-plainpage .kb-search .form-control{border-radius:10px 0 0 10px;font-size:16px}
.hg .hg-plainpage .kb-search .btn{border-radius:0 10px 10px 0;min-height:48px}
.hg .hg-plainpage .list-group-item{padding:12px 16px}
.hg .hg-plainpage .alert{margin-bottom:14px}
.hg .hg-plainpage .network-issue,.hg .hg-plainpage .card .card-body h3{overflow-wrap:anywhere}
.hg .hg-announce img{max-width:100%;height:auto}
@media (max-width:767px){
  .hg .hg-plainpage .card-body{padding:16px}
}

/* ---------- more statuses ---------- */
.hg .status-delivered,.hg .status-sent,.hg .status-grace,.hg .status-pending-registration{background:var(--warn-bg)!important;color:var(--warn-ink)!important}
.hg .status-redemption,.hg .status-lost{background:var(--bad-bg)!important;color:var(--bad-ink)!important}
.hg .status-dead,.hg .status-draft,.hg .status-onhold,.hg .status-on-hold{background:var(--info-bg)!important;color:var(--info-ink)!important}
.hg .label.status{white-space:nowrap}

/* 0.13.0 polish after the first look */
.hg .hg-list .dataTables_info{display:none}
.hg .hg-cards td.hg-c-main{min-width:200px;width:38%}
.hg-c-name,.hg-c-sub{overflow-wrap:break-word}
@media (max-width:767px){.hg .hg-cards td.hg-c-main{min-width:0;width:auto}}
.hg-bulk-hint{font-size:14px;color:var(--muted)}
.hg-bulk[data-hg-none="true"] .hg-bulk-label,.hg-bulk[data-hg-none="true"] .hg-gbtn{display:none}
.hg-bulk[data-hg-none="false"] .hg-bulk-hint{display:none}
.hg-bulk[data-hg-none="false"]{background:#fff;border:1px solid var(--blue);border-radius:14px;padding:10px 12px}
@media (max-width:767px){
  .hg .hg-cards-check tbody tr{grid-template-columns:32px minmax(0,1fr) auto}
  .hg-bulk[data-hg-none="true"]{display:block}
}
.hg .hg-quietbad{color:var(--bad-ink)!important;border-color:#F2C2AE!important;background:#fff!important}
.hg .hg-quietbad:hover{background:var(--bad-bg)!important}
@media (max-width:767px){
  .hg .hg-stack,.hg .hg-stack tbody,.hg .hg-stack tr,.hg .hg-stack td{display:block;width:100%}
  .hg .hg-stack tr:first-child th{display:none}
  .hg .hg-stack tr{border-top:1px solid var(--line);padding:12px 0}
  .hg .hg-stack td{border:0;padding:4px 0;text-align:left!important}
  .hg .hg-stack td .btn{width:auto!important;margin:4px 6px 0 0!important}
}
.hg a.hg-gbtn-go{background:var(--chip);color:var(--chipink);border-color:#C5D7EC}
.hg-tk-done{max-width:640px;padding:26px;display:grid;gap:10px;justify-items:start}
.hg .hg-tk-done h1{font-size:28px;margin:0}
.hg-tk-done p{margin:0}
.hg-tk-done-ic{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--ok-bg);color:var(--ok-ink)}

/* ==========================================================================
   0.14.0: leftover stock forms (contacts, permissions, payment method, your
   details, bulk domain changes, add credit, quote, email) and ticket pills.
   ========================================================================== */
/* tickets: "Answered" is waiting on the customer (amber), "Customer-Reply" is waiting on us (blue) */
.hg .label.status-answered,.hg .status.status-answered{background:var(--warn-bg)!important;color:var(--warn-ink)!important}
.hg .label.status-customer-reply,.hg .status.status-customer-reply{background:var(--info-bg)!important;color:var(--info-ink)!important}

/* form layout */
.hg-form .card{margin-bottom:16px}
.hg .hg-fhead{font:700 17px var(--f-display);color:var(--ink);margin:22px 0 12px}
.hg .hg-form .card-body>.hg-fhead:first-child,.hg .hg-fhead-first{margin-top:0}
.hg-fgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.hg-fgrid>.hg-fwide{grid-column:1/-1}
.hg .hg-form .form-group{margin-bottom:14px}
.hg .hg-form .col-form-label{font-weight:600;color:var(--ink)}
.hg-form .hg-opt{font-size:13px;margin-left:4px}
.hg-wrapany{overflow-wrap:anywhere}
.hg-fnote{color:var(--muted);font-size:14.5px;margin:14px 0 0}
.hg-indent{margin-left:30px}

/* tick lists */
.hg-checks{display:grid;gap:2px}
.hg .hg-checks .hg-check{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:10px 12px;border-radius:10px;font-weight:500;color:var(--body);cursor:pointer}
.hg .hg-checks .hg-check:hover{background:var(--wash)}
.hg .hg-check .form-check-input,.hg .hg-radio .form-check-input{position:static;margin:2px 0 0;flex:none;width:18px;height:18px;accent-color:var(--blue)}
.hg-checks-desc .hg-check span{display:grid;gap:1px}
.hg-checks-desc .hg-check b{color:var(--ink);font-weight:700}
.hg-checks-desc .hg-check small{color:var(--muted);font-size:13.5px;line-height:1.4}

/* buttons under a form */
.hg-formacts{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:6px 0 24px}
.hg .hg-form .card-body .hg-formacts{margin:18px 0 0}
.hg a.hg-formcancel{font-weight:600;color:var(--link);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.hg a.hg-formcancel:hover{text-decoration:underline}
.hg-formend{margin-left:auto}

/* "Show contact" picker */
.hg-pickbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px 16px;margin:0 0 16px}
.hg-pickrow{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 16px;flex:1 1 320px}
.hg-pickbar .hg-pickrow{margin:0}
.hg .hg-pickrow label{margin:0;font-weight:600;color:var(--ink)}
.hg .hg-pickrow select{flex:1 1 220px;max-width:460px}
.hg-pickbar .hg-gbtn{min-height:44px}
.hg-pickadd{margin:0}

/* bulk domain changes */
.hg-domchips{list-style:none;display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px;padding:0}
.hg-domchips li{background:var(--wash);border:1px solid var(--line);border-radius:999px;padding:4px 12px;font-weight:600;font-size:14px;color:var(--ink);overflow-wrap:anywhere}
.hg-choice{display:grid;gap:8px;margin:0 0 18px;border:0;padding:0}
.hg-bulkpage .hg-radio{margin:0 0 8px}
.hg .hg-ctabs{margin-top:4px}
.hg-ctab-body{padding:16px 0 0}

/* add credit */
.hg-fundfacts{list-style:none;margin:0 0 18px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.hg-fundfacts li{background:var(--wash);border-radius:12px;padding:10px 12px;display:grid;gap:2px}
.hg-fundfacts span{font-size:13px;color:var(--muted);font-weight:600}
.hg-fundfacts b{font:800 18px var(--f-display);color:var(--ink)}
.hg .hg-fnote-foot{font-size:13.5px;color:var(--muted);background:#F7FAFC}

/* payment method form */
.hg-paymanage .card-body{padding-top:22px}
.hg .hg-paymanage .control-label{font-weight:600;color:var(--ink);padding-top:10px}
.hg .hg-paymanage .form-check-inline{margin-right:18px}
.hg .hg-paymanage .submit-container .col-md-8{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}

/* quote: same paper as the invoice */
.hg-quote-page .hg-inv-paywith{display:grid;gap:8px;justify-items:start}
.hg-quote-page .hg-inv-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:767px){.hg-quote-page .hg-inv-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.hg-quote-page .hg-inv-facts .is-due{grid-column:1/-1}}

/* one email we sent (popup) */
body.hg-mailview{background:var(--wash);padding:16px}
.hg-mail{max-width:820px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.hg-mail-head{padding:18px 22px 14px;border-bottom:1px solid var(--line)}
.hg .hg-mail-head h1{font:800 22px/1.25 var(--f-display);color:var(--ink);margin:4px 0 0;overflow-wrap:anywhere}
.hg-mail-att{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.hg-mail-att li{display:inline-flex;align-items:center;gap:6px;background:var(--wash);border-radius:999px;padding:4px 12px;font-size:13.5px;font-weight:600}
.hg-mail-body{padding:0}
.hg-mail-body iframe{display:block;width:100%;min-height:60vh;border:0}
.hg-mail-foot{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:14px 22px;border-top:1px solid var(--line);font-size:13.5px;color:var(--muted)}

@media (max-width:767px){
  .hg-fgrid,.hg-fundfacts{grid-template-columns:1fr}
  .hg-indent{margin-left:0}
  .hg-formend{margin-left:0}
  .hg-formacts{display:grid;grid-template-columns:1fr;gap:8px}
  .hg-formacts .btn,.hg-formacts input[type=submit],.hg-formacts input[type=reset],.hg-formacts .hg-gbtn{width:100%;justify-content:center;margin:0}
  .hg a.hg-formcancel{justify-content:center}
  .hg .hg-pickrow select{max-width:none}
  .hg .hg-paymanage .control-label{padding-top:0}
  body.hg-mailview{padding:0}
  .hg-mail{border-radius:0;border:0}
}

/* 0.14.2 add-an-email: domain picker (js/hg-mailbox.js) and inline result */
.hg-emailform .input-group.hg-ef-haspick .form-control{flex:1 1 40%}
.hg-emailform .hg-ef-at{max-width:none}
.hg-emailform .hg-ef-at .input-group-text{padding:0 10px;display:flex;align-items:center;font-weight:700}
.hg .hg-emailform .hg-ef-domsel{flex:1 1 45%;min-width:0;max-width:60%;height:auto;min-height:44px;font-size:14px;border-top-left-radius:0;border-bottom-left-radius:0;text-overflow:ellipsis}
.hg-emailform [aria-invalid=true]{border-color:var(--error,#C62828);box-shadow:0 0 0 3px rgba(198,40,40,.15)}
.hg-emailform #hgMailDomHint{margin:6px 0 0}
.hg-ef-msg{grid-column:1/-1;margin:2px 0 0;padding:10px 14px;border-radius:10px;font-size:14px;line-height:1.45;overflow-wrap:anywhere}
.hg-ef-msg.is-ok{background:var(--ok-bg,#E8F5EC);color:var(--ink)}
.hg-ef-msg.is-bad{background:var(--bad-bg,#FDECEC);color:var(--bad-ink,#9B1C1C)}
.hg-ef-msg a{font-weight:700;text-decoration:underline}
@media (max-width:480px){
  .hg-emailform .input-group.hg-ef-haspick{flex-wrap:wrap}
  .hg-emailform .input-group.hg-ef-haspick .form-control{flex:1 1 100%;border-radius:8px 8px 0 0}
  .hg-emailform .input-group.hg-ef-haspick .hg-ef-at .input-group-text{border-radius:0 0 0 8px;margin-top:-1px}
  .hg .hg-emailform .hg-ef-domsel{flex:1 1 0;max-width:none;margin-top:-1px;border-radius:0 0 8px 0}
}

/* ===== 0.14.3 full review pass (29 Nov 2026) ===== */
/* Home: Needs you no longer stretches to the height of Your websites (big empty gap) */
.hh-top{align-items:start}
.hh-clear{margin:14px 0 0}
/* Home: the page carries its own Speak to a Geek card with the Geek, so the side menu card steps aside
   where both would be on screen together (992px and up). On phones the drawer keeps it. */
@media (min-width:992px){ body.tpl-clientareahome .hg-sgeek{display:none} }
/* Ticket pages: "Rather talk it through?" repeats the side menu card where that card is on screen */
@media (min-width:992px){
  body.hg-has-side .hg-tk-talk{display:none}
  body.hg-has-side .hg-tk-aside:not(:has(> .hg-card:not(.hg-tk-talk))){display:none}
  body.hg-has-side .hg-tk-grid:not(:has(.hg-tk-aside > .hg-card:not(.hg-tk-talk))){grid-template-columns:minmax(0,1fr)}
}
/* Page-head button groups (invoices) */
.hg-headbtns{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
/* MarketConnect offers: never white text on green; quiet outline button like the rest of the portal */
.hg .promo-banner .btn-success,.hg .promo-banner .btn-success:hover,.hg .promo-banner .btn-success:focus{background:#fff!important;border:2px solid var(--ink)!important;color:var(--ink)!important;box-shadow:none!important}
.hg .promo-banner .btn-success:hover{background:var(--wash,#F3F6FA)!important}
/* ...and no offers on a service that is switched off, pending or ended */
.hg-hookout-off > div:has(.promo-banner),.hg-hookout-off .promo-banner{display:none!important}
/* Support PIN: show the PIN instead of an empty folded card */
.hg-pinstrip .collapsable-card-body{display:block!important}
.hg-pinstrip .card-minimise{display:none!important}
/* Stock tab icons on generic service pages */
.hg .product-details-tab-container ~ * .fa-fw,.hg .nav-tabs .nav-link > .fa-fw{display:none}
/* MarketConnect sidebar promo repeats the offer already on the page (and showed twice) */
.hg [menuitemname="Symantec Sidebar Promo"],.hg [menuitemname="Service Details Overview"]{display:none!important}
/* generic service page: stock info tabs read left to right, not centred columns */
.hg .product-details-tab-container{border-radius:14px;padding:16px 18px}
.hg .product-details-tab-container .text-center{text-align:left!important}
.hg .product-details-tab-container .row{margin:0 0 8px}
.hg .product-details-tab-container .row > [class*="col-"]{text-align:left!important;padding-left:0}
@media (max-width:575px){ .hg .product-details-tab-container .row > [class*="col-"]{flex:0 0 100%;max-width:100%} }
/* phones, cart steps with a pinned total: the header menu button comes back (no tab bar there), so
   the Call button drops its word to keep the header inside 390px (it ran 14px off the side) */
@media (max-width:480px){
  body.hg-has-side:not(.hg-has-tabs) .hg-callbtn span{display:none}
  body.hg-has-side:not(.hg-has-tabs) .hg .hg-callbtn,body.hg-has-side:not(.hg-has-tabs) .hg-callbtn{padding:0 8px}
}
/* pay all at once (masspay.tpl) */
.hg-masspay{padding:8px 20px 18px}
.hg-masspay .hg-mp-inv td{padding-top:16px;color:var(--ink)}
.hg-mp-sum{display:grid;grid-template-columns:1fr auto;gap:6px 0;margin:14px 0 0;font-variant-numeric:tabular-nums;max-width:420px;margin-left:auto}
.hg-mp-sum dt{font-weight:500;color:var(--body)}
.hg-mp-sum dd{margin:0;padding-left:18px;text-align:right;font-weight:600;color:var(--ink)}
.hg-mp-sum .is-total{border-top:2px solid var(--ink);padding-top:10px;font:800 18px var(--f-display);color:var(--ink)}
.hg-mp-pay{display:grid;grid-template-columns:minmax(0,320px) auto;gap:8px 12px;align-items:end;padding:18px 20px}
.hg-mp-pay label{grid-column:1/-1;margin:0;font-weight:700;color:var(--ink)}
.hg-mp-pay .hg-btn{min-height:44px}
@media (max-width:575px){ .hg-mp-pay{grid-template-columns:1fr} .hg-masspay{padding:4px 14px 14px} }
.hg-alsolinks{margin-top:6px!important;font-size:14px}
/* help guides: one contact block per screen. Wide screens have the rail card (logged out) or the side
   menu card (logged in), so the closing hand-off keeps only its ticket button; narrow screens drop the
   rail card and the hand-off keeps its call line. */
@media (min-width:992px){ .hc-handoff .hc-acts2 > span{display:none} }
@media (max-width:991px){ .hc-rail .hc-minstuck{display:none} }

/* ===== 0.14.5 the last stock screens: register, upgrade, domain contacts ===== */

/* create an account */
.hg-reg{max-width:860px}
.hg .hg-reg .col-form-label{font-weight:600;font-size:15px;color:var(--ink);padding-bottom:4px}
.hg .hg-reg .hg-fhead + .hg-fgrid,.hg .hg-reg .hg-hint + .hg-fgrid{margin-top:4px}
.hg .hg-reg .hg-hint{margin:0 0 6px}
.hg .hg-reg .card-body>.hg-hint{margin:-4px 0 14px}
.hg-pwmeter{align-self:end;margin-bottom:14px}
.hg-pwmeter .progress{height:8px;border-radius:99px;background:var(--line)}
.hg-pwmeter p{margin:6px 0 0;text-align:left!important}
.hg-reg-tos{margin:4px 0 8px}
.hg-reg-help{margin:8px 0 24px}
.hg-reg .hg-formacts input.hg-btn{min-height:48px;padding:0 26px;border:0}

/* domain owner and contacts */
.hg-dc-err p{margin:0}
.hg-dc-raw{display:block;margin-top:6px;font-size:13px;color:var(--muted);overflow-wrap:anywhere}
.hg-dc-empty{margin:6px 0 0}
.hg-dc-empty .hg-formcancel{margin-left:14px}

/* change plan / change options */
.hg-up{max-width:980px}
.hg-up-stop p{margin:0;flex:1 1 280px}
.hg-up-opts{display:grid;gap:0}
.hg-up-opt{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:8px 24px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}
.hg-up-opt:first-child{padding-top:0}
.hg .hg-up-opt .col-form-label{padding:0}
.hg .hg-up-now .hg-hint{margin:2px 0 0}
.hg-up-qty{display:flex;align-items:center;gap:10px}
.hg-up-qty .form-control{max-width:110px}
.hg .hg-up-sum{max-width:none;margin:0 0 18px;padding:22px 26px}
.hg-up-arrow{color:var(--muted);margin:0 4px}
.hg .hg-up-sum .hg-up-note{margin:14px 0 0;max-width:none}
.hg-up-pay{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 28px;align-items:start;background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 22px;margin-bottom:24px}
.hg .hg-up-pay .col-form-label{font-weight:600;color:var(--ink)}
.hg .hg-up-pay .hg-formacts{margin:14px 0 0}
.hg-up-go .hg-btn{min-height:48px;padding:0 24px}

@media (max-width:767px){
  .hg-up-opt,.hg-up-pay{grid-template-columns:1fr}
  .hg .hg-up-sum{padding:18px 16px}
  .hg-up-pay{padding:16px}
  .hg .hg-up-pay .hg-formacts .hg-btn{width:100%;justify-content:center}
  .hg .hg-reg .form-control,.hg .hg-reg .custom-select,.hg .hg-up .form-control,.hg .hg-up .custom-select{font-size:16px}
  .hg-dc-empty .hg-formcancel{margin-left:0;display:flex}
}
