/* /Components/BugReportWidget.razor.rz.scp.css */
.bug-fab[b-1q1v5mir74] {
    position: fixed;
    bottom: 84px;
    right: 24px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4A76F9;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(74, 118, 249, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.bug-fab:hover[b-1q1v5mir74] {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(74, 118, 249, 0.5);
}

.bug-panel[b-1q1v5mir74] {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    max-height: 520px;
    z-index: 1000;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bug-panel-header[b-1q1v5mir74] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #4A76F9;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.bug-close-btn[b-1q1v5mir74] {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    opacity: 0.8;
}

.bug-close-btn:hover[b-1q1v5mir74] {
    opacity: 1;
}

.bug-chat-area[b-1q1v5mir74] {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 380px;
}

.bug-msg[b-1q1v5mir74] {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
}

.bug-msg-ai[b-1q1v5mir74] {
    align-self: flex-start;
    background: #F1F5F9;
    color: #334155;
}

.bug-msg-user[b-1q1v5mir74] {
    align-self: flex-end;
    background: #4A76F9;
    color: white;
}

.bug-thinking[b-1q1v5mir74] {
    opacity: 0.6;
    font-style: italic;
}

.bug-summary-card[b-1q1v5mir74] {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px;
    margin-top: 4px;
}

.bug-summary-card h4[b-1q1v5mir74] {
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
    margin: 0 0 8px 0;
}

.bug-summary-field[b-1q1v5mir74] {
    margin-bottom: 6px;
    font-size: 12px;
    color: #475569;
}

.bug-summary-field p[b-1q1v5mir74] {
    margin: 2px 0 0 0;
}

.bug-label[b-1q1v5mir74] {
    font-weight: 600;
    color: #334155;
}

.bug-severity[b-1q1v5mir74] {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.bug-severity-critical[b-1q1v5mir74] { background: #FEE2E2; color: #DC2626; }
.bug-severity-high[b-1q1v5mir74] { background: #FED7AA; color: #EA580C; }
.bug-severity-medium[b-1q1v5mir74] { background: #FEF9C3; color: #CA8A04; }
.bug-severity-low[b-1q1v5mir74] { background: #F1F5F9; color: #64748B; }

.bug-submit-btn[b-1q1v5mir74] {
    width: 100%;
    margin-top: 8px;
    padding: 8px;
    background: #4A76F9;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.bug-submit-btn:hover[b-1q1v5mir74] { background: #3B63D9; }
.bug-submit-btn:disabled[b-1q1v5mir74] { opacity: 0.6; cursor: not-allowed; }

.bug-success[b-1q1v5mir74] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
}

.bug-success p[b-1q1v5mir74] {
    color: #10B981;
    font-weight: 600;
    font-size: 14px;
    margin: 0;
}

.bug-input-area[b-1q1v5mir74] {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid #E2E8F0;
}

.bug-input[b-1q1v5mir74] {
    flex: 1;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.bug-input:focus[b-1q1v5mir74] {
    border-color: #4A76F9;
}

.bug-input:disabled[b-1q1v5mir74] {
    background: #F8FAFC;
    cursor: not-allowed;
}

.bug-send-btn[b-1q1v5mir74] {
    background: #4A76F9;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.bug-send-btn:hover[b-1q1v5mir74] { background: #3B63D9; }
.bug-send-btn:disabled[b-1q1v5mir74] { opacity: 0.5; cursor: not-allowed; }
/* /Components/InvoiceEditDialog.razor.rz.scp.css */
/* ── Drag handle ───────────────────────────────────────────────────────── */
.inv-drag-handle[b-03i5vtce8p] {
    cursor: grab;
    color: #CBD5E1;
    font-size: 16px;
    user-select: none;
    display: inline-block;
    padding: 0 4px;
}

.inv-drag-handle:active[b-03i5vtce8p] {
    cursor: grabbing;
}

/* ── Read-only notice ──────────────────────────────────────────────────── */
.inv-readonly-notice[b-03i5vtce8p] {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background: #FFF7ED;
    color: #D97706;
    border: 1px solid #FDE68A;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
}

/* ── Meta row (4-column grid) ──────────────────────────────────────────── */
.inv-meta-row[b-03i5vtce8p] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 700px) {
    .inv-meta-row[b-03i5vtce8p] {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Lines grid row ────────────────────────────────────────────────────── */
.inv-line-grid[b-03i5vtce8p] {
    display: grid;
    grid-template-columns: 1fr 150px 80px 100px 100px;
    align-items: center;
}

.inv-line-grid--editable[b-03i5vtce8p] {
    grid-template-columns: 32px 1fr 150px 80px 100px 100px 40px;
}

/* ── Lines table wrapper ───────────────────────────────────────────────── */
.inv-lines-table-wrap[b-03i5vtce8p] {
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    overflow: hidden;
}

/* ── Footer total ──────────────────────────────────────────────────────── */
.inv-footer-total[b-03i5vtce8p] {
    font-size: 14px;
    color: #64748B;
    margin-right: auto;
    padding: 0 8px;
}

.inv-footer-total strong[b-03i5vtce8p] {
    color: #1E293B;
    font-weight: 700;
}

/* ── Timeline button ───────────────────────────────────────────────────── */
.inv-timeline-btn[b-03i5vtce8p] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    font-family: inherit;
}

.inv-timeline-btn:hover[b-03i5vtce8p] {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

/* ── Status badge (reused in dialog header) ────────────────────────────── */
.inv-status-badge[b-03i5vtce8p] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

.inv-status-draft[b-03i5vtce8p] {
    background: #F1F5F9;
    color: #64748B;
}

.inv-status-sent[b-03i5vtce8p] {
    background: #ECFDF5;
    color: #059669;
}

.inv-status-error[b-03i5vtce8p] {
    background: #FEF2F2;
    color: #EF4444;
}

.inv-status-archived[b-03i5vtce8p] {
    background: #F3F4F6;
    color: #9CA3AF;
}
/* /Components/InvoiceTimelineDialog.razor.rz.scp.css */
/* ── Overlay ────────────────────────────────────────────────────────────── */
.itl-overlay[b-6z861bgeec] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.50);
    backdrop-filter: blur(3px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

/* ── Popup container ────────────────────────────────────────────────────── */
.itl-popup[b-6z861bgeec] {
    background: #ffffff;
    width: 100%;
    max-width: 560px;
    max-height: 88vh;
    border-radius: 14px;
    border: 1px solid #E8EDF5;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22), 0 4px 16px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.itl-popup-header[b-6z861bgeec] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid #F1F5F9;
    flex-shrink: 0;
}

.itl-popup-title[b-6z861bgeec] {
    font-size: 16px;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.3;
}

.itl-popup-subtitle[b-6z861bgeec] {
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}

.itl-close-btn[b-6z861bgeec] {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94A3B8;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color 0.15s, background 0.15s;
}

.itl-close-btn:hover[b-6z861bgeec] {
    color: #475569;
    background: #F1F5F9;
}

/* ── Legend ─────────────────────────────────────────────────────────────── */
.itl-legend[b-6z861bgeec] {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 20px;
    background: #FAFBFD;
    border-bottom: 1px solid #F1F5F9;
    flex-shrink: 0;
}

.itl-legend-item[b-6z861bgeec] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #64748B;
}

/* ── Body ───────────────────────────────────────────────────────────────── */
.itl-popup-body[b-6z861bgeec] {
    overflow-y: auto;
    flex: 1;
    padding: 16px 20px;
}

/* ── Timeline list ──────────────────────────────────────────────────────── */
.itl-timeline-list[b-6z861bgeec] {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.itl-timeline-list[b-6z861bgeec]::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #E8EDF5;
    z-index: 0;
}

/* ── Entry ──────────────────────────────────────────────────────────────── */
.itl-entry[b-6z861bgeec] {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
}

.itl-entry:last-child[b-6z861bgeec] {
    margin-bottom: 0;
}

.itl-dot-wrap[b-6z861bgeec] {
    width: 32px;
    display: flex;
    justify-content: center;
    padding-top: 4px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* ── Dot ────────────────────────────────────────────────────────────────── */
.itl-dot[b-6z861bgeec] {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px currentColor;
    flex-shrink: 0;
}

.itl-dot--create[b-6z861bgeec]   { color: #22C55E; background: #22C55E; }
.itl-dot--update[b-6z861bgeec]   { color: #4A76F9; background: #4A76F9; }
.itl-dot--status[b-6z861bgeec]   { color: #3B82F6; background: #3B82F6; }
.itl-dot--line-add[b-6z861bgeec] { color: #8B5CF6; background: #8B5CF6; }
.itl-dot--line-edit[b-6z861bgeec] { color: #F97316; background: #F97316; }
.itl-dot--line-del[b-6z861bgeec]  { color: #EF4444; background: #EF4444; }

/* ── Entry content ──────────────────────────────────────────────────────── */
.itl-entry-content[b-6z861bgeec] {
    flex: 1;
    min-width: 0;
}

.itl-entry-header[b-6z861bgeec] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.itl-actor[b-6z861bgeec] {
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
}

.itl-action[b-6z861bgeec] {
    font-size: 13px;
    color: #64748B;
}

.itl-timestamp[b-6z861bgeec] {
    font-size: 11px;
    color: #94A3B8;
    margin-left: auto;
}

/* ── Badge ──────────────────────────────────────────────────────────────── */
.itl-badge[b-6z861bgeec] {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.itl-badge--create[b-6z861bgeec]   { background: #DCFCE7; color: #16A34A; }
.itl-badge--update[b-6z861bgeec]   { background: #EFF6FF; color: #4A76F9; }
.itl-badge--status[b-6z861bgeec]   { background: #DBEAFE; color: #3B82F6; }
.itl-badge--line-add[b-6z861bgeec] { background: #F3E8FF; color: #8B5CF6; }
.itl-badge--line-edit[b-6z861bgeec] { background: #FFF7ED; color: #F97316; }
.itl-badge--line-del[b-6z861bgeec]  { background: #FEF2F2; color: #EF4444; }

/* ── Changes box ────────────────────────────────────────────────────────── */
.itl-changes-box[b-6z861bgeec] {
    background: #F8FAFC;
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.itl-change-row[b-6z861bgeec] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.itl-change-field[b-6z861bgeec] {
    color: #64748B;
    font-weight: 500;
    word-break: break-word;
}

.itl-change-old[b-6z861bgeec] {
    color: #EF4444;
    text-decoration: line-through;
    word-break: break-word;
}

.itl-change-arrow[b-6z861bgeec] {
    color: #CBD5E1;
}

.itl-change-new[b-6z861bgeec] {
    color: #16A34A;
    word-break: break-word;
}

/* ── Empty state ────────────────────────────────────────────────────────── */
.itl-empty-state[b-6z861bgeec] {
    text-align: center;
    padding: 32px 16px;
    color: #94A3B8;
    font-size: 13px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.itl-popup-footer[b-6z861bgeec] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-top: 1px solid #F1F5F9;
    background: #FAFBFD;
    flex-shrink: 0;
    gap: 12px;
}

.itl-pagination-info[b-6z861bgeec] {
    font-size: 12px;
    color: #64748B;
}

.itl-pagination-btns[b-6z861bgeec] {
    display: flex;
    gap: 8px;
}

.itl-page-btn[b-6z861bgeec] {
    background: transparent;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    font-family: inherit;
}

.itl-page-btn:hover:not(:disabled)[b-6z861bgeec] {
    background: #F1F5F9;
    border-color: #CBD5E1;
}

.itl-page-btn:disabled[b-6z861bgeec] {
    opacity: 0.4;
    cursor: not-allowed;
}
/* /Components/WorkDescriptionBuilderSidebar.razor.rz.scp.css */
/* Work Description Builder Sidebar — scoped styles (wdb-sb- prefix) */

/* Task search autocomplete styling inside sidebar */
.wdb-task-search-wrap[b-w4qtluxtu3] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 6px;
}

/* Spinner centered */
.wdb-loading[b-w4qtluxtu3] {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

/* Empty state */
.wdb-empty[b-w4qtluxtu3] {
    text-align: center;
    padding: 32px 16px;
    color: #94A3B8;
    font-size: 13px;
}
/* /Layout/CustomerLayout.razor.rz.scp.css */
.customer-layout[b-rnzxgk4eyt] {
    min-height: 100vh;
    background: #F8FAFC;
}

.customer-header[b-rnzxgk4eyt] {
    background: #FFFFFF;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #E8EDF5;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.customer-header-left[b-rnzxgk4eyt] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
}

.tenant-logo-initials[b-rnzxgk4eyt] {
    width: 34px;
    height: 34px;
    background: #4A76F9;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tenant-logo-img[b-rnzxgk4eyt] {
    height: 34px;
    width: auto;
}

.tenant-name[b-rnzxgk4eyt] {
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
}

.header-divider[b-rnzxgk4eyt] {
    width: 1px;
    height: 20px;
    background: #E2E8F0;
    flex-shrink: 0;
}

.customer-names[b-rnzxgk4eyt] {
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
}

.customer-header-right[b-rnzxgk4eyt] {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.header-user[b-rnzxgk4eyt] {
    font-size: 13px;
    color: #64748B;
}

.btn-user-email[b-rnzxgk4eyt] {
    background: transparent;
    border: none;
    font-size: 13px;
    color: #4A76F9;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: 4px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.btn-user-email:hover[b-rnzxgk4eyt] {
    background: #EEF3FE;
}

.btn-logout[b-rnzxgk4eyt] {
    background: transparent;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.btn-logout:hover[b-rnzxgk4eyt] {
    background: #F1F5F9;
}

.customer-body[b-rnzxgk4eyt] {
    max-width: 1400px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}
/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-avc003xpbo] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-avc003xpbo] {
    flex: 1;
}

.sidebar[b-avc003xpbo] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-avc003xpbo] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-avc003xpbo]  a, .top-row[b-avc003xpbo]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-avc003xpbo]  a:hover, .top-row[b-avc003xpbo]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-avc003xpbo]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-avc003xpbo] {
        justify-content: space-between;
    }

    .top-row[b-avc003xpbo]  a, .top-row[b-avc003xpbo]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-avc003xpbo] {
        flex-direction: row;
    }

    .sidebar[b-avc003xpbo] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-avc003xpbo] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-avc003xpbo]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-avc003xpbo], article[b-avc003xpbo] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-2932rdhr0n] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-2932rdhr0n] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-2932rdhr0n] {
    font-size: 1.1rem;
}

.bi[b-2932rdhr0n] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-2932rdhr0n] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-2932rdhr0n] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-2932rdhr0n] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-2932rdhr0n] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-2932rdhr0n] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-2932rdhr0n] {
        padding-bottom: 1rem;
    }

    .nav-item[b-2932rdhr0n]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-2932rdhr0n]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-2932rdhr0n]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-2932rdhr0n] {
        display: none;
    }

    .collapse[b-2932rdhr0n] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-2932rdhr0n] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/CustomerDashboard.razor.rz.scp.css */
.cd-page[b-z83mj961f4] {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cd-heading[b-z83mj961f4] {
    margin-bottom: 4px;
}

.cd-h1[b-z83mj961f4] {
    font-size: 24px;
    font-weight: 700;
    color: #1E293B;
    margin: 0 0 4px 0;
}

.cd-subtitle[b-z83mj961f4] {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

.section-card[b-z83mj961f4] {
    background: #FFFFFF;
    border: 1px solid #E8EDF5;
    border-radius: 12px;
    padding: 20px;
}

.section-header[b-z83mj961f4] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.section-title[b-z83mj961f4] {
    font-size: 15px;
    font-weight: 600;
    color: #1E293B;
    margin-right: 8px;
}

.section-sub[b-z83mj961f4] {
    font-size: 12px;
    color: #94A3B8;
}

/* Calendar */
.cal-nav[b-z83mj961f4] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-nav-btn[b-z83mj961f4] {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    color: #475569;
    font-family: inherit;
    transition: background 0.15s;
}

.cal-nav-btn:hover[b-z83mj961f4] {
    background: #E2E8F0;
}

.cal-range-label[b-z83mj961f4] {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    white-space: nowrap;
}

.cal-table[b-z83mj961f4] {
    display: grid;
    grid-template-columns: 36px repeat(7, 1fr);
    gap: 4px;
}

.cal-header-cell[b-z83mj961f4] {
    font-size: 11px;
    font-weight: 600;
    color: #94A3B8;
    text-align: center;
    padding: 4px 0;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.cal-wk-cell[b-z83mj961f4] {
    font-size: 11px;
    font-weight: 600;
    color: #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cal-cell[b-z83mj961f4] {
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    padding: 8px 6px;
    min-height: 64px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: background 0.1s;
}

.cal-cell:hover[b-z83mj961f4] {
    background: #F8FAFC;
}

.cal-cell.today[b-z83mj961f4] {
    background: #EEF3FE;
    border-color: #4A76F9;
}

.cal-cell.today .cal-date[b-z83mj961f4] {
    color: #4A76F9;
    font-weight: 600;
}

.cal-cell.weekend[b-z83mj961f4] {
    background: #FAFBFC;
}

.cal-date[b-z83mj961f4] {
    font-size: 12px;
    font-weight: 500;
    color: #475569;
}

.cal-pill[b-z83mj961f4] {
    background: #EEF3FE;
    color: #4A76F9;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    padding: 2px 6px;
    white-space: nowrap;
}

/* Tasks row */
.tasks-row[b-z83mj961f4] {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.tasks-card[b-z83mj961f4] {
    flex: 1;
    min-width: 0;
}

/* Table */
.sg-table[b-z83mj961f4] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.sg-table th[b-z83mj961f4] {
    text-align: left;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    background: #F8FAFC;
    border-bottom: 1px solid #E8EDF5;
    letter-spacing: 0.04em;
}

.sg-table td[b-z83mj961f4] {
    padding: 10px 12px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: top;
}

.sg-row[b-z83mj961f4] {
    cursor: pointer;
    transition: background 0.1s;
}

.sg-row:hover[b-z83mj961f4] {
    background: #F8FAFC;
}

.sg-task-title[b-z83mj961f4] {
    font-size: 13px;
    font-weight: 500;
    color: #1E293B;
}

.sg-task-loc[b-z83mj961f4] {
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}

.sg-muted[b-z83mj961f4] {
    color: #64748B;
    font-size: 13px;
}

/* Status badges */
.st-status[b-z83mj961f4] {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.st-status.scheduled[b-z83mj961f4] {
    background: #EFF6FF;
    color: #3B82F6;
}

.st-status.inprogress[b-z83mj961f4] {
    background: #FFF7ED;
    color: #F97316;
}

.st-status.completed[b-z83mj961f4] {
    background: #F0FDF4;
    color: #22C55E;
}

/* Pagination */
.cd-pagination[b-z83mj961f4] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0 4px;
    font-size: 13px;
    color: #64748B;
}

.cd-pg-btn[b-z83mj961f4] {
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
}

.cd-pg-btn:disabled[b-z83mj961f4] {
    opacity: 0.4;
    cursor: default;
}

.cd-loading[b-z83mj961f4] {
    padding: 24px;
    text-align: center;
    color: #94A3B8;
    font-size: 13px;
}

.cd-empty[b-z83mj961f4] {
    padding: 32px;
    text-align: center;
    color: #94A3B8;
    font-size: 13px;
}

@media (max-width: 900px) {
    .tasks-row[b-z83mj961f4] {
        flex-direction: column;
    }
    .tasks-card[b-z83mj961f4] {
        width: 100%;
    }
}
/* /Pages/Invoices.razor.rz.scp.css */
/* ── Invoice Status Badges ─────────────────────────────────────────────── */
.inv-status-badge[b-xdfuonw1th] {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.inv-status-draft[b-xdfuonw1th] {
    background: #F1F5F9;
    color: #64748B;
}

.inv-status-sent[b-xdfuonw1th] {
    background: #ECFDF5;
    color: #059669;
}

.inv-status-error[b-xdfuonw1th] {
    background: #FEF2F2;
    color: #EF4444;
}

.inv-status-archived[b-xdfuonw1th] {
    background: #F3F4F6;
    color: #9CA3AF;
}

/* ── Invoice Number Column ─────────────────────────────────────────────── */
.inv-invoice-num[b-xdfuonw1th] {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

/* ── Customer Column ───────────────────────────────────────────────────── */
.inv-customer-name[b-xdfuonw1th] {
    font-size: 13px;
    font-weight: 500;
    color: #1E293B;
}

.inv-customer-sub[b-xdfuonw1th] {
    font-size: 11px;
    color: #94A3B8;
    margin-top: 1px;
}

/* ── Bulk Actions Bar ──────────────────────────────────────────────────── */
.inv-bulk-bar[b-xdfuonw1th] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #EEF3FE;
    border-bottom: 1px solid #BDD2FD;
    font-size: 13px;
    font-weight: 500;
    color: #3561E0;
}

.inv-bulk-link[b-xdfuonw1th] {
    background: none;
    border: none;
    color: #4A76F9;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

/* ── 3-Dots Icon Button ────────────────────────────────────────────────── */
.inv-dots-btn[b-xdfuonw1th] {
    background: none;
    border: none;
    cursor: pointer;
    color: #94A3B8;
    padding: 4px;
    border-radius: 6px;
    transition: background 0.15s, color 0.15s;
}

.inv-dots-btn:hover[b-xdfuonw1th] {
    background: #F1F5F9;
    color: #475569;
}
/* /Pages/Planning.razor.rz.scp.css */
/* ── Planning Page Layout ─────────────────────────────────────────────────── */

.planning-filters[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid #E8EDF5;
    border-radius: 12px;
    margin: 20px 24px 0;
    background: #fff;
    flex-wrap: wrap;
}

.planning-content[b-wftzrgsyp2] {
    padding: 20px 24px;
    overflow-x: auto;
}

/* ── Search ───────────────────────────────────────────────────────────────── */

.planning-search-wrap[b-wftzrgsyp2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    padding: 6px 12px;
    background: #F8FAFC;
    min-width: 220px;
}

.planning-search-input[b-wftzrgsyp2] {
    border: none;
    background: transparent;
    outline: none;
    font-size: 13px;
    color: #1E293B;
    width: 100%;
}

.planning-search-input[b-wftzrgsyp2]::placeholder { color: #94A3B8; }

/* ── Selects ──────────────────────────────────────────────────────────────── */

.planning-select[b-wftzrgsyp2] {
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 13px;
    color: #1E293B;
    background: #fff;
    outline: none;
    cursor: pointer;
}

.planning-label[b-wftzrgsyp2] {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #64748B;
    margin-bottom: 4px;
}

/* ── Plan selector ────────────────────────────────────────────────────────── */

.plan-selector-wrap[b-wftzrgsyp2] {
    position: relative;
}

.plan-selector-btn[b-wftzrgsyp2] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    padding: 6px 12px;
    background: #fff;
    font-size: 13px;
    color: #1E293B;
    cursor: pointer;
    min-width: 180px;
    white-space: nowrap;
}

.plan-selector-btn:hover[b-wftzrgsyp2] { background: #F8FAFC; }

.plan-dropdown[b-wftzrgsyp2] {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    z-index: 100;
    overflow: hidden;
}

.plan-dropdown-item[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #1E293B;
    transition: background 0.1s;
}

.plan-dropdown-item:hover[b-wftzrgsyp2] { background: #F8FAFC; }
.plan-dropdown-item.active[b-wftzrgsyp2] { background: #EFF6FF; }

.plan-dropdown-name[b-wftzrgsyp2] { flex: 1; }

.plan-dropdown-empty[b-wftzrgsyp2] {
    padding: 16px;
    text-align: center;
    color: #94A3B8;
    font-size: 13px;
}

.plan-activate-btn[b-wftzrgsyp2] {
    font-size: 11px;
    color: #4A76F9;
    background: none;
    border: 1px solid #4A76F9;
    border-radius: 4px;
    padding: 2px 8px;
    cursor: pointer;
}

.plan-activate-btn:hover[b-wftzrgsyp2] { background: #EFF6FF; }

/* ── Status badges ────────────────────────────────────────────────────────── */

.plan-status-badge[b-wftzrgsyp2] {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.plan-status-badge.active[b-wftzrgsyp2] { background: #F0FDF4; color: #16A34A; }
.plan-status-badge.draft[b-wftzrgsyp2] { background: #F1F5F9; color: #64748B; }
.plan-status-badge.scheduled[b-wftzrgsyp2] { background: #EFF6FF; color: #2563EB; }
.plan-status-badge.archived[b-wftzrgsyp2] { background: #F3F4F6; color: #9CA3AF; }

/* ── Toolbar buttons ──────────────────────────────────────────────────────── */

.planning-icon-btn[b-wftzrgsyp2] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    background: #fff;
    color: #64748B;
    cursor: pointer;
    transition: background 0.1s;
}

.planning-icon-btn:hover[b-wftzrgsyp2] { background: #F8FAFC; }

.planning-text-btn[b-wftzrgsyp2] {
    width: auto;
    padding: 0 12px;
    font-size: 13px;
    color: #1E293B;
    white-space: nowrap;
}

.planning-primary-btn[b-wftzrgsyp2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #4A76F9;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.1s;
    white-space: nowrap;
}

.planning-primary-btn:hover:not(:disabled)[b-wftzrgsyp2] { background: #3B68F0; }

.planning-primary-btn:disabled[b-wftzrgsyp2] {
    background: #CBD5E1;
    color: #94A3B8;
    cursor: not-allowed;
}

.planning-toolbar-divider[b-wftzrgsyp2] {
    width: 1px;
    height: 24px;
    background: #E8EDF5;
    margin: 0 4px;
}

/* ── Frequency chip ───────────────────────────────────────────────────────── */

.freq-chip[b-wftzrgsyp2] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #EFF6FF;
    border-radius: 20px;
    padding: 4px 10px 4px 14px;
}

.freq-chip-label[b-wftzrgsyp2] {
    font-size: 12px;
    color: #2563EB;
    font-weight: 500;
    white-space: nowrap;
}

.freq-chip-select[b-wftzrgsyp2] {
    border: none;
    background: transparent;
    font-size: 12px;
    color: #2563EB;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* ── Bulk action bar ──────────────────────────────────────────────────────── */

.bulk-bar[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #1E293B;
    border-radius: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.bulk-bar-count[b-wftzrgsyp2] {
    font-size: 13px;
    color: #fff;
    font-weight: 500;
    flex: 1;
}

.bulk-bar-actions[b-wftzrgsyp2] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.bulk-bar-btn[b-wftzrgsyp2] {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.1s;
}

.bulk-bar-btn:hover[b-wftzrgsyp2] { background: rgba(255,255,255,0.2); }

.bulk-bar-danger[b-wftzrgsyp2] {
    background: rgba(239,68,68,0.15);
    border-color: rgba(239,68,68,0.3);
    color: #FCA5A5;
}

.bulk-bar-danger:hover[b-wftzrgsyp2] { background: rgba(239,68,68,0.25); }

.bulk-bar-cancel[b-wftzrgsyp2] {
    background: transparent;
    color: #94A3B8;
    border: none;
    padding: 5px 8px;
    font-size: 12px;
    cursor: pointer;
}

/* ── Team card ────────────────────────────────────────────────────────────── */

.team-card[b-wftzrgsyp2] {
    border: 1px solid #E8EDF5;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #fff;
    overflow: hidden;
}

.team-header[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid transparent;
    transition: background 0.1s;
}

.team-header:hover[b-wftzrgsyp2] { background: #F8FAFC; }

.team-header-left[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.team-header-right[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.team-color-dot[b-wftzrgsyp2] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.team-name[b-wftzrgsyp2] {
    font-weight: 600;
    font-size: 14px;
    color: #1E293B;
}

.team-hours-badge[b-wftzrgsyp2],
.team-dkk-badge[b-wftzrgsyp2] {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    background: #EFF6FF;
    color: #2563EB;
}

.team-dkk-badge[b-wftzrgsyp2] {
    background: #F0FDF4;
    color: #16A34A;
}

.team-employees[b-wftzrgsyp2] {
    font-size: 12px;
    color: #94A3B8;
}

.team-body[b-wftzrgsyp2] {
    border-top: 1px solid #E8EDF5;
    overflow-x: auto;
}

/* ── Weekly grid ──────────────────────────────────────────────────────────── */

.weekly-grid[b-wftzrgsyp2] {
    display: grid;
    grid-template-columns: repeat(7, minmax(200px, 1fr));
    gap: 0;
    min-width: 1400px;
}

.day-col[b-wftzrgsyp2] {
    border-right: 1px solid #E8EDF5;
    min-height: 120px;
}

.day-col:last-child[b-wftzrgsyp2] { border-right: none; }

.day-header[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #F8FAFC;
    border-bottom: 1px solid #E8EDF5;
}

.day-name[b-wftzrgsyp2] {
    font-size: 11px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.day-hours[b-wftzrgsyp2] {
    font-size: 11px;
    font-weight: 600;
    color: #4A76F9;
}

.day-entries[b-wftzrgsyp2] {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 80px;
    transition: background 0.15s;
}

.day-entries.drag-over[b-wftzrgsyp2] {
    background: #EFF6FF;
    border: 2px dashed #4A76F9;
    border-radius: 8px;
}

/* ── Entry card ───────────────────────────────────────────────────────────── */

.entry-card[b-wftzrgsyp2] {
    background: #fff;
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: grab;
    transition: box-shadow 0.15s, opacity 0.15s;
}

.entry-card:hover[b-wftzrgsyp2] { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.entry-card.dragging[b-wftzrgsyp2] { opacity: 0.4; cursor: grabbing; }
.entry-card.selected[b-wftzrgsyp2] { border-color: #4A76F9; background: #F0F4FF; }

.entry-top[b-wftzrgsyp2] {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.entry-checkbox[b-wftzrgsyp2] {
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.entry-order[b-wftzrgsyp2] {
    font-size: 10px;
    font-weight: 700;
    color: #94A3B8;
    min-width: 14px;
    margin-top: 2px;
}

.entry-info[b-wftzrgsyp2] { flex: 1; min-width: 0; }

.entry-customer[b-wftzrgsyp2] {
    font-size: 12px;
    font-weight: 600;
    color: #1E293B;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entry-customer-id[b-wftzrgsyp2] {
    font-size: 11px;
    color: #94A3B8;
    margin-left: 4px;
}

.entry-address[b-wftzrgsyp2] {
    font-size: 11px;
    color: #64748B;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entry-edit-btn[b-wftzrgsyp2] {
    background: none;
    border: none;
    color: #94A3B8;
    cursor: pointer;
    padding: 2px;
    flex-shrink: 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry-edit-btn:hover[b-wftzrgsyp2] { background: #F1F5F9; color: #4A76F9; }

/* ── Work areas list ─────────────────────────────────────────────────────── */

.entry-areas[b-wftzrgsyp2] {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.area-item[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.area-name[b-wftzrgsyp2] {
    color: #4A76F9;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.area-name.area-archived[b-wftzrgsyp2] { color: #F97316; }

.area-archived-badge[b-wftzrgsyp2] {
    color: #F97316;
    font-size: 10px;
    font-weight: 600;
    margin-left: 4px;
}

.area-freq-badge[b-wftzrgsyp2] {
    background: #F1F5F9;
    color: #64748B;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Entry footer badges ─────────────────────────────────────────────────── */

.entry-footer[b-wftzrgsyp2] {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.badge[b-wftzrgsyp2] {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
}

.badge-hours[b-wftzrgsyp2] { background: #EFF6FF; color: #2563EB; }
.badge-value[b-wftzrgsyp2] { background: #F0FDF4; color: #16A34A; }

/* ── Empty day placeholder ────────────────────────────────────────────────── */

.empty-day[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    border: 2px dashed #E8EDF5;
    border-radius: 8px;
    color: #94A3B8;
    font-size: 12px;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}

.empty-day:hover[b-wftzrgsyp2] {
    border-color: #4A76F9;
    color: #4A76F9;
}

/* ── Add entry modal steps ───────────────────────────────────────────────── */

.add-entry-steps[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 4px;
}

.step[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #94A3B8;
}

.step.active[b-wftzrgsyp2] { color: #4A76F9; }
.step.active .step-num[b-wftzrgsyp2] { background: #4A76F9; color: #fff; }
.step.done[b-wftzrgsyp2] { color: #16A34A; }
.step.done .step-num[b-wftzrgsyp2] { background: #F0FDF4; color: #16A34A; border-color: #16A34A; }

.step-num[b-wftzrgsyp2] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E8EDF5;
    flex-shrink: 0;
}

.step-line[b-wftzrgsyp2] {
    flex: 1;
    height: 1px;
    background: #E8EDF5;
    margin: 0 8px;
    min-width: 24px;
}

/* ── WD search results ───────────────────────────────────────────────────── */

.wd-search-results[b-wftzrgsyp2] {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #E8EDF5;
    border-radius: 8px;
}

.wd-result-item[b-wftzrgsyp2] {
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.1s;
}

.wd-result-item:last-child[b-wftzrgsyp2] { border-bottom: none; }
.wd-result-item:hover[b-wftzrgsyp2] { background: #F8FAFC; }
.wd-result-item.selected[b-wftzrgsyp2] { background: #EFF6FF; }

.wd-customer[b-wftzrgsyp2] {
    font-weight: 600;
    font-size: 13px;
    color: #1E293B;
}

.wd-address[b-wftzrgsyp2] {
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}

/* ── WA option ───────────────────────────────────────────────────────────── */

.wa-option[b-wftzrgsyp2] {
    padding: 8px 0;
    border-bottom: 1px solid #F1F5F9;
}

.wa-option:last-child[b-wftzrgsyp2] { border-bottom: none; }

/* ── Plan radio options ────────────────────────────────────────────────────── */

.plan-radio-option[b-wftzrgsyp2] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 2px solid #E8EDF5;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s;
}

.plan-radio-option.selected[b-wftzrgsyp2] { border-color: #4A76F9; background: #F0F4FF; }
.plan-radio-option:hover[b-wftzrgsyp2] { border-color: #94A3B8; }

/* ── Ghost button ────────────────────────────────────────────────────────── */

.planning-ghost-btn[b-wftzrgsyp2] {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    color: #64748B;
    border: 1px solid #E8EDF5;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.1s, border-color 0.1s;
    white-space: nowrap;
    font-family: inherit;
}

.planning-ghost-btn:hover:not(:disabled)[b-wftzrgsyp2] { background: #F8FAFC; border-color: #CBD5E1; }
.planning-ghost-btn:disabled[b-wftzrgsyp2] { opacity: 0.4; cursor: not-allowed; }

/* ── Draw Route calendar cell button ─────────────────────────────────────── */

.cell-draw-btn[b-wftzrgsyp2] {
    background: none;
    border: 1px dashed #A5B4FC;
    border-radius: 5px;
    padding: 5px 8px;
    font-size: 11px;
    font-weight: 500;
    color: #818CF8;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.15s;
    width: 100%;
}

.cell-draw-btn:hover[b-wftzrgsyp2] {
    background: #EEF2FF;
    border-color: #6366F1;
    color: #4F46E5;
    border-style: solid;
}

/* ── Route drawn indicator card ──────────────────────────────────────────── */

.route-indicator[b-wftzrgsyp2] {
    background: #EEF2FF;
    border: 1px solid #A5B4FC;
    border-radius: 6px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: background 0.1s;
    flex: 1;
}

.route-indicator:hover[b-wftzrgsyp2] { background: #E0E7FF; }
.route-indicator.dragging[b-wftzrgsyp2] { opacity: 0.4; cursor: grabbing; }

.route-drag-handle[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    color: #A5B4FC;
    cursor: grab;
    flex-shrink: 0;
}

.route-drag-handle:active[b-wftzrgsyp2] { cursor: grabbing; }
.route-drag-handle:hover[b-wftzrgsyp2] { color: #6366F1; }

.route-indicator-icon[b-wftzrgsyp2] {
    width: 28px;
    height: 28px;
    background: #6366F1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.route-indicator-body[b-wftzrgsyp2] { flex: 1; min-width: 0; }

.route-indicator-label[b-wftzrgsyp2] {
    font-size: 11px;
    font-weight: 600;
    color: #4338CA;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.route-indicator-meta[b-wftzrgsyp2] { font-size: 10px; color: #6366F1; margin-top: 1px; }
.route-indicator-dist[b-wftzrgsyp2] { font-size: 10px; font-weight: 600; color: #6366F1; white-space: nowrap; }

/* ── Draw Route modal overlay ────────────────────────────────────────────── */

.draw-modal-overlay[b-wftzrgsyp2] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    z-index: 1200;
    display: flex;
    align-items: stretch;
}

.draw-modal[b-wftzrgsyp2] {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    width: 100%;
    height: 100%;
}

.draw-modal-toolbar[b-wftzrgsyp2] {
    height: 56px;
    background: #FFFFFF;
    border-bottom: 1px solid #E8EDF5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    flex-shrink: 0;
    z-index: 10;
}

.draw-modal-title[b-wftzrgsyp2] { font-size: 15px; font-weight: 600; color: #1E293B; line-height: 1.2; }
.draw-modal-subtitle[b-wftzrgsyp2] { font-size: 11px; color: #94A3B8; }
.draw-map-layout[b-wftzrgsyp2] { flex: 1; display: flex; overflow: hidden; }
.draw-map-container[b-wftzrgsyp2] { flex: 1; position: relative; overflow: hidden; cursor: crosshair; }
.draw-map-container.readonly[b-wftzrgsyp2] { cursor: default; }

.draw-map-sidebar[b-wftzrgsyp2] {
    width: 260px;
    background: #FFFFFF;
    border-left: 1px solid #E8EDF5;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    overflow: hidden;
}

.draw-map-sidebar-header[b-wftzrgsyp2] {
    padding: 14px 16px 10px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 12px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.draw-map-sidebar-body[b-wftzrgsyp2] { flex: 1; overflow-y: auto; padding: 12px 16px; }

.distance-badge[b-wftzrgsyp2] {
    background: #4A76F9;
    color: #FFFFFF;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.route-stat-card[b-wftzrgsyp2] {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.stat-row[b-wftzrgsyp2] { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.stat-row:last-child[b-wftzrgsyp2] { margin-bottom: 0; }
.stat-label[b-wftzrgsyp2] { font-size: 11px; color: #94A3B8; font-weight: 500; }
.stat-value[b-wftzrgsyp2] { font-size: 13px; font-weight: 600; color: #1E293B; }
.stat-value.blue[b-wftzrgsyp2] { color: #4A76F9; }

.map-instruction-banner[b-wftzrgsyp2] {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.95);
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 5;
}

.map-instruction-dot[b-wftzrgsyp2] {
    width: 8px; height: 8px;
    background: #4A76F9; border-radius: 50%;
    animation: pulse-b-wftzrgsyp2 1.5s infinite;
}

@keyframes pulse-b-wftzrgsyp2 { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }

.view-mode-banner[b-wftzrgsyp2] {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(99,102,241,0.9);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 5;
}

.snapping-toast[b-wftzrgsyp2] {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    background: #1E293B;
    color: #FFFFFF;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 20;
    white-space: nowrap;
}

.spinner[b-wftzrgsyp2] {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #FFFFFF;
    border-radius: 50%;
    animation: spin-b-wftzrgsyp2 0.7s linear infinite;
}

@keyframes spin-b-wftzrgsyp2 { to { transform: rotate(360deg); } }

.map-overlay-dropdown[b-wftzrgsyp2] {
    position: absolute;
    top: 12px;
    right: 51px;
    z-index: 6;
}

.overlay-btn[b-wftzrgsyp2] {
    background: rgba(255,255,255,0.95);
    border: 1px solid #E2E8F0;
    border-radius: 6px;
    padding: 7px 10px 7px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 190px;
    justify-content: space-between;
    transition: border-color 0.15s;
    font-family: inherit;
}

.overlay-btn:hover[b-wftzrgsyp2], .overlay-btn.open[b-wftzrgsyp2] { background: #F1F5F9; border-color: #4A76F9; }

.overlay-panel[b-wftzrgsyp2] {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 230px;
    z-index: 50;
    overflow: hidden;
}

.overlay-item[b-wftzrgsyp2] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    cursor: pointer;
    transition: background 0.1s;
    border-bottom: 1px solid #F8FAFC;
}

.overlay-item:hover[b-wftzrgsyp2] { background: #F8FAFC; }

.overlay-item-checkbox[b-wftzrgsyp2] {
    width: 15px; height: 15px;
    border: 1.5px solid #CBD5E1;
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all 0.15s; background: #FFFFFF;
}

.overlay-item.checked .overlay-item-checkbox[b-wftzrgsyp2] { background: #4A76F9; border-color: #4A76F9; }
.overlay-item-swatch[b-wftzrgsyp2] { width: 10px; height: 10px; border-radius: 2px; flex-shrink: 0; }

.mode-toggle[b-wftzrgsyp2] { display: flex; background: #F1F5F9; border-radius: 6px; padding: 3px; gap: 2px; }

.mode-btn[b-wftzrgsyp2] {
    border: none; background: none;
    padding: 5px 12px; font-size: 12px; font-weight: 500; color: #64748B;
    cursor: pointer; border-radius: 4px; font-family: inherit;
    display: flex; align-items: center; gap: 5px; transition: all 0.1s;
}

.mode-btn.active[b-wftzrgsyp2] { background: #FFFFFF; color: #4A76F9; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.waypoint-list-title[b-wftzrgsyp2] {
    font-size: 11px; font-weight: 600; color: #94A3B8;
    text-transform: uppercase; letter-spacing: 0.05em; margin: 14px 0 8px;
}

.waypoint-item[b-wftzrgsyp2] {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 0; border-bottom: 1px solid #F1F5F9; font-size: 12px;
    transition: background 0.1s;
}

.waypoint-item.draggable[b-wftzrgsyp2] { cursor: grab; }
.waypoint-item.draggable:active[b-wftzrgsyp2] { cursor: grabbing; }
.waypoint-item.dragging[b-wftzrgsyp2] { opacity: 0.35; }
.waypoint-item.selected[b-wftzrgsyp2] { background: #EFF6FF; border-radius: 6px; border-bottom-color: #BFDBFE; }

.wp-drop-indicator[b-wftzrgsyp2] {
    height: 2px;
    background: #4A76F9;
    border-radius: 1px;
    margin: 0 0 -1px;
    position: relative;
}

.wp-drop-indicator[b-wftzrgsyp2]::before {
    content: '';
    position: absolute;
    left: -3px;
    top: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4A76F9;
}

.waypoint-grip[b-wftzrgsyp2] {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    cursor: grab;
    padding: 2px 0;
    opacity: 0.5;
    transition: opacity 0.1s;
}

.waypoint-item:hover .waypoint-grip[b-wftzrgsyp2] { opacity: 1; }

.wp-delete-btn[b-wftzrgsyp2] {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    font-size: 11px;
    padding: 6px 8px;
    color: #EF4444;
    border-color: #FCA5A5;
}

.wp-delete-btn:hover[b-wftzrgsyp2] { background: #FEF2F2; border-color: #EF4444; }

.waypoint-num[b-wftzrgsyp2] {
    width: 20px; height: 20px; border-radius: 50%;
    background: #EEF3FE; color: #4A76F9;
    font-size: 10px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.waypoint-num.green[b-wftzrgsyp2] { background: #D1FAE5; color: #059669; }
.waypoint-num.red[b-wftzrgsyp2] { background: #FEE2E2; color: #DC2626; }
.waypoint-coords[b-wftzrgsyp2] { flex: 1; color: #475569; font-size: 11px; font-family: 'SF Mono', monospace; }
.waypoint-label[b-wftzrgsyp2] {
    flex: 1; color: #475569; font-size: 12px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.overlay-legend[b-wftzrgsyp2] {
    position: absolute; bottom: 32px; left: 12px;
    background: rgba(255,255,255,0.95);
    border: 1px solid #E2E8F0; border-radius: 8px;
    padding: 10px 12px; font-size: 11px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08); z-index: 5;
}
