.ac-shell {
  --ac-ink: var(--az-ink);
  --ac-muted: var(--az-muted);
  --ac-line: var(--az-line);
  --ac-blue: var(--az-link);
  --ac-wash: var(--az-wash);
  color: var(--ac-ink);
}
.ac-shell :is(h2,h3) {
  color: var(--ac-ink);
  font-family: Rajdhani, "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0;
}
.ac-shell h2 { font-size: 1.95rem; }
.ac-shell h3 { font-size: 1.48rem; }
.ac-shell p { color: var(--ac-muted); }
.ac-shell a { text-underline-offset: .2em; }
.ac-shell button, .ac-shell a { touch-action: manipulation; }
.ac-shell :focus-visible { outline: 3px solid var(--az-focus); outline-offset: 3px; }
.ac-shell :is(.ac-state,.ac-id,.ac-sum,td,.ac-order-pay) { font-variant-numeric: tabular-nums; }
.ac-shell :is(.ac-panel-title,.ac-section-title,.ac-utility,.ac-utility>div,.ac-utility>span,.ac-related,.ac-detail-title,.ac-access-title) {
  display: flex;
  align-items: center;
  gap: .85rem;
}
.ac-shell :is(.ac-section-title,.ac-utility,.ac-detail-title) { justify-content: space-between; flex-wrap: wrap; }
.ac-entry { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); border: 1px solid var(--ac-line); }
.ac-login, .ac-create { padding: clamp(1.45rem,3.8vw,3rem); min-width: 0; }
.ac-login { border-top: 3px solid var(--az-ocean); }
.ac-create { background: var(--az-wash); border-top: 3px solid var(--az-accent); border-left: 1px solid var(--ac-line); }
.ac-panel-title { flex-wrap: wrap; margin: 0 0 1.5rem; }
.ac-panel-title h2 { min-width: 0; }
.ac-icon, .ac-product-icon, .ac-empty-icon {
  display: inline-grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem;
  background: #e7f0f5; color: #2b6c92;
}
.ac-icon svg, .ac-product-icon svg, .ac-empty-icon svg { width: 1.45rem; height: 1.45rem; }
.ac-create .ac-icon, .ac-billing .ac-icon { color: #865420; background: var(--az-amber-light); }
.ac-login .az-form { gap: .5rem; max-width: 34rem; }
.ac-login .az-form button { margin-top: .65rem; }
.ac-login .ac-field-help, .ac-shell .ac-note { font-size: .94rem; line-height: 1.5; }
.ac-login .ac-help { display: inline-flex; align-items: center; min-height: 2.5rem; margin-top: 1.1rem; }
.ac-create p { max-width: 39ch; margin: 0 0 1.5rem; }
.ac-utility { font-size: .95rem; padding-bottom: 1.15rem; }
.ac-utility>span { color: var(--ac-muted); }
.ac-utility>span svg { width: 1.1rem; height: 1.1rem; color: var(--ac-blue); }
.ac-utility>div { row-gap: .2rem; flex-wrap: wrap; }
.ac-utility>div a { padding-right: .85rem; border-right: 1px solid #b9c5ca; }
.ac-utility form { margin: 0; }
.ac-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid #cbd7dc; }
.ac-tabs a {
  display: flex; align-items: center; gap: .9rem; padding: 1.25rem 1.35rem; text-decoration: none;
  color: var(--ac-ink); background: white; border-bottom: 3px solid transparent; line-height: 1.2;
}
.ac-tabs a+a { border-left: 1px solid #cbd7dc; }
.ac-tabs a[aria-current] { background: var(--az-ocean); color: #fff; border-bottom-color: var(--az-accent); }
.ac-tabs a[aria-current] :is(svg,small) { color: #fff; }
.ac-tabs a:not([aria-current]):hover { background: #f0f5f7; text-decoration: none; }
.ac-tabs a>svg { width: 1.7rem; height: 1.7rem; flex: none; color: var(--ac-blue); }
.ac-tabs strong,.ac-tabs small { display: block; }
.ac-tabs strong { font: 700 1.36rem/1.14 Rajdhani,"Arial Narrow",Arial,sans-serif; }
.ac-tabs small,.ac-kind,.ac-id,.ac-ticket-topic>span,.ac-ticket-status small,.ac-table small { font-size: .88rem; color: var(--ac-muted); }
.ac-tabs small { margin-top: .3rem; }
.ac-work, .ac-detail-grid, .ac-transfers, .ac-order-support { margin-top: clamp(1.8rem,3.5vw,2.65rem); }
.ac-section-title { margin-bottom: 1.15rem; }
.ac-related { flex-wrap: wrap; font-weight: 600; }
.ac-related a:not(.az-primary,.az-secondary)+a { border-left: 1px solid #bcc8ce; padding-left: .85rem; }
.ac-orders,.ac-ticket-list,.ac-transfers ul { padding: 0; margin: 0; list-style: none; }
.ac-orders,.ac-ticket-list { border-top: 1px solid var(--ac-line); }
.ac-order {
  display: grid; align-items: center; grid-template-columns: minmax(12rem,1.32fr) minmax(10rem,1fr) minmax(8rem,.86fr) auto;
  gap: 1rem; background: white; padding: 1.22rem .65rem; border-bottom: 1px solid var(--ac-line);
}
.ac-product { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.ac-product-icon { width: 2.8rem; height: 2.8rem; }
.ac-product h3 { font-size: 1.46rem; margin: .15rem 0; }
.ac-product h3 a,.ac-table th>a,.ac-ticket-topic>a:first-child { text-decoration: none; color: var(--ac-ink); }
.ac-product h3 a:hover,.ac-table th>a:hover,.ac-ticket-topic>a:first-child:hover { color: var(--ac-blue); text-decoration: underline; }
.ac-order-spec,.ac-order-pay,.ac-ticket-topic,.ac-ticket-status { display: grid; align-content: center; justify-items: start; gap: .28rem; overflow-wrap: anywhere; min-width: 0; }
.ac-order-spec span { color: var(--ac-muted); font-size: .92rem; }
.ac-order-spec .ac-server-address { display: block; width: 100%; min-width: 0; overflow-wrap: anywhere; color: var(--ac-ink); font-weight: 650; }
.ac-state { display: inline-block; width: fit-content; max-width: 100%; font-size: .87rem; line-height: 1.3; padding: .22rem .47rem; background: #e9eef0; color: #37444c; font-weight: 650; }
.ac-state-pending,.ac-state-review { background: #fff0d5; color: #714904; }
.ac-state-paid,.ac-state-answered { background: #e2f2e9; color: #226345; }
.ac-state-confirming,.ac-state-open { background: #e4eef7; color: #245779; }
.ac-action {
  color: var(--ac-blue); font-weight: 650; line-height: 1.38; text-align: left;
  display: inline-flex; align-items: center; min-height: 2.65rem; width: fit-content;
}
.ac-empty {
  display: flex; align-items: flex-start; gap: 1.2rem; background: var(--ac-wash); padding: clamp(1.4rem,3vw,2.2rem);
  border: 1px solid var(--ac-line); border-left: 3px solid var(--az-ocean);
}
.ac-empty p,.ac-access-title p { margin: .45rem 0 1rem; line-height: 1.55; }
.ac-empty h3 { font-size: 1.5rem; }
.ac-empty .ac-empty-icon { background: white; border:1px solid var(--ac-line); }
.ac-filters { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.ac-filters a { font-size: .94rem; padding: .55rem .75rem; color: var(--ac-blue); border: 1px solid var(--ac-line); text-decoration: none; }
.ac-filters a[aria-current] { border-color: var(--ac-blue); background: #e9f1f5; font-weight: 650; }
.ac-table-wrap { overflow-x: auto; }
.ac-table { border-collapse: collapse; width: 100%; text-align: left; }
.ac-table :is(td,th) { border-bottom: 1px solid var(--ac-line); padding: .9rem .75rem; vertical-align: middle; }
.ac-table thead th { background: #f1f4f5; color: #425058; font-size: .91rem; }
.ac-table td,.ac-table tbody th { font-size: .96rem; }
.ac-table small,.ac-table .ac-id { display:block; font-weight:400; margin-top: .25rem; }
.ac-ticket-list>li { padding: 1.05rem .5rem; display:grid; grid-template-columns:minmax(0,1fr) minmax(12rem,.55fr) auto; align-items:center; gap:1.2rem; border-bottom:1px solid var(--ac-line); }
.ac-ticket-topic>a:first-child { font-size: 1rem; font-weight: 650; }
.ac-ticket-topic .ac-linked { font-size:.9rem; }
.ac-access {
  margin-top: clamp(2.5rem,5vw,4rem); padding-block: 1.2rem; border-top: 1px solid var(--ac-line); border-bottom: 1px solid var(--ac-line);
  display:grid; grid-template-columns:minmax(0,1fr) minmax(18rem,.8fr); gap:1.15rem;
}
.ac-access-title { align-self:start; }
.ac-access-title>svg { width:1.45rem; height:1.45rem; flex:none; color:var(--ac-blue); }
.ac-access-title h2 { font-size:1.4rem; }
.ac-access-title p { font-size:.92rem; margin:.3rem 0 0; }
.ac-access-tools { justify-self:end; min-width:0; }
.ac-access-tools>a,.ac-access-tools summary { font-size:.95rem; }
.ac-access-tools summary { cursor:pointer; font-weight:600; color:var(--ac-blue); padding:.5rem 0; }
.ac-access-tools details[open]{margin-top:.35rem;}
.ac-access-tools .az-form { margin-top:.5rem; padding:1rem; background:var(--ac-wash); gap:.75rem; }
.ac-access-tools .az-form p { font-size:.93rem; }
.ac-detail-title { padding:1.25rem 1.4rem; background:var(--ac-wash); border-left:3px solid var(--az-ocean); }
.ac-detail-title h2 { margin:.2rem 0; font-size:2.08rem; }
.ac-detail-title p { margin:0; overflow-wrap:anywhere; }
.ac-detail-grid { display:grid; grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr); gap:1.25rem; align-items:start; }
.ac-block { min-width:0; padding:clamp(1.2rem,2.4vw,1.8rem); border:1px solid var(--ac-line); }
.ac-block h3 { font-size:1.63rem; }
.ac-block .ac-panel-title { margin-bottom:1.05rem; }
.ac-facts { margin:0; }
.ac-facts>div,.ac-delivery { display:flex; align-items:baseline; justify-content:space-between; gap:1.15rem; }
.ac-facts>div { border-bottom:1px solid #e1e7e9; padding:.65rem 0; }
.ac-facts dd { margin:0; text-align:right; overflow-wrap:anywhere; font-weight:600; }
.ac-facts dt,.ac-delivery>span { color:var(--ac-muted); }
.ac-billing { background:var(--ac-wash); border-top:3px solid var(--az-accent); }
.ac-billing .ac-facts { margin:.55rem 0 1.25rem; }
.ac-billing .ac-sum { align-items:center; background:#e5ecef; margin:0 -.4rem; padding:.6rem .4rem; }
.ac-sum dd { font:700 1.75rem/1.17 Rajdhani,"Arial Narrow",Arial,sans-serif; }
.ac-reconfigure { display: block; width: fit-content; margin-top: .85rem; }
.ac-delivery { margin-top:1.25rem; }
.ac-copy-address { margin-top:.8rem; }
.ac-block .ac-note { margin: .9rem 0 0; }
.ac-transfers ul { margin-top:1rem; }
.ac-transfers li { display:grid; grid-template-columns:minmax(9rem,.8fr) minmax(0,1.6fr) auto; gap:1.2rem; padding:.85rem 0; border-top:1px solid var(--ac-line); }
.ac-transfers li>div { display:grid; align-content:start; justify-items:start; gap:.3rem; }
.ac-transfers li span { color:var(--ac-muted); font-size:.9rem; }
.ac-transfer-id code { overflow-wrap:anywhere; font-size:.92rem; }
.ac-sr {
  position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden;
  clip-path:inset(50%); white-space:nowrap; border:0;
}
@media (max-width:840px) {
  .ac-order { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:.8rem 1rem; }
  .ac-order-pay { display:flex; gap:.6rem; align-items:center; flex-wrap:wrap; }
  .ac-order>.ac-action { justify-self:start; }
  .ac-tabs a { padding:1rem .9rem; gap:.55rem; }
  .ac-ticket-list>li { grid-template-columns:minmax(0,1fr) minmax(9rem,.65fr); gap:.6rem 1rem; }
  .ac-ticket-list>li>.ac-action { grid-column:1/-1; min-height:1.9rem; }
}
@media (max-width:650px) {
  .ac-entry,.ac-detail-grid,.ac-access,.ac-transfers li { grid-template-columns:1fr; }
  .ac-create { border-left:0; }
  .ac-shell h2 { font-size:1.7rem; }
  .ac-tabs a { flex-direction:column; align-items:flex-start; gap:.45rem; padding:.78rem .62rem; }
  .ac-tabs strong { font-size:1.17rem; }
  .ac-tabs small { font-size:.83rem; line-height:1.25; }
  .ac-tabs a>svg {width:1.28rem;height:1.28rem;}
  .ac-utility {row-gap:.4rem!important;}
  .ac-section-title { align-items:flex-start!important; }
  .ac-empty {gap:.75rem;padding:1.1rem;}
  .ac-empty .ac-empty-icon {width:2rem;height:2rem;}
  .ac-related {gap:.65rem!important;}
  .ac-table-wrap {overflow:visible;}
  .ac-table,.ac-table tbody,.ac-table tr,.ac-table td,.ac-table tbody th {display:block;}
  .ac-table thead {position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;}
  .ac-table tr {padding:.8rem 0;border-top:1px solid var(--ac-line);}
  .ac-table :is(td,th) {padding:.3rem 0;border:0;}
  .ac-table td[data-label] {display:flex;align-items:baseline;justify-content:space-between;gap:.6rem;}
  .ac-table td[data-label]::before {content:attr(data-label);color:var(--ac-muted);}
  .ac-table td[data-label] small {margin-left:auto;margin-block:0;font-size:.79rem;}
  .ac-table td[data-label="Total"] {justify-content:flex-start;}
  .ac-table td[data-label="Total"] strong {margin-left:auto;}
  .ac-table td[data-label="Total"] small {margin-left:0;}
  .ac-access-tools {justify-self:stretch;}
  .ac-access-title h2 {font-size:1.4rem;}
}
@media(max-width:420px){
  .ac-order,.ac-ticket-list>li {grid-template-columns:1fr;}
  .ac-product-icon {width:2.35rem;height:2.35rem;}
  .ac-order-spec {display:flex;flex-wrap:wrap;gap:.35rem .8rem;}
  .ac-order-spec strong {width:100%;}
  .ac-order {padding:1.1rem .2rem;}
  .ac-ticket-list>li>.ac-action {grid-column:auto;}
  .ac-utility>div {gap:.55rem;}
  .ac-detail-title {padding:1.05rem;}
}


.ac-print-invoice,.ac-print-button[hidden] { display:none!important; }
.ac-print-button { vertical-align:middle; }
.ac-delivery-facts { margin-top:.5rem; }
@media print {
  .az-tokenbox,.ac-shell input[type="password"] { display:none!important; }
  body:has(.ac-order-detail)>:not(main),
  body:has(.ac-order-detail) .az-commerce__inner>:not(.ac-order-detail),
  .ac-order-detail>:not(.ac-print-invoice) { display:none!important; }
  body:has(.ac-order-detail),body:has(.ac-order-detail) :is(main,.az-commerce,.az-commerce__inner,.ac-order-detail) {
    background:white!important;color:#171b1d!important;width:100%!important;min-height:0!important;height:auto!important;margin:0!important;padding:0!important;
  }
  .ac-order-detail .ac-print-invoice { display:block!important; padding:10mm 8mm; font:11pt/1.5 var(--az-body); }
  .ac-print-invoice header { display:flex;justify-content:space-between;gap:12mm;border-bottom:2pt solid #245e82;padding-bottom:7mm;margin-bottom:8mm; }
  .ac-invoice-brand img { display:block; width:44mm; height:auto; }
  .ac-print-invoice header p { margin:0; text-align:right; }
  .ac-print-invoice h2 { font-size:26pt; margin-top:2mm; }
  .ac-print-invoice h3 { font-size:17pt; }
  .ac-print-invoice p { color:#30383c; }
  .ac-print-invoice table { width:100%;border-collapse:collapse;margin:7mm 0; }
  .ac-print-invoice caption { font-weight:bold;text-align:left;padding:2mm 0; }
  .ac-print-invoice th,.ac-print-invoice td { border-bottom:1pt solid #c2cbce;padding:2.5mm 0; }
  .ac-print-invoice th { text-align:left;font-weight:400; }
  .ac-print-invoice td { text-align:right; }
  .ac-print-invoice tr:last-child>* {font-weight:700;border-bottom:2pt solid #263740;}
  .ac-print-invoice dl { display:grid;grid-template-columns:38mm 1fr;gap:1.6mm 4mm; }
  .ac-print-invoice dd { margin:0;font-weight:600; }
}
