body {
    background-color: #f4f6f8;
}

[x-cloak] {
    display: none !important;
}

.app-navbar {
    background-color: #163c38;
}

.app-login-card {
    max-width: 28rem;
}

.app-skip-link:focus {
    position: absolute;
    z-index: 1050;
    padding: 0.75rem 1rem;
    background-color: white;
}

.app-eyebrow {
    color: #315b52;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.app-module {
    overflow: hidden;
    background: white;
    border: 1px solid #dce5e1;
    border-radius: 1rem;
    box-shadow: 0 4px 18px rgb(22 60 56 / 4%);
}

.app-module-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
}

.app-module-number {
    display: grid;
    flex: 0 0 2.75rem;
    height: 2.75rem;
    place-items: center;
    background: #edf4f0;
    border-radius: 0.75rem;
    color: #315b52;
    font-size: 0.875rem;
    font-weight: 700;
}

.app-module-description {
    min-width: 0;
}

.app-module-caption {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
}

.app-module-content {
    border-top: 1px solid #e8eeeb;
    padding: 0.5rem 1.5rem 1rem;
}

.app-module-menu li + li {
    border-top: 1px solid #f0f3f1;
}

.app-module-item {
    display: block;
    padding: 0.75rem 0;
    color: #455b55;
    font-size: 0.9375rem;
}

.app-module-status {
    margin-top: 0.5rem;
    color: #68746e;
}

.app-module-link {
    color: #24574b;
    font-weight: 600;
    text-decoration: none;
}

.app-module-link:hover {
    text-decoration: underline;
}

.app-module-link:focus-visible {
    outline: 3px solid #315b52;
    outline-offset: 2px;
    border-radius: 0.25rem;
}

.app-guide {
    max-width: 60rem;
}

.app-guide-section {
    padding: 1.5rem;
    background: white;
    border: 1px solid #dce5e1;
    border-radius: 1rem;
}

.app-guide pre {
    padding: 1rem;
    margin-bottom: 0;
    background: #f4f6f8;
    border-radius: 0.5rem;
}

.app-guide-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.app-guide-steps li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.app-guide-step-number {
    display: grid;
    flex: 0 0 1.75rem;
    height: 1.75rem;
    place-items: center;
    border-radius: 50%;
    background: #edf4f0;
    color: #315b52;
    font-size: 0.8125rem;
    font-weight: 700;
}

.app-label-background {
    --label-color: #53635c;
    --label-tint: #eef2f0;
}

.app-label-drone {
    --label-color: #24574b;
    --label-tint: #e8f2ed;
}

.app-label-direction {
    --label-color: #365d80;
    --label-tint: #ecf2f8;
}

.app-label-unknown {
    --label-color: #7a5b25;
    --label-tint: #fbf4e7;
}

.app-label-card {
    border: 1px solid #dce5e1;
    border-left: 4px solid var(--label-color);
    border-radius: 0.75rem;
}

.app-label-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
}

.app-label-card p {
    color: #52615b;
    font-size: 0.9375rem;
}

.app-label-badge {
    margin-top: auto;
    background: var(--label-tint);
    color: var(--label-color);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
}

.app-label-badge code {
    color: inherit;
}

.app-guide-uncertain {
    padding: 1.5rem;
    background: #fbf4e7;
    border: 1px solid #e9d8b5;
    border-radius: 1rem;
    color: #554627;
}

.app-guide-uncertain code {
    color: inherit;
}

.app-direction-diagram {
    display: block;
    width: 100%;
    max-width: 25rem;
    margin: 0 auto;
    font-family: inherit;
}

.app-direction-label {
    fill: #163c38;
    font-size: 20px;
    font-weight: 700;
}

.app-direction-caption {
    fill: #52615b;
    font-size: 13px;
    font-weight: 400;
}

.app-direction-device {
    fill: #315b52;
    font-size: 14px;
    font-weight: 600;
}

.app-guide-code-pill {
    display: inline-block;
    padding: 0.375rem 0.625rem;
    border-radius: 0.375rem;
    background: #ecf2f8;
    color: #365d80;
}

.app-guide-reminder {
    padding: 1rem;
    border-left: 3px solid #315b52;
    background: #f4f8f6;
}

.app-label-timeline {
    display: grid;
    grid-template-columns: 5fr 6fr 1fr 4fr 4fr;
    overflow: hidden;
    height: 2.5rem;
    border-radius: 0.5rem;
}

.app-label-timeline > span {
    background-color: var(--label-tint);
    border-bottom: 4px solid var(--label-color);
}

.app-label-timeline > span + span {
    border-left: 2px solid white;
}

.app-timeline-gap {
    background-image: repeating-linear-gradient(135deg, transparent, transparent 4px, #e9d8b5 4px, #e9d8b5 6px);
}

.app-timeline-legend {
    display: grid;
    gap: 0.75rem;
    font-size: 0.9375rem;
}

.app-timeline-legend li {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.app-timeline-dot {
    flex: 0 0 0.75rem;
    height: 0.75rem;
    background-color: var(--label-tint);
    border: 1px solid var(--label-color);
    border-radius: 0.125rem;
}

.app-guide-details summary {
    cursor: pointer;
    color: #315b52;
}

.app-guide-details summary:focus-visible {
    outline: 3px solid #315b52;
    outline-offset: 5px;
    border-radius: 0.25rem;
}

@media (min-width: 768px) {
    .app-guide-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
