/* Compact, shared customer tasks; preserve the fixed labelled sidebar. */
/* Link states use color and keyboard focus, never an underline. */
body a, body a:visited, body a:hover, body a:focus, body a:active {
  text-decoration: none !important;
}
body .skip-link { position: fixed; z-index: 10000; }
body .account-panel .account-links {
  justify-content: center;
  text-align: center;
  border: 0;
}
.account-links:empty { display: none; }
.account-secondary { text-align: center; }
.account-panel input[autocomplete="one-time-code"] {
  text-align: center;
  font-family: Consolas, monospace;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .35em;
}
body .enterprise-hero .category-selector a { border-bottom: 0; }
.setup-workspace { max-width: 56rem; margin-inline: auto; }
.setup-workspace h1 { margin-block: 1rem; }
.setup-progress { display: flex; gap: .75rem; flex-wrap: wrap; padding: 0; list-style: none; }
.setup-progress li { border-bottom: 2px solid var(--color-border, #d6e5e1); padding: .65rem 0; flex: 1; min-width: 7rem; }
.setup-progress [aria-current] { border-color: #136e61; font-weight: 700; }
.setup-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-block: 1.5rem; }
.setup-type { display: flex; align-items: center; gap: .75rem; min-height: 5.5rem; text-decoration: none; padding: 1.1rem; }
.setup-type svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.setup-form { max-width: 38rem; padding: 1.5rem; }
.simple-field { display: grid; gap: .4rem; margin-bottom: 1rem; }
.simple-field input, .simple-field select, .simple-field textarea { width: 100%; max-width: 100%; }
.simple-field input[type=checkbox] { width: auto; justify-self: start; }
.setup-form summary { padding-block: .8rem; cursor: pointer; font-weight: 600; }
.setup-actions, .workspace-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin-block: 1rem; }
.account-compact.account-layout-wide { max-width: 30rem; grid-template-columns: minmax(0,1fr); }
.account-compact.account-login { max-width: 26.25rem; }
.account-compact .account-form { gap: .8rem; }
.account-compact .account-field { min-width: 0; }
.account-compact .account-field[hidden] { display: none; }
.account-compact .account-panel { padding: clamp(1rem, 3vw, 1.8rem); }
.account-compact .account-form input:not([type=checkbox]), .account-compact .account-form select { min-height: 2.75rem; }
.registry-form, .customer-form { max-width: 52rem; }
.registry-tabs, .customer-tabs, .billing-tabs, .tracking-tabs { gap: .5rem; flex-wrap: wrap; }
.workspace-actions a { padding-block: .5rem; }
.tracking-detail > a { display: inline-flex; margin: .4rem .8rem .4rem 0; }
.tracking-filters { align-items: end; }
/* Keep the account anchored while the navigation can scroll on short screens. */
@media (min-width: 901px) {
  body .workspace-shell .customer-sidebar {
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 32px);
    min-height: 0;
    overflow: hidden;
  }
  body .customer-sidebar > .brand { flex-shrink: 0; }
  body .customer-sidebar > nav { overflow-y: auto; min-height: 0; }
  body .workspace-shell .customer-sidebar .sidebar-profile {
    margin-top: auto;
    padding-top: 20px;
    flex-shrink: 0;
  }
}
body select { appearance: none; background-image: none; padding-right: 1rem; }
body summary { list-style: none; }
body summary::-webkit-details-marker { display: none; }
body summary::marker { content: ''; }
.filter-choices { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; min-width: 0; }
.filter-choices legend { margin-bottom: .45rem; }
body .filter-choices label { display: inline-flex; position: relative; margin: 0; }
.filter-choices input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.filter-choices span { display: inline-flex; align-items: center; min-height: 44px; padding: .55rem .85rem; border: 1px solid #c8ded7; border-radius: 999px; background: white; cursor: pointer; }
.filter-choices input:checked + span { background: #e7f5f1; border-color: #136e61; color: #136e61; }
.filter-choices input:focus-visible + span { outline: 3px solid #136e61; outline-offset: 3px; }
body .notification-bell-link { display: inline-flex; align-items: center; justify-content: center; position: relative; width: 44px; height: 44px; border: 1px solid #c8ded7; border-radius: 50%; background: #f3f8f6; color: #136e61; }
.notification-bell-link .ui-icon { width: 22px; height: 22px; }
body .inquiry-form .consent-field { display: block; }
body .inquiry-form .consent-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: .65rem; margin: 0; width: 100%; font-weight: 400; }
body .inquiry-form .consent-row input[type=checkbox] { width: 20px; height: 20px; min-height: 0; margin: .2rem 0 0; padding: 0; }
body .inquiry-form input[type=radio] { width: 18px; height: 18px; min-height: 0; display: inline-block; padding: 0; margin: 0; flex-shrink: 0; }
body .inquiry-form #id_kind { display: flex; flex-wrap: wrap; gap: 1rem; }
body .inquiry-form #id_kind label { display: flex; align-items: center; gap: .5rem; font-weight: 400; min-height: 44px; }
#inquiry { scroll-margin-top: 7rem; }
body .faq-list details { border: 1px solid #d3e3dd; border-radius: 16px; background: #fff; overflow: hidden; }
body .faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 1.1rem 1.25rem; cursor: pointer; font-weight: 600; }
body .faq-list summary::after { content: '+'; display: grid; place-items: center; flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: #e7f5f1; color: #136e61; font: 500 22px/1 Arial, sans-serif; transform: none; }
body .faq-list details[open] summary::after { content: '\2212'; transform: none; }
body .faq-list details p { margin: 0; padding: 0 1.25rem 1.25rem; max-width: 72ch; }
body .faq-list summary:focus-visible { outline: 3px solid #136e61; outline-offset: -4px; }
body .alert-tabs a[aria-current] { background: #e7f5f1; border-color: #136e61; }
.optional-fields > h2, .setup-form > section > h2 { font-size: 1rem; margin-block: 1.25rem .75rem; }
.workspace-body, .tracking-workspace, .registry-workspace, .customer-workspace { min-width: 0; }
.setup-type:focus-visible, .setup-form summary:focus-visible { outline: 3px solid #136e61; outline-offset: 3px; }
@media (max-width: 600px) {
  .setup-types { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .setup-type { padding: .8rem; }
  .setup-form { padding: 1rem; }
  .setup-progress { font-size: .875rem; }
  .tracking-asset-list[open] { max-height: 18rem; overflow-y: auto; }
  .setup-actions .button { width: 100%; }
}
