.footer.interface-footer { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); }
.footer.interface-footer .interface-footer-radio { max-width: 100%; justify-self: end; }
.contact-footer-link { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 40px; padding: 5px 12px; color: #d6e6ff; border: 1px solid transparent; border-radius: 8px; background: transparent; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; }
.contact-footer-link:hover { background: #ffffff0c; color: #fff; border-color: #607797; }
.contact-footer-link .lucide-icon { width: 17px; height: 17px; }
.user-menu-panel .contact-profile-link { display: flex; align-items: center; gap: 9px; padding: 11px; margin-bottom: 8px; border-radius: 7px; color: #18305b; text-decoration: none; font-size: 13px; font-weight: 600; }
.contact-profile-link:hover { background: #edf4ff; }
.contact-dialog { width: min(540px,calc(100% - 28px)); padding: 0; border-radius: 17px; border: 1px solid #dce6f5; }
.contact-dialog-content { padding: 26px; }
.contact-eyebrow { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 750; letter-spacing: .1em; color: #607390; }
.contact-dialog h2 { font-size: 23px; }
.contact-dialog .dialog-header { align-items: flex-start; margin-bottom: 22px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; font-size: 13px; font-weight: 650; color: #273a54; }
.contact-field select,.contact-field textarea { width: 100%; padding: 12px 14px; border: 1px solid #cad7e9; border-radius: 9px; color: #14243e; background: #fbfdff; font: inherit; font-weight: 400; line-height: 1.6; }
.contact-field textarea { min-height: 130px; resize: vertical; max-height: 40vh; }
.contact-field :is(select,textarea):focus { outline: 3px solid #2563eb22; border-color: #2563eb; }
.contact-input-hint { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; color: #67768d; font-size: 11px; }
.contact-notice { border: 1px solid #f0cdb0; border-radius: 8px; padding: 11px 13px; background: #fff7ee; color: #8a431a; font-size: 13px; }
.contact-success { text-align: center; padding: 6px 0; }
.contact-success-mark { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #e9f8f1; color: #13794b; font-size: 27px; }
.contact-success h3 { margin: 15px 0 8px; font-size: 21px; }
.contact-success p { color: #62728a; line-height: 1.6; margin: 0 0 22px; }
.contact-success .button { margin: 4px; }
.contact-dialog [hidden],.contact-reply [hidden] { display: none !important; }
.contact-page-heading { gap: 14px; align-items: center; }
.contact-page-heading > .button { margin-left: auto; }
.contact-page-heading p { color: #64748b; margin: 5px 0 0; font-size: 13px; }
.contact-main { min-width: 0; }
.contact-list { padding: 0; overflow: hidden; }
.contact-ticket-row { display: flex; align-items: center; gap: 16px; padding: 22px; text-decoration: none; color: #172b45; border-bottom: 1px solid #e4ebf5; }
.contact-ticket-row:last-child { border-bottom: 0; }
.contact-ticket-row:hover { background: #f8fbff; }
.contact-ticket-symbol { display: grid; place-items: center; flex: 0 0 43px; height: 43px; border-radius: 12px; color: #315fbd; background: #edf3ff; }
.contact-ticket-copy { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; }
.contact-ticket-copy strong { font-size: 14px; }
.contact-preview { font-size: 13px; line-height: 1.5; color: #55657c; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
.contact-ticket-copy small { color: #708098; font-size: 11px; overflow-wrap: anywhere; }
.contact-status { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.contact-status > span { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.contact-status-open { color: #9a470e; background: #fff0df; border: 1px solid #f7d4af; }
.contact-status-answered { color: #146542; background: #e9f7ee; border: 1px solid #bfe6cf; }
.contact-ticket-arrow { color: #8597b2; }
.contact-ticket-arrow svg { width: 18px; }
.contact-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 22px 0; color: #61718b; font-size: 13px; }
.contact-thread { max-width: 850px; padding: 28px; margin-top: 24px; }
.contact-thread-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.contact-thread h1 { margin: 0; font-size: 22px; }
.contact-message { padding: 19px 21px; border: 1px solid #dfe7f2; background: #f8faff; border-radius: 12px; margin-top: 16px; }
.contact-message h2 { margin: 0; font-size: 13px; font-weight: 750; color: #344a66; overflow-wrap: anywhere; }
.contact-message p { margin: 12px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; font-size: 14px; }
.contact-answer { background: #f3fbf6; border-color: #cae6d6; }
.contact-answer-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.contact-answer time { font-size: 11px; color: #527160; }
.contact-waiting { margin-top: 22px; padding: 14px; border-radius: 9px; color: #885023; background: #fff6eb; font-size: 13px; }
.contact-reply { border-top: 1px solid #e4ebf5; margin-top: 24px; padding-top: 8px; }
:is(.contact-footer-link,.contact-profile-link,.contact-ticket-row):focus-visible { outline: 3px solid #6b9dff; outline-offset: 2px; }
@media(max-width:760px) {
    .footer.interface-footer { grid-template-columns: minmax(0,1fr) auto; gap: 6px 14px; }
    .contact-footer-link { grid-row: 2; grid-column: 1 / -1; justify-self: center; }
    .footer.interface-footer .interface-footer-radio { grid-row: 1; grid-column: 2; }
    :root { --interface-footer-height: 110px; }
}
@media(max-width:600px) {
    .contact-dialog-content { padding: 20px; }
    .contact-dialog .dialog-actions { flex-direction: row; }
    .contact-dialog .dialog-actions .button { width: auto; flex: 1; min-height: 44px; }
    .contact-dialog h2 { font-size: 21px; }
    .contact-page-heading { flex-wrap: wrap; }
    .contact-page-heading > .button { margin-left: 0; }
    .contact-ticket-row { padding: 17px; display: grid; grid-template-columns: 34px minmax(0,1fr) auto; gap: 10px; }
    .contact-ticket-symbol { width: 34px; height: 34px; grid-row: 1 / 3; }
    .contact-status { grid-row: 2; grid-column: 2; justify-self: start; }
    .contact-ticket-arrow { grid-column: 3; grid-row: 1 / 3; }
    .contact-thread { padding: 20px; }
    .contact-thread h1 { font-size: 19px; }
    .contact-message { padding: 16px; }
    .contact-answer-heading { align-items: flex-start; flex-direction: column; }
}
.contact-dialog { max-height: calc(100vh - 28px); max-height: calc(100dvh - 28px); overflow-y: auto; }
.contact-dialog form { padding: 0; }
.contact-categories { padding: 0; margin: 0; border: 0; display: grid; gap: 8px; }
.contact-categories legend { padding: 0 0 10px; font-size: 13px; font-weight: 650; color: #273a54; }
.contact-category { display: flex; align-items: center; gap: 11px; border: 1px solid #cad7e9; border-radius: 9px; padding: 12px 14px; background: #fbfdff; color: #273a54; font-size: 13px; cursor: pointer; }
.contact-category input { width: 16px; height: 16px; margin: 0; flex: 0 0 16px; accent-color: #2563eb; }
.contact-category:has(input:checked) { border-color: #2563eb; background: #eff5ff; color: #1548ad; }
.contact-category:has(input:focus-visible) { outline: 3px solid #2563eb33; outline-offset: 2px; }
.contact-category.is-disabled { color: #7c8491; background: #eff1f4; border-color: #dfe3e8; cursor: not-allowed; }
.contact-action-restriction,.contact-action-help { font-size: 12px; color: #64748b; margin: 9px 0 0; line-height: 1.5; }
.contact-request-kind { color: #345992; font-size: 13px; margin: -10px 0 20px; font-weight: 600; }
.contact-ticket-copy strong { overflow-wrap: anywhere; }
