/*
 * ORONUS Customer Care
 * SupportCandy remains the ticket engine. This file only adapts its customer-facing
 * surface inside the branded account; wp-admin and standalone SupportCandy stay intact.
 */
.oronus-care{--care-accent:var(--oa-accent,#00b0ff);--care-accent-2:var(--oa-accent-2,#0089c7);--care-ink:#101828;--care-muted:#667085;--care-line:#e4eaf1;--care-soft:#f6f9fc;--care-soft-blue:#f0f9ff;display:grid;gap:16px;min-width:0;color:var(--care-ink)}
.oronus-care *{box-sizing:border-box}
.oronus-care-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:2px 2px 0}
.oronus-care-head h1{margin:4px 0 7px;font-size:clamp(24px,3vw,31px);line-height:1.35;letter-spacing:-.025em;color:var(--care-ink)}
.oronus-care-head p{max-width:760px;margin:0;color:var(--care-muted);font-size:14px;line-height:1.95}
.oronus-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--care-accent-2);font-size:12px;font-weight:850}
.oronus-eyebrow:before{content:"";width:7px;height:7px;border-radius:999px;background:var(--care-accent);box-shadow:0 0 0 5px rgba(0,176,255,.1)}

.oronus-care-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;border:1px solid #e6edf4;border-radius:15px;background:#f3f7fb}
.oronus-care-tabs a{display:flex;align-items:center;justify-content:center;min-height:46px;padding:10px 14px;border-radius:11px;color:#475467;text-decoration:none;font-size:14px;font-weight:850;transition:background-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease}
.oronus-care-tabs a:hover{color:var(--care-accent-2);background:rgba(255,255,255,.72)}
.oronus-care-tabs a.is-active{background:#fff;color:var(--care-accent-2);box-shadow:0 3px 14px rgba(16,24,40,.075)}
.oronus-care-tabs a:focus-visible{outline:3px solid rgba(0,176,255,.24);outline-offset:2px}

.oronus-care-card{min-width:0;background:#fff;border:1px solid var(--care-line);border-radius:20px;padding:20px;box-shadow:0 12px 34px rgba(16,24,40,.045)}
.oronus-care-card h2,.oronus-care-card h3{margin-top:0;color:var(--care-ink)}
.oronus-care-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.oronus-care-card-head h2{margin:2px 0 0;font-size:1.2rem}
.oronus-care-kicker{display:block;color:var(--care-accent-2);font-size:.76rem;font-weight:850;margin-bottom:3px}
.oronus-care-note{padding:13px 15px;border-radius:13px;background:var(--care-soft-blue);border:1px solid #d7ebf7;color:#344054;line-height:1.9;margin:0 0 16px;font-size:13px}
.oronus-care-note.is-success{background:#f0fbf6;border-color:#bfe8d0;color:#12633b}
.oronus-care-note.is-error{background:#fff5f5;border-color:#ffd1d1;color:#8a1f1f}
.oronus-care-empty{margin:0;padding:18px;text-align:center;border:1px dashed #d9e2ec;border-radius:14px;color:var(--care-muted);background:#fafcfe}

/* Return workflow */
.oronus-care-form{display:grid;gap:14px}
.oronus-care-field{display:grid;gap:7px}
.oronus-care-field label{font-weight:850;color:#1d2939}
.oronus-care-field select,.oronus-care-field textarea{width:100%;min-width:0;min-height:48px;border:1px solid #cfd8e3;border-radius:12px;background:#fff;padding:11px 12px;font:inherit;font-size:16px;color:var(--care-ink);outline:none;transition:border-color .15s ease,box-shadow .15s ease}
.oronus-care-field select:focus,.oronus-care-field textarea:focus{border-color:var(--care-accent);box-shadow:0 0 0 3px rgba(0,176,255,.13)}
.oronus-care-field textarea{min-height:122px;resize:vertical;line-height:1.8}
.oronus-care-submit{border:0;border-radius:12px;min-height:48px;padding:11px 18px;background:var(--care-accent);color:#fff;font:inherit;font-weight:850;cursor:pointer;box-shadow:0 8px 18px rgba(0,176,255,.18)}
.oronus-care-submit:hover{filter:brightness(.97)}
.oronus-care-submit:focus-visible{outline:3px solid rgba(0,176,255,.24);outline-offset:2px}
.oronus-return-list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.oronus-return-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;padding:14px;border:1px solid #edf1f5;border-radius:14px;background:#fbfcfd}
.oronus-return-row strong{display:block;margin-bottom:4px;color:var(--care-ink)}
.oronus-return-row small{color:var(--care-muted);line-height:1.7}
.oronus-return-status{white-space:nowrap;border-radius:999px;padding:6px 10px;background:#eef6ff;color:#175cd3;font-size:12px;font-weight:850}
.oronus-return-empty-state{display:grid;gap:10px;padding:17px;border:1px dashed #cdd8e5;border-radius:15px;background:#fafcfe}
.oronus-return-empty-state strong{font-size:15px;color:var(--care-ink)}
.oronus-return-empty-state p{margin:0;color:var(--care-muted);font-size:13px;line-height:1.9}
.oronus-care-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:2px}
.oronus-care-actions a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.woocommerce-order-details .woocommerce-button.oronus-return{font-weight:850}

/* SupportCandy engine, customer-facing shell */
.oronus-care-ticket-shell{min-width:0;overflow:hidden;padding:22px}
.oronus-care-ticket-shell>h2{margin:0 0 6px;font-size:21px;line-height:1.45}
.oronus-care-ticket-shell>.oronus-care-note{margin-bottom:17px}
.oronus-care-ticket-shell #wpsc-container,.oronus-care-ticket-shell .wpsc-shortcode-container,.oronus-care-ticket-shell .wpsc-container,.oronus-care-ticket-shell .wpsc-body{width:100%!important;max-width:100%!important;min-width:0!important}
.oronus-care-ticket-shell .wpsc-shortcode-container{border:0!important;border-radius:0!important;background:transparent!important;padding:0!important;box-shadow:none!important;color:var(--care-ink)!important}
.oronus-care-ticket-shell #wpsc-container{font-family:inherit!important;direction:rtl!important}
.oronus-care-ticket-shell .wpsc-body{overflow-wrap:anywhere;padding:0!important}
.oronus-care-ticket-shell .wpsc-body>*{min-width:0}

/* Two customer tasks only. SupportCandy dashboard/profile/logout stay out of this surface. */
.oronus-care-ticket-shell .wpsc-header.wpsc-hidden-xs{display:flex!important;align-items:center!important;gap:6px!important;padding:5px!important;margin:0 0 18px!important;border:1px solid #e5ebf2!important;border-radius:14px!important;background:#f3f6fa!important;min-width:0!important}
.oronus-care-ticket-shell .wpsc-header.wpsc-visible-xs{display:none!important}
.oronus-care-ticket-shell .wpsc-menu-list{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;flex:1 1 0!important;min-width:0!important;min-height:46px!important;margin:0!important;padding:9px 10px!important;border:0!important;border-radius:10px!important;color:#667085!important;background:transparent!important;font:inherit!important;font-weight:850!important;cursor:pointer!important;transition:background-color .15s ease,color .15s ease,box-shadow .15s ease!important}
.oronus-care-ticket-shell .wpsc-menu-list.ticket-list.active,.oronus-care-ticket-shell .wpsc-menu-list.new-ticket.active{background:#fff!important;color:var(--care-accent-2)!important;box-shadow:0 3px 11px rgba(16,24,40,.075)!important}
.oronus-care-ticket-shell .wpsc-menu-list.ticket-list:hover,.oronus-care-ticket-shell .wpsc-menu-list.new-ticket:hover{color:var(--care-accent-2)!important}
.oronus-care-ticket-shell .wpsc-menu-list.dashboard,.oronus-care-ticket-shell .wpsc-menu-list.my-profile,.oronus-care-ticket-shell .wpsc-menu-list.agent-profile,.oronus-care-ticket-shell .wpsc-menu-list.log-out{display:none!important}
.oronus-care-ticket-shell .wpsc-header svg,.oronus-care-ticket-shell .wpsc-menu-list svg{width:18px!important;height:18px!important;min-width:18px!important;max-width:18px!important;min-height:18px!important;max-height:18px!important;fill:currentColor!important}
.oronus-care-ticket-shell .wpsc-menu-list label{margin:0!important;font:inherit!important;font-size:.88rem!important;font-weight:850!important;white-space:nowrap!important;cursor:pointer!important}
.oronus-care-ticket-shell .wpsc-humbargar-overlay,.oronus-care-ticket-shell .wpsc-humbargar-menu,body.oronus-account-focus-page>.wpsc-humbargar-overlay,body.oronus-account-focus-page>.wpsc-humbargar-menu{display:none!important}

/* New ticket: customer form, not an admin form. */
.oronus-care-ticket-shell form.wpsc-create-ticket{display:grid!important;gap:16px!important;max-width:860px!important;margin:0 auto!important}
.oronus-care-ticket-shell form.wpsc-create-ticket>.wpsc-tff{float:none!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}
.oronus-care-ticket-shell .wpsc-tff-label{margin:0 0 6px!important;line-height:1.5!important}
.oronus-care-ticket-shell .wpsc-tff-label .name{color:#1d2939!important;font-size:14px!important;font-weight:850!important}
.oronus-care-ticket-shell .required-indicator{color:#d92d20!important;margin-inline-start:3px!important}
.oronus-care-ticket-shell .extra-info{display:block!important;margin:-2px 0 7px!important;color:#7a8597!important;font-size:11.5px!important;line-height:1.7!important}
.oronus-care-ticket-shell .wpsc-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.oronus-care-ticket-shell .wpsc-body select,.oronus-care-ticket-shell .wpsc-body textarea{width:100%!important;max-width:100%!important;min-width:0!important;border:1px solid #cfd8e3!important;border-radius:12px!important;background:#fff!important;color:var(--care-ink)!important;box-shadow:none!important;font-family:inherit!important;font-size:16px!important;outline:0!important}
.oronus-care-ticket-shell .wpsc-body input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),.oronus-care-ticket-shell .wpsc-body select{min-height:48px!important;padding:10px 12px!important}
.oronus-care-ticket-shell .wpsc-body textarea{min-height:150px!important;padding:12px 13px!important;line-height:1.85!important;resize:vertical!important}
.oronus-care-ticket-shell .wpsc-body input:focus,.oronus-care-ticket-shell .wpsc-body select:focus,.oronus-care-ticket-shell .wpsc-body textarea:focus{border-color:var(--care-accent)!important;box-shadow:0 0 0 3px rgba(0,176,255,.12)!important}
.oronus-care-ticket-shell .wpsc-it-editor-action-container{margin-top:8px!important;padding:0!important;border:0!important;background:transparent!important}
.oronus-care-ticket-shell .wpsc-it-editor-action-container>.actions{display:block!important}
.oronus-care-ticket-shell .wpsc-editor-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.oronus-care-ticket-shell .wpsc-ct-attach{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:44px!important;padding:9px 13px!important;border:1px dashed #9fcde3!important;border-radius:11px!important;background:#f6fbfe!important;color:#087eb7!important;font-size:13px!important;font-weight:850!important;text-decoration:none!important;cursor:pointer!important;user-select:none!important}
.oronus-care-ticket-shell .wpsc-ct-attach:before{content:"＋";display:grid;place-items:center;width:20px;height:20px;border-radius:6px;background:#e2f5fd;color:#087eb7;font-size:16px;font-weight:900}
.oronus-care-ticket-shell .wpsc-ct-attach:hover{background:#eefaff!important;border-color:#66bde3!important}
.oronus-care-ticket-shell .oronus-upload-caption{color:#6f7d90;font-size:11px;font-weight:650}
.oronus-care-ticket-shell .wpsc-file-attachment-notice{margin:8px 0 0!important;color:#7a8597!important;font-size:11.5px!important;line-height:1.75!important}
.oronus-care-ticket-shell #wpsc-ct-reset{display:none!important}
.oronus-care-ticket-shell .wpsc-ct-actions{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:10px!important;margin-top:2px!important;padding:0!important}
.oronus-care-ticket-shell #wpsc-ct-submit{min-width:170px!important;min-height:48px!important;padding:10px 22px!important;border:0!important;border-radius:12px!important;background:var(--care-accent)!important;color:#fff!important;font-family:inherit!important;font-size:14px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(0,176,255,.18)!important;cursor:pointer!important}
.oronus-care-ticket-shell #wpsc-ct-submit:hover{filter:brightness(.97)}
.oronus-care-ticket-shell #wpsc-ct-submit:focus-visible,.oronus-care-ticket-shell .wpsc-ct-attach:focus-visible,.oronus-category-choice:focus-visible,.oronus-ticket-filter-toggle:focus-visible,.oronus-ticket-empty-cta:focus-visible,.oronus-attachment-preview:focus-visible,.oronus-care-ticket-shell .attachment-remove:focus-visible{outline:3px solid rgba(0,176,255,.24)!important;outline-offset:2px!important}

/* Category: stable operational taxonomy rendered as fast choices. Native select remains in DOM for SupportCandy validation. */
.oronus-category-field{padding:14px!important;border:1px solid #e5ebf2!important;border-radius:15px!important;background:#fbfcfe!important}
.oronus-category-field .oronus-native-category-select{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.oronus-category-field .oronus-native-category-select2{display:none!important}
.oronus-category-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.oronus-category-choice{display:flex;align-items:center;justify-content:flex-start;gap:9px;min-width:0;min-height:46px;padding:9px 11px;border:1px solid #dce4ec;border-radius:11px;background:#fff;color:#344054;font:inherit;font-size:12.5px;font-weight:800;text-align:right;cursor:pointer;transition:border-color .14s ease,background-color .14s ease,color .14s ease,box-shadow .14s ease}
.oronus-category-choice:hover{border-color:#a9d8ea;background:#f8fdff;color:#087eb7}
.oronus-category-choice.is-selected{border-color:#63bfe6;background:#eefaff;color:#066f9f;box-shadow:0 0 0 2px rgba(0,176,255,.08)}
.oronus-category-dot{flex:0 0 13px;width:13px;height:13px;border:2px solid #aeb9c7;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 3px #fff}
.oronus-category-choice.is-selected .oronus-category-dot{border-color:var(--care-accent);background:var(--care-accent)}

/* Attachment chips: preview and removal are explicit; underlying upload remains SupportCandy. */
.oronus-care-ticket-shell .wpsc-editor-attachment-container{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin-top:8px!important}
.oronus-care-ticket-shell .wpsc-editor-attachment.oronus-attachment-chip{position:relative!important;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-areas:"thumb label remove" "thumb meta actions"!important;align-items:center!important;column-gap:9px!important;row-gap:2px!important;min-width:0!important;min-height:58px!important;margin:0!important;padding:8px 9px!important;border:1px solid #dfe7ef!important;border-radius:12px!important;background:#fff!important;color:#344054!important;box-shadow:0 3px 10px rgba(16,24,40,.025)!important}
.oronus-care-ticket-shell .wpsc-editor-attachment.upload-waiting{border-style:dashed!important;background:#fbfdff!important}
.oronus-care-ticket-shell .wpsc-editor-attachment.upload-error{border-color:#f2b8b5!important;background:#fff7f7!important}
.oronus-care-ticket-shell .attachment-label{grid-area:label!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12.5px!important;font-weight:800!important;color:#344054!important}
.oronus-attachment-thumb{grid-area:thumb;width:42px!important;height:42px!important;min-width:42px!important;border-radius:9px!important;object-fit:cover!important;border:1px solid #e5ebf2!important;background:#f2f4f7!important}
.oronus-attachment-meta{grid-area:meta;display:flex;align-items:center;gap:6px;color:#8a94a4;font-size:10.5px;line-height:1.4}
.oronus-attachment-actions{grid-area:actions;display:flex;align-items:center;justify-content:flex-end;gap:5px;min-width:0}
.oronus-attachment-preview{display:inline-flex;align-items:center;min-height:28px;padding:4px 7px;border-radius:7px;background:#eef9fe;color:#087eb7!important;text-decoration:none!important;font-size:10.5px;font-weight:850}
.oronus-care-ticket-shell .attachment-remove{grid-area:remove;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-width:48px!important;min-height:28px!important;padding:3px 7px!important;border:0!important;border-radius:7px!important;background:#fff1f0!important;color:#b42318!important;cursor:pointer!important;font-size:10.5px!important;font-weight:850!important;line-height:1!important}
.oronus-care-ticket-shell .attachment-remove svg{width:12px!important;height:12px!important;min-width:12px!important;max-width:12px!important;min-height:12px!important;max-height:12px!important;fill:currentColor!important}
.oronus-care-ticket-shell .attachment-waiting{grid-area:actions!important;width:20px!important;height:20px!important;justify-self:end!important}

/* Ticket list: progressive disclosure rather than agent-console density. */
.oronus-care-ticket-shell .wpsc-filter{display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;gap:10px!important;align-items:end!important;margin:0 0 14px!important;padding:0!important}
.oronus-care-ticket-shell .wpsc-search{width:100%!important;margin:0!important;padding:0!important}
.oronus-care-ticket-shell .wpsc-search .search-field{position:relative!important;width:100%!important}
.oronus-care-ticket-shell .wpsc-search svg{position:absolute!important;inset-inline-start:13px!important;top:50%!important;transform:translateY(-50%)!important;width:17px!important;height:17px!important;color:#98a2b3!important;z-index:2!important}
.oronus-care-ticket-shell .wpsc-search-input{min-height:44px!important;padding-inline-start:39px!important;border-radius:11px!important;background:#fff!important}
.oronus-ticket-filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 13px;border:1px solid #d7e0e9;border-radius:11px;background:#fff;color:#475467;font:inherit;font-size:12px;font-weight:850;cursor:pointer;white-space:nowrap}
.oronus-ticket-filter-toggle:hover{border-color:#a9d8ea;color:#087eb7;background:#f8fdff}
.oronus-filter-chevron{width:8px;height:8px;border-inline-end:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s ease}
.oronus-ticket-filter-toggle[aria-expanded="true"] .oronus-filter-chevron{transform:rotate(225deg) translate(-2px,-2px)}
.oronus-care-ticket-shell .wpsc-filter-container[hidden]{display:none!important}
.oronus-care-ticket-shell .wpsc-filter-container{grid-column:1/-1!important;display:flex!important;align-items:flex-end!important;gap:9px!important;flex-wrap:wrap!important;padding:12px!important;border:1px solid #e6ecf2!important;border-radius:12px!important;background:#f8fafc!important}
.oronus-care-ticket-shell .wpsc-filter-item{display:grid!important;gap:4px!important;min-width:150px!important;margin:0!important}
.oronus-care-ticket-shell .wpsc-filter-item label{font-size:10.5px!important;font-weight:800!important;color:#667085!important}
.oronus-care-ticket-shell .wpsc-filter-item select{min-height:40px!important;font-size:12px!important;padding:7px 9px!important;border-radius:9px!important}
.oronus-care-ticket-shell .wpsc-filter-submit{display:flex!important;align-items:center!important;gap:7px!important;margin:0!important}
.oronus-care-ticket-shell .wpsc-filter-submit .wpsc-button{min-height:40px!important;border-radius:9px!important;padding:7px 12px!important;font-size:11.5px!important}
.oronus-care-ticket-shell .wpsc-filter-actions{font-size:11px!important}
.oronus-care-ticket-shell #wpsc-more-actions-btn,.oronus-care-ticket-shell #wpsc-more-actions{display:none!important}
.oronus-care-ticket-shell .wpsc-bulk-actions{min-height:0!important;margin:0 0 7px!important}

.oronus-care-ticket-shell .wpsc-tickets-container{width:100%!important;border:1px solid #e5ebf2!important;border-radius:14px!important;background:#fff!important;overflow:hidden!important;box-shadow:0 4px 14px rgba(16,24,40,.025)!important}
.oronus-care-ticket-shell .wpsc-tickets-container>div[style*="overflow-x"]{overflow-x:auto!important}
.oronus-care-ticket-shell .wpsc-ticket-list-tbl{width:100%!important;min-width:680px!important;margin:0!important;border-collapse:collapse!important;border:0!important;font-family:inherit!important}
.oronus-care-ticket-shell .wpsc-ticket-list-tbl th{padding:11px 10px!important;border:0!important;border-bottom:1px solid #e7edf3!important;background:#f8fafc!important;color:#667085!important;font-size:10.5px!important;font-weight:850!important;text-align:right!important;white-space:nowrap!important}
.oronus-care-ticket-shell .wpsc-ticket-list-tbl td{padding:13px 10px!important;border:0!important;border-bottom:1px solid #eef2f6!important;background:#fff!important;color:#344054!important;font-size:12px!important;line-height:1.65!important;text-align:right!important;vertical-align:middle!important}
.oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody tr:last-child td{border-bottom:0!important}
.oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody tr.wpsc_tl_tr{transition:background-color .12s ease!important;cursor:pointer!important}
.oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody tr.wpsc_tl_tr:hover td{background:#f7fcff!important}
.oronus-care-ticket-shell .wpsc-tl-th-inner{display:flex!important;align-items:center!important;gap:4px!important}
.oronus-care-ticket-shell .wpsc-tl-sort-icon svg{width:11px!important;height:11px!important}
.oronus-care-ticket-shell .wpsc-pagination-container{padding:10px 12px!important;color:#667085!important;font-size:11px!important}

.oronus-ticket-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:190px;padding:26px 18px;text-align:center;background:linear-gradient(180deg,#fff,#fbfdff)}
.oronus-ticket-empty:before{content:"";width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#dff5ff,#f3fbff);border:1px solid #d6edf8;box-shadow:inset 0 0 0 10px #f7fcff}
.oronus-ticket-empty strong{font-size:15px;color:#1d2939}
.oronus-ticket-empty span{max-width:420px;color:#7a8597;font-size:12px;line-height:1.8}
.oronus-ticket-empty-cta{min-height:40px;margin-top:4px;padding:8px 14px;border:0;border-radius:10px;background:var(--care-accent);color:#fff;font:inherit;font-size:12px;font-weight:900;cursor:pointer}

@media(max-width:900px){
  .oronus-care-card{border-radius:17px}
  .oronus-care-ticket-shell{padding:17px}
  .oronus-care-ticket-shell .wpsc-editor-attachment-container{grid-template-columns:1fr!important}
}

@media(max-width:760px){
  .oronus-care-actions{display:grid;grid-template-columns:1fr}
  .oronus-care-actions a{width:100%}
  .oronus-care{gap:13px}
  .oronus-care-head{padding-inline:2px}
  .oronus-care-head h1{font-size:24px}
  .oronus-care-head p{font-size:13px;line-height:1.85}
  .oronus-care-card{padding:14px;border-radius:15px;box-shadow:none}
  .oronus-care-ticket-shell{padding:14px;overflow-x:clip}
  .oronus-care-ticket-shell>h2{font-size:19px}
  .oronus-care-tabs{gap:4px;padding:4px;border-radius:13px}
  .oronus-care-tabs a{min-height:44px;padding:8px 9px;font-size:12.5px}
  .oronus-return-row{grid-template-columns:1fr}
  .oronus-return-status{justify-self:start}

  .oronus-care-ticket-shell .wpsc-header.wpsc-hidden-xs{display:grid!important;grid-template-columns:1fr 1fr!important;margin-bottom:14px!important;padding:4px!important}
  .oronus-care-ticket-shell .wpsc-menu-list{width:100%!important;min-height:44px!important;font-size:12.5px!important;padding-inline:7px!important}
  .oronus-care-ticket-shell .wpsc-menu-list label{font-size:12.5px!important}
  .oronus-care-ticket-shell form.wpsc-create-ticket{gap:14px!important}
  .oronus-category-choices{grid-template-columns:1fr!important;gap:7px}
  .oronus-category-choice{min-height:44px;font-size:12.5px}
  .oronus-care-ticket-shell .wpsc-ct-actions{display:block!important}
  .oronus-care-ticket-shell #wpsc-ct-submit{width:100%!important;min-width:0!important;min-height:50px!important}
  .oronus-care-ticket-shell .wpsc-ct-attach{width:100%!important;justify-content:center!important}
  .oronus-care-ticket-shell .oronus-upload-caption{display:inline!important}

  .oronus-care-ticket-shell .wpsc-filter{grid-template-columns:1fr auto!important;gap:8px!important}
  .oronus-ticket-filter-toggle{padding-inline:10px;font-size:11.5px}
  .oronus-care-ticket-shell .wpsc-filter-container{display:grid!important;grid-template-columns:1fr 1fr!important;align-items:end!important}
  .oronus-care-ticket-shell .wpsc-filter-container[hidden]{display:none!important}
  .oronus-care-ticket-shell .wpsc-filter-item{min-width:0!important}
  .oronus-care-ticket-shell .wpsc-filter-submit{grid-column:1/-1!important;justify-content:space-between!important}

  /* A customer should scan ticket cards, not horizontally pan an agent table. */
  .oronus-care-ticket-shell .wpsc-tickets-container{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
  .oronus-care-ticket-shell .wpsc-tickets-container>div[style*="overflow-x"]{overflow:visible!important}
  .oronus-care-ticket-shell .wpsc-ticket-list-tbl{display:block!important;min-width:0!important;width:100%!important;background:transparent!important}
  .oronus-care-ticket-shell .wpsc-ticket-list-tbl thead{display:none!important}
  .oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody{display:grid!important;gap:9px!important;width:100%!important}
  .oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody tr{display:grid!important;width:100%!important;padding:10px 11px!important;border:1px solid #e4eaf1!important;border-radius:13px!important;background:#fff!important;box-shadow:0 3px 10px rgba(16,24,40,.025)!important}
  .oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody td{display:grid!important;grid-template-columns:minmax(88px,34%) minmax(0,1fr)!important;gap:8px!important;align-items:center!important;width:100%!important;min-width:0!important;padding:6px 0!important;border:0!important;border-bottom:1px dashed #edf1f5!important;background:transparent!important;font-size:12px!important;text-align:right!important}
  .oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody td:last-child{border-bottom:0!important}
  .oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody td[data-label]:before{content:attr(data-label);color:#8a94a4;font-size:10.5px;font-weight:750}
  .oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody td[colspan]{display:block!important;padding:0!important;border:0!important}
  .oronus-ticket-empty{min-height:210px;border:1px dashed #dce6ee;border-radius:14px}
}

@media(max-width:480px){
  .oronus-care-head h1{font-size:22px}
  .oronus-care-tabs a{font-size:12px;padding-inline:6px}
  .oronus-care-ticket-shell{padding:12px}
  .oronus-care-ticket-shell .wpsc-filter{grid-template-columns:1fr!important}
  .oronus-ticket-filter-toggle{width:100%}
  .oronus-care-ticket-shell .wpsc-filter-container{grid-template-columns:1fr!important}
  .oronus-care-ticket-shell .wpsc-filter-submit{grid-column:1!important}
  .oronus-care-ticket-shell .wpsc-editor-attachment.oronus-attachment-chip{grid-template-columns:auto minmax(0,1fr)!important;grid-template-areas:"thumb label" "thumb meta" "actions remove"!important}
  .oronus-attachment-actions{justify-content:flex-start}
  .oronus-care-ticket-shell .attachment-remove{justify-self:end}
}

@media(prefers-reduced-motion:reduce){
  .oronus-care-tabs a,.oronus-care-field select,.oronus-care-field textarea,.oronus-care-ticket-shell .wpsc-menu-list,.oronus-category-choice,.oronus-filter-chevron,.oronus-care-ticket-shell .wpsc-ticket-list-tbl tbody tr{transition:none!important}
}
