/* Small layout helpers for the Console's custom views (Filament's compiled CSS only includes classes it uses itself). */
.ax-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .ax-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ax-gap-6 { gap: 1.5rem; }
.ax-link-card { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 1rem; border-radius: .9rem; border: 1px solid rgba(148, 163, 184, .25); text-decoration: none; transition: border-color .15s, background .15s; }
.ax-link-card:hover { border-color: #00D6B1; background: rgba(0, 214, 177, .06); }
.ax-link-card strong { display: block; font-weight: 650; }
.ax-link-card span span, .ax-muted { color: rgb(148 163 184); font-size: .875rem; }
.ax-link-card svg { width: 1.25rem; height: 1.25rem; color: rgb(148 163 184); flex-shrink: 0; }
.ax-locked { padding: .85rem 1rem; border-radius: .9rem; border: 1px dashed rgba(148, 163, 184, .3); font-size: .875rem; color: rgb(148 163 184); }
.ax-locked strong { display: block; color: inherit; }
.ax-dl { display: grid; gap: .85rem; font-size: .875rem; margin: 0; }
.ax-dl dd { margin: .3rem 0 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.ax-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.ax-steps { padding-left: 1.25rem; margin: 0; display: grid; gap: .35rem; font-size: .9rem; }
.ax-note a { color: #00D6B1; text-decoration: underline; }
@media (min-width: 768px) { .ax-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ax-list { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; font-size: .9rem; }

/* ---- Client portal ---- */
.ax-muted { color: rgb(var(--gray-500, 100 116 139)); font-size: .875rem; }
.ax-usage { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.ax-usage__label { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.ax-usage__bar { height: .55rem; border-radius: 99px; background: rgba(127, 127, 160, .2); overflow: hidden; }
.ax-usage__fill { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #009CF4, #00D6B1); }
.ax-usage__fill.is-warning { background: #F59E0B; }
.ax-usage__fill.is-danger { background: #F43F5E; }
.ax-thread { display: grid; gap: 1rem; }
.ax-msg { border-radius: .9rem; padding: 1rem 1.15rem; border: 1px solid rgba(127, 127, 160, .25); background: rgba(127, 127, 160, .06); }
.ax-msg--staff { border-color: rgba(0, 156, 244, .35); background: rgba(0, 156, 244, .07); }
.ax-msg--internal { border-style: dashed; border-color: rgba(245, 158, 11, .6); background: rgba(245, 158, 11, .07); }
.ax-msg__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; margin-bottom: .5rem; }
.ax-msg__head strong { font-size: .95rem; }
.ax-msg__body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.ax-msg__files { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.ax-msg__files a { font-size: .85rem; text-decoration: underline; }
.ax-tag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: .1rem .45rem; border-radius: .35rem; background: rgba(245, 158, 11, .2); margin-left: .4rem; }
.ax-notice { border-radius: .9rem; padding: 1rem 1.15rem; background: linear-gradient(100deg, rgba(0, 156, 244, .12), rgba(0, 214, 177, .12)); border: 1px solid rgba(0, 156, 244, .3); }
.ax-notice strong { display: block; margin-bottom: .25rem; }
