/* KB-3 scoped support ticket styles. Does not change product/cart/checkout/global storefront styles. */
.storefront .support-page{background:#f6f9ff;padding:42px 18px 70px;}
.storefront .support-shell{max-width:1160px;margin:0 auto;}
.storefront .support-show-shell{max-width:1180px;}
.storefront .support-hero,.storefront .support-ticket-header{background:#fff;border:1px solid #e6edf7;border-radius:28px;padding:30px;box-shadow:0 18px 45px rgba(16,24,40,.08);margin-bottom:22px;}
.storefront .support-ticket-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;}
.storefront .support-eyebrow{display:inline-flex;font-weight:900;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#1769ff;margin-bottom:8px;}
.storefront .support-hero h1,.storefront .support-ticket-header h1{margin:0;color:#101828;font-weight:900;line-height:1.05;}
.storefront .support-hero p,.storefront .support-ticket-header p{margin:10px 0 0;color:#667085;max-width:760px;}
.storefront .support-hero-actions,.storefront .support-side-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px;}
.storefront .support-hero-actions a,.storefront .support-side-actions a,.storefront .support-empty-state a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 15px;background:#eef5ff;color:#1769ff;font-weight:900;text-decoration:none;}
.storefront .support-form-grid,.storefront .support-show-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start;}
.storefront .support-card{background:#fff;border:1px solid #e6edf7;border-radius:24px;padding:24px;box-shadow:0 14px 36px rgba(16,24,40,.06);}
.storefront .support-card-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:16px;}
.storefront .support-card-head h2,.storefront .support-side-card h2{margin:0;color:#101828;font-size:22px;font-weight:900;}
.storefront .support-card-head p{margin:4px 0 0;color:#667085;}
.storefront .support-ticket-form{display:grid;gap:16px;}
.storefront .support-ticket-form label,.storefront .support-reply-form label{display:grid;gap:7px;color:#344054;font-weight:900;}
.storefront .support-ticket-form input,.storefront .support-ticket-form select,.storefront .support-ticket-form textarea,.storefront .support-reply-form textarea{width:100%;border:1px solid #d7e1ef;border-radius:16px;padding:13px 14px;background:#fff;color:#101828;font:inherit;outline:none;}
.storefront .support-ticket-form input:focus,.storefront .support-ticket-form select:focus,.storefront .support-ticket-form textarea:focus,.storefront .support-reply-form textarea:focus{border-color:#8ed8ff;box-shadow:0 0 0 4px rgba(14,165,233,.14);}
.storefront .support-customer-note,.storefront .support-muted-box{border:1px solid #dbeafe;background:#f8fbff;border-radius:18px;padding:14px;color:#344054;}
.storefront .support-customer-note strong,.storefront .support-customer-note span{display:block;}
.storefront .support-form-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:6px;}
.storefront .support-primary-btn{border:0;border-radius:999px;background:#1769ff;color:#fff;font-weight:900;padding:13px 20px;box-shadow:0 12px 26px rgba(23,105,255,.22);}
.storefront .support-form-actions a{color:#1769ff;font-weight:900;}
.storefront .support-side-card ul{margin:12px 0 20px;padding-left:20px;color:#475467;}
.storefront .support-side-card li{margin:8px 0;}
.storefront .support-account-page .support-card{margin-top:22px;}
.storefront .support-ticket-list{display:grid;gap:12px;}
.storefront .support-ticket-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px;border:1px solid #e6edf7;border-radius:18px;text-decoration:none;color:#101828;background:#fbfdff;}
.storefront .support-ticket-row:hover{border-color:#b8ddff;background:#f8fbff;}
.storefront .support-ticket-row strong,.storefront .support-ticket-row small,.storefront .support-ticket-number{display:block;}
.storefront .support-ticket-number{font-size:12px;color:#1769ff;font-weight:900;letter-spacing:.04em;}
.storefront .support-ticket-row small{color:#667085;margin-top:2px;}
.storefront .support-ticket-row-meta{text-align:right;display:grid;gap:6px;justify-items:end;}
.storefront .support-status-pill,.storefront .support-priority-pill{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#eef2ff;color:#344054;}
.storefront .support-status-pill.status-waiting_admin{background:#fff4e5;color:#9a5b00;}
.storefront .support-status-pill.status-waiting_customer{background:#eaf4ff;color:#1769ff;}
.storefront .support-status-pill.status-open{background:#eef2ff;color:#3730a3;}
.storefront .support-status-pill.status-resolved{background:#eafaf1;color:#087443;}
.storefront .support-status-pill.status-closed{background:#f2f4f7;color:#475467;}
.storefront .support-priority-pill.priority-high{background:#fff4e5;color:#9a5b00;}
.storefront .support-priority-pill.priority-urgent{background:#fee4e2;color:#b42318;}
.storefront .support-ticket-status-stack{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;}
.storefront .support-message-thread{display:grid;gap:14px;margin-bottom:18px;}
.storefront .support-message{border:1px solid #e6edf7;border-radius:18px;padding:16px;background:#fbfdff;}
.storefront .support-message-admin{background:#f8fbff;border-color:#dbeafe;}
.storefront .support-message-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px;}
.storefront .support-message-head strong{color:#101828;}
.storefront .support-message-head span{color:#667085;font-size:13px;}
.storefront .support-message-body{color:#344054;line-height:1.6;}
.storefront .support-reply-form{border-top:1px solid #eef2f7;padding-top:18px;display:grid;gap:12px;}
.storefront .support-detail-list{display:grid;gap:10px;margin:14px 0 20px;}
.storefront .support-detail-list div{display:flex;justify-content:space-between;gap:14px;border-bottom:1px solid #eef2f7;padding-bottom:9px;}
.storefront .support-detail-list dt{font-weight:900;color:#667085;}
.storefront .support-detail-list dd{margin:0;color:#101828;text-align:right;overflow-wrap:anywhere;}
.storefront .support-empty-state{text-align:center;padding:32px 16px;border:1px dashed #d7e1ef;border-radius:20px;background:#fbfdff;}
.storefront .support-empty-state h3{margin:0 0 6px;color:#101828;}
.storefront .support-empty-state p{color:#667085;}
.storefront .support-pagination{margin-top:16px;}
@media(max-width:850px){.storefront .support-form-grid,.storefront .support-show-grid{grid-template-columns:1fr}.storefront .support-ticket-header{display:block}.storefront .support-ticket-status-stack{justify-content:flex-start;margin-top:16px}.storefront .support-ticket-row{display:block}.storefront .support-ticket-row-meta{text-align:left;justify-items:start;margin-top:12px}}

/* KB-3.1 scoped ticket polish: recent badge and customer account support list alignment. */
.storefront .support-message.is-recent{border-color:#b8ddff;background:#f8fbff;}
.storefront .support-recent-badge{display:inline-flex;align-items:center;border-radius:999px;background:#eaf4ff;color:#1769ff;font-size:12px;font-weight:900;padding:4px 9px;margin:0 0 10px;}
.storefront .support-account-page .support-ticket-list-panel{display:block;}
.storefront .support-account-ticket-list{margin-top:0;}
.storefront .support-account-page .support-pagination{margin-top:16px;}
@media(max-width:850px){.storefront .support-account-page .ps-account-header{display:grid;gap:14px}.storefront .support-account-page .ps-account-header .ps-btn{justify-self:start}}
