@import url("theme.53ca4694fbe7.css");
* {
  box-sizing:border-box
}
/* Relative type follows browser font preferences: body/forms 16px, tables 15px, labels 14px. */
body {
  margin:0;
  background:var(--alo-canvas);
  color:var(--alo-ink);
  font:1rem/1.55 var(--alo-font-ui);
  font-variant-numeric:tabular-nums
}
a {
  color:var(--alo-brand-blue);
  text-decoration:none
}
a:hover {
  text-decoration:underline;
  color:var(--alo-brand-blue-hover)
}
button,input,select,textarea {
  font:inherit
}
button,a,input,select,textarea,summary {
  -webkit-tap-highlight-color:transparent
}
button {
  cursor:pointer
}
h1,h2,h3,p {
  margin:0
}
h1,h2,h3 {
  color:var(--alo-brand-navy);
  font-family:var(--alo-font-heading)
}
h1 {
  font-size:28px;
  line-height:1.25;
  letter-spacing:-.7px
}
h2 {
  font-size:20px;
  line-height:1.4;
  letter-spacing:-.25px
}
h3 {
  font-size:17px
}
p+p {
  margin-top:12px
}
a,button,input,select,textarea {
  transition:background-color .14s ease-out,border-color .14s ease-out
}
small {
  font-size:.875rem;
  color:var(--alo-muted)
}
:where(a,button,input,textarea,select,summary,[tabindex]):focus-visible {
  outline:3px solid var(--alo-brand-blue);
  outline-offset:3px;
  box-shadow:var(--alo-focus-ring)
}
:where([hidden]) {
  display:none!important
}
.sr-only {
  position:absolute!important;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap
}
.skip {
  position:fixed;
  left:16px;
  top:-100px;
  z-index:100;
  background:var(--alo-surface);
  padding:12px 20px;
  border:2px solid var(--alo-brand-blue);
  border-radius:8px
}
.skip:focus {
  top:12px
}
.muted,.help {
  color:var(--alo-muted)
}
.eyebrow {
  font-size:.875rem;
  color:var(--alo-muted);
  margin-bottom:9px
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  background:var(--alo-action-bg);
  color:#fff;
  border:1px solid transparent;
  border-radius:var(--alo-radius-sm);
  min-height:44px;
  padding:10px 16px;
  font-weight:600;
  font-size:.9375rem;
  white-space:normal;
  line-height:1.45;
  text-align:center
}
.button:hover {
  background:var(--alo-action-hover);
  color:#fff;
  text-decoration:none
}
.button.secondary {
  background:var(--alo-surface);
  border-color:var(--alo-border);
  color:var(--alo-ink)
}
.button.secondary:hover,.button.quiet:hover {
  background:var(--alo-surface-alt);
  color:var(--alo-ink)
}
.button.quiet {
  background:transparent;
  color:var(--alo-muted)
}
.button:disabled {
  cursor:wait;
  opacity:.65
}
.full {
  width:100%
}
.icon-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:transparent;
  color:var(--alo-muted);
  border:1px solid transparent;
  border-radius:8px;
  min-width:44px;
  min-height:44px;
  font-size:24px
}
.icon-button:hover {
  background:var(--alo-surface-alt)
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  color:var(--alo-ink);
  text-decoration:none
}
.brand:hover {
  text-decoration:none
}
.brand img {
  flex:none;
  border-radius:50%
}
.brand strong {
  display:block;
  font-size:20px;
  letter-spacing:-.6px;
  line-height:1.4;
  color:var(--alo-brand-navy)
}
.brand small {
  display:block;
  font-size:.75rem;
  white-space:nowrap
}
.sidebar {
  position:fixed;
  left:0;
  top:0;
  bottom:0;
  width:240px;
  background:var(--alo-surface);
  border-right:1px solid var(--alo-border);
  padding:24px 16px;
  display:flex;
  flex-direction:column;
  z-index:30;
  overflow-y:auto
}
.sidebar .brand {
  margin:0 8px 40px
}
.nav-label {
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--alo-muted);
  padding:0 12px;
  margin-bottom:12px
}
.sidebar nav {
  display:grid;
  gap:5px
}
.sidebar nav a,.nav-settings {
  font-size:.9375rem;
  min-height:44px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:8px;
  color:var(--alo-muted);
  font-weight:500
}
.sidebar nav a:hover,.nav-settings:hover {
  background:var(--alo-surface-alt);
  color:var(--alo-ink);
  text-decoration:none
}
.sidebar nav a[aria-current] {
  background:var(--alo-new-bg);
  color:var(--alo-new-ink);
  font-weight:600;
  box-shadow:inset 2px 0 var(--alo-brand-blue)
}
.sidebar img:not(.brand img) {
  opacity:.7
}
.sidebar-bottom {
  margin-top:auto;
  padding-top:40px
}
.sidebar-bottom p {
  font-size:.875rem;
  padding:20px 12px 0;
  color:var(--alo-ink);
  line-height:1.7
}
.sidebar-bottom p span {
  color:var(--alo-muted)
}
.nav-settings {
  font-size:.875rem
}
.workspace-main {
  margin-left:240px;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  min-width:0
}
.topbar {
  height:76px;
  border-bottom:1px solid var(--alo-border);
  background:var(--alo-surface);
  display:flex;
  align-items:center;
  gap:16px;
  padding:0 32px
}
.section-title {
  font-weight:600;
  color:var(--alo-ink)
}
.quick-search {
  display:flex;
  align-items:center;
  width:300px;
  margin-left:auto;
  border:1px solid var(--alo-border);
  border-radius:8px;
  overflow:hidden
}
.quick-search input {
  background:transparent;
  border:0;
  min-width:0;
  width:100%;
  padding:10px 12px;
  color:var(--alo-ink);
  height:42px;
  font-size:.9375rem
}
.quick-search .icon-button {
  min-height:40px;
  min-width:40px;
  font-size:25px
}
.account {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--alo-ink);
  font-size:.9375rem
}
.avatar {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:32px;
  height:32px;
  background:var(--alo-surface-alt);
  color:var(--alo-brand-navy);
  border:1px solid var(--alo-border);
  border-radius:50%;
  font-weight:600;
  text-transform:uppercase
}
.menu-toggle {
  display:none
}
main {
  width:100%;
  max-width:1504px;
  margin:0 auto;
  padding:32px;
  min-width:0;
  flex:1
}
main:focus {
  outline:none
}
.page-heading {
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px
}
.page-heading h1 {
  margin-bottom:8px
}
.page-heading .muted {
  font-size:.9375rem
}
.heading-actions,.form-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px
}
.heading-badges {
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-top:16px
}
.panel {
  background:var(--alo-surface);
  border:1px solid var(--alo-border);
  border-radius:var(--alo-radius-md);
  min-width:0;
  overflow:hidden;
  margin-bottom:24px
}
.panel-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:20px 24px;
  border-bottom:1px solid var(--alo-border)
}
.panel-heading>a,.panel-heading>.muted {
  font-size:.875rem
}
.panel-body {
  padding:24px
}
.metrics {
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:12px;
  margin-bottom:24px
}
.metric {
  position:relative;
  padding:20px 18px;
  background:var(--alo-surface);
  border:1px solid var(--alo-border);
  border-radius:12px;
  color:var(--alo-muted);
  font-size:.875rem
}
.metric:hover {
  background:var(--alo-surface-alt);
  text-decoration:none
}
.metric strong {
  display:block;
  margin-top:9px;
  font-size:30px;
  line-height:1.3;
  font-weight:600;
  letter-spacing:-1px;
  color:var(--alo-brand-navy)
}
.metric-arrow {
  position:absolute;
  right:16px;
  bottom:22px;
  font-size:17px;
  color:var(--alo-muted)
}
.metric:nth-last-child(2) strong {
  color:var(--alo-critical-ink)
}
.work-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px
}
.work-grid .panel-heading {
  padding:18px 20px
}
.work-grid h2 {
  font-size:17px
}
.queue-item {
  display:block;
  padding:17px 20px;
  border-bottom:1px solid var(--alo-border);
  color:var(--alo-ink)
}
.queue-item:last-child {
  border:0
}
.queue-item:hover {
  background:var(--alo-surface-alt);
  text-decoration:none
}
.row-meta {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:space-between;
  color:var(--alo-muted);
  font-size:.8125rem;
  margin-bottom:7px
}
.queue-item strong {
  font-size:.9375rem;
  line-height:1.5;
  display:block;
  font-weight:500
}
.queue-item small {
  display:block;
  margin-top:6px
}
.ticket-id {
  font:600 .9375rem/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;
  color:var(--alo-brand-blue);
  white-space:nowrap
}
.table-scroll {
  overflow:auto;
  overscroll-behavior-inline:contain
}
.table-scroll:focus-visible {
  outline-offset:-3px
}
table {
  width:100%;
  border-collapse:collapse;
  text-align:left;
  font-size:.9375rem
}
thead {
  background:var(--alo-surface-alt)
}
th {
  font-weight:500
}
thead th {
  font-size:.8125rem;
  color:var(--alo-muted);
  padding:12px 18px;
  white-space:nowrap
}
tbody th,tbody td {
  padding:16px 18px;
  border-top:1px solid var(--alo-border);
  vertical-align:top
}
tbody tr:hover {
  background:var(--alo-surface-alt)
}
tbody strong {
  font-weight:500
}
td small,th small {
  display:block;
  margin-top:4px
}
td.summary {
  min-width:200px;
  max-width:340px;
  width:30%
}
.summary a {
  color:var(--alo-ink)
}
.ticket-table {
  min-width:1030px
}
.compact-table {
  min-width:720px
}
.critical-dot {
  color:var(--alo-critical-ink)
}
.critical-dot:before {
  content:'';
  display:inline-block;
  width:5px;
  height:5px;
  border-radius:50%;
  background:currentColor;
  margin-right:6px;
  vertical-align:middle
}
.alo-badge {
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:4px 9px;
  border-radius:6px;
  font-size:.875rem;
  font-weight:500;
  white-space:normal;
  line-height:1.4
}
.alo-status-new,.alo-delivery-queued,.alo-delivery-sending {
  background:var(--alo-new-bg);
  color:var(--alo-new-ink)
}
.alo-status-work {
  background:var(--alo-progress-bg);
  color:var(--alo-progress-ink)
}
.alo-status-wait,.alo-delivery-uncertain {
  background:var(--alo-waiting-bg);
  color:var(--alo-waiting-ink)
}
.alo-status-solved,.alo-delivery-sent {
  background:var(--alo-resolved-bg);
  color:var(--alo-resolved-ink)
}
.alo-status-closed,.alo-delivery-cancelled {
  background:var(--alo-closed-bg);
  color:var(--alo-closed-ink)
}
.alo-status-critical,.alo-delivery-failed {
  background:var(--alo-critical-bg);
  color:var(--alo-critical-ink)
}
.overdue-row>th {
  box-shadow:inset 3px 0 var(--alo-waiting-ink)
}
.late-label {
  color:var(--alo-waiting-ink)
}
.activity {
  list-style:none;
  padding:0;
  margin:0
}
.activity li {
  padding:14px 24px;
  display:flex;
  align-items:center;
  gap:14px;
  border-bottom:1px solid var(--alo-border);
  font-size:.875rem
}
.activity li:last-child {
  border:0
}
.activity li>span:not(.activity-marker) {
  color:var(--alo-muted)
}
.activity time {
  margin-left:auto;
  color:var(--alo-muted)
}
.activity-marker {
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--alo-muted);
  flex:none
}
.empty {
  padding:48px 24px;
  text-align:center;
  color:var(--alo-muted)
}
.empty strong {
  display:block;
  color:var(--alo-ink);
  font-size:1rem
}
.empty p {
  margin:8px 0 18px;
  font-size:.9375rem
}
.empty.compact {
  padding:30px 18px
}
.empty.compact strong {
  font-size:.9375rem
}
.empty.compact p {
  font-size:.875rem;
  margin-bottom:0
}
.field {
  display:flex;
  flex-direction:column;
  gap:7px;
  margin-bottom:20px;
  min-width:0
}
.field label {
  font-size:.9375rem;
  font-weight:500
}
.field input:not([type=checkbox]),.field select,.field textarea,.directory-search input {
  width:100%;
  border:1px solid var(--alo-border);
  border-radius:8px;
  min-height:44px;
  padding:10px 12px;
  background:var(--alo-surface);
  color:var(--alo-ink);
  min-width:0;
  max-width:100%;
  line-height:1.5
}
.field textarea {
  resize:vertical
}
.field select {
  padding-right:28px
}
.field select[multiple] {
  min-height:150px
}
.field select:disabled,.field input:disabled {
  opacity:.65
}
.field input[aria-invalid=true],.field textarea[aria-invalid=true],.has-error input {
  border-color:var(--alo-critical-ink)
}
input::placeholder,textarea::placeholder {
  color:var(--alo-muted);
  opacity:1
}
.field p {
  font-size:.875rem
}
.help {
  font-size:.875rem
}
.help ul {
  padding-left:20px;
  margin:0
}
.checkbox-field {
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center
}
.checkbox-field input {
  width:20px;
  height:20px
}
.errorlist {
  list-style:none;
  padding:0;
  margin:0;
  color:var(--alo-critical-ink);
  font-size:.9375rem
}
.filters {
  padding:20px 24px
}
.filter-main {
  display:flex;
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap
}
.filter-main>.field {
  flex:1 1 150px;
  margin-bottom:12px
}
.filter-main>.search-field {
  flex:2 1 260px
}
.filter-actions {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px;
  flex-wrap:wrap
}
.filter-actions>.muted {
  font-size:.8125rem;
  margin-left:auto
}
.advanced-filters>summary {
  color:var(--alo-muted);
  cursor:pointer;
  min-height:44px;
  align-content:center;
  font-size:.875rem
}
.advanced-filters>div {
  margin-top:10px
}
.checkboxes {
  display:flex;
  gap:16px;
  flex-wrap:wrap
}
.checkboxes label {
  display:flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  font-size:.875rem;
  cursor:pointer
}
.checkboxes input {
  width:17px;
  height:17px
}
.pagination {
  padding:16px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border-top:1px solid var(--alo-border);
  font-size:.875rem;
  color:var(--alo-muted)
}
.pagination>div {
  display:flex;
  gap:8px
}
.ticket-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:24px;
  align-items:start
}
.ticket-main,.ticket-sidebar {
  min-width:0
}
.problem-text {
  font-size:16px;
  line-height:1.7
}
.messages {
  padding:24px;
  display:grid;
  gap:16px
}
.message {
  border:1px solid var(--alo-border);
  border-radius:10px;
  padding:16px;
  background:var(--alo-canvas);
  max-width:94%;
  min-width:0
}
.message.outgoing {
  margin-left:24px;
  background:var(--alo-new-bg);
  border-color:transparent;
  max-width:calc(100% - 24px)
}
.message.private {
  background:var(--alo-waiting-bg);
  border-color:transparent;
  max-width:100%
}
.message-heading {
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:8px;
  font-size:.875rem
}
.message-heading strong {
  font-weight:600
}
.message-heading time {
  color:var(--alo-muted);
  font-size:.8125rem
}
.message p {
  margin-top:12px;
  white-space:normal;
  overflow-wrap:anywhere;
  font-size:1rem
}
.message small {
  font-size:.8125rem;
  display:block;
  margin-top:3px
}
.composer {
  padding:24px;
  border-top:1px solid var(--alo-border)
}
.composer-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}
.composer-actions>.muted {
  font-size:.8125rem
}
.private-composer {
  border-top:1px solid var(--alo-border);
  padding:0 24px;
  background:var(--alo-waiting-bg)
}
.private-composer summary {
  padding:16px 0;
  cursor:pointer;
  font-weight:500;
  font-size:.9375rem;
  min-height:52px
}
.private-composer summary span {
  font-size:.8125rem;
  font-weight:400;
  color:var(--alo-muted);
  margin-left:10px
}
.private-composer form {
  padding-bottom:24px
}
.private-composer textarea {
  background:var(--alo-surface)
}
dl {
  margin:0
}
dt {
  font-size:.8125rem;
  color:var(--alo-muted);
  margin-bottom:4px
}
dd {
  margin:0 0 16px;
  overflow-wrap:anywhere;
  font-size:.9375rem
}
.metadata {
  padding-top:20px;
  margin-top:20px;
  border-top:1px solid var(--alo-border)
}
.metadata dd:last-child {
  margin-bottom:0
}
.ticket-sidebar .panel-heading {
  padding:18px 20px
}
.ticket-sidebar .panel-body {
  padding:20px
}
.ticket-sidebar h2 {
  font-size:17px
}
.ticket-history {
  list-style:none;
  padding:0 20px;
  margin:0
}
.ticket-history li {
  padding:14px 0;
  border-bottom:1px solid var(--alo-border);
  font-size:.875rem
}
.ticket-history li:last-child {
  border:0
}
.ticket-history strong {
  display:block;
  font-weight:500
}
.ticket-history time,.ticket-history span {
  display:block;
  color:var(--alo-muted);
  font-size:.8125rem;
  margin-top:4px
}
.delivery-list>div+div {
  margin-top:16px
}
.delivery-list small {
  display:block;
  margin-top:4px
}
.delivery-list p {
  font-size:.875rem;
  margin-top:8px
}
.reply-delivery {
  display:grid;
  gap:6px;
  list-style:none;
  margin:10px 0 0;
  padding:8px 0 0;
  border-top:1px solid var(--line-soft);
  color:var(--alo-muted);
  font-size:.75rem
}
.reply-delivery li {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:4px 8px
}
.reply-delivery :is(a,button) {
  min-height:32px;
  display:inline-flex;
  align-items:center
}
.attachments {
  display:grid;
  gap:20px
}
.attachment {
  display:grid;
  gap:12px
}
.attachment a {
  overflow-wrap:anywhere
}
.attachment-photo {
  display:block;
  max-width:100%;
  height:auto;
  max-height:250px;
  border-radius:8px;
  object-fit:contain;
  object-position:left
}
.attachment audio,audio {
  width:100%;
  max-width:100%
}
.translation {
  padding-bottom:20px;
  margin-bottom:20px;
  border-bottom:1px solid var(--alo-border);
  overflow-wrap:anywhere
}
.translation:last-child {
  border:0;
  margin-bottom:0;
  padding-bottom:0
}
.translation p {
  margin:12px 0
}
.translation details {
  margin-bottom:12px
}
.translation summary {
  cursor:pointer;
  min-height:44px;
  align-content:center;
  color:var(--alo-muted);
  font-size:.875rem
}
.text-action {
  display:inline-block;
  min-height:44px;
  align-content:center;
  font-size:.9375rem
}
.notice {
  border:1px solid var(--alo-border);
  padding:14px 18px;
  border-radius:8px;
  margin-bottom:24px;
  font-size:.9375rem
}
.notice.success {
  background:var(--alo-resolved-bg);
  color:var(--alo-resolved-ink);
  border-color:transparent
}
.notice.error {
  background:var(--alo-critical-bg);
  color:var(--alo-critical-ink);
  border-color:transparent
}
.notice.warning {
  background:var(--alo-waiting-bg);
  color:var(--alo-waiting-ink)
}
.form-layout {
  display:grid;
  grid-template-columns:minmax(0,700px) minmax(200px,1fr);
  gap:32px;
  align-items:start
}
.form-aside {
  color:var(--alo-muted);
  font-size:.9375rem;
  padding:20px 4px;
  max-width:330px
}
.form-aside h2 {
  font-size:16px;
  margin-bottom:14px
}
.form-aside p+p {
  margin-top:18px
}
.record-form .field:last-of-type {
  margin-bottom:28px
}
.directory-search {
  display:flex;
  gap:10px;
  padding:20px 24px
}
.directory-search input {
  max-width:420px;
  font-size:.9375rem
}
.profile-panel {
  max-width:650px
}
.workspace-footer {
  max-width:1504px;
  padding:24px 32px;
  display:flex;
  gap:8px;
  color:var(--alo-muted);
  font-size:.8125rem
}
.workspace-footer span:before {
  content:'·';
  margin-right:8px
}
.public-header {
  max-width:1440px;
  width:100%;
  padding:24px 48px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px
}
.public-main {
  max-width:1440px;
  padding:16px 48px 64px
}
.public-footer {
  max-width:1440px;
  margin:auto;
  padding:24px 48px;
  display:flex;
  gap:24px;
  align-items:center;
  color:var(--alo-muted);
  font-size:.875rem;
  border-top:1px solid var(--alo-border)
}
.public-footer a {
  margin-left:auto
}
.hero {
  display:grid;
  grid-template-columns:1.5fr 1fr;
  gap:48px;
  align-items:center;
  min-height:540px;
  padding:48px 0 64px
}
.hero h1 {
  font-size:52px;
  line-height:1.14;
  letter-spacing:-2px
}
.hero h1 span {
  color:var(--alo-brand-blue)
}
.hero-text {
  font-size:17px;
  color:var(--alo-muted);
  line-height:1.8;
  margin:24px 0
}
.hero .muted {
  font-size:.875rem;
  margin-top:20px
}
.hero-brand {
  padding:48px;
  display:grid;
  justify-items:center;
  gap:24px
}
.hero-brand img {
  border-radius:50%;
  max-width:100%;
  height:auto
}
.hero-brand p {
  text-align:center;
  font-size:20px;
  font-weight:500;
  letter-spacing:-.5px
}
.section-intro {
  margin-bottom:24px
}
.section-intro h2 {
  font-size:28px
}
.feature {
  padding:28px
}
.feature h3 {
  font-size:17px;
  margin:24px 0 12px
}
.feature p {
  color:var(--alo-muted);
  font-size:1rem;
  line-height:1.7
}
.step-number {
  color:var(--alo-brand-blue);
  font:14px ui-monospace,monospace
}
.public-bottom {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  padding:48px 0 8px
}
.public-bottom h2 {
  font-size:24px;
  margin-bottom:10px
}
.auth-main {
  display:grid;
  grid-template-columns:1fr 430px;
  gap:80px;
  align-items:center;
  min-height:calc(100vh - 180px);
  max-width:1120px;
  padding:60px 48px
}
.auth-intro h1 {
  font-size:44px;
  letter-spacing:-1.5px;
  margin:14px 0 22px
}
.auth-intro>p:not(.eyebrow) {
  font-size:16px;
  color:var(--alo-muted);
  line-height:1.8
}
.auth-caption {
  display:flex;
  align-items:center;
  gap:16px;
  margin-top:70px;
  font-size:.9375rem;
  color:var(--alo-muted)
}
.login-panel {
  padding:36px;
  margin:0
}
.login-logo {
  display:block;
  border-radius:50%;
  margin-bottom:24px
}
.login-panel h2 {
  font-size:23px;
  letter-spacing:-.6px
}
.login-panel>p.muted {
  font-size:.9375rem;
  margin:10px 0 28px
}
.login-help {
  font-size:.8125rem;
  color:var(--alo-muted);
  border-top:1px solid var(--alo-border);
  padding-top:22px;
  margin-top:26px;
  line-height:1.8
}
.auth-page .public-footer {
  justify-content:center;
  border:0
}
.nav-scrim {
  position:fixed;
  inset:0;
  background:rgba(3,12,27,.5);
  z-index:25;
  border:0
}
.theme-toggle {
  margin-left:0
}
.theme-toggle[aria-pressed=true] .theme-symbol {
  transform:rotate(180deg)
}
html[data-theme=dark] img[src*='/lucide/'] {
  filter:invert(.8)
}
@media(min-width:1680px) {
  .ticket-layout {
    grid-template-columns:minmax(0,1fr) 340px
  }
  .metrics {
    gap:20px
  }
  .work-grid {
    gap:24px
  }
}
@media(max-width:1199px) {
  .metrics {
    grid-template-columns:repeat(3,minmax(0,1fr))
  }
  .topbar {
    padding:0 24px;
    gap:12px
  }
  main {
    padding:24px
  }
  .work-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .work-grid>.panel:last-child {
    grid-column:1/-1
  }
  .ticket-layout {
    grid-template-columns:minmax(0,1fr) 270px;
    gap:18px
  }
  .panel-heading,.panel-body,.messages,.composer {
    padding:20px
  }
  .quick-search {
    width:240px
  }
  .account-name {
    display:none
  }
  .form-layout {
    gap:24px
  }
  .hero h1 {
    font-size:44px
  }
}
@media(max-width:1023px) {
  .sidebar {
    width:260px;
    transform:translateX(-100%);
    transition:transform .16s ease-out
  }
  .sidebar.open {
    transform:translateX(0)
  }
  .workspace-main {
    margin-left:0
  }
  .menu-toggle {
    display:inline-flex
  }
  .topbar {
    height:68px
  }
  .quick-search {
    width:260px
  }
  .ticket-layout {
    grid-template-columns:minmax(0,1fr) 280px
  }
  .auth-main {
    gap:48px;
    grid-template-columns:1fr 390px;
    padding:48px 32px
  }
  .public-header,.public-main,.public-footer {
    padding-left:32px;
    padding-right:32px
  }
  .hero {
    gap:20px
  }
  .hero h1 {
    font-size:38px
  }
  .hero-brand {
    padding:20px
  }
  .hero-brand img {
    width:200px
  }
  .public-page .work-grid {
    grid-template-columns:1fr
  }
  .public-page .work-grid>.panel {
    grid-column:auto
  }
  .feature {
    margin-bottom:0
  }
  .public-page .work-grid {
    gap:16px
  }
  .auth-intro h1 {
    font-size:36px
  }
  .auth-caption {
    margin-top:40px
  }
}
@media(max-width:767px) {
  body {
    font-size:1rem
  }
  main {
    padding:24px 16px
  }
  .topbar {
    padding:0 12px;
    gap:8px
  }
  .section-title {
    font-size:.9375rem;
    white-space:nowrap;
    max-width:160px;
    overflow:hidden;
    text-overflow:ellipsis
  }
  .quick-search {
    margin-left:auto;
    width:200px
  }
  .quick-search input {
    font-size:.875rem
  }
  .page-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:16px;
    margin-bottom:24px
  }
  h1 {
    font-size:24px
  }
  .metrics {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px
  }
  .metric {
    padding:16px
  }
  .metric strong {
    font-size:28px
  }
  .work-grid {
    grid-template-columns:1fr;
    gap:0
  }
  .work-grid>.panel:last-child {
    grid-column:auto
  }
  .panel {
    margin-bottom:20px
  }
  .panel-heading {
    padding:16px 18px
  }
  .panel-heading>.muted {
    display:none
  }
  .panel-heading h2 {
    font-size:16px
  }
  .ticket-layout {
    display:flex;
    flex-direction:column;
    gap:0
  }
  .ticket-main {
    width:100%
  }
  .ticket-sidebar {
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
    align-items:start
  }
  .ticket-sidebar>.panel:first-child {
    grid-column:1/-1
  }
  .ticket-sidebar .metadata {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px 16px
  }
  .ticket-sidebar .metadata dt {
    grid-column:1
  }
  .ticket-sidebar .metadata dd {
    grid-column:2
  }
  .ticket-sidebar form {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:14px
  }
  .ticket-sidebar form>.field {
    margin:0
  }
  .ticket-sidebar form>.field:first-of-type {
    grid-column:1
  }
  .ticket-sidebar form>button {
    grid-column:1/-1
  }
  .heading-actions {
    width:100%
  }
  .heading-actions form {
    flex:1
  }
  .heading-actions .button {
    width:100%
  }
  .message {
    max-width:100%
  }
  .message.outgoing {
    margin-left:12px;
    max-width:calc(100% - 12px)
  }
  .messages,.composer,.panel-body {
    padding:18px
  }
  .composer-actions {
    flex-wrap:wrap;
    justify-content:flex-end
  }
  .composer-actions>.muted {
    margin-right:auto
  }
  .composer-actions .button {
    font-size:.875rem
  }
  .private-composer {
    padding:0 18px
  }
  .private-composer summary span {
    display:block;
    margin:4px 0 0 16px
  }
  .activity li {
    flex-wrap:wrap;
    gap:6px 10px;
    padding:14px 18px
  }
  .activity li>span:not(.activity-marker) {
    flex-basis:calc(100% - 20px);
    margin-left:16px;
    order:3
  }
  .filter-main>.field {
    flex-basis:calc(50% - 12px)
  }
  .filter-main>.search-field {
    flex-basis:100%
  }
  .filters {
    padding:16px
  }
  .filter-actions>.muted {
    margin-left:0;
    flex-basis:100%;
    margin-top:8px
  }
  .checkboxes {
    gap:8px 12px
  }
  .pagination {
    padding:16px;
    flex-wrap:wrap
  }
  .form-layout {
    display:flex;
    flex-direction:column;
    gap:0
  }
  .form-layout>.panel {
    width:100%
  }
  .form-aside {
    max-width:100%;
    padding:0 0 20px
  }
  .directory-search {
    padding:16px;
    flex-wrap:wrap
  }
  .directory-search input {
    flex:1;
    min-width:140px
  }
  .workspace-footer {
    padding:16px
  }
  .hero {
    grid-template-columns:1fr;
    min-height:0;
    padding:42px 0
  }
  .hero h1 {
    font-size:38px;
    letter-spacing:-1.2px
  }
  .hero-brand {
    display:none
  }
  .hero-text {
    font-size:16px;
    margin:22px 0
  }
  .public-header {
    padding:16px
  }
  .public-header .brand strong {
    font-size:18px
  }
  .public-header>.heading-actions {
    width:auto;
    flex-wrap:nowrap
  }
  .public-header .button {
    font-size:.8125rem;
    padding:10px
  }
  .public-main {
    padding:0 20px 40px
  }
  .public-footer {
    padding:20px;
    flex-wrap:wrap;
    gap:12px
  }
  .public-footer a {
    margin-left:0
  }
  .section-intro h2 {
    font-size:24px
  }
  .public-bottom {
    flex-direction:column;
    align-items:flex-start;
    padding-top:32px
  }
  .public-bottom h2 {
    font-size:22px
  }
  .auth-main {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:24px;
    padding:24px 20px 40px;
    min-height:calc(100vh - 150px)
  }
  .auth-intro {
    display:none
  }
  .login-panel {
    padding:28px 24px;
    max-width:430px;
    width:100%;
    margin:auto
  }
  .login-panel h2 {
    font-size:22px
  }
  .login-logo {
    width:64px;
    height:64px
  }
  .field input,.field select,.field textarea {
    font-size:16px
  }
  .auth-page .public-footer {
    font-size:.8125rem
  }
  .form-aside h2 {
    font-size:16px
  }
  .notice {
    padding:14px;
    font-size:.9375rem
  }
}
@media(max-width:550px) {
  .topbar .quick-search {
    display:none
  }
  .topbar .theme-toggle {
    margin-left:auto
  }
  .ticket-sidebar {
    display:block
  }
  .panel-heading .muted {
    display:none
  }
  .filter-main>.field {
    flex-basis:100%
  }
  .filter-main>.field.search-field {
    flex-basis:100%
  }
  .ticket-sidebar form {
    grid-template-columns:1fr
  }
  .ticket-sidebar form>.field,.ticket-sidebar form>.field:first-of-type {
    grid-column:1
  }
  .problem-text {
    font-size:1rem
  }
  .heading-badges>.muted {
    flex-basis:100%;
    margin-top:4px
  }
  .public-header .heading-actions {
    gap:0
  }
  .public-header .button {
    max-width:152px
  }
  .public-header .brand {
    gap:8px
  }
  .public-header .brand img {
    width:34px;
    height:34px
  }
  .public-header .brand strong {
    font-size:17px
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    transition:none!important;
    animation:none!important;
    scroll-behavior:auto!important
  }
}
@media print {
  .sidebar,.topbar,.workspace-footer,.heading-actions,.composer,.private-composer,.nav-scrim {
    display:none!important
  }
  .workspace-main {
    margin:0
  }
  main {
    padding:0
  }
  .panel {
    break-inside:avoid
  }
  .ticket-layout {
    display:block
  }
  .ticket-sidebar {
    display:block
  }
  body {
    background:white;
    color:black
  }
}
.retry-confirm {
  display:flex;
  align-items:flex-start;
  gap:8px;
  font-size:.875rem;
  margin:12px 0
}
.retry-confirm input {
  flex:none;
  width:18px;
  height:18px
}
.delivery-list form {
  display:block!important
}
.linked-locations {
  display:flex;
  gap:16px;
  flex-wrap:wrap
}
.linked-locations a {
  min-height:44px;
  align-content:center
}
.ticket-sidebar form .field:nth-of-type(3) {
  grid-column:auto
}
.nav-close {
  display:none
}
html[data-theme=dark] .theme-toggle .theme-symbol {
  content:url("vendor/lucide/sun.6ca8c90935c5.svg");
  transform:none
}
.theme-toggle img {
  opacity:.75
}
@media(max-width:1023px) {
  .nav-close {
    display:flex;
    position:absolute;
    right:12px;
    top:20px
  }
  .sidebar .brand {
    margin-right:25px
  }
  .sidebar .brand strong {
    font-size:18px
  }
  .sidebar .brand small {
    font-size:.6875rem
  }
}
/* Input boundaries remain visible without relying on placeholder text. */
.field input:not([type=checkbox]),.field select,.field textarea,.directory-search input  {
  border-color:var(--alo-control-border);
}
/* Inline links must remain distinguishable without color perception. */
p a:not(.button),dd a,.eyebrow a {
  text-decoration:underline;
  text-underline-offset:3px
}
.ticket-id {
  display:inline-flex;
  align-items:center;
  min-height:24px
}
/* On a phone, rows become compact work cards rather than clipped wide tables. */
@media(max-width:767px) {
  .ticket-table:where(:not([data-view] *)),.compact-table:where(:not([data-view] *)) {
    min-width:0;
    display:block
  }
  .ticket-table:where(:not([data-view] *)) thead,.compact-table:where(:not([data-view] *)) thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%)
  }
  .ticket-table:where(:not([data-view] *)) tbody,.compact-table:where(:not([data-view] *)) tbody {
    display:block
  }
  .ticket-table:where(:not([data-view] *)) tr,.compact-table:where(:not([data-view] *)) tr {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px 16px;
    padding:18px;
    border-top:1px solid var(--alo-border);
    position:relative
  }
  .ticket-table:where(:not([data-view] *)) tr.overdue-row {
    box-shadow:inset 3px 0 var(--alo-waiting-ink)
  }
  .ticket-table:where(:not([data-view] *)) td,.ticket-table:where(:not([data-view] *)) th,.compact-table:where(:not([data-view] *)) td,.compact-table:where(:not([data-view] *)) th {
    display:block;
    padding:0;
    border:0;
    box-shadow:none;
    font-size:.9375rem;
    min-width:0;
    overflow-wrap:anywhere
  }
  .ticket-table:where(:not([data-view] *)) td.summary,.compact-table:where(:not([data-view] *)) td.summary {
    min-width:0;
    max-width:none;
    width:auto;
    font-size:1rem;
    grid-column:1/-1;
    grid-row:3
  }
  .ticket-table:where(:not([data-view] *)) td.summary a,.compact-table:where(:not([data-view] *)) td.summary a {
    display:block;
    min-height:44px;
    align-content:center;
    font-weight:500
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(2) {
    grid-column:1/-1;
    grid-row:2
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(2)>small {
    display:inline;
    margin-left:8px
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(4),.compact-table:where(:not([data-view] *)) td:nth-child(4) {
    grid-column:2;
    grid-row:1;
    text-align:right
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(5) {
    grid-column:1/-1;
    grid-row:4
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(5):before,.compact-table:where(:not([data-view] *)) td:nth-child(5):before {
    content:'Исполнитель: ';
    font-size:.8125rem;
    color:var(--alo-muted)
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(6) {
    grid-column:1;
    grid-row:5
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(7) {
    grid-column:2;
    grid-row:5
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(6):before {
    content:'Создана';
    display:block;
    font-size:.8125rem;
    color:var(--alo-muted)
  }
  .ticket-table:where(:not([data-view] *)) td:nth-child(7):before {
    content:'Обновлена';
    display:block;
    font-size:.8125rem;
    color:var(--alo-muted)
  }
  .ticket-table:where(:not([data-view] *)) time small {
    display:inline;
    margin-left:5px
  }
  .compact-table:where(:not([data-view] *)) td:nth-child(2) {
    grid-column:1;
    grid-row:2
  }
  .compact-table:where(:not([data-view] *)) td:nth-child(5) {
    grid-column:2;
    grid-row:2;
    text-align:right
  }
  .ticket-table:where(:not([data-view] *)) td[colspan],.compact-table:where(:not([data-view] *)) td[colspan] {
    grid-column:1/-1;
    grid-row:auto
  }
  .compact-table:where(:not([data-view] *)) th>small {
    display:none
  }
}
.mobile-parameters {
  display:none
}
@media(max-width:767px) {
  .mobile-parameters {
    display:inline-flex
  }
  .heading-actions .mobile-parameters {
    width:100%
  }
  #ticket-data {
    scroll-margin-top:20px
  }
}
@media print {
  .alo-qr-actions,.skip,.nav-close {
    display:none!important
  }
  .alo-qr-sheet {
    background:white;
    color:black
  }
}
/* Distinct directory links have separate WCAG 2.2 pointer targets. */
table th a:not(.button) { display:inline-flex; min-height:24px; align-items:center; }
@media(max-width:767px) { table th a:not(.button) { min-height:44px; } }
.basic-filters { flex:3 1 530px; min-width:0; }
.basic-filters>summary { display:none; }
@media(max-width:767px) {
  .basic-filters { flex-basis:100%; }
  .basic-filters>summary { display:list-item; cursor:pointer; min-height:44px; align-content:center; color:var(--alo-muted); font-size:.9375rem; }
}
.form-layout .panel-body>h3 { margin-top:20px; margin-bottom:8px; }

.remote-panel { margin-bottom:24px; }
.remote-metadata { display:grid; grid-template-columns:minmax(100px,1fr) minmax(0,2fr); gap:8px 16px; }
.remote-metadata dt { color:var(--alo-muted); }
.remote-metadata dd { margin:0; overflow-wrap:anywhere; }
.remote-actions { display:flex; flex-wrap:wrap; gap:12px; margin:20px 0 12px; }
.remote-actions form { margin:0; }
.remote-history { margin-top:20px; }
.remote-history summary { cursor:pointer; padding:8px 0; }
.remote-unbind { margin-top:16px; display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.remote-unbind label { display:flex; gap:8px; align-items:center; }
.remote-mapping { margin-top:16px; }
.remote-instructions { padding-left:24px; }
.remote-instructions li { margin:16px 0; }
.remote-devices { display:grid; gap:20px; }
.remote-device { padding:20px; border:1px solid var(--alo-border); border-radius:12px; }
.remote-device h3 { overflow-wrap:anywhere; }
@media(max-width:767px) {
  .remote-actions,.remote-actions form,.remote-actions .button { width:100%; }
  .remote-metadata { grid-template-columns:1fr; gap:4px; }
  .remote-metadata dd { margin-bottom:12px; }
  .remote-device { padding:16px; }
}

/* Intelligence reuses the workspace surfaces, fields and theme tokens. */
.intelligence-form{max-width:850px}.intelligence-form select[multiple]{min-height:130px}
.intelligence-preview{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.875rem;background:var(--alo-surface-alt);padding:16px;border-radius:8px;max-height:650px;overflow:auto}
.intelligence-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.intelligence-stats dd{font-size:1.5rem;font-weight:600;margin:8px 0}
@media(max-width:768px){.intelligence-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.intelligence-form{max-width:100%}}
.export-filters{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
.export-filters>p,.export-filters>.notice,.export-filters>button{grid-column:1/-1}
.export-filters>button{justify-self:start}.intelligence-stats dt,.translation summary{overflow-wrap:anywhere}
@media(max-width:767px){.export-filters{grid-template-columns:minmax(0,1fr)}}

.ai-engineer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 8px 16px;
}
.ai-engineer-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 12px;
  align-items: end;
}
.ai-engineer-filters label {
  display: grid;
  gap: 6px;
}
.ai-engineer-filters :is(input, select) {
  width: 100%;
  min-width: 0;
}

/* The same checkbox filters in queues, directories and Intelligence exports. */
.filter-multiselect {
  min-width: 0;
  border: 1px solid var(--alo-border);
  border-radius: 6px;
  background: var(--alo-surface);
}
.filter-multiselect > summary {
  cursor: pointer;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 14px;
}
.filter-multiselect[open] > summary {
  border-bottom: 1px solid var(--alo-border);
}
.filter-choice-list {
  max-height: 240px;
  overflow-y: auto;
  padding: 4px;
  overscroll-behavior: contain;
}
.workspace-v2 details.filter-multiselect .filter-choice > label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin: 0;
  padding: 5px 6px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  overflow-wrap: anywhere;
}
.filter-choice > label:hover,
.filter-choice > label:focus-within {
  background: var(--alo-surface-alt);
}
.workspace-v2 details.filter-multiselect .filter-choice input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  margin: 0;
  accent-color: var(--alo-brand-blue);
}
.filter-multiselect > small {
  display: block;
  padding: 5px 10px 8px;
  color: var(--alo-muted);
  font-size: 12px;
}
.filter-choice-list > .help:empty {
  display: none;
}
@media (pointer: coarse) {
  .workspace-v2 details.filter-multiselect .filter-choice > label {
    min-height: 44px;
  }
}
.filter-choice-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px;
  border-bottom: 1px solid var(--alo-border);
}
.filter-choice-tools input[type="search"] {
  flex: 1 1 120px;
  min-width: 0;
  width: 100%;
  font-size: 14px;
}
.filter-choice-tools .button {
  font-size: 13px;
  padding: 6px 8px;
}
.filter-choice-empty {
  margin: 0;
  padding: 8px 12px;
  font-size: 14px;
}
.filter-choice[hidden] {
  display: none;
}

.filter-multiselect > summary [data-filter-summary] {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.filter-choice-done {
  margin: 0 8px 8px;
}
.queue-filter-details .filter-options {
  max-height: min(62dvh, 580px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
@media (max-width: 600px) {
  .queue-filters .queue-controls .filter-options .filter-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

.knowledge-compare {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
}

.knowledge-compare > section {
  min-width: 0;
}

.knowledge-content {
  margin-block: .65rem 1rem;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
