/* ALO Desk / Django Admin adapter. Brand values live in brand/alo-tokens.css. */
.alo-translations { min-width: 0; grid-column: 1; padding: 20px; }
.alo-translations > h2 { margin-top: 0; padding: 0 0 16px; }
.alo-translation .alo-section-heading { padding: 0; align-items: baseline; }
.alo-translation { padding-block: 1rem; border-bottom: 1px solid var(--alo-border); }
.alo-translation:last-child { border-bottom: 0; }
.alo-translation p, .alo-translation h3 { overflow-wrap: anywhere; white-space: normal; }
.alo-translated-text { font-size: 1rem; line-height: 1.6; }
.alo-translation details { margin-block: .75rem; }
.alo-translation summary { cursor: pointer; min-height: 44px; display: list-item; align-content: center; }
.alo-translation audio { max-width: 100%; }
:root, html[data-theme="light"], html[data-theme="dark"] {
  color-scheme: light;
  --primary: var(--alo-brand-blue);
  --secondary: var(--alo-brand-navy);
  --accent: var(--alo-brand-navy);
  --body-fg: var(--alo-ink);
  --body-bg: var(--alo-canvas);
  --body-quiet-color: var(--alo-muted);
  --body-medium-color: var(--alo-muted);
  --body-loud-color: var(--alo-brand-navy);
  --header-color: var(--alo-ink);
  --header-branding-color: var(--alo-brand-navy);
  --header-bg: var(--alo-surface);
  --header-link-color: var(--alo-brand-blue);
  --breadcrumbs-fg: var(--alo-muted);
  --breadcrumbs-link-fg: var(--alo-brand-blue);
  --breadcrumbs-bg: var(--alo-canvas);
  --link-fg: var(--alo-brand-blue);
  --link-hover-color: var(--alo-brand-blue-hover);
  --link-selected-fg: var(--alo-brand-blue-hover);
  --hairline-color: var(--alo-border);
  --border-color: var(--alo-border);
  --darkened-bg: var(--alo-surface-alt);
  --selected-bg: var(--alo-new-bg);
  --selected-row: var(--alo-new-bg);
  --button-fg: var(--alo-surface);
  --button-bg: var(--alo-brand-blue);
  --button-hover-bg: var(--alo-brand-blue-hover);
  --default-button-bg: var(--alo-brand-blue);
  --default-button-hover-bg: var(--alo-brand-blue-hover);
  --close-button-bg: var(--alo-muted);
  --close-button-hover-bg: var(--alo-ink);
  --delete-button-bg: var(--alo-critical-ink);
  --delete-button-hover-bg: var(--alo-critical-ink);
  --object-tools-fg: var(--alo-ink);
  --object-tools-bg: var(--alo-surface-alt);
  --object-tools-hover-bg: var(--alo-border);
  --error-fg: var(--alo-critical-ink);
  --message-error-bg: var(--alo-critical-bg);
  --message-warning-bg: var(--alo-waiting-bg);
  --message-success-bg: var(--alo-resolved-bg);
  --font-family-primary: var(--alo-font-ui);
  --font-family-monospace: ui-monospace, SFMono-Regular, Consolas, monospace;
  --alo-header-height: 80px;
  --alo-nav-width: 240px;
}
* { box-sizing: border-box; }
body { margin: 0; font: 14px/1.5 var(--alo-font-ui); background: var(--alo-canvas); color: var(--alo-ink); }
a:link, a:visited { color: var(--alo-brand-blue); }
a:hover { color: var(--alo-brand-blue-hover); }
h1, h2, h3, h4, h5 { font-family: var(--alo-font-heading); color: var(--alo-brand-navy); }
h1 { font-size: 28px; font-weight: 700; line-height: 1.25; margin: 0 0 24px; }
h2 { font-size: 20px; line-height: 1.35; }
p, li, dt, dd { font-size: inherit; line-height: 1.5; }
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--alo-brand-blue); outline-offset: 2px; box-shadow: var(--alo-focus-ring);
}
.skip-to-content-link { z-index: 100; }
#container { min-width: 0; }
#header { min-height: var(--alo-header-height); padding: 16px 28px; border-bottom: 1px solid var(--alo-border); gap: 16px; flex-direction: row; }
#branding { display: flex; align-items: center; gap: 12px; min-width: 0; }
.alo-brand, #header .alo-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--alo-brand-navy); text-decoration: none; }
.alo-brand img { display: block; object-fit: contain; border-radius: 50%; flex-shrink: 0; }
.alo-brand-name { display: block; color: var(--alo-brand-navy); font-family: var(--alo-font-heading); font-size: 20px; font-weight: 700; line-height: 1.25; }
.alo-brand-caption { display: block; color: var(--alo-muted); font-size: 12px; margin-top: 3px; }
#user-tools { display: flex; align-items: center; gap: 20px; font-size: 13px; letter-spacing: normal; text-transform: none; }
.alo-account { display: flex; flex-direction: column; align-items: flex-end; color: var(--alo-ink); }
.alo-account > span { font-size: 12px; color: var(--alo-muted); }
#user-tools a, #logout-form button { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 4px; border: 0; border-radius: 0; color: var(--alo-brand-blue); font: inherit; text-decoration: none; }
#user-tools a:hover, #logout-form button:hover { text-decoration: underline; }
#logout-form button { text-transform: none; }
.alo-menu-toggle, .alo-nav-backdrop { display: none; }
#alo-nav { position: fixed; top: var(--alo-header-height); bottom: 0; left: 0; z-index: 30; width: var(--alo-nav-width); padding: 24px 16px; overflow-y: auto; background: var(--alo-surface); border-right: 1px solid var(--alo-border); }
.alo-nav-label { margin: 0 12px 12px; font-size: 11px; font-weight: 600; color: var(--alo-muted); letter-spacing: .05em; text-transform: uppercase; }
.alo-nav-settings { margin-top: 28px; }
#alo-nav > a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; min-height: 44px; margin-bottom: 4px; border-radius: var(--alo-radius-md); color: var(--alo-ink); font-weight: 500; }
#alo-nav > a img { opacity: .7; flex-shrink: 0; }
#alo-nav > a:hover { background: var(--alo-surface-alt); }
#alo-nav > a[aria-current] { color: var(--alo-brand-blue); background: var(--alo-new-bg); box-shadow: inset 2px 0 var(--alo-brand-blue); font-weight: 600; }
.alo-nav-account { border-top: 1px solid var(--alo-border); margin-top: 24px; padding: 20px 12px 0; display: flex; flex-direction: column; gap: 4px; }
.alo-nav-account > span { color: var(--alo-muted); font-size: 12px; }
.alo-nav-account a, .alo-nav-account button { min-height: 44px; display: inline-flex; align-items: center; }
.alo-nav-account button { padding: 0; background: none; border: 0; color: var(--alo-brand-blue); font: inherit; cursor: pointer; }
.alo-shell > #container > nav { margin-left: var(--alo-nav-width); }
.alo-shell .main { margin-left: var(--alo-nav-width); }
.main > .content { min-width: 0; width: 100%; }
#content { max-width: 1440px; width: 100%; padding: 28px 32px; margin: 0 auto; }
div.breadcrumbs { padding: 16px 32px 0; font-size: 12px; overflow-wrap: anywhere; }
.breadcrumbs a, .help a, .description a, p a:not(.button) { text-decoration: underline; text-underline-offset: 2px; }
#content-main { min-width: 0; float: none; width: 100%; }
#footer { color: var(--alo-muted); font-size: 12px; padding: 24px 32px; text-align: center; }
.alo-shell #footer { margin-left: var(--alo-nav-width); }
.alo-demo { background: var(--alo-waiting-bg); color: var(--alo-waiting-ink); padding: 8px 12px; border-radius: var(--alo-radius-sm); }
.alo-page-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; }
.alo-page-heading h1 { margin: 0; }
.alo-eyebrow { color: var(--alo-muted); font-size: 12px; margin: 0 0 6px; }
.alo-page-date { color: var(--alo-muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.alo-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.alo-section-heading h2 { margin: 0; font-size: 18px; }
.alo-section-heading > a { font-size: 13px; min-height: 44px; display: inline-flex; align-items: center; }
.alo-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-bottom: 24px; }
.alo-metric { display: flex; flex-direction: column; padding: 20px 24px; border: 1px solid var(--alo-border); border-radius: var(--alo-radius-lg); background: var(--alo-surface); box-shadow: var(--alo-shadow-card); }
a.alo-metric { color: var(--alo-ink); }
a.alo-metric:hover { border-color: var(--alo-brand-blue); }
.alo-metric-label { font-size: 13px; color: var(--alo-muted); }
.alo-metric strong { font: 700 32px/1.3 var(--alo-font-heading); color: var(--alo-brand-navy); font-variant-numeric: tabular-nums; margin: 12px 0; }
.alo-metric-detail { display: flex; justify-content: space-between; font-size: 12px; color: var(--alo-brand-blue); }
.alo-metric-critical { border-color: var(--alo-critical-ink); }
.alo-metric-critical strong, .alo-metric-critical .alo-metric-label, .alo-metric-critical .alo-metric-detail { color: var(--alo-critical-ink); }
.alo-latest { overflow: hidden; margin-bottom: 24px; }
.alo-latest table { width: 100%; }
.alo-table-scroll, .results, .inline-group .tabular { overflow-x: auto; max-width: 100%; overscroll-behavior-inline: contain; }
#change-history { overflow-x: auto; max-width: 100%; }
.alo-table-scroll table { min-width: 620px; }
.alo-summary { max-width: 360px; overflow-wrap: anywhere; }
.alo-cell-meta { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--alo-muted); }
.alo-ticket-id { font-family: var(--font-family-monospace); font-size: 13px; font-weight: 600; white-space: nowrap; }
.alo-critical-text { color: var(--alo-critical-ink); }
.alo-badge { display: inline-flex; align-items: center; max-width: 100%; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 600; line-height: 1.4; white-space: normal; }
.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); }
.alo-ticket-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.alo-ticket-badges .alo-cell-meta { margin: 0; }
.module, .inline-group { border: 1px solid var(--alo-border); border-radius: var(--alo-radius-lg); background: var(--alo-surface); margin-bottom: 20px; min-width: 0; }
.module h2, .module caption, .inline-group h2 { background: var(--alo-surface); color: var(--alo-brand-navy); font-size: 16px; font-weight: 600; padding: 16px 20px; border-radius: var(--alo-radius-lg) var(--alo-radius-lg) 0 0; border-bottom: 1px solid var(--alo-border); }
.module caption a.section { color: var(--alo-brand-navy); }
.module caption, .inline-group h2 { text-transform: none; letter-spacing: normal; }
.module table { width: 100%; }
th, td { border-color: var(--alo-border); font-size: 13px; padding: 14px 16px; vertical-align: top; line-height: 1.5; }
thead th { background: var(--alo-surface-alt); color: var(--alo-muted); font-weight: 600; }
table thead th .text a { padding: 12px 16px; min-height: 44px; color: var(--alo-muted); }
table thead th .text span { padding: 12px 16px; }
table tbody tr:nth-child(odd), table tbody tr:nth-child(even) { background: var(--alo-surface); }
.row1, .row2 { background: var(--alo-surface); }
table tbody tr:hover { background: var(--alo-surface-alt); }
tr.selected { background: var(--alo-new-bg); }
#result_list .field-summary { min-width: 210px; max-width: 330px; white-space: normal; overflow-wrap: anywhere; }
#result_list .field-location { min-width: 170px; white-space: normal; }
#result_list .field-ticket_status, #result_list .field-criticality { min-width: 140px; }
#changelist { border: 0; background: transparent; display: flex; flex-direction: column; gap: 16px; }
#changelist .changelist-form-container { min-width: 0; width: 100%; }
#changelist-form { background: var(--alo-surface); border: 1px solid var(--alo-border); border-radius: var(--alo-radius-lg); overflow: hidden; }
#changelist .actions { padding: 12px 16px; background: var(--alo-surface); color: var(--alo-muted); border-bottom: 1px solid var(--alo-border); }
#changelist .actions label, #changelist .actions .button { margin: 4px; }
#changelist .actions .button { min-height: 44px; padding: 10px 16px; }
#changelist .paginator { padding: 16px; background: var(--alo-surface); border-top: 1px solid var(--alo-border); font-size: 13px; }
#changelist .paginator a, #changelist .paginator .this-page { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px 12px; border-radius: var(--alo-radius-sm); }
#toolbar { border: 1px solid var(--alo-border); border-radius: var(--alo-radius-md); padding: 12px 16px; background: var(--alo-surface); margin-bottom: 16px; }
#toolbar form { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
#toolbar form > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; }
#toolbar #searchbar { width: min(460px, 100%); min-height: 44px; padding: 10px 12px; border: 1px solid var(--alo-muted); font-size: 14px; }
#toolbar form input[type=submit] { min-height: 44px; padding: 10px 18px; border-radius: var(--alo-radius-md); border: 0; background: var(--alo-brand-blue); color: var(--alo-surface); }
#changelist-filter { position: static; width: 100%; flex: none; margin: 0 0 16px; background: var(--alo-surface); border: 1px solid var(--alo-border); border-radius: var(--alo-radius-md); overflow: visible; }
#changelist-filter h2 { background: var(--alo-surface); color: var(--alo-brand-navy); border-bottom: 1px solid var(--alo-border); }
#changelist-filter h3 { font-size: 13px; }
#changelist-filter > details { padding: 0 12px; display: inline-block; width: min(240px, 100%); vertical-align: top; }
#changelist-filter > .alo-filter-drawer { display: block; width: 100%; padding: 0; }
#changelist-filter .alo-filter-drawer > details { padding: 0 12px; display: inline-block; width: min(240px, 100%); vertical-align: top; }
#changelist-filter .alo-filter-drawer > summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; margin: 0; }
#changelist-filter .alo-filter-drawer > summary h2 { margin: 0; padding: 0; border: 0; }
#changelist-filter details summary { padding: 12px 8px; min-height: 44px; cursor: pointer; color: var(--alo-ink); }
#changelist-filter details > summary { padding: 12px 8px; margin-bottom: 0; }
#changelist-filter ul { margin: 0; padding: 0 8px 12px; }
#changelist-filter li a { display: flex; align-items: center; min-height: 44px; padding: 8px; color: var(--alo-muted); border-radius: var(--alo-radius-sm); }
#changelist-filter li.selected a { color: var(--alo-brand-blue); font-weight: 600; background: var(--alo-new-bg); }
#changelist-filter-clear a { color: var(--alo-brand-blue); }
.xfull { background: transparent; padding: 0 0 16px; }
.xfull a, .xfull li { font-size: 13px; }
.button, input[type=submit], input[type=button], button.button, .submit-row input, a.button, .object-tools a {
  min-height: 44px; padding: 11px 18px; border-radius: var(--alo-radius-md); font: 500 14px/1.5 var(--alo-font-ui); text-transform: none; cursor: pointer;
}
.button:hover, input[type=submit]:hover { background: var(--alo-brand-blue-hover); }
a.button:link, a.button:visited, .aligned .readonly a.button { color: var(--alo-surface); }
a.button { display: inline-flex; align-items: center; justify-content: center; }
.button.default, input[type=submit].default, .submit-row input.default { text-transform: none; font-weight: 600; }
button:disabled, input:disabled, select:disabled, textarea:disabled, .button[aria-disabled=true] { opacity: .55; cursor: not-allowed; }
.object-tools { float: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; }
.object-tools li { float: none; height: auto; margin: 0; padding: 0; }
.object-tools a:link, .object-tools a:visited { background: var(--alo-surface); color: var(--alo-brand-blue); border: 1px solid var(--alo-border); display: inline-flex; align-items: center; }
.object-tools a.addlink { background-color: var(--alo-brand-blue); color: var(--alo-surface); padding-right: 32px; }
.object-tools a:hover { background-color: var(--alo-surface-alt); color: var(--alo-brand-blue-hover); }
.addlink { background-image: url("vendor/lucide/plus.e9701e165d29.svg"); }
.changelink { background-image: url("vendor/lucide/pencil.745f55cfaf06.svg"); }
.viewlink { background-image: url("vendor/lucide/eye.ff7fae0fcd73.svg"); }
.deletelink { background-image: url("vendor/lucide/trash-2.f2b098337afd.svg"); }
.addlink, .changelink, .viewlink, .deletelink { background-size: 14px 14px; }
input, textarea, select, .vTextField { border-radius: var(--alo-radius-sm); font: inherit; color: var(--alo-ink); background: var(--alo-surface); }
input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]), select, textarea { min-height: 44px; padding: 10px 12px; border: 1px solid var(--alo-muted); max-width: 100%; }
input[type=checkbox], input[type=radio] { accent-color: var(--alo-brand-blue); width: 20px; height: 20px; flex-shrink: 0; }
textarea { width: min(100%, 760px); resize: vertical; }
select[multiple] { min-height: 180px; }
.form-row { padding: 16px 20px; border-bottom: 1px solid var(--alo-border); overflow: visible; }
.aligned .form-row > div > .flex-container:not(.checkbox-row) { flex-direction: column; gap: 8px; align-items: stretch; }
.aligned label { padding: 0; float: none; width: auto; font-size: 13px; color: var(--alo-muted); font-weight: 500; }
.aligned label.required { color: var(--alo-ink); font-weight: 600; }
.aligned .readonly { padding: 0; margin: 0; color: var(--alo-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.aligned bdi { overflow-wrap: anywhere; white-space: normal; }
.aligned .form-row input, .aligned .form-row select { align-self: flex-start; }
.aligned .form-row .checkbox-row { align-items: center; gap: 8px; }
.aligned .form-row .checkbox-row label { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 0; }
.aligned p.help, .aligned div.help { margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--alo-muted); }
.errornote { border: 1px solid var(--alo-critical-ink); border-radius: var(--alo-radius-sm); background: var(--alo-critical-bg); color: var(--alo-critical-ink); padding: 14px 16px; font-weight: 500; }
.errorlist { color: var(--alo-critical-ink); }
.errors input, .errors select, .errors textarea { border-color: var(--alo-critical-ink); }
ul.messagelist li { border-radius: var(--alo-radius-sm); margin: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.submit-row { border: 1px solid var(--alo-border); border-radius: var(--alo-radius-lg); padding: 16px 20px; background: var(--alo-surface); display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }
.submit-row input { margin: 0; }
.submit-row input:not(.default) { background: var(--alo-surface); color: var(--alo-ink); border: 1px solid var(--alo-muted); }
.submit-row input:not(.default):hover { background: var(--alo-surface-alt); }
.login .submit-row input { background: var(--alo-brand-blue); color: var(--alo-surface); border: 0; }
.submit-row a.deletelink { min-height: 44px; height: auto; border-radius: var(--alo-radius-md); padding: 11px 18px; }
.model-ticket #ticket_form > div { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 20px; align-items: start; }
.model-ticket #ticket_form > div > * { min-width: 0; margin: 0; }
.model-ticket #ticket_form > div > fieldset, .model-ticket #ticket_form > div > .inline-group { grid-column: 1; }
.model-ticket #ticket_form > div > .alo-ticket-data { grid-column: 2; grid-row: 1 / span 3; }
.model-ticket #ticket_form > div > .submit-row, .model-ticket #ticket_form > div > .errornote, .model-ticket #ticket_form > div > .errorlist { grid-column: 1 / -1; }
.model-ticket .tabular td.original p { display: none; }
.model-ticket .tabular td.original, .model-ticket .tabular th.original { width: 0; padding: 0; }
.model-ticket .aligned .form-row .help { margin: 8px 0 0; padding: 0; }
.model-ticket #ticket_form .alo-note { background: var(--alo-waiting-bg); }
.model-ticket .alo-note h2 { background: transparent; }
.model-ticket #ticket_form .alo-reply { border-top: 2px solid var(--alo-brand-blue); }
.model-ticket .alo-conversation { border: 0; }
.alo-conversation .alo-card { padding: 20px; }
.alo-conversation h2 { padding: 0 0 16px; margin: 0 0 16px; border-radius: 0; }
.alo-message { padding: 16px; margin-top: 12px; border: 1px solid var(--alo-border); border-radius: var(--alo-radius-md); background: var(--alo-surface); }
.alo-message-internal { background: var(--alo-waiting-bg); }
.alo-message-outgoing { background: var(--alo-new-bg); }
.alo-message-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.alo-message-heading strong { font-size: 13px; }
.alo-message time, .alo-deliveries time { font-size: 12px; color: var(--alo-muted); }
.alo-message p { white-space: pre-wrap; overflow-wrap: anywhere; margin: 10px 0 0; }
.alo-deliveries { grid-column: 1 / -1; padding: 0 20px 20px; }
.alo-deliveries .alo-section-heading { padding-left: 0; padding-right: 0; }
.alo-deliveries > p { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.alo-delivery-error { display: block; width: 100%; overflow-wrap: anywhere; color: var(--alo-critical-ink); }
.alo-attachment-photo { display: block; max-width: min(240px, 100%); max-height: 180px; object-fit: contain; border-radius: var(--alo-radius-sm); }
audio { max-width: 100%; width: 280px; }
.alo-muted { color: var(--alo-muted); }
.alo-empty { padding: 24px; color: var(--alo-muted); }
.alo-empty h2 { font-size: 18px; margin-top: 0; }
.dashboard #content { width: 100%; }
.dashboard #content-main { float: none; width: 100%; }
.dashboard #content-related { float: none; margin: 24px 0 0; width: 100%; background: var(--alo-surface); }
.dashboard #content-related h2, .dashboard #content-related h3 { color: var(--alo-brand-navy); }
.dashboard #content-main .module { margin-bottom: 16px; }
.alo-catalog > summary { cursor: pointer; min-height: 44px; padding: 12px 0; color: var(--alo-brand-navy); font-weight: 600; }
.alo-catalog[open] > summary { margin-bottom: 12px; }
.dashboard .module td, .dashboard .module th { min-height: 44px; }
.dashboard .module tbody a { display: inline-flex; align-items: center; min-height: 44px; }
.dashboard .module tbody td { width: 100px; }
.login { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 32px 20px; background: var(--alo-canvas); }
.login #container { width: 420px; max-width: 100%; min-width: 0; margin: 0; background: var(--alo-surface); border: 1px solid var(--alo-border); border-radius: var(--alo-radius-xl); box-shadow: var(--alo-shadow-card); overflow: hidden; height: auto; }
.login #header { justify-content: center; padding: 32px 28px 0; border: 0; }
.login #branding { float: none; }
.alo-login-brand { text-align: center; }
.alo-login-brand img { display: block; margin: 0 auto 16px; }
.login #header .alo-login-brand h1 { color: var(--alo-brand-navy); font-size: 28px; margin: 0; }
.alo-login-brand p { color: var(--alo-muted); margin: 8px 0 0; font-size: 13px; }
.login #content { padding: 28px 32px 32px; }
.alo-login-title { font-size: 16px; text-align: center; margin: 0 0 24px; }
.login #content-main { width: 100%; }
.login .form-row { padding: 0; margin-bottom: 20px; border: 0; }
.login .form-row label { display: block; width: auto; padding: 0; font-size: 13px; color: var(--alo-ink); line-height: 1.5; }
.login .form-row #id_username, .login .form-row #id_password { width: 100%; padding: 12px; margin-top: 8px; min-height: 44px; }
.login .submit-row { padding: 0; margin: 24px 0 0; border: 0; }
.login .submit-row input { width: 100%; }
.login #footer { padding: 0 20px 24px; }
.login .main { margin: 0; }
.selector { max-width: 100%; }
.selector .selector-available, .selector .selector-chosen { max-width: 100%; }
.selector select { border-color: var(--alo-muted); }
.selector .selector-chosen h2 { background: var(--alo-surface-alt); color: var(--alo-ink); }
.selector .selector-chosen h2 label, .selector .selector-chosen h2 .helptext { color: var(--alo-ink); }
.selector .selector-chosen-title { background: var(--alo-surface-alt); color: var(--alo-ink); }
.selector .selector-chosen-title label, .selector .selector-chosen-title .helptext { color: var(--alo-ink); }
.selector-chosen .list-footer-display { background: var(--alo-surface-alt); color: var(--alo-ink); }
.selector ul.selector-chooser { width: 52px; flex: 0 0 52px; transform: none; background: transparent; }
.selector button.selector-add, .selector button.selector-remove { width: 44px; height: 44px; border: 1px solid var(--alo-muted); border-radius: var(--alo-radius-sm); background-color: var(--alo-surface); background-size: 20px; background-position: center; }
.selector button.selector-add { background-image: url("vendor/lucide/arrow-right.ffb97ef1f746.svg"); }
.selector button.selector-remove { background-image: url("vendor/lucide/arrow-left.2c44e865edd0.svg"); }
.selector button.selector-add:is(:hover, :focus), .selector button.selector-remove:is(:hover, :focus) { background-position: center; }
.selector button.selector-chooseall, .selector button.selector-clearall { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; height: auto; padding: 8px 12px; border: 1px solid var(--alo-muted); border-radius: var(--alo-radius-sm); background: var(--alo-surface); color: var(--alo-ink); }
#result_list tbody th a { display: inline-flex; align-items: center; min-height: 44px; }
.related-widget-wrapper { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.related-widget-wrapper-link { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.related-widget-wrapper-link img { width: 20px; height: 20px; }
.calendarbox, .clockbox { background: var(--alo-surface); border-radius: var(--alo-radius-sm); color: var(--alo-ink); }
.calendarbox caption { background: var(--alo-surface-alt); color: var(--alo-ink); }
.calendar td a { color: var(--alo-brand-blue); min-height: 32px; }
@media (max-width: 1200px) {
  #content { padding: 24px; }
  #user-tools { gap: 12px; }
  .alo-account { display: none; }
  .model-ticket #ticket_form > div { grid-template-columns: minmax(0, 1fr); }
  .model-ticket #ticket_form > div > .alo-ticket-data { grid-column: 1; grid-row: auto; }
}
@media (max-width: 1023px) {
  :root { --alo-header-height: 72px; }
  #header { padding: 12px 20px; flex-direction: row; align-items: center; }
  .alo-shell .main, .alo-shell > #container > nav, .alo-shell #footer { margin-left: 0; }
  #alo-nav { position: static; width: 100%; max-height: none; border-right: 0; border-bottom: 1px solid var(--alo-border); }
  .main { flex-direction: column; }
  .alo-js #alo-nav { position: fixed; top: var(--alo-header-height); bottom: 0; width: min(320px, calc(100vw - 48px)); visibility: hidden; transform: translateX(-100%); }
  .alo-js .alo-menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; padding: 10px; background: var(--alo-surface); border: 1px solid var(--alo-border); border-radius: var(--alo-radius-md); cursor: pointer; }
  .alo-js.alo-nav-open #alo-nav { transform: none; visibility: visible; }
  .alo-nav-open { overflow: hidden; }
  .alo-nav-open .alo-nav-backdrop { display: block; position: fixed; z-index: 25; inset: var(--alo-header-height) 0 0; width: 100%; height: calc(100dvh - var(--alo-header-height)); border: 0; background: rgba(7, 27, 68, .35); }
  .alo-brand-caption { display: none; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  #header { padding: 12px 16px; gap: 8px; }
  #user-tools { width: auto; margin: 0; padding: 0; }
  #user-tools > a { display: none; }
  #user-tools #logout-form button { padding: 8px; }
  .alo-brand { gap: 8px; }
  .alo-brand-name { font-size: 18px; }
  .alo-brand img { width: 36px; height: 36px; }
  #content { padding: 20px 16px; }
  h1 { font-size: 24px; }
  div.breadcrumbs { padding: 16px 16px 0; }
  .alo-page-heading { margin-bottom: 20px; }
  .alo-page-date { display: none; }
  .alo-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .alo-metric { padding: 16px; }
  .alo-metric strong { font-size: 28px; }
  .alo-metric-label { font-size: 12px; }
  .alo-section-heading { padding: 16px; align-items: flex-start; }
  .alo-section-heading h2 { font-size: 18px; }
  .alo-section-heading > a { white-space: nowrap; font-size: 12px; margin-top: -8px; }
  .alo-conversation .alo-card { padding: 16px; }
  .alo-message { padding: 12px; }
  th, td { font-size: 14px; padding: 12px; }
  #toolbar { padding: 12px; }
  #toolbar #searchbar { width: 100%; }
  #toolbar form > div { width: 100%; }
  #toolbar form input[type=submit] { margin-top: 8px; }
  #changelist-filter > details { width: 100%; }
  #changelist-filter .alo-filter-drawer > details { width: 100%; }
  .form-row { padding: 16px; }
  .aligned .form-row .flex-container { max-width: 100%; }
  .aligned .form-row > div { width: 100%; max-width: 100%; }
  .aligned .form-row .flex-container input, .aligned .form-row .flex-container select, .aligned .form-row .flex-container textarea { max-width: 100%; min-width: 0; }
  .aligned .form-row .help { margin-left: 0; }
  .submit-row { padding: 12px; gap: 8px; }
  .submit-row input, .submit-row input.default { float: none; width: 100%; }
  .submit-row a.deletelink { width: 100%; text-align: center; }
  .model-ticket #ticket_form > div { gap: 16px; }
  .model-ticket.change-list #result_list :is(.column-created_on, .field-created_on, .column-organization, .field-organization, .column-category, .field-category, .column-assignee, .field-assignee) { display: none; }
  .model-ticket .submit-row { position: static; }
  .model-ticket .submit-row input[name=_addanother] { display: none; }
  .login { padding: 20px; }
  .login #content { padding: 24px 20px; }
  .login #header { padding-top: 24px; }
  .selector .selector-available, .selector .selector-chosen { float: none; width: 100%; }
  .selector .selector-chooser { margin: 8px auto; }
  .selector ul.selector-chooser { display: flex; width: auto; flex: 0 0 auto; }
  .selector button.selector-add, .selector button.selector-remove { transform: rotate(90deg); }
  .related-widget-wrapper { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
  .related-widget-wrapper > select { max-width: 100%; width: 100%; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .alo-badge, .alo-card, .alo-metric { border: 1px solid CanvasText; }
  #alo-nav > a[aria-current] { outline: 2px solid Highlight; }
}
