@font-face {
    font-family: 'Inter';
    src: url('https://rsms.me/inter/font-files/Inter-Regular.woff2?v=3.19') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('https://rsms.me/inter/font-files/Inter-Medium.woff2?v=3.19') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('https://rsms.me/inter/font-files/Inter-SemiBold.woff2?v=3.19') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --asf-cream-50: #fcfbf7;
    --asf-cream-100: #f7f2e7;
    --asf-cream-200: #efe5d2;
    --asf-cream-300: #e2d2b1;
    --asf-ink-900: #2d2115;
    --asf-ink-700: #4e3c28;
    --asf-ink-500: #756147;
    --asf-copper-600: #936221;
    --asf-copper-700: #7a4f17;
    --asf-berry-600: #7d2f25;
    --asf-border: rgba(120, 88, 38, 0.18);
    --asf-shadow: 0 20px 50px rgba(67, 48, 18, 0.12);
    --asf-radius: 18px;
    --asf-radius-sm: 12px;
}

html, body {
    min-height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 38%),
        linear-gradient(180deg, #fcfbf7 0%, #f4eddf 100%);
    color: var(--asf-ink-900);
    padding-top: 88px;
    overflow-x: hidden;
}

body.auth-shell {
    display: flex;
    flex-direction: column;
}

.main-shell {
    flex: 1;
    width: 100%;
    padding-bottom: 2rem;
}

.navbar.asf-navbar {
    background: rgba(45, 33, 21, 0.94) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 24px rgba(23, 17, 11, 0.12);
    min-height: 72px;
}

.asf-navbar .navbar-brand {
    color: #fff7ea;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.asf-brand-logo {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    padding: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.asf-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.asf-brand-title {
    font-size: 1rem;
    color: #fff8ea;
}

.asf-brand-subtitle {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 239, 214, 0.68);
}

.asf-navbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.22);
}

.asf-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(226, 210, 177, 0.25);
}

.asf-navbar .nav-link,
.asf-navbar .navbar-text,
.asf-navbar .profile-link {
    color: rgba(255, 245, 230, 0.84) !important;
}

.asf-navbar .profile-link {
    text-decoration: none;
}

.asf-navbar .profile-link:hover,
.asf-navbar .nav-link:hover {
    color: #ffffff !important;
}

.asf-nav-actions {
    gap: 0.55rem;
}

.asf-navbar-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    width: 100%;
}

.asf-nav-group,
.asf-nav-user {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.asf-nav-group {
    flex-wrap: wrap;
}

.asf-nav-group-actions {
    padding-left: 0.2rem;
}

.asf-nav-user {
    margin-left: auto;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.asf-navbar .btn {
    border-radius: 999px;
    font-weight: 600;
    padding: 0.46rem 0.92rem;
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.asf-navbar .btn:hover,
.asf-navbar .btn:focus-visible {
    transform: translateY(-1px);
}

.asf-navbar .badge {
    border-radius: 999px;
    padding: 0.28rem 0.45rem;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1;
}

.asf-navbar a:focus-visible,
.asf-navbar button:focus-visible,
.btn:focus-visible,
.page-link:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(147, 98, 33, 0.18), 0 0 0 0.35rem rgba(247, 242, 231, 0.95);
}

.asf-profile-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.42rem 0.8rem 0.42rem 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.asf-profile-chip:hover {
    background: rgba(255, 255, 255, 0.14);
}

.asf-profile-avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff7ea;
    flex-shrink: 0;
}

.asf-profile-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.asf-profile-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 239, 214, 0.64);
}

.asf-profile-name {
    color: #fff8ea;
    font-size: 0.92rem;
}

.asf-legend-card {
    height: 100%;
    background: rgba(252, 251, 247, 0.92);
    border: 1px solid rgba(120, 88, 38, 0.12);
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-asf-primary {
    background: var(--asf-copper-600);
    border-color: var(--asf-copper-600);
    color: #fff;
}

.btn-asf-primary:hover,
.btn-asf-primary:focus {
    background: var(--asf-copper-700);
    border-color: var(--asf-copper-700);
    color: #fff;
}

.btn-asf-primary:disabled,
.btn-asf-primary.disabled,
.btn-asf-outline:disabled,
.btn-asf-outline.disabled,
.btn-asf-ghost-light:disabled,
.btn-asf-ghost-light.disabled,
.btn-asf-secondary:disabled,
.btn-asf-secondary.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.btn-asf-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff5e5;
}

.btn-asf-secondary:hover,
.btn-asf-secondary:focus {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.btn-asf-ghost {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff3dc;
}

.btn-asf-ghost:hover,
.btn-asf-ghost:focus {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.btn-asf-outline {
    background: transparent;
    border: 1px solid rgba(122, 79, 23, 0.25);
    color: var(--asf-ink-700);
}

.btn-asf-outline:hover,
.btn-asf-outline:focus {
    background: rgba(147, 98, 33, 0.08);
    border-color: rgba(122, 79, 23, 0.4);
    color: var(--asf-ink-900);
}

.asf-page {
    max-width: 1160px;
}

.asf-hero,
.auth-hero {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0 3.5rem;
}

.asf-panel,
.auth-card,
.asf-dashboard-panel {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--asf-border);
    border-radius: var(--asf-radius);
    box-shadow: var(--asf-shadow);
}

.asf-panel {
    overflow: hidden;
}

.asf-hero-copy {
    padding: 3rem;
}

.asf-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--asf-copper-600);
    font-weight: 700;
    margin-bottom: 1rem;
}

.asf-hero-title,
.auth-title,
.asf-section-title {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.02;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--asf-ink-900);
}

.asf-hero-text,
.auth-subtitle,
.asf-support-copy {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--asf-ink-700);
}

.asf-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.asf-feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 0.9rem;
}

.asf-feature-list li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    color: var(--asf-ink-700);
}

.asf-feature-list i {
    color: var(--asf-copper-600);
    font-size: 1.05rem;
    margin-top: 0.15rem;
}

.asf-hero-side {
    background: linear-gradient(180deg, rgba(147, 98, 33, 0.08), rgba(125, 47, 37, 0.08));
    padding: 3rem 2.5rem;
    border-left: 1px solid rgba(120, 88, 38, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.asf-side-card {
    background: rgba(255, 250, 242, 0.82);
    border: 1px solid rgba(120, 88, 38, 0.12);
    border-radius: var(--asf-radius-sm);
    padding: 1.25rem 1.25rem 1rem;
    margin-bottom: 1rem;
}

.asf-side-card:last-child {
    margin-bottom: 0;
}

.asf-side-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--asf-ink-900);
    margin-bottom: 0.45rem;
}

.asf-side-card p,
.asf-side-card li {
    color: var(--asf-ink-700);
    margin-bottom: 0.35rem;
}

.asf-side-card ul {
    padding-left: 1rem;
    margin-bottom: 0;
}

.auth-card {
    width: 100%;
    max-width: 520px;
    padding: 2.5rem 2.25rem;
}

.auth-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(46, 33, 15, 0.12);
}

.auth-wordmark-wrap {
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wordmark-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2d2115;
    text-align: center;
    text-wrap: balance;
}

.auth-wordmark {
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--asf-copper-600);
    font-size: 0.78rem;
    margin-bottom: 0.75rem;
}

.auth-title {
    font-size: 2rem;
    text-align: center;
}

.auth-subtitle {
    text-align: center;
    font-size: 0.98rem;
    margin-bottom: 1.6rem;
}

.auth-errors {
    border: 1px solid rgba(125, 47, 37, 0.18);
    background: rgba(125, 47, 37, 0.08);
    color: var(--asf-berry-600);
    border-radius: 14px;
    padding: 0.9rem 1rem;
    margin-bottom: 1rem;
}

.auth-card .form-label {
    font-weight: 600;
    color: var(--asf-ink-900);
    margin-bottom: 0.35rem;
}

.auth-card .form-control {
    border-radius: 14px;
    border: 1px solid rgba(120, 88, 38, 0.18);
    padding: 0.82rem 0.95rem;
    min-height: 50px;
}

.auth-card .form-control:focus {
    border-color: rgba(147, 98, 33, 0.52);
    box-shadow: 0 0 0 0.2rem rgba(147, 98, 33, 0.15);
}

.auth-submit {
    width: 100%;
    min-height: 50px;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 0.5rem;
}

.auth-help {
    margin-top: 1.25rem;
    font-size: 0.93rem;
    line-height: 1.6;
    color: var(--asf-ink-700);
}

.auth-help a,
.asf-footer a {
    color: var(--asf-berry-600);
}

.asf-dashboard-hero {
    margin-bottom: 1.6rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(247,242,231,0.94));
    border: 1px solid var(--asf-border);
    border-radius: var(--asf-radius);
    box-shadow: 0 14px 35px rgba(67, 48, 18, 0.08);
}

.asf-stat-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.asf-stat-card .card {
    border: 1px solid var(--asf-border);
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(67, 48, 18, 0.08);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.asf-stat-card:hover .card,
.asf-stat-card:focus-visible .card {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(67, 48, 18, 0.12);
}

.asf-stat-card .card-body {
    padding: 1.5rem;
}

.asf-stat-value {
    display: block;
    font-size: clamp(2.35rem, 4vw, 3.2rem);
    line-height: 0.95;
    font-weight: 700;
    margin-top: 0.8rem;
}

.asf-stat-card-critical .card {
    background: linear-gradient(135deg, #a92c1f, #7d2218);
    color: #fff8f6;
}

.asf-stat-card-assigned .card {
    background: linear-gradient(135deg, #6f4cb8, #4a3581);
    color: #f7f1ff;
}

.asf-stat-card-active .card {
    background: linear-gradient(135deg, #f1cc77, #d7a646);
    color: #2d2115;
}

.asf-stat-card-complete .card {
    background: linear-gradient(135deg, #518348, #365b2e);
    color: #f3fbf1;
}

.asf-stat-icon {
    width: 2.65rem;
    height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.15);
}

.asf-stat-card-active .asf-stat-icon {
    background: rgba(45, 33, 21, 0.1);
}

.asf-stat-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.84;
}

.asf-stat-copy {
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.6;
}

.asf-stat-card-active .asf-stat-copy {
    color: rgba(45, 33, 21, 0.72);
}

.asf-table-wrap,
.asf-surface-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--asf-border);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(67, 48, 18, 0.06);
}

.asf-table-wrap {
    padding: 1rem 1rem 0.5rem;
}

.asf-surface-card {
    padding: 1.5rem;
}

.asf-stack-lg > * + * {
    margin-top: 1.5rem;
}

.asf-stack-md > * + * {
    margin-top: 1rem;
}

.asf-stack-sm > * + * {
    margin-top: 0.75rem;
}

.asf-section-meta {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(147, 98, 33, 0.08);
    color: var(--asf-copper-700);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.45rem 0.85rem;
}

.asf-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.btn-asf-filter {
    border-radius: 999px;
    border: 1px solid rgba(122, 79, 23, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--asf-ink-700);
    font-weight: 600;
    padding: 0.55rem 0.95rem;
}

.btn-asf-filter:hover,
.btn-asf-filter:focus,
.btn-asf-filter.active {
    background: rgba(147, 98, 33, 0.14);
    border-color: rgba(122, 79, 23, 0.36);
    color: var(--asf-ink-900);
}

.btn-asf-ghost-light {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(120, 88, 38, 0.16);
    color: var(--asf-ink-700);
}

.btn-asf-ghost-light:hover,
.btn-asf-ghost-light:focus {
    background: rgba(255, 255, 255, 0.92);
    color: var(--asf-ink-900);
}

.asf-input {
    border-radius: 14px;
    border: 1px solid rgba(120, 88, 38, 0.18);
    min-height: 48px;
    background: rgba(255, 255, 255, 0.94);
}

.asf-input:focus {
    border-color: rgba(147, 98, 33, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(147, 98, 33, 0.12);
}

.form-text,
.asf-form-help {
    margin-top: 0.45rem;
    color: var(--asf-ink-500);
    font-size: 0.88rem;
    line-height: 1.55;
}

.asf-field-error {
    margin-top: 0.5rem;
    padding: 0.7rem 0.9rem;
    border-radius: 12px;
    background: rgba(125, 47, 37, 0.08);
    border: 1px solid rgba(125, 47, 37, 0.12);
    color: var(--asf-berry-600);
    font-size: 0.92rem;
}

.asf-field-error ul {
    margin: 0;
    padding-left: 1rem;
}

.asf-textarea {
    min-height: 156px;
}

.table.asf-table thead th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--asf-ink-500);
    border-bottom-width: 1px;
}

.table.asf-table tbody td {
    vertical-align: middle;
    color: var(--asf-ink-700);
}

.table.asf-table tbody tr {
    transition: background-color 0.16s ease;
}

.table.asf-table tbody tr:hover {
    background: rgba(147, 98, 33, 0.035);
}

.table.asf-table tbody tr:focus-within {
    background: rgba(147, 98, 33, 0.05);
}

.asf-ticket-table {
    margin-bottom: 0;
}

.asf-ticket-row td:first-child {
    border-left: 4px solid transparent;
}

.asf-ticket-row.urgency-5 td:first-child { border-left-color: #b42318; }
.asf-ticket-row.urgency-4 td:first-child { border-left-color: #d4a017; }
.asf-ticket-row.urgency-3 td:first-child { border-left-color: #2f7ebd; }
.asf-ticket-row.urgency-2 td:first-child { border-left-color: #756147; }
.asf-ticket-row.urgency-1 td:first-child { border-left-color: #b9aa90; }

.asf-table-link {
    color: var(--asf-ink-900);
    font-weight: 600;
    text-decoration: none;
}

.asf-table-link:hover {
    color: var(--asf-berry-600);
}

.asf-status-pill,
.asf-urgency-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.38rem 0.75rem;
}

.asf-status-pill {
    background: rgba(147, 98, 33, 0.1);
    color: var(--asf-copper-700);
}

.asf-status-pill.is-closed {
    background: rgba(81, 131, 72, 0.14);
    color: #365b2e;
}

.asf-urgency-pill {
    background: rgba(117, 97, 71, 0.1);
    color: var(--asf-ink-700);
}

.asf-urgency-pill.urgency-5 { background: rgba(180, 35, 24, 0.14); color: #8f1d13; }
.asf-urgency-pill.urgency-4 { background: rgba(212, 160, 23, 0.18); color: #7a5600; }
.asf-urgency-pill.urgency-3 { background: rgba(47, 126, 189, 0.14); color: #1f5f93; }
.asf-urgency-pill.urgency-2 { background: rgba(117, 97, 71, 0.12); color: var(--asf-ink-700); }
.asf-urgency-pill.urgency-1 { background: rgba(185, 170, 144, 0.22); color: #6d614b; }

.asf-select-inline {
    min-width: 150px;
    border-radius: 12px;
    border-color: rgba(120, 88, 38, 0.18);
}

.asf-pagination .page-link {
    color: var(--asf-ink-700);
    border-color: rgba(120, 88, 38, 0.16);
}

.asf-pagination .page-item.active .page-link,
.asf-pagination .page-link:hover {
    background: rgba(147, 98, 33, 0.12);
    border-color: rgba(122, 79, 23, 0.28);
    color: var(--asf-ink-900);
}

.asf-pagination .page-item.disabled .page-link {
    background: rgba(255, 255, 255, 0.78);
    color: var(--asf-ink-500);
    border-color: rgba(120, 88, 38, 0.14);
}

.asf-flash-stack {
    display: grid;
    gap: 0.85rem;
}

.asf-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(120, 88, 38, 0.14);
    box-shadow: 0 10px 24px rgba(67, 48, 18, 0.06);
    background: rgba(255, 255, 255, 0.95);
    color: var(--asf-ink-900);
}

.asf-alert .btn-close {
    margin-left: auto;
}

.asf-alert-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.asf-alert-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.asf-alert-title {
    font-weight: 700;
    line-height: 1.2;
}

.asf-alert-copy {
    color: var(--asf-ink-700);
    line-height: 1.55;
}

.asf-alert-success {
    border-color: rgba(81, 131, 72, 0.18);
    background: rgba(247, 252, 246, 0.96);
}

.asf-alert-success .asf-alert-icon {
    background: rgba(81, 131, 72, 0.14);
    color: #365b2e;
}

.asf-alert-error,
.asf-alert-danger {
    border-color: rgba(169, 44, 31, 0.16);
    background: rgba(255, 248, 247, 0.97);
}

.asf-alert-error .asf-alert-icon,
.asf-alert-danger .asf-alert-icon {
    background: rgba(169, 44, 31, 0.12);
    color: #8f1d13;
}

.asf-alert-warning {
    border-color: rgba(212, 160, 23, 0.2);
    background: rgba(255, 251, 242, 0.97);
}

.asf-alert-warning .asf-alert-icon {
    background: rgba(212, 160, 23, 0.15);
    color: #7a5600;
}

.asf-alert-info {
    border-color: rgba(47, 126, 189, 0.18);
    background: rgba(247, 251, 255, 0.97);
}

.asf-alert-info .asf-alert-icon {
    background: rgba(47, 126, 189, 0.12);
    color: #1f5f93;
}

.asf-form-help {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--asf-ink-500);
}

.asf-form-help ul {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
}

.asf-form-help li + li {
    margin-top: 0.3rem;
}

.asf-field-error {
    margin-top: 0.45rem;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(169, 44, 31, 0.14);
    background: rgba(255, 247, 245, 0.95);
    color: #8f1d13;
    font-size: 0.92rem;
    line-height: 1.5;
}

.asf-empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.35rem;
}

.register-summary-card {
    padding: 1.3rem;
}

.register-checklist {
    list-style: none;
    padding: 0;
}

.register-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--asf-ink-700);
}

.register-checklist i {
    color: var(--asf-copper-600);
    margin-top: 0.15rem;
}

.register-surface {
    padding: 1.75rem;
}

.register-status-card {
    min-width: min(100%, 320px);
}

.register-form .asf-input {
    width: 100%;
}

.profile-hero {
    margin-bottom: 1.25rem;
}

.profile-summary-card {
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(247, 242, 231, 0.94));
}

.profile-surface {
    padding: 1.75rem;
}

.profile-form .form-control,
.profile-form .form-select,
.profile-form input[type="text"],
.profile-form input[type="email"],
.profile-form input[type="tel"] {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(120, 88, 38, 0.18);
    min-height: 50px;
    padding: 0.82rem 0.95rem;
    background: rgba(255, 255, 255, 0.96);
    color: var(--asf-ink-900);
}

.profile-form .form-control:focus,
.profile-form .form-select:focus,
.profile-form input[type="text"]:focus,
.profile-form input[type="email"]:focus,
.profile-form input[type="tel"]:focus {
    border-color: rgba(147, 98, 33, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(147, 98, 33, 0.12);
    outline: 0;
}

.profile-label {
    font-weight: 600;
    color: var(--asf-ink-900);
    margin-bottom: 0.45rem;
}

.profile-section {
    border-top: 1px solid rgba(120, 88, 38, 0.12);
    padding-top: 1.5rem;
}

.profile-section-header {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 0.75rem;
}

.profile-section-icon,
.profile-status-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(147, 98, 33, 0.12);
    color: var(--asf-copper-700);
    flex-shrink: 0;
}

.profile-status-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: rgba(252, 251, 247, 0.94);
    border: 1px solid rgba(120, 88, 38, 0.12);
    min-width: 260px;
}

.profile-status-title {
    font-weight: 700;
    color: var(--asf-ink-900);
}

.profile-status-copy {
    color: var(--asf-ink-700);
    font-size: 0.92rem;
    line-height: 1.45;
}

.profile-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(120, 88, 38, 0.12);
    background: rgba(252, 251, 247, 0.88);
}

.profile-checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    transform: scale(1.15);
    accent-color: var(--asf-copper-600);
}

.profile-checkbox strong {
    display: block;
    color: var(--asf-ink-900);
    margin-bottom: 0.15rem;
}

.profile-checkbox small {
    display: block;
    color: var(--asf-ink-700);
    line-height: 1.5;
}

.profile-form-actions {
    display: flex;
    justify-content: flex-end;
}

.asf-meta-card {
    height: 100%;
    background: rgba(252, 251, 247, 0.9);
    border: 1px solid rgba(120, 88, 38, 0.12);
    border-radius: 14px;
    padding: 1rem;
}

.asf-meta-label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--asf-ink-500);
    margin-bottom: 0.45rem;
    font-weight: 700;
}

.asf-meta-value {
    color: var(--asf-ink-900);
    font-weight: 600;
    line-height: 1.55;
}

.asf-description-panel {
    border: 1px solid rgba(120, 88, 38, 0.12);
    border-radius: 14px;
    background: rgba(252, 251, 247, 0.9);
    padding: 1rem 1.1rem;
    color: var(--asf-ink-700);
    line-height: 1.7;
}

.asf-comment-card {
    background: rgba(252, 251, 247, 0.92);
    border: 1px solid rgba(120, 88, 38, 0.12);
    border-radius: 14px;
    padding: 1rem;
}

.asf-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.25rem;
    border: 1px dashed rgba(120, 88, 38, 0.18);
    border-radius: 16px;
    background: rgba(252, 251, 247, 0.88);
}

.asf-empty-state-inline {
    margin: 0.5rem 0 0.75rem;
}

.asf-inline-note {
    color: var(--asf-ink-500);
    line-height: 1.65;
}

.asf-utility-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px dashed rgba(120, 88, 38, 0.18);
    border-radius: 14px;
    padding: 1rem 1.1rem;
}

.asf-empty-icon,
.asf-dashboard-tip-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.asf-empty-icon {
    margin-bottom: 1rem;
    background: rgba(147, 98, 33, 0.1);
    color: var(--asf-copper-700);
}

.asf-empty-title,
.asf-dashboard-tip-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--asf-ink-900);
    margin-bottom: 0.35rem;
}

.asf-empty-copy {
    margin-bottom: 0;
    max-width: 34rem;
    color: var(--asf-ink-700);
    line-height: 1.7;
}

.asf-dashboard-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(252, 251, 247, 0.86);
    border: 1px solid rgba(120, 88, 38, 0.12);
}

.asf-dashboard-tip-icon {
    background: rgba(147, 98, 33, 0.1);
    color: var(--asf-copper-700);
}

.asf-dashboard-tip p {
    color: var(--asf-ink-700);
    line-height: 1.6;
}

.asf-comment-form p {
    margin-bottom: 0.85rem;
}

.asf-comment-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.asf-comment-form textarea,
.asf-comment-form input,
.asf-comment-form select {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(120, 88, 38, 0.18);
    min-height: 48px;
    padding: 0.78rem 0.95rem;
}

.asf-comment-form textarea {
    min-height: 120px;
}

.asf-checkbox-card {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(120, 88, 38, 0.12);
    border-radius: 14px;
    padding: 0.95rem 1rem;
    background: rgba(252, 251, 247, 0.92);
}

.asf-checkbox-card .form-check-input {
    margin-top: 0;
}

.asf-checkbox-card .form-check-label {
    font-weight: 600;
    color: var(--asf-ink-900);
}

.asf-footer {
    padding: 1.2rem 0 1.8rem;
    color: var(--asf-ink-500);
    font-size: 0.92rem;
}

.asf-footer .footer-card {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(120, 88, 38, 0.12);
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 80px;
    }

    .asf-hero-copy,
    .asf-hero-side,
    .auth-card {
        padding: 2rem 1.5rem;
    }

    .asf-hero-side {
        border-left: 0;
        border-top: 1px solid rgba(120, 88, 38, 0.12);
    }

    .asf-nav-actions {
        padding-top: 1rem;
    }

    .asf-navbar-public {
        margin-top: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        flex-basis: auto;
        flex-grow: 0;
    }

    .asf-navbar-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding-top: 0.85rem;
    }

    .asf-nav-group,
    .asf-nav-user {
        width: 100%;
        justify-content: flex-start;
    }

    .asf-nav-group {
        gap: 0.5rem;
    }

    .asf-nav-user {
        margin-left: 0;
        padding-left: 0;
        border-left: 0;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        flex-wrap: wrap;
    }

    .asf-navbar .btn,
    .asf-profile-chip {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .asf-navbar-menu {
        gap: 0.75rem;
    }

    .asf-nav-group {
        gap: 0.45rem;
    }

    .asf-nav-group-actions {
        padding-left: 0;
    }

    .asf-nav-user {
        gap: 0.45rem;
        padding-left: 0.8rem;
    }

    .asf-navbar .btn {
        padding: 0.42rem 0.75rem;
        font-size: 0.84rem;
    }

    .asf-brand-subtitle {
        max-width: 12rem;
        white-space: normal;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    body {
        padding-top: 74px;
    }

    .navbar.asf-navbar {
        min-height: 64px;
    }

    .asf-navbar-shell {
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    .asf-brand-logo {
        width: 34px;
        height: 34px;
    }

    .asf-brand-title {
        font-size: 0.94rem;
    }

    .asf-brand-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.05em;
    }

    .asf-navbar-menu {
        gap: 0.65rem;
    }

    .asf-nav-group,
    .asf-nav-user {
        gap: 0.4rem;
    }

    .asf-nav-user {
        padding-left: 0.65rem;
    }

    .asf-navbar .btn {
        padding: 0.38rem 0.72rem;
        font-size: 0.88rem;
    }

    .asf-navbar .badge {
        font-size: 0.68rem;
    }

    .asf-profile-chip {
        gap: 0.5rem;
        padding: 0.3rem 0.56rem 0.3rem 0.35rem;
    }

    .asf-profile-avatar {
        width: 1.7rem;
        height: 1.7rem;
    }

    .asf-profile-label {
        font-size: 0.58rem;
    }

    .asf-profile-name {
        font-size: 0.78rem;
        max-width: 7.4rem;
        line-height: 1.05;
    }

    .asf-dashboard-hero {
        padding: 1.35rem 1.4rem;
        margin-bottom: 1rem;
    }

    .asf-dashboard-hero .asf-section-title {
        font-size: clamp(1.85rem, 3.4vw, 2.5rem);
        margin-bottom: 0.45rem;
    }

    .asf-dashboard-hero .asf-support-copy {
        font-size: 0.95rem;
        line-height: 1.5;
        max-width: 46rem;
    }

    .asf-hero-action-cluster {
        width: 100%;
        justify-content: flex-start;
    }

    .asf-hero-action-cluster .btn {
        flex: 1 1 200px;
    }

    .asf-dashboard-hero .btn {
        padding: 0.52rem 0.85rem;
        font-size: 0.9rem;
    }

    .asf-dashboard-stats-row {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .asf-stat-card .card {
        border-radius: 16px;
    }

    .asf-stat-card .card-body {
        padding: 1rem 1rem 0.95rem;
    }

    .asf-stat-icon {
        width: 2.2rem;
        height: 2.2rem;
        margin-bottom: 0.75rem;
        font-size: 0.96rem;
    }

    .asf-stat-label {
        font-size: 0.74rem;
        letter-spacing: 0.07em;
    }

    .asf-stat-value {
        font-size: clamp(2rem, 3.1vw, 2.55rem);
        margin-top: 0.55rem;
    }

    .asf-stat-copy {
        margin-top: 0.7rem !important;
        font-size: 0.95rem;
        line-height: 1.45;
    }

    .asf-table-wrap {
        padding: 0.95rem 0.95rem 0.45rem;
    }

    .asf-surface-card {
        padding: 1.2rem;
    }

    .asf-queue-page .asf-ticket-table {
        min-width: 860px;
    }
}

.asf-dashboard-tip-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.asf-dashboard-tip-link:hover,
.asf-dashboard-tip-link:focus-visible {
    transform: translateY(-1px);
    background: rgba(147, 98, 33, 0.08);
    border-radius: 14px;
}

.asf-help-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid rgba(120, 88, 38, 0.12);
    background: rgba(252, 251, 247, 0.92);
    box-shadow: 0 10px 22px rgba(67, 48, 18, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.asf-help-card:hover,
.asf-help-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(67, 48, 18, 0.09);
    border-color: rgba(122, 79, 23, 0.24);
}

.asf-help-card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(147, 98, 33, 0.12);
    color: var(--asf-copper-700);
    font-size: 1.15rem;
}

.asf-help-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--asf-copper-700);
    font-weight: 700;
}

.asf-help-subnav-wrap {
    padding: 1.25rem 1.5rem;
}

.asf-help-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.asf-help-subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(122, 79, 23, 0.14);
    background: rgba(255, 255, 255, 0.78);
    color: var(--asf-ink-700);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.asf-help-subnav-link:hover,
.asf-help-subnav-link:focus-visible {
    background: rgba(147, 98, 33, 0.08);
    border-color: rgba(122, 79, 23, 0.24);
    color: var(--asf-ink-900);
    transform: translateY(-1px);
}

.asf-help-subnav-link.is-active {
    background: rgba(147, 98, 33, 0.14);
    border-color: rgba(122, 79, 23, 0.28);
    color: var(--asf-ink-900);
    box-shadow: 0 10px 24px rgba(67, 48, 18, 0.08);
}

.asf-related-guide-card {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    height: 100%;
    padding: 1rem;
    border-radius: 14px;
    border: 1px solid rgba(120, 88, 38, 0.12);
    background: rgba(252, 251, 247, 0.92);
    color: inherit;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.asf-related-guide-card:hover,
.asf-related-guide-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(67, 48, 18, 0.09);
    border-color: rgba(122, 79, 23, 0.24);
    color: inherit;
}

.asf-related-guide-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(147, 98, 33, 0.12);
    color: var(--asf-copper-700);
}

.asf-related-guide-content {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.asf-related-guide-title {
    font-weight: 700;
    color: var(--asf-ink-900);
}

.asf-related-guide-copy {
    color: var(--asf-ink-700);
    line-height: 1.5;
    font-size: 0.93rem;
}

.asf-urgency-guide-card {
    position: relative;
    overflow: hidden;
}

.asf-urgency-guide-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    border-radius: 14px 0 0 14px;
    background: currentColor;
    opacity: 0.9;
}

.asf-urgency-guide-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.asf-urgency-guide-badge {
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.asf-urgency-guide-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    opacity: 0.88;
}

.asf-urgency-guide-card.urgency-1 {
    background: linear-gradient(180deg, rgba(180, 35, 24, 0.09), rgba(255, 255, 255, 0.96));
    color: #8f2218;
}

.asf-urgency-guide-card.urgency-2 {
    background: linear-gradient(180deg, rgba(212, 160, 23, 0.11), rgba(255, 255, 255, 0.96));
    color: #9c7408;
}

.asf-urgency-guide-card.urgency-3 {
    background: linear-gradient(180deg, rgba(47, 126, 189, 0.1), rgba(255, 255, 255, 0.96));
    color: #265f90;
}

.asf-urgency-guide-card.urgency-4 {
    background: linear-gradient(180deg, rgba(87, 132, 64, 0.1), rgba(255, 255, 255, 0.96));
    color: #406533;
}

.asf-urgency-guide-card.urgency-5 {
    background: linear-gradient(180deg, rgba(117, 97, 71, 0.1), rgba(255, 255, 255, 0.96));
    color: #5f4b36;
}

.asf-feature-list-compact {
    margin-top: 0;
    gap: 0.75rem;
}

@media (max-width: 575.98px) {
    body {
        padding-top: 88px;
    }

    .main-shell {
        padding-bottom: 1rem;
    }

    .navbar.asf-navbar {
        min-height: 76px;
    }

    .asf-navbar-shell {
        align-items: center;
    }

    .asf-navbar .navbar-brand {
        max-width: calc(100% - 118px);
        gap: 0.7rem !important;
    }

    .asf-brand-logo {
        width: 34px;
        height: 34px;
    }

    .asf-brand-text {
        min-width: 0;
    }

    .asf-brand-title {
        font-size: 0.98rem;
    }

    .asf-brand-subtitle {
        font-size: 0.52rem;
        letter-spacing: 0.06em;
        line-height: 1.25;
    }

    .asf-hero,
    .auth-hero {
        min-height: auto;
        padding-top: 0.35rem;
    }

    .asf-hero-copy,
    .asf-hero-side,
    .auth-card,
    .asf-dashboard-hero {
        padding: 1.5rem 1.15rem;
    }

    .auth-card {
        margin-top: 0.25rem;
    }

    .auth-wordmark-wrap {
        max-width: 220px;
        margin-bottom: 0.45rem;
    }

    .auth-wordmark-text {
        font-size: 1.56rem;
        letter-spacing: 0.03em;
        line-height: 0.94;
    }

    .asf-hero-actions {
        flex-direction: column;
    }

    .asf-hero-actions .btn {
        width: 100%;
    }

    .asf-navbar-public .btn {
        width: auto;
        min-width: 106px;
    }

    .asf-footer .footer-card {
        border-radius: 20px;
    }
}
