
:root {
    --ndt-red: #e51b32;
    --ndt-navy: #122d4b;
    --ndt-blue: #0068a5;
    --ndt-green: #16825d;
    --ndt-ink: #182b43;
    --ndt-muted: #738094;
    --ndt-line: #e8edf2;
    --ndt-bg: #f5f7fa;
    --ndt-radius: 14px;
}

* {
    box-sizing: border-box;
}

body.ndt-app,body.ndt-login {
    margin: 0;
    background: var(--ndt-bg);
    color: var(--ndt-ink);
    font-family: 'DM Sans',system-ui,sans-serif;
    font-size: 14px;
    line-height: 1.55;
    padding: 0;
    animation: none;
    opacity: 1;
    min-height: 100dvh;
}

h1,h2,h3,h4,strong {
    font-family: 'Manrope',system-ui,sans-serif;
}

a {
    text-decoration: none;
}

button,input,select,textarea {
    font: inherit;
}

button,a,input,select,textarea {
    -webkit-tap-highlight-color: transparent;
}

button {
    cursor: pointer;
}

a:focus-visible,button:focus-visible {
    outline: 3px solid #59a6d1;
    outline-offset: 3px;
}

.ndt-icon {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    vertical-align: middle;
}

[hidden] {
    display: none !important;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 20px;
    background: white;
    padding: 12px;
    z-index: 3000;
}

.skip-link:focus {
    top: 10px;
}

.app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 244px;
    background: #fff;
    border-right: 1px solid var(--ndt-line);
    z-index: 1040;
    display: flex;
    flex-direction: column;
    padding: 27px 19px 15px;
}

.brand {
    display: block;
    padding: 0 11px 23px;
}

.brand img {
    width: 176px;
    height: 70px;
    object-fit: contain;
}

.workspace-label {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--ndt-line);
    border-radius: 9px;
    padding: 12px 11px;
    font-size: 10px;
    letter-spacing: 1.3px;
    font-weight: 700;
    color: #4a5d73;
}

.workspace-dot {
    width: 6px;
    height: 6px;
    display: inline-block;
    background: var(--ndt-green);
    border-radius: 50%;
    flex-shrink: 0;
}

.workspace-version {
    margin-left: auto;
    font-size: 9px;
    background: #edf2f6;
    padding: 2px 5px;
    border-radius: 3px;
}

.nav-caption {
    font-size: 9px;
    font-weight: 700;
    color: #9aa5b4;
    letter-spacing: 1.4px;
    margin: 29px 13px 10px;
}

.sidebar-nav {
    display: grid;
    gap: 6px;
}

.sidebar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #637086;
    padding: 13px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    min-height: 46px;
}

.sidebar-nav .nav-item:hover {
    background: #f6f8fa;
    color: var(--ndt-ink);
}

.sidebar-nav .is-active {
    background: #fff0f1;
    color: var(--ndt-red);
    position: relative;
}

.sidebar-nav .is-active:before {
    content: '';
    position: absolute;
    left: -19px;
    top: 11px;
    bottom: 11px;
    width: 3px;
    background: var(--ndt-red);
    border-radius: 0 3px 3px 0;
}

.nav-count {
    margin-left: auto;
    font-size: 10px;
    background: #edf1f5;
    color: #687b92;
    border-radius: 5px;
    min-width: 22px;
    text-align: center;
    padding: 2px 5px;
}

.sidebar-bottom {
    margin-top: auto;
    padding-top: 24px;
}

.safety-note {
    border-radius: 11px;
    background: #f4f8fb;
    padding: 17px 14px;
    margin-bottom: 20px;
}

.safety-note .ndt-icon {
    color: var(--ndt-blue);
    display: block;
    margin-bottom: 10px;
}

.safety-note strong {
    display: block;
    font-size: 11px;
}

.safety-note p {
    font-size: 10px;
    color: #8a97a7;
    margin: 5px 0 0;
    line-height: 1.7;
}

.sidebar-account {
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid var(--ndt-line);
    padding: 17px 0 10px;
    color: var(--ndt-ink);
}

.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf1f6;
    border: 1px solid #dce7f0;
    color: #2c587d;
    font-weight: 700;
    font-size: 11px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sidebar-account strong,.topbar-user strong {
    display: block;
    font-size: 11px;
    max-width: 128px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-account small,.topbar-user small {
    display: block;
    font-size: 9px;
    color: #93a0b0;
}

.sidebar-account>.ndt-icon {
    margin-left: auto;
    width: 15px;
    color: #a9b4c0;
}

.logout-button {
    display: flex;
    gap: 9px;
    border: 0;
    background: none;
    color: #8995a5;
    font-size: 10px;
    padding: 10px 3px;
}

.logout-button .ndt-icon {
    width: 16px;
    height: 16px;
}

.app-workspace {
    margin-left: 244px;
    min-width: 0;
}

.app-topbar {
    height: 80px;
    background: #fff;
    border-bottom: 1px solid var(--ndt-line);
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 32px;
    position: sticky;
    top: 0;
    z-index: 1020;
}

.topbar-breadcrumb {
    font-size: 11px;
    color: #97a2b0;
    white-space: nowrap;
}

.topbar-breadcrumb span {
    padding: 0 9px;
    color: #c5ccd4;
}

.topbar-breadcrumb strong {
    color: #516075;
    font-size: 11px;
}

.global-search {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-left: auto;
    width: 310px;
    border: 1px solid var(--ndt-line);
    background: #f8fafc;
    border-radius: 8px;
    padding: 8px 11px;
}

.global-search>.ndt-icon {
    width: 16px;
    color: #94a2b2;
}

.global-search input {
    font-size: 10px;
    min-width: 0;
    width: 100%;
    border: 0;
    background: none;
    outline: none;
    color: var(--ndt-ink);
}

.global-search button {
    border: 0;
    background: none;
    color: #b0bdca;
    padding: 0;
}

.global-search button .ndt-icon {
    width: 15px;
    height: 15px;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.topbar-divider {
    width: 1px;
    height: 28px;
    background: var(--ndt-line);
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ndt-ink);
}

.icon-button {
    border: 1px solid var(--ndt-line);
    border-radius: 9px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    color: #65778e;
    position: relative;
}

.icon-button:hover {
    background: #f4f7fa;
}

.icon-button .ndt-icon {
    width: 19px;
    height: 19px;
}

.menu-toggle {
    display: none;
}

.notification-wrap {
    position: relative;
}

.notification-dot {
    position: absolute;
    right: 8px;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--ndt-red);
    border: 1px solid white;
    border-radius: 50%;
}

.notification-panel {
    position: absolute;
    right: 0;
    top: 48px;
    width: 320px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--ndt-line);
    border-radius: 12px;
    box-shadow: 0 16px 50px #122d4b1c;
}

.panel-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.panel-heading .icon-button {
    border: 0;
    width: 26px;
    height: 26px;
}

.notification-panel p {
    color: var(--ndt-muted);
    font-size: 11px;
    margin: 7px 0 14px;
}

.notification-panel #tag-number-list {
    display: grid;
    gap: 5px;
    max-height: 240px;
    overflow: auto;
    font-size: 12px;
}

.notification-panel #tag-number-list a {
    background: #f6f8fb;
    padding: 9px 11px;
    border-radius: 6px;
    color: var(--ndt-navy);
}

.notification-panel .text-link {
    display: block;
    font-size: 11px;
    margin-top: 14px;
}

.app-main {
    padding: 30px 32px 20px;
    max-width: 1800px;
    margin: auto;
}

.page-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.eyebrow {
    color: #95a1b1;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 9px;
    margin-bottom: 7px;
}

.page-heading h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.8px;
    margin: 0 0 7px;
}

.page-heading p {
    font-size: 11px;
    color: var(--ndt-muted);
    margin: 0;
}

.page-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.primary-action,.secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.primary-action {
    background: var(--ndt-red);
    color: white;
    box-shadow: 0 3px 8px #e51b321a;
}

.primary-action:hover {
    color: white;
    background: #cb142a;
}

.secondary-action {
    background: white;
    border-color: #dfe6ed;
    color: #55677e;
}

.secondary-action:hover {
    color: var(--ndt-navy);
    background: #f5f8fb;
}

.primary-action .ndt-icon,.secondary-action .ndt-icon {
    width: 16px;
    height: 16px;
}

.text-link {
    color: var(--ndt-blue);
    font-size: 11px;
    font-weight: 600;
}

.text-link .ndt-icon {
    width: 14px;
    height: 14px;
    margin-left: 5px;
}

.workspace-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 9px;
    color: #a1adbb;
    margin-top: 30px;
    padding-top: 17px;
    border-top: 1px solid var(--ndt-line);
}

.workspace-footer .workspace-dot {
    width: 5px;
    height: 5px;
    margin-right: 4px;
}

.app-alert {
    background: #ebf6f0;
    border: 1px solid #cfe8db;
    border-radius: 9px;
    font-size: 12px;
    padding: 13px 17px;
    margin-bottom: 18px;
}

.alert-error {
    background: #fff1f2;
    border-color: #f4d1d6;
    color: #af2236;
}

.app-alert ul {
    margin-bottom: 0;
}

.app-panel {
    background: white;
    border: 1px solid var(--ndt-line);
    border-radius: var(--ndt-radius);
    overflow: hidden;
}

.panel-title {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--ndt-line);
}

.panel-title h2 {
    font-size: 14px;
    font-weight: 800;
    margin: 0;
}

.panel-title p {
    font-size: 10px;
    color: var(--ndt-muted);
    margin: 4px 0 0;
}

.panel-content {
    padding: 22px;
}

.welcome-banner {
    border-radius: 14px;
    background: var(--ndt-navy);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    padding: 27px 29px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.welcome-banner:after {
    content: '';
    position: absolute;
    right: -55px;
    top: -110px;
    width: 330px;
    height: 330px;
    border: 45px solid #ffffff04;
    border-radius: 50%;
    pointer-events: none;
}

.welcome-banner .eyebrow {
    color: #83abc9;
    font-size: 9px;
}

.welcome-banner h2 {
    font-size: 21px;
    letter-spacing: -.5px;
    margin: 0 0 8px;
    font-weight: 700;
}

.welcome-banner p {
    color: #a9bfce;
    font-size: 11px;
    margin: 0;
    max-width: 420px;
}

.banner-status {
    border-left: 1px solid #ffffff20;
    padding-left: 28px;
    min-width: 160px;
    z-index: 1;
}

.banner-status small {
    font-size: 9px;
    color: #95b2c9;
}

.banner-status strong {
    font-size: 30px;
    display: block;
    line-height: 1.6;
}

.banner-status span {
    font-size: 10px;
    color: #b5ccde;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px;
    margin-bottom: 24px;
}

.metric-card {
    border: 1px solid var(--ndt-line);
    border-radius: 12px;
    background: white;
    padding: 19px 20px;
}

.metric-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #7b8798;
    font-size: 10px;
}

.metric-icon {
    display: flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #eaf3fa;
    color: var(--ndt-blue);
}

.metric-icon .ndt-icon {
    width: 18px;
    height: 18px;
}

.metric-icon.amber {
    background: #fff5df;
    color: #b98a1f;
}

.metric-icon.green {
    background: #eaf7f0;
    color: #248b62;
}

.metric-icon.red {
    background: #fff0f1;
    color: var(--ndt-red);
}

.metric-value {
    font: 800 31px 'Manrope',sans-serif;
    letter-spacing: -1px;
    margin: 10px 0 7px;
}

.metric-foot {
    font-size: 9px;
    color: #a0aaba;
}

.metric-foot .status-dot {
    width: 5px;
    height: 5px;
    margin-right: 4px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) 290px;
    gap: 22px;
    align-items: start;
}

.dashboard-side {
    display: grid;
    gap: 21px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
    font-size: 11px;
}

.data-table th {
    text-align: left;
    padding: 13px 20px;
    background: #fbfcfe;
    color: #9ba7b6;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .5px;
    border-bottom: 1px solid var(--ndt-line);
}

.data-table td {
    padding: 17px 20px;
    border-bottom: 1px solid #f0f3f6;
    vertical-align: middle;
}

.data-table tbody tr:last-child td {
    border: 0;
}

.data-table tbody tr:hover {
    background: #fafcfe;
}

.data-table strong {
    font-size: 11px;
    font-weight: 700;
}

.data-table small {
    display: block;
    color: #9ca8b6;
    font-size: 9px;
    margin-top: 3px;
}

.table-scroll {
    overflow: auto;
}

.data-table .tag-cell {
    display: flex;
    align-items: center;
    gap: 11px;
}

.asset-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f0f4f8;
    color: #7f97ac;
    display: flex;
    align-items: center;
    justify-content: center;
}

.asset-icon .ndt-icon {
    width: 15px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 5px;
    padding: 4px 7px;
    background: #fff7e6;
    color: #a3791b;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}

.status-pill.done {
    background: #eaf7ef;
    color: #228259;
}

.status-dot {
    width: 5px;
    height: 5px;
    background: currentColor;
    border-radius: 50%;
    display: inline-block;
}

.row-link {
    color: #7590a9;
}

.row-link .ndt-icon {
    width: 16px;
}

.panel-bottom {
    padding: 13px 22px;
    border-top: 1px solid var(--ndt-line);
    color: #a0aaba;
    font-size: 9px;
}

.completion-ring {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    margin: 5px auto 23px;
    background: conic-gradient(var(--ndt-green) calc(var(--progress)*1%),#edf1f5 0);
    display: grid;
    place-items: center;
}

.ring-center {
    width: 104px;
    height: 104px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-center strong {
    font-size: 26px;
    letter-spacing: -1px;
}

.ring-center span {
    font-size: 9px;
    color: var(--ndt-muted);
}

.legend-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    color: #8a97a8;
    padding: 7px 0;
}

.legend-row strong {
    color: var(--ndt-ink);
    font-size: 10px;
}

.legend-row .status-dot {
    margin-right: 6px;
    color: var(--ndt-green);
}

.legend-row.waiting .status-dot {
    color: #dca632;
}

.method-row {
    margin: 15px 0;
}

.method-label {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    margin-bottom: 7px;
}

.method-label strong {
    font-size: 10px;
}

.method-track {
    height: 5px;
    background: #edf2f7;
    border-radius: 5px;
    overflow: hidden;
}

.method-track span {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: var(--ndt-blue);
}

.empty-note {
    padding: 30px 18px;
    text-align: center;
    color: var(--ndt-muted);
    font-size: 12px;
}

.empty-note .ndt-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
}

.mobile-nav,.sidebar-backdrop {
    display: none;
}

/* Data workspace */

.filter-panel {
    padding: 19px 22px;
    margin-bottom: 20px;
}

.filter-toolbar {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.list-search {
    display: flex;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--ndt-line);
    border-radius: 8px;
    padding: 9px 12px;
    width: 360px;
}

.list-search .ndt-icon {
    width: 17px;
    color: #99a7b6;
}

.list-search input {
    border: 0;
    outline: none;
    background: none;
    font-size: 11px;
    width: 100%;
    min-width: 0;
}

.filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.filter-tab {
    border: 0;
    border-radius: 7px;
    background: #f5f7fa;
    color: #8995a4;
    padding: 9px 12px;
    font-size: 10px;
}

.filter-tab.active {
    background: #eaf1f8;
    color: var(--ndt-blue);
    font-weight: 700;
}

.filter-tab span {
    border-radius: 4px;
    background: #ffffffa1;
    padding: 1px 5px;
    margin-left: 4px;
    font-size: 9px;
}

.filter-submit {
    background: var(--ndt-navy);
    color: white;
    border: 0;
    border-radius: 7px;
    padding: 10px 16px;
    font-size: 11px;
}

.filter-results {
    display: flex;
    gap: 9px;
    align-items: center;
    padding-top: 12px;
    color: #99a5b5;
    font-size: 10px;
}

.request-mobile-list {
    display: none;
}

.table-actions {
    display: flex;
    gap: 6px;
}

.table-button {
    background: #f5f8fb;
    border: 1px solid #e4ebf1;
    border-radius: 6px;
    padding: 6px 9px;
    color: #52718d;
    font-size: 10px;
}

.table-button.report {
    background: #eaf3fa;
    color: #0068a5;
    border-color: #d9eaf7;
}

.request-list-pagination {
    padding: 15px 20px;
}

.request-list-pagination .pagination {
    margin: 0;
    gap: 4px;
}

.request-list-pagination .page-link {
    border-radius: 6px !important;
    font-size: 11px;
    color: var(--ndt-blue);
    border-color: #e3e9ef;
}

.request-list-pagination .active .page-link {
    background: var(--ndt-blue);
    border-color: var(--ndt-blue);
    color: white;
}

.modal .modal-content {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 20px 80px #122d4b2a;
}

.modal .modal-header {
    background: var(--ndt-navy);
    color: white;
    border: 0;
    padding: 19px 22px;
}

.modal .modal-title {
    font-size: 15px;
    font-weight: 700;
}

.modal .btn-close {
    filter: brightness(0) invert(1);
}

.modal .modal-dialog {
    margin: 24px auto;
    max-width: 620px;
    width: calc(100% - 32px);
}

.modal .modal-body {
    padding: 22px;
    font-size: 12px;
    max-height: 68dvh;
    overflow: auto;
}

.modal .modal-footer {
    border-color: var(--ndt-line);
    padding: 15px 22px;
}

.modal .card {
    border: 1px solid var(--ndt-line) !important;
    box-shadow: none !important;
    margin-bottom: 15px !important;
}

.modal .card-body {
    padding: 17px;
}

.modal h5 {
    font-size: 13px;
}

.ndt-info-container {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 15px;
}

.ndt-info-container .info-item {
    font-size: 11px;
    overflow-wrap: anywhere;
}

.spinner-container {
    display: flex;
    justify-content: center;
}

.ndt-app .btn-primary {
    background: var(--ndt-blue);
    border-color: var(--ndt-blue);
}

.ndt-app .btn {
    font-size: 12px;
    border-radius: 7px;
}

.ndt-app .form-control,.ndt-app .form-select {
    font-size: 12px;
    color: var(--ndt-ink);
    border-color: #dfe6ed;
    border-radius: 8px;
    padding: 11px 12px;
    min-height: 43px;
}

.ndt-app .form-control:focus,.ndt-app .form-select:focus {
    box-shadow: 0 0 0 3px #0068a514;
    border-color: #62a1c3;
}

.ndt-app .form-label {
    font-size: 11px;
    font-weight: 600;
    color: #617389;
}

.ndt-app input[readonly] {
    background: #f7f9fb;
    color: #8b99a9;
}

.ndt-app .form-container {
    max-width: none;
    margin: 0;
    background: white;
    border: 1px solid var(--ndt-line);
    border-radius: 14px;
    box-shadow: none;
    overflow: hidden;
}

.ndt-app .form-header {
    background: #fff;
    text-align: left;
    padding: 22px 26px;
    border-bottom: 1px solid var(--ndt-line);
    box-shadow: none;
}

.ndt-app .form-title {
    font-size: 15px;
    color: var(--ndt-ink);
    font-weight: 800;
    margin: 0;
}

.form-description {
    font-size: 11px;
    color: var(--ndt-muted);
    margin: 5px 0 0;
}

.ndt-app .form-body {
    padding: 26px;
}

.ndt-app .form-section {
    margin: 0 0 25px;
    padding: 0 0 23px;
    border-bottom: 1px solid var(--ndt-line);
}

.ndt-app .form-section-title {
    font-size: 12px;
    font-weight: 800;
    margin: 0 0 18px;
    color: var(--ndt-navy);
    display: flex;
    align-items: center;
    gap: 9px;
}

.section-number {
    font-size: 9px;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #edf3f9;
    color: #6b8fac;
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 17px 22px;
}

.field-grid .form-group {
    margin: 0;
    min-width: 0;
}

.field-grid .span-full {
    grid-column: 1/-1;
}

.ndt-app .required-field:after {
    content: ' *';
    color: var(--ndt-red);
}

.ndt-app .file-input-label {
    display: block;
    border: 1px dashed #cddbe7;
    border-radius: 9px;
    text-align: center;
    padding: 28px 16px;
    color: #8396aa;
    font-size: 11px;
    background: #fafcfe;
    cursor: pointer;
}

.ndt-app .file-input-label i {
    display: block;
    font-size: 25px;
    color: #0068a5;
    margin-bottom: 12px;
}

.file-name {
    font-size: 10px;
    color: #9aa7b6;
    margin-top: 7px;
}

.file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

.error-message {
    display: none;
    font-size: 10px;
    color: var(--ndt-red);
    margin-top: 5px;
}

.form-workspace {
    display: grid;
    grid-template-columns: minmax(0,1fr) 255px;
    gap: 24px;
    align-items: start;
}

.form-help {
    position: sticky;
    top: 103px;
}

.help-step {
    display: flex;
    gap: 10px;
    margin: 0 0 21px;
}

.help-step>span {
    background: #eaf2f8;
    color: #537995;
    font-size: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}

.help-step strong {
    font-size: 11px;
    display: block;
    margin-bottom: 5px;
}

.help-step p {
    font-size: 10px;
    color: #94a1b2;
    margin: 0;
    line-height: 1.8;
}

.form-help .safety-note {
    margin: 0;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.ndt-app .btn-submit {
    background: var(--ndt-red);
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    width: auto;
    margin: 0;
}

.btn-submit:disabled {
    opacity: .6;
    cursor: wait;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 22px;
}

.chart-box {
    height: 300px;
    position: relative;
}

.ndt-app .calendar-wrapper {
    background: white;
    padding: 24px;
    border: 1px solid var(--ndt-line);
    border-radius: 14px;
    margin: 0;
    box-shadow: none;
}

.fc-toolbar h2 {
    font-size: 19px;
    font-weight: 800;
}

.fc th {
    padding: 13px 0 !important;
    font-size: 10px;
    font-weight: 600;
    color: #8797aa;
    background: #f7f9fc;
}

.fc td,.fc th {
    border-color: #e8edf2 !important;
}

.fc .fc-button {
    background: #fff;
    border: 1px solid #dfe7ee;
    box-shadow: none;
    border-radius: 6px;
    color: #65788f;
    font-size: 11px;
    height: 31px;
}

.fc .fc-today {
    background: #fff7f8 !important;
}

.fc-day-number {
    font-size: 11px;
    color: #889aaf;
    padding: 8px !important;
}

.fc-day-grid-event {
    padding: 4px;
    border: 0;
    font-size: 9px;
    border-radius: 4px;
}

.legend {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 10px;
    color: #8494a6;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.legend-color {
    height: 7px;
    width: 7px;
    border-radius: 50%;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.profile-grid label {
    display: block;
    margin: 17px 0 6px;
}

.profile-grid .profile-submit {
    margin-top: 20px;
}

.profile-grid h2 {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 8px;
}

.profile-grid p {
    font-size: 11px;
    color: var(--ndt-muted);
}

/* Sign-in workspace */

.login-frame {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
}

.login-story {
    background: var(--ndt-navy);
    padding: 45px 60px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.login-story:after {
    content: '';
    width: 700px;
    height: 700px;
    border: 100px solid #ffffff03;
    border-radius: 50%;
    position: absolute;
    right: -320px;
    bottom: -280px;
}

.login-brand {
    background: white;
    border-radius: 10px;
    padding: 7px 15px;
    width: 210px;
    position: relative;
    z-index: 1;
}

.login-brand img {
    width: 180px;
    display: block;
}

.login-story-content {
    margin: auto 0;
    padding: 70px 0;
    position: relative;
    z-index: 1;
}

.login-story .eyebrow {
    color: #75a3c5;
    letter-spacing: 2px;
    font-size: 10px;
}

.login-story h1 {
    font-size: 46px;
    line-height: 1.2;
    letter-spacing: -2px;
    font-weight: 800;
    color: #fff;
    margin: 20px 0;
    max-width: 450px;
}

.login-story h1 span {
    color: #84bedd;
}

.login-story p {
    font-size: 13px;
    line-height: 1.9;
    color: #9bb7ca;
    max-width: 380px;
}

.login-features {
    display: grid;
    gap: 19px;
    margin-top: 40px;
    color: #c2d6e3;
    font-size: 11px;
}

.login-features span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-features .ndt-icon {
    color: #89b9d9;
    width: 19px;
}

.login-story-footer {
    font-size: 10px;
    color: #6384a0;
    position: relative;
    z-index: 1;
    display: flex;
    gap: 10px;
    align-items: center;
}

.login-form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 45px 30px;
}

.login-form-box {
    width: 100%;
    max-width: 370px;
}

.login-small-brand {
    display: none;
}

.login-app-badge {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    font-size: 10px;
    padding: 6px 10px;
    background: #f1f6fa;
    color: #517691;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 22px;
}

.login-form-box h2 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -1px;
    margin: 0 0 10px;
}

.login-form-box>p {
    font-size: 12px;
    color: #97a3b3;
    margin-bottom: 30px;
}

.login-field {
    margin-bottom: 20px;
}

.login-field label {
    display: block;
    color: #526780;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-input-wrap {
    position: relative;
}

.login-input {
    display: block;
    width: 100%;
    border: 1px solid #dde6ed;
    border-radius: 9px;
    padding: 13px 15px;
    font-size: 12px;
    outline: none;
    color: var(--ndt-ink);
    background: #fcfdfe;
    height: 47px;
}

.login-input:focus {
    border-color: var(--ndt-blue);
    box-shadow: 0 0 0 3px #0068a50c;
}

.login-input::placeholder {
    color: #b2bdc9;
}

.login-input-wrap .login-input {
    padding-right: 45px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 6px;
    height: 35px;
    width: 35px;
    border: 0;
    background: none;
    color: #9aabba;
    display: grid;
    place-items: center;
}

.password-toggle .ndt-icon {
    width: 18px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
    color: #8b9aab;
    margin: 22px 0;
}

.login-options a {
    color: var(--ndt-blue);
}

.login-options label {
    display: flex;
    align-items: center;
    gap: 7px;
}

.login-options input {
    accent-color: var(--ndt-red);
}

.login-submit {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 0;
    background: var(--ndt-red);
    border-radius: 8px;
    padding: 14px;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.login-submit:hover {
    background: #cd182d;
}

.login-submit .ndt-icon {
    width: 17px;
}

.login-security {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    color: #aab5c2;
    font-size: 9px;
    margin-top: 24px;
}

.login-security .ndt-icon {
    width: 14px;
    height: 14px;
}

.login-copyright {
    font-size: 9px;
    color: #b3bdc9;
    margin-top: 75px;
    text-align: center;
}

.login-error {
    color: #cf263e;
    font-size: 10px;
    margin-top: 6px;
}

.login-mobile-title {
    display: none;
}

@media (min-width:1600px) {
    .app-main {
        padding: 35px 45px;
    }
    .app-topbar {
        padding: 0 45px;
    }
    .dashboard-grid {
        grid-template-columns: minmax(0,1fr) 340px;
    }
}

@media (max-width:1200px) {
    .app-sidebar {
        width: 214px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .brand img {
        width: 158px;
    }
    .sidebar-nav .nav-item {
        font-size: 11px;
        gap: 9px;
    }
    .sidebar-nav .is-active:before {
        left: -15px;
    }
    .app-workspace {
        margin-left: 214px;
    }
    .app-main {
        padding: 25px 24px;
    }
    .app-topbar {
        padding: 0 24px;
        gap: 15px;
    }
    .global-search {
        width: 240px;
    }
    .topbar-breadcrumb {
        display: none;
    }
    .dashboard-grid {
        grid-template-columns: minmax(0,1fr) 250px;
        gap: 18px;
    }
    .metric-card {
        padding: 16px;
    }
    .data-table td,.data-table th {
        padding-left: 15px;
        padding-right: 15px;
    }
    .login-story {
        padding: 40px;
    }
    .login-story h1 {
        font-size: 39px;
    }
    .form-workspace {
        grid-template-columns: minmax(0,1fr) 225px;
        gap: 18px;
    }
}

@media (max-width:991px) {
    .app-sidebar {
        transform: translateX(-100%);
        transition: transform .2s;
    }
    .sidebar-open .app-sidebar {
        transform: translateX(0);
    }
    .sidebar-backdrop:not([hidden]) {
        display: block;
        position: fixed;
        inset: 0;
        background: #122d4b60;
        border: 0;
        z-index: 1030;
    }
    .app-workspace {
        margin-left: 0;
    }
    .menu-toggle {
        display: inline-flex;
    }
    .topbar-breadcrumb {
        display: block;
    }
    .global-search {
        display: none;
    }
    .topbar-actions {
        margin-left: auto;
    }
    .app-topbar {
        height: 67px;
    }
    .app-main {
        padding: 24px 22px 90px;
    }
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1025;
        border-top: 1px solid var(--ndt-line);
        background: #fffffffa;
        backdrop-filter: blur(10px);
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
        justify-content: space-around;
    }
    .mobile-nav a {
        display: flex;
        flex: 1;
        max-width: 100px;
        flex-direction: column;
        gap: 5px;
        align-items: center;
        padding: 5px 0;
        color: #94a2b3;
        font-size: 9px;
        font-weight: 500;
        border-radius: 7px;
    }
    .mobile-nav .is-active {
        color: var(--ndt-red);
        background: #fff2f4;
    }
    .mobile-nav .ndt-icon {
        width: 19px;
        height: 19px;
    }
    .dashboard-grid {
        grid-template-columns: minmax(0,1fr) 260px;
    }
    .page-heading h1 {
        font-size: 24px;
    }
    .form-workspace {
        grid-template-columns: 1fr;
    }
    .form-help {
        position: static;
        display: none;
    }
    .analytics-grid {
        grid-template-columns: 1fr 1fr;
    }
    .filter-toolbar {
        flex-wrap: wrap;
    }
    .list-search {
        flex: 1;
        min-width: 250px;
    }
    .filter-tabs {
        order: 3;
        width: 100%;
        margin-top: 5px;
    }
    .login-story {
        padding: 30px;
    }
    .login-story h1 {
        font-size: 34px;
    }
    .login-form-side {
        padding: 35px;
    }
}

@media (max-width:700px) {
    .app-topbar {
        padding: 0 16px;
        gap: 12px;
    }
    .topbar-breadcrumb {
        font-size: 10px;
    }
    .topbar-breadcrumb strong {
        font-size: 10px;
    }
    .topbar-breadcrumb span {
        padding: 0 5px;
    }
    .topbar-user>span:last-child,.topbar-divider {
        display: none;
    }
    .topbar-actions {
        gap: 10px;
    }
    .avatar {
        height: 33px;
        width: 33px;
    }
    .app-main {
        padding: 22px 16px 90px;
    }
    .page-heading {
        align-items: start;
        gap: 14px;
        margin-bottom: 20px;
    }
    .page-heading h1 {
        font-size: 23px;
        line-height: 1.3;
        max-width: 245px;
    }
    .page-heading p {
        font-size: 10px;
        max-width: 280px;
        line-height: 1.7;
    }
    .eyebrow {
        font-size: 8px;
        letter-spacing: 1.2px;
    }
    .page-heading .secondary-action {
        display: none;
    }
    .page-actions .primary-action {
        padding: 10px;
        font-size: 0;
        gap: 0;
    }
    .page-actions .primary-action .ndt-icon {
        width: 20px;
        height: 20px;
    }
    .welcome-banner {
        padding: 22px;
        gap: 15px;
        margin-bottom: 18px;
        align-items: start;
    }
    .welcome-banner h2 {
        font-size: 18px;
        max-width: 230px;
    }
    .welcome-banner p {
        font-size: 10px;
    }
    .banner-status {
        padding-left: 16px;
        min-width: 90px;
        align-self: center;
    }
    .banner-status strong {
        font-size: 24px;
    }
    .banner-status small,.banner-status span {
        font-size: 8px;
    }
    .summary-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 11px;
        margin-bottom: 20px;
    }
    .metric-card {
        padding: 14px 16px;
    }
    .metric-top {
        font-size: 9px;
    }
    .metric-icon {
        height: 28px;
        width: 28px;
        border-radius: 7px;
    }
    .metric-icon .ndt-icon {
        height: 15px;
        width: 15px;
    }
    .metric-value {
        font-size: 27px;
        margin: 7px 0 4px;
    }
    .metric-foot {
        font-size: 8px;
    }
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .dashboard-side {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .dashboard-side .panel-title {
        padding: 16px;
    }
    .dashboard-side .panel-title h2 {
        font-size: 11px;
    }
    .dashboard-side .panel-content {
        padding: 16px;
    }
    .completion-ring {
        width: 100px;
        height: 100px;
        margin: 0 auto 16px;
    }
    .ring-center {
        width: 82px;
        height: 82px;
    }
    .ring-center strong {
        font-size: 21px;
    }
    .ring-center span {
        font-size: 8px;
    }
    .legend-row {
        font-size: 9px;
    }
    .legend-row strong {
        font-size: 9px;
    }
    .method-label {
        font-size: 9px;
    }
    .method-label strong {
        font-size: 9px;
    }
    .panel-title {
        padding: 17px;
    }
    .panel-title h2 {
        font-size: 12px;
    }
    .panel-title p {
        font-size: 9px;
    }
    .panel-title .text-link {
        font-size: 9px;
    }
    .panel-content {
        padding: 18px;
    }
    .data-table th {
        font-size: 8px;
    }
    .data-table td {
        font-size: 10px;
        padding: 14px 16px;
    }
    .data-table td strong {
        font-size: 10px;
    }
    .data-table .desktop-secondary {
        display: none;
    }
    .asset-icon {
        width: 27px;
        height: 27px;
    }
    .data-table .tag-cell {
        gap: 8px;
    }
    .workspace-footer {
        font-size: 8px;
        margin-top: 24px;
    }
    .workspace-footer>span:last-child {
        display: none;
    }
    .request-desktop-table {
        display: none;
    }
    .request-mobile-list {
        display: grid;
        gap: 12px;
    }
    .request-mobile-card {
        border: 1px solid var(--ndt-line);
        background: white;
        border-radius: 12px;
        overflow: hidden;
    }
    .request-mobile-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 17px 17px 12px;
    }
    .request-mobile-head strong {
        font-size: 13px;
    }
    .request-mobile-head small {
        display: block;
        font-size: 9px;
        color: #98a5b6;
        margin-top: 3px;
    }
    .request-mobile-body {
        padding: 0 17px 14px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        font-size: 10px;
        color: #50657c;
    }
    .request-mobile-body small {
        display: block;
        font-size: 8px;
        color: #a0adbb;
        margin-bottom: 2px;
    }
    .request-mobile-actions {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 11px 17px;
        background: #fafcfe;
        border-top: 1px solid var(--ndt-line);
    }
    .request-mobile-actions>span {
        font-size: 9px;
        color: #9cabbc;
    }
    .request-mobile-actions .table-actions {
        gap: 8px;
    }
    .table-button {
        padding: 8px 11px;
        font-size: 10px;
    }
    .filter-panel {
        padding: 16px;
        margin-bottom: 16px;
    }
    .list-search {
        min-width: 0;
        flex: 1;
    }
    .filter-toolbar {
        gap: 9px;
    }
    .filter-tabs {
        gap: 5px;
        justify-content: space-between;
    }
    .filter-tab {
        padding: 8px;
        font-size: 9px;
        flex: 1;
    }
    .filter-tab span {
        font-size: 8px;
        margin-left: 1px;
    }
    .filter-submit {
        padding: 10px 12px;
        font-size: 10px;
    }
    .filter-results {
        font-size: 9px;
    }
    .field-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .ndt-app .form-header {
        padding: 20px;
    }
    .ndt-app .form-body {
        padding: 20px;
    }
    .ndt-app .form-section-title {
        font-size: 11px;
    }
    .ndt-app .form-section {
        margin-bottom: 22px;
    }
    .form-actions {
        position: sticky;
        bottom: 75px;
        background: white;
        padding: 12px 0 0;
    }
    .ndt-app .btn-submit {
        flex: 1;
        max-width: none;
        font-size: 11px;
        padding: 12px 15px;
    }
    .form-actions .secondary-action {
        font-size: 10px;
    }
    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .chart-box {
        height: 245px;
    }
    .ndt-app .calendar-wrapper {
        padding: 16px 10px;
    }
    .fc-toolbar h2 {
        font-size: 16px;
    }
    .fc-day-number {
        padding: 5px !important;
        font-size: 10px;
    }
    .fc-day-grid-event {
        font-size: 8px;
        padding: 2px;
    }
    .legend {
        font-size: 9px;
        gap: 14px;
    }
    .profile-grid {
        grid-template-columns: 1fr;
    }
    .notification-panel {
        position: fixed;
        right: 16px;
        top: 61px;
        width: min(320px,calc(100vw - 32px));
    }
    .ndt-info-container {
        gap: 12px;
    }
    .modal .modal-body {
        padding: 17px;
    }
    .login-frame {
        grid-template-columns: 1fr;
    }
    .login-story {
        display: none;
    }
    .login-form-side {
        padding: 35px 28px;
        min-height: 100dvh;
        justify-content: center;
        background: #f7f9fc;
    }
    .login-small-brand {
        display: block;
        width: 190px;
        margin: 0 auto 35px;
    }
    .login-form-box {
        background: white;
        border: 1px solid var(--ndt-line);
        padding: 27px 25px;
        border-radius: 16px;
        max-width: 400px;
    }
    .login-form-box h2 {
        font-size: 25px;
    }
    .login-form-box>p {
        font-size: 11px;
        margin-bottom: 25px;
    }
    .login-app-badge {
        font-size: 9px;
        margin-bottom: 18px;
    }
    .login-copyright {
        margin-top: 27px;
        font-size: 8px;
    }
    .login-security {
        font-size: 8px;
    }
    .login-field label {
        font-size: 10px;
    }
    .login-input {
        font-size: 11px;
    }
    .login-options {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* Keep long operational data readable without hiding the action column. */

.request-desktop-table .data-table {
    table-layout: fixed;
    min-width: 850px;
}

.request-desktop-table .data-table th:nth-child(1) {
    width: 23%;
}

.request-desktop-table .data-table th:nth-child(2) {
    width: 16%;
}

.request-desktop-table .data-table th:nth-child(3) {
    width: 15%;
}

.request-desktop-table .data-table th:nth-child(4) {
    width: 19%;
}

.request-desktop-table .data-table th:nth-child(5) {
    width: 11%;
}

.request-desktop-table .data-table th:nth-child(6) {
    width: 16%;
}

.request-desktop-table .data-table td {
    white-space: normal;
    overflow-wrap: anywhere;
}

.request-desktop-table .data-table .tag-cell>div {
    min-width: 0;
}

.request-desktop-table .table-actions {
    flex-wrap: wrap;
}

.request-mobile-body>div {
    overflow-wrap: anywhere;
    min-width: 0;
}

@media (max-width:360px) {
    .topbar-breadcrumb {
        font-size: 0;
    }
    .topbar-breadcrumb span {
        display: none;
    }
    .topbar-breadcrumb strong {
        font-size: 10px;
    }
    .banner-status {
        display: none;
    }
    .dashboard-side {
        grid-template-columns: 1fr;
    }
    .page-heading h1 {
        font-size: 21px;
    }
}

.guest-access {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 24px;
}

.guest-access>a>img {
    width: 185px;
    margin-bottom: 28px;
}

.guest-access .login-form-box {
    background: white;
    border: 1px solid var(--ndt-line);
    border-radius: 14px;
    padding: 30px;
    max-width: 410px;
}

.guest-slot {
    margin-top: 20px;
    font-size: 12px;
    color: var(--ndt-muted);
}

.guest-back {
    display: block;
    margin-top: 22px;
    text-align: center;
}

.guest-access .login-copyright {
    margin-top: 26px;
}

.guest-slot input:not([type=checkbox]) {
    width: 100%;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid #dfe6ed;
    font-size: 12px;
}

.guest-slot button[type=submit] {
    background: var(--ndt-red);
    color: white;
    border: 0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 11px;
    text-transform: none;
    letter-spacing: 0;
}

.guest-slot label {
    font-size: 11px;
}

:root {
    --primary-color: var(--ndt-blue);
    --error-color: var(--ndt-red);
}

.topbar-brand {
    display: none;
}

@media (max-width:700px) {
    .topbar-breadcrumb {
        display: none;
    }
    .topbar-brand {
        display: block;
    }
    .topbar-brand img {
        width: 128px;
        height: 47px;
        object-fit: contain;
    }
}
