/* ==========================================================================
   NWERA Creative Suite — Employee Workspace 360 Design System
   Version: 2.9.27
   Obsidian Dark & Clean Light Themes | Zero Emojis | Strict Zero-Shadow Guarantee
   ========================================================================== */

/* ==========================================================================
   Osty Theme & Elementor Header Integration Isolation & Clearance
   ========================================================================== */
.nw-ws-portal-wrapper {
    width: 100%;
    clear: both;
    position: relative;
    padding-top: 36px;
    padding-bottom: 60px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .nw-ws-portal-wrapper {
        padding-top: 48px;
    }
}

.nw-ws-app {
    font-family: 'Plus Jakarta Sans', 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--nwcs-bg-main, #080B14);
    color: var(--nwcs-text-primary, #F8FAFC);
    max-width: 1360px;
    margin: 0 auto 80px auto;
    padding: 24px 20px 80px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    border-radius: 18px;
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nw-ws-app,
.nw-ws-app *,
.nw-ws-app *::before,
.nw-ws-app *::after {
    box-sizing: border-box;
}

.nw-ws-app a {
    color: inherit;
    text-decoration: none;
}

.nw-ws-app button {
    font-family: inherit;
    cursor: pointer;
    outline: none;
    line-height: inherit;
}

.nw-ws-app input,
.nw-ws-app select,
.nw-ws-app textarea {
    font-family: inherit;
    box-sizing: border-box;
}

/* Light Mode Overrides */
.nw-ws-app.nwcs-light-mode {
    --nwcs-bg-main: #f1f5f9;
    --nwcs-bg-subtle: #f8fafc;
    --nwcs-card-bg: #ffffff;
    --nwcs-card-bg-elevated: #f8fafc;
    --nwcs-text-primary: #0f172a;
    --nwcs-text-secondary: #334155;
    --nwcs-text-muted: #64748b;
    --nwcs-border: #cbd5e1;
    --nwcs-input-bg: #ffffff;
    --nwcs-input-border: #cbd5e1;
    --nwcs-input-color: #0f172a;
}

/* Topbar */
.nw-ws-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nwcs-card-bg, #111827);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 14px;
    padding: 16px 24px;
    margin-bottom: 20px;
    gap: 16px;
}

.nw-ws-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nw-ws-badge {
    background: #C58A52;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 6px;
}

.nw-ws-system-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.nw-ws-version-pill {
    background: rgba(197, 138, 82, 0.15);
    color: #C58A52;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(197, 138, 82, 0.3);
}

.nw-ws-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nw-ws-btn-icon {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    color: var(--nwcs-text-secondary, #94A3B8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nw-ws-btn-icon:hover {
    color: #C58A52;
    border-color: #C58A52;
}

.nw-ws-counter-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 10px;
}

/* User Capsule */
.nw-ws-user-capsule {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    padding: 6px 14px 6px 8px;
    border-radius: 30px;
    transition: border-color 0.2s ease;
}

.nw-ws-user-capsule:hover {
    border-color: #C58A52;
}

.nw-ws-avatar, .nw-ws-avatar-placeholder {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.nw-ws-avatar-placeholder {
    background: #1e293b;
    color: #C58A52;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
}

.nw-ws-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
    line-height: 1.2;
}

.nw-ws-user-role {
    font-size: 11px;
    color: var(--nwcs-text-muted, #64748B);
}

/* Sun / Moon Icon Toggles */
.nw-ws-sun-icon { display: none; }
.nwcs-light-mode .nw-ws-moon-icon { display: none; }
.nwcs-light-mode .nw-ws-sun-icon { display: inline-block; color: #F59E0B; }

/* 10-Tab Navigation Ribbon */
.nw-ws-nav-ribbon-wrapper {
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.nw-ws-nav-ribbon {
    display: flex;
    gap: 8px;
    background: var(--nwcs-card-bg, #111827);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 12px;
    padding: 8px;
    min-width: max-content;
}

.nw-ws-tab-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    color: var(--nwcs-text-secondary, #94A3B8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nw-ws-tab-link:hover {
    color: var(--nwcs-text-primary, #F8FAFC);
    background: rgba(255, 255, 255, 0.04);
}

.nw-ws-tab-link.active {
    background: #C58A52;
    color: #ffffff;
}

.nw-ws-tab-badge {
    background: #EF4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 8px;
    margin-left: 4px;
}

.nw-ws-tab-link.active .nw-ws-tab-badge {
    background: #ffffff;
    color: #C58A52;
}

/* Common Card & Spacing */
.nw-ws-card {
    background: var(--nwcs-card-bg, #111827);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
}

.nw-ws-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
}

.nw-ws-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nw-ws-card-title h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.nw-ws-badge-count {
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    color: #C58A52;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 12px;
}

/* Alerts */
.nw-ws-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
}

.nw-ws-alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid #10B981;
    color: #10B981;
}

.nw-ws-alert-danger {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid #EF4444;
    color: #EF4444;
}

/* Greeting Card */
.nw-ws-greeting-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--nwcs-card-bg, #111827) 0%, var(--nwcs-card-bg-elevated, #151C2D) 100%);
}

.nw-ws-greeting-text h2 {
    margin: 0 0 6px 0;
    font-size: 24px;
    font-weight: 800;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.nw-ws-greeting-text p {
    margin: 0;
    color: var(--nwcs-text-secondary, #94A3B8);
    font-size: 14px;
}

.nw-ws-greeting-actions {
    display: flex;
    gap: 12px;
}

/* Metrics Grid */
.nw-ws-metrics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.nw-ws-metric-card {
    background: var(--nwcs-card-bg, #111827);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 12px;
    padding: 18px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform 0.15s ease;
}

.nw-ws-metric-card.highlight-danger {
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.08);
}

.nw-ws-metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.icon-tasks { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }
.icon-overdue { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.icon-review { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.icon-completed { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.icon-projects { background: rgba(168, 85, 247, 0.15); color: #A855F7; }
.icon-deadlines { background: rgba(197, 138, 82, 0.15); color: #C58A52; }

.nw-ws-metric-data {
    display: flex;
    flex-direction: column;
}

.nw-ws-metric-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--nwcs-text-muted, #64748B);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.nw-ws-metric-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--nwcs-text-primary, #F8FAFC);
    line-height: 1.1;
}

/* Attention Items */
.nw-ws-attention-card {
    border-left: 4px solid #C58A52;
}

.nw-ws-attention-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nw-ws-attention-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 10px;
}

.nw-ws-attention-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.nw-ws-attention-details {
    flex: 1;
}

.nw-ws-attention-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
}

.nw-ws-attention-title:hover {
    color: #C58A52;
}

.nw-ws-attention-subtitle {
    font-size: 12px;
    color: var(--nwcs-text-secondary, #94A3B8);
}

.nw-ws-attention-badge {
    border: 1px solid;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

/* Overview 2-Column Split */
.nw-ws-overview-columns {
    display: grid;
    grid-template-columns: 1.6fr 1.2fr;
    gap: 24px;
}

/* Compact Lists */
.nw-ws-task-list-compact, .nw-ws-deadline-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nw-ws-task-compact-item, .nw-ws-deadline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 8px;
}

.nw-ws-task-compact-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nw-ws-priority-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.priority-urgent, .priority-high { background-color: #EF4444; }
.priority-normal { background-color: #F59E0B; }
.priority-low { background-color: #3B82F6; }

.nw-ws-task-compact-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.nw-ws-task-compact-project {
    font-size: 12px;
    color: var(--nwcs-text-muted, #64748B);
}

.nw-ws-task-compact-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Deadline Items */
.nw-ws-deadline-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(197, 138, 82, 0.12);
    border: 1px solid rgba(197, 138, 82, 0.3);
    border-radius: 8px;
    flex-shrink: 0;
}

.nw-ws-deadline-date .day {
    font-size: 16px;
    font-weight: 800;
    color: #C58A52;
    line-height: 1;
}

.nw-ws-deadline-date .month {
    font-size: 10px;
    font-weight: 700;
    color: var(--nwcs-text-secondary, #94A3B8);
    text-transform: uppercase;
}

.nw-ws-deadline-info {
    flex: 1;
}

.nw-ws-deadline-info .title {
    font-size: 13px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.nw-ws-deadline-info .project {
    font-size: 11px;
    color: var(--nwcs-text-muted, #64748B);
}

/* Project Mini Cards */
.nw-ws-project-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nw-ws-project-mini-card {
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 10px;
    padding: 16px;
}

.nw-ws-project-mini-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.nw-ws-proj-code {
    font-size: 11px;
    font-weight: 700;
    color: #C58A52;
    background: rgba(197, 138, 82, 0.12);
    padding: 2px 6px;
    border-radius: 4px;
}

.nw-ws-proj-role {
    font-size: 11px;
    color: var(--nwcs-text-secondary, #94A3B8);
}

.nw-ws-proj-title {
    margin: 0 0 8px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.nw-ws-proj-sub {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--nwcs-text-muted, #64748B);
    margin-bottom: 12px;
}

.nw-ws-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.nw-ws-progress-fill {
    height: 100%;
    background: #C58A52;
    border-radius: 3px;
}

.nw-ws-progress-text {
    font-size: 11px;
    color: var(--nwcs-text-muted, #64748B);
}

/* Filter Bar */
.nw-ws-filter-bar-card {
    padding: 16px 20px;
}

.nw-ws-filter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nw-ws-filter-group {
    position: relative;
}

.nw-ws-filter-group.search-group {
    flex: 1;
    min-width: 220px;
}

.nw-ws-filter-group .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nwcs-text-muted, #64748B);
}

.nw-ws-input, .nw-ws-select, .nw-ws-textarea {
    background: var(--nwcs-input-bg, #182030);
    border: 1px solid var(--nwcs-input-border, rgba(255, 255, 255, 0.12));
    color: var(--nwcs-input-color, #F8FAFC);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    width: 100%;
}

.nw-ws-filter-group.search-group .nw-ws-input {
    padding-left: 38px;
}

.nw-ws-input:focus, .nw-ws-select:focus, .nw-ws-textarea:focus {
    outline: none;
    border-color: #C58A52;
}

/* View Toggle Capsule */
.nw-ws-view-toggle-capsule {
    display: flex;
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 8px;
    padding: 3px;
    margin-left: auto;
}

.nw-ws-view-btn {
    background: transparent;
    border: none;
    color: var(--nwcs-text-muted, #64748B);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.nw-ws-view-btn.active {
    background: #C58A52;
    color: #ffffff;
}

/* Data Tables */
.nw-ws-table-card {
    padding: 0;
    overflow: hidden;
}

.nw-ws-table-responsive {
    overflow-x: auto;
}

.nw-ws-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.nw-ws-table th {
    background: var(--nwcs-bg-main, #080B14);
    color: var(--nwcs-text-secondary, #94A3B8);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
}

.nw-ws-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    color: var(--nwcs-text-primary, #F8FAFC);
    vertical-align: middle;
}

.nw-ws-table tr:last-child td {
    border-bottom: none;
}

.nw-ws-table tr.row-overdue td {
    background: rgba(239, 68, 68, 0.04);
}

.nw-ws-task-name {
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
    margin-bottom: 3px;
}

.nw-ws-task-desc {
    font-size: 12px;
    color: var(--nwcs-text-muted, #64748B);
}

.nw-ws-priority-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.nw-ws-status-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.status-pending, .status-todo { background: rgba(148, 163, 184, 0.12); color: #94A3B8; }
.status-in_progress { background: rgba(59, 130, 246, 0.12); color: #3B82F6; }
.status-in_review { background: rgba(139, 92, 246, 0.12); color: #8B5CF6; }
.status-revision_requested { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }
.status-done, .status-completed, .status-approved { background: rgba(16, 185, 129, 0.12); color: #10B981; }

.nw-ws-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13.5px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    line-height: 1.4;
    box-sizing: border-box;
}

.nw-ws-btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.nw-ws-btn-tiny {
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nw-ws-btn-primary { 
    background-color: #C58A52 !important; 
    color: #ffffff !important; 
    border-color: #C58A52 !important; 
}
.nw-ws-btn-primary:hover { 
    background-color: #111110 !important; 
    color: #ffffff !important; 
    border-color: #111110 !important; 
}
.nw-ws-btn-review { background: #8B5CF6; color: #ffffff; }
.nw-ws-btn-warning { background: #F59E0B; color: #ffffff; }
.nw-ws-btn-outline {
    background-color: transparent !important;
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13)) !important;
    color: var(--nwcs-text-primary, #F8FAFC) !important;
}
.nw-ws-btn-outline:hover {
    border-color: #C58A52 !important;
    color: #C58A52 !important;
}

/* Kanban Board */
.nw-ws-kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.nw-ws-kanban-col {
    background: var(--nwcs-card-bg, #111827);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.nw-ws-kanban-col-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
}

.nw-ws-kanban-col-head .title {
    font-size: 14px;
    font-weight: 800;
    color: var(--nwcs-text-primary, #F8FAFC);
    text-transform: uppercase;
}

.nw-ws-kanban-col-head .count {
    background: var(--nwcs-bg-main, #080B14);
    color: #C58A52;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
}

.nw-ws-kanban-col-head.col-in-progress { border-bottom-color: #3B82F6; }
.nw-ws-kanban-col-head.col-review { border-bottom-color: #8B5CF6; }
.nw-ws-kanban-col-head.col-done { border-bottom-color: #10B981; }

.nw-ws-kanban-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.nw-ws-kanban-card {
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nw-ws-kanban-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nw-ws-kanban-card-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.nw-ws-kanban-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    font-size: 12px;
    color: var(--nwcs-text-muted, #64748B);
}

/* Floating Action Button (FAB) */
.nw-ws-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #C58A52;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none !important;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.nw-ws-fab:hover {
    background: #111110;
    transform: translateY(-2px);
}

/* Modals */
.nw-ws-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}

.nw-ws-modal-dialog {
    background: var(--nwcs-card-bg, #111827);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 16px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.nw-ws-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 24px 28px 18px 28px;
    border-bottom: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
}

.modal-title-wrap {
    display: flex;
    gap: 14px;
    align-items: center;
}

.modal-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(197, 138, 82, 0.15);
    color: #C58A52;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.modal-icon.icon-blue { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }

.modal-title-wrap h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 800;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.modal-sub {
    margin: 0;
    font-size: 13px;
    color: var(--nwcs-text-secondary, #94A3B8);
}

.nw-ws-modal-close {
    background: transparent;
    border: none;
    color: var(--nwcs-text-muted, #64748B);
    font-size: 20px;
    cursor: pointer;
}

.nw-ws-modal-close:hover {
    color: #EF4444;
}

.nw-ws-modal-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nw-ws-modal-footer {
    padding: 18px 28px 24px 28px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
}

/* Privacy Options Selector */
.nw-ws-privacy-selector-card {
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 12px;
    padding: 18px;
}

.section-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
    margin-bottom: 12px;
}

.privacy-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 10px;
}

.privacy-option-card {
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 10px;
    padding: 14px;
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.privacy-option-card:hover {
    border-color: #C58A52;
}

.privacy-option-card input:checked ~ .option-content {
    color: var(--nwcs-text-primary, #F8FAFC);
}

.privacy-option-card .option-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 4px;
}

.privacy-option-card p {
    margin: 0;
    font-size: 11px;
    color: var(--nwcs-text-muted, #64748B);
    line-height: 1.4;
}

.privacy-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--nwcs-text-secondary, #94A3B8);
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 12px;
    border-radius: 6px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Balanced Performance UI */
.nw-ws-eval-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
}

.nw-ws-period-badge {
    background: rgba(197, 138, 82, 0.15);
    color: #C58A52;
    font-size: 15px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    margin-right: 12px;
}

.nw-ws-eval-score-capsule {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.nw-ws-eval-score-capsule .score-label {
    font-size: 11px;
    color: var(--nwcs-text-muted, #64748B);
    text-transform: uppercase;
    font-weight: 700;
}

.nw-ws-eval-score-capsule .score-val {
    font-size: 26px;
    font-weight: 800;
    color: #10B981;
}

.nw-ws-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.nw-ws-dimension-box {
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.dim-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dim-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.dim-rating {
    font-size: 14px;
    font-weight: 800;
    color: #C58A52;
}

.dim-stars {
    margin-bottom: 12px;
    font-size: 13px;
}

.dim-feedback {
    font-size: 12px;
    color: var(--nwcs-text-secondary, #94A3B8);
    line-height: 1.5;
}

.nw-ws-eval-qualitative {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

.qualitative-block {
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 10px;
    padding: 16px 20px;
}

.qualitative-block h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--nwcs-text-primary, #F8FAFC);
}

.qualitative-block p, .qualitative-block ul {
    margin: 0;
    font-size: 13px;
    color: var(--nwcs-text-secondary, #94A3B8);
    line-height: 1.5;
}

.nw-ws-eval-acknowledgment-box {
    background: var(--nwcs-bg-main, #080B14);
    border: 1px solid var(--nwcs-border, rgba(148, 163, 184, 0.13));
    border-radius: 12px;
    padding: 20px;
}

.ack-confirmed {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #10B981;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .nw-ws-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .nw-ws-overview-columns {
        grid-template-columns: 1fr;
    }
    .nw-ws-kanban-board {
        grid-template-columns: repeat(2, 1fr);
    }
    .nw-ws-dimensions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nw-ws-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nw-ws-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    .nw-ws-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nw-ws-kanban-board {
        grid-template-columns: 1fr;
    }
    .nw-ws-dimensions-grid {
        grid-template-columns: 1fr;
    }
    .nw-ws-eval-qualitative {
        grid-template-columns: 1fr;
    }
    .privacy-options-grid {
        grid-template-columns: 1fr;
    }
    .form-row-2col {
        grid-template-columns: 1fr;
    }
    .nw-ws-fab {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 13px;
    }
}

