.support-page{--support-brand:#ea603c;--support-soft:#fff4ef;display:grid;gap:16px}
.support-page .card{margin-bottom:0}.support-page .payment-icon{display:inline-block;flex:none;width:18px;height:18px;vertical-align:middle}
.support-page .btn{min-height:38px;gap:7px;border-radius:10px;padding:9px 14px;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s,box-shadow .15s}
.support-page .btn:focus-visible{outline:3px solid #fdba74;outline-offset:3px}
.support-page .support-list-header{align-items:stretch;gap:14px;padding:20px}.support-page .support-list-header .card-title{margin:0;font-size:16px}
.support-page .support-filters{gap:10px;flex-wrap:wrap}.support-page .support-filters .btn{flex:none}
.support-page .list-group-item{list-style:none;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:16px;margin-bottom:10px;line-height:1.7;overflow-wrap:anywhere}
.support-page .list-group-item-info{border-left:3px solid #38bdf8}
.support-page .list-group-item-primary{border-left:3px solid #94a3b8}
.support-page .list-group-item-warning{border-left:3px solid #fbbf24}
.support-page .list-group-item+hr{display:none}.support-ticket-row{gap:12px}.support-ticket-row>div:nth-child(2){flex:1;min-width:0}.support-ticket-row .btn-actions-pane-right{margin-left:auto;flex:none}
.support-page .rounded-circle{border-radius:50%;display:block;flex:none}.support-page .text-body-secondary{color:#64748b;font-size:12px}.support-page .fw-semibold{font-weight:600}.support-page .fs-6{font-size:14px}.support-page .text-primary a{color:inherit}.support-page .text-primary a:hover{color:inherit}
.support-page textarea.form-control{line-height:1.7;min-height:110px}.support-page .form-control-file{display:block;max-width:100%;font:inherit;color:#64748b;padding:8px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc}.support-page .form-control-file::file-selector-button{margin-right:12px;border:0;border-radius:7px;background:#fff4ef;color:#c2410c;padding:8px 12px;cursor:pointer}
.support-page .support-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.support-page .support-actions .btn{float:none;margin:0}.support-page .support-actions>a:first-of-type{margin-left:auto}
.support-page .card.p-3{padding:20px}.support-page .card.p-3>.d-flex,.support-page .list-group-item>.d-flex{gap:12px;align-items:flex-start}.support-page img{max-width:100%;height:auto}
.support-page #formsp .btn-soft-primary{padding:6px 10px;min-height:32px;font-size:11px;margin:0 6px 8px 0}
@media(max-width:640px){.support-page .support-filters .btn{flex:1;white-space:nowrap}.support-ticket-row{flex-wrap:wrap}.support-ticket-row .btn-actions-pane-right{margin-left:54px}.support-page .support-actions>a:first-of-type{margin-left:0}.support-page .support-actions .btn{width:100%}.support-page .support-actions>a{flex:1}.support-page .support-list-header{padding:16px}}



.support-order-table td:first-child{min-width:155px}.support-order-table td:nth-child(2){min-width:150px}.support-order-table td:last-child{min-width:170px}
.support-order-table a,.support-service-code{font-weight:600;color:#ea603c}.support-order-table a:hover{text-decoration:underline}.support-order-table small{display:block;color:#64748b;font-size:11px;margin-top:2px}.support-order-table time{white-space:nowrap}.support-order-note{display:block;box-sizing:border-box;width:200px;max-width:100%;min-width:0;margin-top:6px;font:inherit;font-size:11px;text-overflow:ellipsis}.support-service-code{overflow-wrap:anywhere}


@media(max-width:640px){}

.support-summary-header{flex-wrap:wrap}.support-summary-service{margin-left:auto;align-self:flex-start;padding:5px 9px;border-radius:7px;background:#fff0e5;color:#b8431e;border:1px solid #fdc4a8;font-weight:600;font-size:11px;overflow-wrap:anywhere;max-width:100%}
@media(max-width:640px){.support-summary-service{margin-left:auto}}

.support-page .col-form-label{color:#334155;font-weight:600}.support-page textarea.form-control{border-color:#b7c6d8}.support-page textarea.form-control:focus{border-color:#ea603c;box-shadow:0 0 0 3px #fff0e5}.support-page .support-summary-header .text-primary a{color:inherit}

.support-order-table-wrap{margin-top:16px}
.support-order-table td{min-width:110px}

.support-order-actions{min-width:100px}
.support-order-action-buttons{display:flex;gap:8px;align-items:center}
.support-order-action-feedback{margin:8px 0 0;max-width:240px;font-size:11px;white-space:normal}



.support-conversation{min-width:0}
.support-conversation-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.support-conversation-heading h2{margin:0;font-size:15px;font-weight:700;color:#334155}.support-conversation-heading>span,.support-conversation-empty{color:#64748b;font-size:12px}
.support-message-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.support-message{display:flex;gap:12px;align-items:flex-start;min-width:0}
.support-message-avatar{flex:none;border-radius:50%;object-fit:cover}
.support-message-bubble{flex:1;min-width:0;max-width:100%;padding:16px 18px;border:1px solid var(--support-message-border);border-radius:14px;background:var(--support-message-bg)}
.support-message-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px;line-height:1.6;font-size:12px}
.support-message-meta strong{color:#334155}.support-message-role{color:var(--support-message-accent);font-weight:600;font-size:11px}
.support-message-meta time{margin-left:auto;color:#64748b;font-size:11px;font-variant-numeric:tabular-nums}
.support-message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;font-size:13px;font-weight:400;color:#334155;tab-size:4}
.support-message-attachment{display:flex;flex-direction:column;gap:7px;align-items:flex-start;margin-top:12px;border:0;padding:0;background:transparent;cursor:zoom-in;max-width:100%;font:inherit;color:#475569;font-size:11px}
.support-message-attachment img{display:block;max-width:240px;max-height:180px;width:auto;height:auto;object-fit:contain;border:1px solid #e2e8f0;border-radius:10px;background:#fff}
.support-message-attachment:focus-visible{outline:2px solid #ea603c;outline-offset:4px}
.support-reply-hint{display:block;margin-top:8px;font-size:11px;color:#64748b}
.support-page textarea.support-reply-input{min-height:0;max-height:360px;overflow-y:auto;resize:vertical}
.support-actions button[aria-busy="true"]{cursor:wait}
.support-actions button[aria-busy="true"]::before{content:"";width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:support-reply-spin .7s linear infinite}
.support-image-viewer{width:fit-content;max-width:94vw;max-height:92vh;padding:40px 12px 12px;margin:auto;border:0;border-radius:12px;background:#fff;box-shadow:0 20px 70px #0004}
.support-image-viewer::backdrop{background:#0f172ab3}.support-image-viewer>img{display:block;max-width:88vw;max-height:80vh;object-fit:contain}
.support-image-viewer>[data-support-image-close]{position:absolute;right:8px;top:6px;padding:5px 10px;border:0;border-radius:6px;background:#f1f5f9;color:#334155;font-size:16px;cursor:pointer}
@keyframes support-reply-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.support-actions button[aria-busy="true"]::before{animation:none}}
@media(max-width:640px){.support-message{gap:8px}.support-message-avatar{width:28px;height:28px}.support-message-bubble{padding:12px;max-width:100%}.support-message-meta time{width:100%;margin-left:0}.support-message-attachment img{max-width:100%}}

/* Compact ticket list, with a native stretched link on phones. */
.support-ticket-list{list-style:none;margin:0;padding:0}
.support-ticket-list .support-ticket{position:relative;margin:0 0 10px}
.support-ticket-list .support-ticket:last-child{margin-bottom:0}
.support-ticket-main{flex:1;min-width:0}
.support-ticket-owner{margin-bottom:3px;font-size:11px;font-weight:600;color:#64748b;overflow-wrap:anywhere}
.support-ticket-link{display:block;font-size:14px;font-weight:600;line-height:1.65;color:#334155;text-decoration:none;overflow-wrap:anywhere}
.support-ticket-id{color:#64748b;font-size:11px;font-weight:500}
.support-ticket-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-top:8px}
.support-ticket-date{color:#64748b;font-size:11px;font-variant-numeric:tabular-nums}
.support-page .support-ticket-state{font-size:10px;line-height:1.4;padding:3px 7px;border-radius:6px}
.support-ticket-link:focus-visible{outline:2px solid #ff5f37;outline-offset:3px;border-radius:4px}
@media(max-width:640px){
.support-page .support-ticket-list-body{padding:12px}
.support-page .support-ticket-list .support-ticket{padding:12px;margin-bottom:8px}
.support-ticket-avatar,.support-ticket-detail{display:none!important}
.support-page .support-ticket-row{display:block}
.support-ticket-link{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px}
.support-ticket-link::after{content:"";position:absolute;inset:0;border-radius:12px}
.support-ticket:focus-within{outline:2px solid #ff5f37;outline-offset:2px}
.support-ticket-link:focus-visible{outline:none}
.support-ticket-date{margin-left:auto}
.support-page .support-filters .btn{flex:1 1 auto;white-space:normal;padding:8px 10px;font-size:11px}
}

.support-ticket-open-new{display:none}
@media(max-width:640px){.support-ticket-open-new{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#475569}.support-ticket-open-new:focus-visible{outline:2px solid #ff5f37;outline-offset:2px}}

.support-summary-content{flex:1;min-width:0;width:100%}

.support-ticket-heading{padding-bottom:14px;border-bottom:1px solid #e2e8f0;margin-bottom:16px}
.support-ticket-heading h1{margin:0 0 10px;font-size:18px;font-weight:700;line-height:1.5;color:#0f172a;overflow-wrap:anywhere}
.support-ticket-heading-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;font-size:12px;color:#64748b}
.support-ticket-heading-meta>a{font-weight:600;color:#334155;text-decoration:none}.support-ticket-heading-meta>a:hover{text-decoration:underline}
.support-ticket-heading-meta time{font-size:11px;font-variant-numeric:tabular-nums}
.support-ticket-content-label{margin-bottom:8px;font-size:11px;font-weight:600;color:#64748b}
@media(max-width:640px){.support-ticket-heading h1{font-size:16px}.support-ticket-heading-meta{gap:8px 12px}.support-ticket-heading-meta .support-summary-service{margin-left:0}}

/* Single order summary: no horizontally scrolling table in a ticket. */
.support-order-summary{margin-top:18px;padding:16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;min-width:0}
.support-order-summary-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:14px;border-bottom:1px solid #edf2f7}
.support-order-summary-header h2{margin:0;font-size:13px;font-weight:600;color:#64748b}.support-order-summary-header h2 span{font-size:15px;color:#0f172a;font-weight:700}
.support-order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 20px;margin:10px 0 0}
.support-order-field{min-width:0}.support-order-field-wide{grid-column:span 2}.support-order-field-full{grid-column:1/-1}
.support-order-field dt{margin-bottom:3px;font-size:11px;font-weight:500;color:#64748b}.support-order-field dd{margin:0;font-size:13px;line-height:1.7;overflow-wrap:anywhere;color:#334155}
.support-order-field small{display:block;font-size:11px;color:#64748b;margin-top:3px}
.support-order-field .order-payment{color:#0f766e;font-weight:700;font-variant-numeric:tabular-nums}
.support-order-uid{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#c2410c;font-weight:600}
.support-order-note-text{white-space:pre-wrap}
.support-order-summary-footer{display:flex;flex-direction:column;align-items:flex-end;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid #edf2f7}
.support-order-summary-footer .support-order-action-buttons{width:128px;max-width:100%}.support-order-summary-footer .support-order-action-feedback{max-width:100%;margin:0}

.support-order-note-input{width:100%;max-width:100%;min-width:0;text-overflow:ellipsis}
/* Mobile: consistent label/value rows instead of mixed grids. */
@media(max-width:640px){
.support-order-summary{padding:12px}
.support-order-summary-header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding-bottom:10px}
.support-order-summary-header .order-status{justify-self:end;min-width:0;max-width:100%;font-size:10px;padding:4px 6px}
.support-order-grid{grid-template-columns:minmax(0,1fr);gap:0;margin:4px 0 0}
.support-order-grid>.support-order-field{grid-column:1/-1;display:grid;grid-template-columns:88px minmax(0,1fr);align-items:start;gap:10px;padding:5px 0;border-bottom:1px solid #f1f5f9}
.support-order-grid>.support-order-field:last-child{border-bottom:0}
.support-order-field dt{margin:0;font-size:11px;line-height:1.7}
.support-order-field dd{min-width:0;font-size:12px;line-height:1.7}
.support-order-field small{margin-top:2px}
.support-order-field-uid{order:1}.support-order-field-service{order:2}.support-order-field-channel{order:3}.support-order-field-start{order:4}.support-order-field-progress{order:5}.support-order-field-payment{order:6}.support-order-field-note{order:7}.support-order-field-created{order:8}
.support-order-summary-footer{margin-top:4px;padding-top:10px}
.support-order-summary-footer .support-order-action-buttons{width:112px}
}

/* Desktop: two aligned label/value pairs per row; long notes use a full row. */
@media(min-width:641px){
.support-order-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:6px 0 0}
.support-order-grid>.support-order-field{grid-column:auto;display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:start;padding:6px 0;border-bottom:1px solid #f1f5f9}
.support-order-grid>.support-order-field-note{grid-column:1}.support-order-grid>.support-order-field-created{grid-column:2}
.support-order-grid>.support-order-field:last-child{border-bottom:0}
.support-order-field dt{margin:0;line-height:1.7}
.support-order-field dd{min-width:0}
.support-order-field-uid{order:1}.support-order-field-service{order:2}.support-order-field-channel{order:3}.support-order-field-start{order:4}.support-order-field-progress{order:5}.support-order-field-payment{order:6}.support-order-field-note{order:7}.support-order-field-created{order:8}
}

.support-order-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;flex-wrap:wrap}
.support-order-header-actions>[data-support-order-action="del"]{flex:0 0 auto;padding:5px 10px;min-height:30px;font-size:11px;white-space:nowrap}
@media(max-width:640px){.support-order-summary-header .support-order-header-actions{justify-self:end}.support-order-header-actions .order-status{max-width:100%}}

.support-order-header-actions .order-status,.support-order-header-actions>[data-support-order-action="del"]{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:4px 9px;font-size:11px;line-height:20px}
.support-order-header-actions>[data-support-order-action="del"] svg{width:14px;height:14px;flex:none}
@media(max-width:640px){.support-order-summary-header .support-order-header-actions .order-status{min-height:30px;padding:4px 9px;font-size:11px;line-height:20px}}

.support-page .support-attachment-link{display:inline-flex;align-items:center;gap:7px;margin-top:10px;padding:6px 10px;min-height:32px;font-size:11px}.support-attachment-link svg{flex:none}
