body {
    color: #0f172a;
}

.portal-shell-bg {
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.portal-shell-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #c9d8ea;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(10px);
}

.portal-shell-header-main {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 1rem;
}

.portal-shell-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.portal-shell-kicker {
    color: #0b3d91;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.portal-shell-title {
    color: #020617;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
}

.portal-shell-title:hover {
    color: #0f4fa8;
}

.portal-shell-subtitle {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.45;
}

.portal-shell-nav {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.portal-shell-context {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
}

.portal-hero {
    border: 1px solid #c9d8ea;
    border-radius: 1.75rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.portal-card {
    border: 1px solid #c9d8ea;
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.portal-soft-card {
    border: 1px solid #d9e5f2;
    border-radius: 1.25rem;
    background: #f8fbff;
}

.portal-pill-link,
.portal-pill-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid #c9d8ea;
    border-radius: 999px;
    background: #f4f8fc;
    color: #020617;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.portal-pill-link:hover {
    background: #dbeafe;
    color: #0b3d91;
}

.portal-action-primary,
.portal-action-primary:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 0;
    border-radius: 1rem;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.portal-action-primary:hover {
    background: #1e293b;
    color: #ffffff;
}

.portal-action-secondary,
.portal-action-secondary:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid #c9d8ea;
    border-radius: 1rem;
    background: #f4f8fc;
    color: #020617;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.portal-action-secondary:hover {
    background: #dbeafe;
    color: #0b3d91;
}

.portal-metric-card {
    border: 1px solid #c9d8ea;
    border-radius: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.portal-table-shell {
    overflow: hidden;
    border: 1px solid #d9e5f2;
    border-radius: 1.25rem;
    background: #ffffff;
}

.portal-table-shell table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.portal-table-shell thead {
    background: #f8fbff;
}

.portal-table-shell tbody tr:hover {
    background: #f8fbff;
}

.portal-input {
    border-color: #c9d8ea;
    background: #ffffff;
}

.portal-admin-bg {
    background: linear-gradient(180deg, #f8fbff 0%, #eef6ff 100%);
}

.portal-admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid #c9d8ea;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(10px);
}

.portal-admin-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.portal-admin-kicker {
    color: #0b3d91;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.portal-admin-title {
    color: #020617;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
}

.portal-admin-title:hover {
    color: #0f4fa8;
}

.portal-admin-subtitle {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.portal-admin-nav-shell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.portal-admin-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.portal-admin-pill-link,
.portal-admin-pill-link:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.15rem;
    border: 1px solid #c9d8ea;
    border-radius: 999px;
    background: #f4f8fc;
    color: #020617;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.portal-admin-pill-link:hover {
    background: #dbeafe;
    color: #0b3d91;
}

.portal-admin-primary-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.portal-admin-primary-pill:hover {
    background: #1e293b;
}

.portal-admin-message {
    border: 1px solid #c9d8ea;
    border-radius: 1rem;
    background: #f4f8fc;
    color: #0f172a;
    padding: 0.9rem 1rem;
    font-size: 0.95rem;
}

.portal-admin-hero {
    border: 1px solid #c9d8ea;
    border-radius: 1.75rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.portal-admin-card {
    border: 1px solid #c9d8ea;
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.portal-admin-card-soft {
    border: 1px solid #c9d8ea;
    border-radius: 1.5rem;
    background: #f4f8fc;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.portal-admin-table-shell {
    overflow: hidden;
    border: 1px solid #d9e5f2;
    border-radius: 1.25rem;
    background: #ffffff;
}

.portal-admin-table-shell table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.portal-admin-table-shell thead {
    background: #f8fbff;
}

.portal-admin-table-shell th {
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.portal-admin-table-shell tbody tr:hover {
    background: #f8fbff;
}

.portal-admin-input {
    border-color: #c9d8ea;
    background: #ffffff;
}

.portal-admin-outline-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 1px solid #c9d8ea;
    border-radius: 1rem;
    background: #f4f8fc;
    color: #020617;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.portal-admin-outline-button:hover {
    background: #dbeafe;
    color: #0b3d91;
}

.portal-admin-dark-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border: 0;
    border-radius: 1rem;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.portal-admin-dark-button:hover {
    background: #1e293b;
    color: #ffffff;
}

.portal-admin-layout {
    display: grid;
    grid-template-columns: 17rem minmax(0, 1fr);
    min-height: 100vh;
}

.portal-admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    height: 100vh;
    flex-direction: column;
    gap: 1.5rem;
    border-right: 1px solid #e2e8f0;
    background: #ffffff;
    padding: 1.4rem;
    color: #0f172a;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.portal-admin-sidebar .portal-admin-brand {
    padding: 0.25rem 0.15rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.portal-admin-sidebar .portal-admin-kicker {
    color: #2563eb;
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.24em;
}

.portal-admin-sidebar .portal-admin-title,
.portal-admin-sidebar .portal-admin-title:visited {
    color: #0f172a;
    font-size: 1.35rem;
    font-weight: 650;
}

.portal-admin-sidebar .portal-admin-title:hover {
    color: #2563eb;
}

.portal-admin-sidebar .portal-admin-subtitle {
    color: #64748b;
    font-size: 0.84rem;
}

.portal-admin-sidebar .portal-admin-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.35rem;
    width: 100%;
}

.portal-admin-nav-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
    width: 100%;
}

.portal-admin-nav-group > summary {
    width: 100%;
    list-style: none;
}

.portal-admin-nav-group > summary::-webkit-details-marker {
    display: none;
}

.portal-admin-nav-link,
.portal-admin-nav-link:visited {
    display: flex;
    min-height: 2.75rem;
    align-items: center;
    border-radius: 0.8rem;
    padding: 0 0.85rem;
    color: #2563eb;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5rem;
    text-decoration: none;
    width: 100%;
}

.portal-admin-nav-summary {
    cursor: pointer;
    justify-content: space-between;
}

.portal-admin-nav-summary::after {
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg);
    transition: transform 0.16s ease;
}

.portal-admin-nav-group[open] > .portal-admin-nav-summary::after {
    transform: rotate(225deg);
}

.portal-admin-nav-link:hover {
    background: #eff6ff;
    color: #000000;
}

.portal-admin-nav-link[aria-current="page"],
.portal-admin-nav-summary.is-active {
    color: #000000;
    font-weight: 700;
}

.portal-admin-nav-submenu {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.18rem;
    padding: 0.15rem 0 0.25rem 0.9rem;
    width: 100%;
}

.portal-admin-nav-sublink,
.portal-admin-nav-sublink:visited {
    display: flex;
    min-height: 2.25rem;
    align-items: center;
    border-left: 2px solid #dbeafe;
    padding: 0 0.75rem;
    color: #2563eb;
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.35rem;
    text-decoration: none;
    width: 100%;
}

.portal-admin-nav-sublink:hover {
    color: #000000;
}

.portal-admin-nav-sublink[aria-current="page"] {
    color: #000000;
    font-weight: 700;
}

.portal-admin-sidebar-footer {
    margin-top: auto;
}

.portal-admin-logout-button {
    display: flex;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    border-radius: 0.85rem;
    background: #f8fafc;
    color: #334155;
    font-size: 0.94rem;
    font-weight: 550;
}

.portal-admin-logout-button:hover {
    background: #eff6ff;
    color: #2563eb;
}

.portal-admin-main-shell {
    min-width: 0;
}

.portal-admin-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(248, 250, 252, 0.92);
    padding: 0.85rem 1.5rem;
    backdrop-filter: blur(12px);
}

.portal-admin-topbar-label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.portal-admin-topbar-title {
    overflow: hidden;
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 650;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-admin-topbar-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.65rem;
}

.portal-admin-main {
    width: min(100%, 86rem);
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
}

.portal-admin-bg {
    background: #f1f5f9;
}

.portal-admin-hero,
.portal-admin-card,
.portal-admin-card-soft,
.portal-admin-table-shell {
    border-color: #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.portal-admin-hero {
    background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
}

.portal-admin-card {
    background: #ffffff;
}

.portal-admin-card-soft {
    background: #f8fafc;
    box-shadow: none;
}

.portal-admin-table-shell {
    background: #ffffff;
}

.portal-admin-table-shell thead {
    background: #f8fafc;
}

.portal-admin-table-shell th {
    color: #64748b;
    font-weight: 650;
    letter-spacing: 0.12em;
}

.portal-admin-table-shell td {
    font-size: 0.92rem;
}

.portal-admin-outline-button,
.portal-admin-dark-button {
    min-height: 2.65rem;
    border-radius: 0.75rem;
    font-weight: 550;
}

.portal-admin-dark-button {
    background: #2563eb;
}

.portal-admin-dark-button:hover {
    background: #1d4ed8;
}

.portal-admin-outline-button {
    background: #ffffff;
}

.portal-admin-page-heading h1,
.portal-admin-main h1 {
    font-weight: 650;
}

.portal-admin-mobile-nav {
    display: none;
}

@media (max-width: 1024px) {
    .portal-admin-layout {
        display: block;
    }

    .portal-admin-sidebar {
        display: none;
    }

    .portal-admin-topbar {
        min-height: calc(4.25rem + env(safe-area-inset-top, 0));
        padding: calc(0.75rem + env(safe-area-inset-top, 0)) 1rem 0.75rem;
    }

    .portal-admin-topbar-actions form {
        display: none;
    }

    .portal-admin-main {
        padding: 1rem 1rem calc(5.5rem + env(safe-area-inset-bottom, 0));
    }

    .portal-admin-mobile-nav {
        position: fixed;
        inset: auto 0 0;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem;
        padding: 0.55rem 0.7rem calc(0.6rem + env(safe-area-inset-bottom, 0));
        border-top: 1px solid #e2e8f0;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(12px);
    }

    .portal-admin-mobile-nav a,
    .portal-admin-mobile-nav a:visited {
        display: flex;
        min-height: 2.75rem;
        align-items: center;
        justify-content: center;
        border-radius: 0.75rem;
        color: #475569;
        font-size: 0.78rem;
        font-weight: 600;
        text-decoration: none;
    }

    .portal-admin-mobile-nav a:hover {
        background: #eff6ff;
        color: #2563eb;
    }
}

input,
select,
textarea {
    width: 100%;
    border-radius: 0.9rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}

input[type='checkbox'] {
    width: 1rem;
    height: 1rem;
    padding: 0;
}

input[type='radio'] {
    width: 1rem;
    height: 1rem;
    padding: 0;
}

[x-cloak] {
    display: none !important;
}

.is-hidden {
    display: none !important;
}

textarea {
    min-height: 7rem;
    resize: vertical;
}

.mobile-field-form input,
.mobile-field-form select,
.mobile-field-form textarea {
    min-height: 3.25rem;
    font-size: 1rem;
}

.mobile-action-bar {
    position: sticky;
    bottom: 0.75rem;
}

.mobile-action-bar > * {
    width: 100%;
}

.mobile-attempt-card {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.attempt-datetime-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.attempt-date-inline,
.attempt-time-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    width: 100%;
}

.attempt-month-box {
    flex: 0 0 12rem;
}

.attempt-day-box {
    flex: 0 0 4.75rem;
}

.attempt-year-box {
    flex: 0 0 6.25rem;
}

.attempt-time-box,
.attempt-minute-box {
    flex: 0 0 5rem;
}

.attempt-month-box select,
.attempt-day-box input,
.attempt-year-box input,
.attempt-time-box select,
.attempt-minute-box input {
    width: 100%;
}

.attempt-slash,
.attempt-colon {
    color: #475569;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.attempt-period-inline,
.service-address-option {
    margin: 0;
    padding: 0;
}

.attempt-period-inline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex: 0 0 auto;
}

.attempt-period-option,
.service-address-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.attempt-period-radio {
    display: inline-flex;
    align-items: center;
}

.service-address-option {
    border: 1px solid #cbd5e1;
    border-radius: 1rem;
    background: #f8fafc;
    padding: 0.9rem 1rem;
}

.service-address-control {
    padding-top: 0.1rem;
}

.service-address-text {
    color: #0f172a;
    font-size: 0.95rem;
    line-height: 1.45;
}

@media (max-width: 640px) {
    .portal-shell-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .portal-shell-header-main {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }

    .portal-shell-title {
        font-size: 1.45rem;
    }

    .portal-shell-context {
        width: 100%;
        justify-content: flex-start;
    }

    .portal-shell-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .portal-admin-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem 1.1rem;
    }

    .portal-admin-title {
        font-size: 1.55rem;
    }

    .portal-admin-nav-shell,
    .portal-admin-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .attempt-date-inline,
    .attempt-time-inline {
        gap: 0.4rem;
    }

    .attempt-month-box {
        flex-basis: 8.5rem;
    }

    .attempt-day-box {
        flex-basis: 3.5rem;
    }

    .attempt-year-box {
        flex-basis: 4.8rem;
    }

    .attempt-time-box,
    .attempt-minute-box {
        flex-basis: 3.8rem;
    }

    .attempt-period-inline {
        gap: 0.5rem;
    }

    body {
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-field-form {
        margin-left: -0.25rem;
        margin-right: -0.25rem;
    }
}

body.nsm-native-attempt-edit-shell {
    background: #f4f5f7;
}

body.nsm-native-attempt-edit-shell.nsm-native-modal-open {
    overflow: hidden;
}

body.nsm-native-attempt-edit-shell > div {
    min-height: 100dvh;
    background: #f4f5f7;
}

body.nsm-native-attempt-edit-shell > div > header,
body.nsm-native-attempt-edit-shell > div > nav {
    display: none;
}

body.nsm-native-attempt-edit-shell > div > main {
    width: min(100%, 30rem);
    max-width: none;
    min-height: 100dvh;
    margin: 0 auto;
    padding: calc(102px + env(safe-area-inset-top, 0)) 0.85rem calc(98px + env(safe-area-inset-bottom, 0));
    background: #f4f5f7;
}

.nsm-native-attempt-edit-page {
    padding: 0;
}

.nsm-native-attempt-edit-header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 60;
    display: grid;
    width: min(100%, 30rem);
    min-height: calc(88px + env(safe-area-inset-top, 0));
    padding: calc(15px + env(safe-area-inset-top, 0)) 1rem 12px;
    grid-template-columns: 80px minmax(0, 1fr) 52px;
    align-items: end;
    background: #2868b2;
    color: #fff;
    transform: translateX(-50%);
}

.nsm-native-edit-cancel {
    display: flex;
    min-height: 44px;
    align-items: center;
    align-self: end;
    color: #fff !important;
    font-size: 1.04rem;
    font-weight: 700;
    text-decoration: none;
}

.nsm-native-attempt-edit-header > strong {
    align-self: end;
    padding-bottom: 10px;
    text-align: center;
    font-size: 1.16rem;
    font-weight: 800;
}

.nsm-native-edit-info {
    display: flex;
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    align-items: center;
    justify-content: center;
    justify-self: end;
    align-self: end;
    border: 3px solid #fff;
    border-radius: 999px;
    color: #fff !important;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
}

.nsm-native-edit-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nsm-native-edit-kicker {
    margin: 0;
    color: #617089;
    font-size: 1.05rem;
    font-weight: 700;
}

.nsm-native-edit-form h1 {
    margin: -0.75rem 0 0.2rem;
    color: #0f172a;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.22;
}

.nsm-native-edit-pills {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.2rem;
}

.nsm-native-edit-pill {
    display: flex;
    min-height: 47px;
    align-items: center;
    gap: 0.42rem;
    padding: 0 0.82rem;
    border: 0;
    border-radius: 999px;
    background: #8392b1;
    color: #fff;
    font-size: 0.97rem;
    font-weight: 700;
}

.nsm-native-edit-pill-icon {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 3px;
}

.nsm-native-edit-pill-icon::after {
    position: absolute;
    top: 3px;
    left: -2px;
    width: 17px;
    border-top: 2px solid #fff;
    content: "";
}

.nsm-native-edit-clock {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.nsm-native-edit-clock::before,
.nsm-native-edit-clock::after {
    position: absolute;
    left: 8px;
    top: 4px;
    width: 2px;
    height: 5px;
    background: #fff;
    content: "";
}

.nsm-native-edit-clock::after {
    top: 8px;
    width: 5px;
    height: 2px;
}

.nsm-native-edit-down {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.1rem;
    border-top: 6px solid #fff;
    border-right: 5px solid transparent;
    border-left: 5px solid transparent;
}

.nsm-native-edit-card {
    overflow: hidden;
    border: 1px solid #d4dbe5;
    border-radius: 9px;
    background: #fff;
}

.nsm-native-edit-card-row {
    display: flex;
    width: 100%;
    min-height: 85px;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border: 0;
    background: transparent;
    text-align: left;
}

.nsm-native-circle-icon {
    display: flex;
    width: 51px;
    height: 51px;
    flex: 0 0 51px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.nsm-native-circle-icon.is-blue {
    background: #398bdf;
}

.nsm-native-circle-icon.is-muted {
    background: #bcc5d4;
}

.nsm-native-circle-icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nsm-native-edit-row-copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.12rem;
}

.nsm-native-edit-row-copy strong {
    color: #121a2a;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}

.nsm-native-edit-row-copy span {
    color: #65738a;
    font-size: 0.89rem;
    line-height: 1.35;
}

.nsm-native-chevron {
    display: inline-block;
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    border-top: 3px solid #8190a7;
    border-right: 3px solid #8190a7;
    transform: rotate(45deg);
}

.nsm-native-edit-map {
    position: relative;
    height: 204px;
    overflow: hidden;
    border-top: 1px solid #e4eaf2;
    border-bottom: 1px solid #e4eaf2;
    background:
        repeating-linear-gradient(12deg, rgba(189, 204, 182, 0.14) 0 2px, transparent 2px 54px),
        repeating-linear-gradient(95deg, rgba(182, 197, 215, 0.18) 0 2px, transparent 2px 58px),
        #edf2e8;
}

.nsm-native-map-road {
    position: absolute;
    display: block;
    background: #e4decd;
    border: 1px solid #d7cfbd;
}

.nsm-native-map-road.one {
    top: 52%;
    left: -8%;
    width: 120%;
    height: 27px;
    transform: rotate(-8deg);
}

.nsm-native-map-road.two {
    top: -15%;
    right: 27%;
    width: 27px;
    height: 135%;
    transform: rotate(29deg);
}

.nsm-native-map-pin,
.nsm-native-map-device {
    position: absolute;
    display: block;
    width: 27px;
    height: 27px;
    border: 4px solid #fff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.nsm-native-map-pin {
    top: 29px;
    left: 38%;
    background: #e75285;
}

.nsm-native-map-device {
    right: 36%;
    bottom: 20px;
    background: #348ce6;
}

.nsm-native-map-brand {
    position: absolute;
    bottom: 10px;
    left: 12px;
    color: #536276;
    font-size: 0.75rem;
    font-weight: 800;
}

.nsm-native-gps-warning {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    padding: 0.85rem 1rem;
    background: #f4f5f7;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.45;
}

.nsm-native-gps-warning p {
    margin: 0;
}

.nsm-native-gps-warning span {
    color: #eab308;
    font-size: 1.65rem;
    font-weight: 900;
}

.nsm-native-upload-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0.72rem 0.25rem 0.85rem;
    border-top: 1px solid #e7edf4;
}

.nsm-native-upload-actions button {
    display: flex;
    min-width: 0;
    align-items: center;
    flex-direction: column;
    gap: 0.38rem;
    border: 0;
    background: transparent;
    color: #65738a;
    font-size: 0.69rem;
    line-height: 1.2;
}

.nsm-native-upload-actions svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: #3d8ae6;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nsm-native-upload-actions button:disabled {
    opacity: 0.42;
}

.nsm-native-hidden-upload {
    display: none;
}

.nsm-native-upload-files {
    padding: 0.45rem 1rem 0.7rem;
    border-top: 1px solid #e7edf4;
}

.nsm-native-upload-files p {
    margin: 0.4rem 0 0;
    overflow-wrap: anywhere;
    color: #475569;
    font-size: 0.86rem;
}

.nsm-native-edit-field {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    color: #526177;
    font-size: 1rem;
    font-weight: 700;
}

.nsm-native-edit-field em,
.nsm-native-sheet em {
    color: #94a3b8;
    font-style: normal;
    font-weight: 500;
}

.nsm-native-edit-field input,
.nsm-native-edit-field select,
.nsm-native-edit-field textarea {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem;
    border: 1px solid #d4dbe5;
    border-radius: 9px;
    background: #fff;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 500;
}

.nsm-native-edit-field textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.55;
}

.nsm-native-edit-footer {
    position: fixed;
    left: 50%;
    bottom: 0;
    z-index: 55;
    width: min(100%, 30rem);
    padding: 0.8rem 0.85rem calc(0.8rem + env(safe-area-inset-bottom, 0));
    background: rgba(244, 245, 247, 0.98);
    box-shadow: 0 -10px 24px rgba(15, 23, 42, 0.1);
    transform: translateX(-50%);
}

.nsm-native-edit-footer button {
    display: flex;
    width: 100%;
    min-height: 57px;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    border: 0;
    border-radius: 7px;
    background: #3d8ae6;
    color: #fff;
    font-size: 1.07rem;
    font-weight: 700;
}

.nsm-native-chevron.is-white {
    border-color: #fff;
}

.nsm-native-sheet {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.nsm-native-sheet.is-hidden {
    display: none;
}

.nsm-native-sheet-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.48);
}

.nsm-native-sheet-panel {
    position: relative;
    width: min(100%, 30rem);
    padding: 1.15rem 1rem calc(1rem + env(safe-area-inset-bottom, 0));
    border-radius: 23px 23px 0 0;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(15, 23, 42, 0.17);
}

.nsm-native-sheet-panel h2 {
    margin: 0 0 1rem;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
}

.nsm-native-sheet-scroll {
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
}

.nsm-native-sheet-grid {
    display: grid;
    gap: 0.6rem;
}

.nsm-native-sheet-grid.is-date {
    grid-template-columns: 1.4fr 0.8fr 0.95fr;
}

.nsm-native-sheet-grid.is-time {
    grid-template-columns: 0.9fr 0.9fr 1.3fr;
}

.nsm-native-sheet input,
.nsm-native-sheet select,
.nsm-native-sheet textarea {
    width: 100%;
    min-height: 51px;
    padding: 0.72rem;
    border: 1px solid #d4dbe5;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
    font-size: 0.97rem;
}

.nsm-native-sheet textarea {
    min-height: 108px;
}

.nsm-native-sheet-panel > label,
.nsm-native-new-address label,
.nsm-native-recipient-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.38rem;
    margin-bottom: 0.75rem;
    color: #526177;
    font-size: 0.9rem;
    font-weight: 700;
}

.nsm-native-period-field ul {
    display: flex;
    min-height: 51px;
    align-items: center;
    justify-content: space-around;
    gap: 0.4rem;
    margin: 0;
    padding: 0.55rem 0.45rem;
    border: 1px solid #d4dbe5;
    border-radius: 9px;
    list-style: none;
}

.nsm-native-period-field label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.nsm-native-period-field input {
    width: auto;
    min-height: auto;
    padding: 0;
}

.nsm-native-sheet-confirm {
    width: 100%;
    min-height: 52px;
    margin-top: 0.8rem;
    border: 0;
    border-radius: 7px;
    background: #3d8ae6;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.nsm-native-address-options {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.nsm-native-address-options label {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    padding: 0.82rem;
    border: 1px solid #d4dbe5;
    border-radius: 9px;
    color: #334155;
}

.nsm-native-address-options input {
    width: auto;
    min-height: auto;
    margin-top: 0.2rem;
    padding: 0;
}

.nsm-native-new-address {
    display: grid;
    gap: 0.1rem;
    margin-top: 1rem;
}

.nsm-native-recipient-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.nsm-native-field-error,
.nsm-native-form-error {
    margin: 0.5rem 0;
    padding: 0.65rem;
    border-radius: 8px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.86rem;
    font-weight: 600;
}

body.nsm-mobile-info-shell {
    min-height: 100vh;
    margin: 0;
    background: #eef1f5;
    color: #111827;
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

.nsm-mobile-info-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr) 88px;
    align-items: center;
    min-height: calc(82px + env(safe-area-inset-top, 0));
    padding: env(safe-area-inset-top, 0) 1rem 0;
    background: #2f6eb9;
    color: #fff;
}

.nsm-mobile-info-header h1 {
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: 1.23rem;
    font-weight: 700;
}

.nsm-mobile-info-done {
    display: inline-flex;
    align-items: center;
    min-height: 50px;
    color: #fff;
    font-size: 1.04rem;
    font-weight: 700;
    text-decoration: none;
}

.nsm-mobile-info-done {
    justify-content: flex-end;
}

.nsm-mobile-info-content {
    max-width: 42rem;
    margin: 0 auto;
    padding: 1.1rem 1rem calc(96px + env(safe-area-inset-bottom, 0));
}

.nsm-mobile-info-intro {
    margin-bottom: 1.2rem;
}

.nsm-mobile-info-intro h2 {
    margin: 0 0 0.35rem;
    color: #111827;
    font-size: 1.32rem;
    font-weight: 800;
}

.nsm-mobile-info-intro p {
    margin: 0;
    color: #64748b;
    font-size: 0.96rem;
    line-height: 1.55;
}

.nsm-mobile-info-card {
    margin-bottom: 0.85rem;
    padding: 1rem;
    border: 1px solid #d8dee7;
    border-radius: 8px;
    background: #fff;
}

.nsm-mobile-info-card h2 {
    margin: 0 0 0.48rem;
    color: #111827;
    font-size: 1.03rem;
    font-weight: 750;
}

.nsm-mobile-info-card p {
    margin: 0;
    color: #526177;
    font-size: 0.94rem;
    line-height: 1.6;
}

.nsm-mobile-info-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0.45rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom, 0));
    border-top: 1px solid #d8dee7;
    background: rgba(255, 255, 255, 0.98);
}

.nsm-mobile-info-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-height: 60px;
    color: #6b7280;
    text-decoration: none;
}

.nsm-mobile-info-nav span {
    font-size: 1.45rem;
    line-height: 1;
}

.nsm-mobile-info-nav small {
    font-size: 0.72rem;
    font-weight: 600;
}

.nsm-mobile-info-nav .is-active {
    color: #2f6eb9;
}
