/* Cross-page corrections, loaded after vendor and cart styles. */
body.hyrca-theme :is(.badge,.hyrca-dot-count){display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;min-width:26px;min-height:24px;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700;line-height:1!important;text-align:center;white-space:nowrap;text-indent:0;letter-spacing:0}
body.hyrca-theme :is(.badge,.hyrca-dot-count)>:is(span,b,strong){line-height:1!important;margin:0;padding:0}
body.hyrca-theme .hyrca-dot-count{min-width:20px;min-height:20px;height:auto;padding:3px 5px;font-size:11px}
body.hyrca-theme .card-sidebar .badge,body.hyrca-theme .sidebar-menu-item-badge .badge{display:inline-flex!important;align-items:center;justify-content:center;height:26px;min-width:30px;padding:0 9px!important;line-height:1!important;float:none!important;margin:0!important}
body.hyrca-theme .sidebar-menu-item-badge{display:flex;align-items:center;justify-content:center;align-self:center;line-height:1}
body.hyrca-theme .badge:empty{display:none}
body.hyrca-theme{--hy-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23536356' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
body.hyrca-theme select:not([multiple]):not([size]):not([data-hyrca-theme-select]),body.hyrca-theme select[size="1"]:not([multiple]):not([data-hyrca-theme-select]){appearance:none;-webkit-appearance:none;background-image:var(--hy-select-arrow)!important;background-position:left 14px center!important;background-repeat:no-repeat!important;background-size:14px 14px!important;padding-left:42px!important;padding-right:14px!important;text-align:start}
body.hyrca-theme select[multiple],body.hyrca-theme select[size]:not([size="1"]){background-image:none!important}
body.hyrca-theme .select2-container--default .select2-selection--single .select2-selection__arrow{right:auto;left:10px}
body.hyrca-theme .select2-container--default .select2-selection--single .select2-selection__rendered{padding-right:14px;padding-left:36px}
/* Stable native appearance control; keyboard, touch and OS options remain native. */
.hyrca-appearance{position:relative;flex:none;isolation:isolate;width:112px;height:44px;border:1px solid var(--hy-border);border-radius:999px;background:var(--hy-surface);box-shadow:0 3px 12px #00000006}
.hyrca-appearance-orbit{position:absolute;right:6px;top:5px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:#ede8d7;color:#795b2c;pointer-events:none}
.hyrca-appearance-orbit svg{grid-area:1/1;width:20px;height:20px;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .25s}
.hyrca-appearance-moon{opacity:0;transform:translateY(-24px) rotate(-40deg) scale(.6)}
.hyrca-appearance-sun{opacity:1;transform:none}
body.hyrca-theme select.hyrca-theme-select{position:relative;z-index:1;display:block;appearance:none;-webkit-appearance:none;width:100%;height:100%;min-height:0;margin:0;padding:0 43px 0 12px;border:0;border-radius:inherit;background:transparent;color:var(--hy-text);font-size:12px;cursor:pointer;box-shadow:none;line-height:normal;text-align:start}
body.hyrca-theme .hyrca-theme-select option{background:var(--hy-surface);color:var(--hy-text)}
body.hyrca-theme .hyrca-theme-select:focus-visible{outline:3px solid var(--hy-accent);outline-offset:3px}
body.hyrca-theme .hyrca-theme-select:disabled{cursor:default;opacity:.55}
/* Recent support tickets: distinct subject, update time and compact status. */
body.hyrca-theme .hyrca-ticket-panel{overflow:hidden;border:1px solid var(--hy-border);border-radius:24px!important}
body.hyrca-theme .hyrca-ticket-panel>.card-header{align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--hy-border);background:var(--hy-surface)}
body.hyrca-theme .hyrca-ticket-panel .card-title{display:flex;align-items:center;gap:12px;font-size:17px;line-height:1.7}
.hyrca-ticket-panel .card-title>.hyrca-icon{width:40px;height:40px;padding:9px;border-radius:13px;background:var(--hy-gold-soft);color:var(--hy-accent)}
body.hyrca-theme .hyrca-ticket-panel .list-group{padding:4px 18px 10px}
body.hyrca-theme .hyrca-ticket-panel .hyrca-ticket-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:14px;align-items:center;min-width:0;padding:18px 8px;margin:0;border:0;border-bottom:1px solid var(--hy-border);border-radius:0;background:transparent;color:var(--hy-text);line-height:1.8;transition:background-color .2s}
body.hyrca-theme .hyrca-ticket-panel .hyrca-ticket-row:last-child{border-bottom:0}
.hyrca-ticket-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--hy-raised,#f4efe3);color:var(--hy-accent)}
.hyrca-ticket-icon svg{width:21px;height:21px}
.hyrca-ticket-copy{display:block;min-width:0;overflow-wrap:anywhere}
.hyrca-ticket-title{display:block;font-size:14px;font-weight:700;line-height:1.9;color:var(--hy-text);unicode-bidi:plaintext}
body.hyrca-theme .hyrca-ticket-updated{display:block;font-size:12px;font-weight:400;line-height:1.9;color:var(--hy-muted);margin-top:3px}
body.hyrca-theme .hyrca-ticket-panel .hyrca-ticket-state{--ticket-state-ink:#526052;--ticket-state-soft:#edf0e8;position:static!important;float:none!important;display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-height:28px;max-width:180px;padding:5px 11px!important;border:1px solid transparent;border-radius:999px;font-size:12px!important;font-weight:500;line-height:1.5!important;background:var(--ticket-state-soft)!important;color:var(--ticket-state-ink)!important;text-align:center;white-space:normal;overflow-wrap:anywhere}
.hyrca-ticket-panel .hyrca-ticket-state::before{content:'';display:block;flex:none;width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.8}
body.hyrca-theme .hyrca-ticket-panel .hyrca-ticket-state.is-waiting{--ticket-state-ink:#785922;--ticket-state-soft:#f6edda}
body.hyrca-theme .hyrca-ticket-panel .hyrca-ticket-state.is-answered{--ticket-state-ink:#2e6340;--ticket-state-soft:#e8f0e5}
body.hyrca-theme .hyrca-ticket-panel .card-body{font-size:14px;color:var(--hy-muted);padding:24px}
@media(hover:hover){body.hyrca-theme .hyrca-ticket-panel .hyrca-ticket-row:hover{background:var(--hy-raised,#f6f2e8)}}
@media(max-width:991px){
 .hyrca-appearance{width:44px}
 body.hyrca-theme select.hyrca-theme-select{padding:0;color:transparent}
 .hyrca-appearance-orbit{right:5px}
 body.hyrca-theme .hyrca-auth-page .hyrca-theme-select{color:transparent}
 body.hyrca-theme .hyrca-header-tools{gap:6px}
}
@media(max-width:575px){
 body.hyrca-theme .hyrca-ticket-panel>.card-header{padding:18px;align-items:center}
 body.hyrca-theme .hyrca-ticket-panel .card-title{font-size:15px;gap:8px}
 body.hyrca-theme .hyrca-ticket-panel .list-group{padding-inline:12px}
 body.hyrca-theme .hyrca-ticket-panel .hyrca-ticket-row{grid-template-columns:34px minmax(0,1fr);gap:8px 10px;padding:16px 6px}
 .hyrca-ticket-icon{width:34px;height:34px;border-radius:11px}
 body.hyrca-theme .hyrca-ticket-panel .hyrca-ticket-state{grid-column:2;justify-self:start;max-width:100%}
 .hyrca-ticket-title{font-size:13px}
 body.hyrca-theme .hyrca-ticket-updated{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hyrca-appearance-orbit svg{transition:none}}
@media(max-width:359px){
 body.hyrca-shell .hyrca-header-top{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding-block:10px;min-height:0}
 body.hyrca-shell .hyrca-header-top>.hyrca-logo-link{grid-column:1/-1;justify-self:start}
 body.hyrca-shell .hyrca-header-top>.hyrca-header-tools{grid-column:1/-1;width:100%;justify-content:space-between}
}
body.hyrca-theme .hyrca-ticket-updated{color:var(--hy-muted)!important}
/* Without enhancement the server-rendered ticket still remains readable and navigable. */
body.hyrca-theme .hyrca-ticket-copy>:is(.label,.badge){float:none!important;display:table;padding:4px 10px!important;margin:0 0 6px;border-radius:999px;font-size:12px;line-height:1.5}
