/* ========================================
   NayiSoch365 Plugin CSS
   ======================================== */

.ns365-plugin-container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ns365-plugin-container {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #0b0e14;
    color: #eef2f8;
    border-radius: 12px;
    border: 1px solid #2a3344;
    overflow: hidden;
    max-width: 1400px;
    margin: 20px auto;
}

/* Top Bar */
.ns365-plugin-container .ns365-topbar {
    background: #0b0e14;
    padding: 10px 20px;
    border-bottom: 1px solid #2a3344;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.ns365-plugin-container .ns365-topbar .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
}

.ns365-plugin-container .ns365-topbar .brand i {
    color: #3b82f6;
}

.ns365-plugin-container .ns365-topbar .brand span {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ns365-plugin-container .ns365-topbar .version {
    font-size: 0.6rem;
    color: #5a6a85;
    background: #1a212c;
    padding: 2px 12px;
    border-radius: 30px;
}

.ns365-plugin-container .ns365-topbar .live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    color: #22c55e;
}

.ns365-plugin-container .ns365-topbar .live-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: ns365-pulse 2s infinite;
}

@keyframes ns365-pulse {
    0%,
    100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.ns365-plugin-container .ns365-topbar .actions {
    display: flex;
    gap: 6px;
}

.ns365-plugin-container .ns365-topbar .actions button {
    background: #1a212c;
    border: 1px solid #2a3344;
    color: #8899bb;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.65rem;
    cursor: pointer;
    transition: 0.25s ease;
}

.ns365-plugin-container .ns365-topbar .actions button:hover {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
}

/* Body */
.ns365-plugin-container .ns365-body {
    display: flex;
    min-height: 500px;
    max-height: 80vh;
}

/* Sidebar */
.ns365-plugin-container .ns365-sidebar {
    width: 200px;
    min-width: 200px;
    background: #0b0e14;
    border-right: 1px solid #2a3344;
    padding: 12px 0;
    overflow-y: auto;
    flex-shrink: 0;
}

.ns365-plugin-container .ns365-sidebar .section-label {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #5a6a85;
    padding: 6px 16px 2px;
    font-weight: 600;
}

.ns365-plugin-container .ns365-page-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px;
    cursor: pointer;
    color: #8899bb;
    font-size: 0.78rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: 0.25s ease;
}

.ns365-plugin-container .ns365-page-item:hover {
    background: #1a212c;
    color: #eef2f8;
}

.ns365-plugin-container .ns365-page-item.active {
    background: #1a212c;
    color: #fff;
    border-left-color: #3b82f6;
}

.ns365-plugin-container .ns365-page-item i {
    width: 18px;
    font-size: 0.8rem;
    color: #5a6a85;
}

.ns365-plugin-container .ns365-page-item.active i {
    color: #3b82f6;
}

.ns365-plugin-container .ns365-page-item .badge {
    margin-left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 0.5rem;
    padding: 1px 8px;
    border-radius: 30px;
    font-weight: 700;
}

/* Content */
.ns365-plugin-container .ns365-content {
    flex: 1;
    padding: 16px 20px;
    overflow-y: auto;
    background: #131821;
    min-width: 0;
}

/* Stats Grid */
.ns365-plugin-container .ns365-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.ns365-plugin-container .ns365-stat {
    background: #1a212c;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #2a3344;
}

.ns365-plugin-container .ns365-stat .label {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #5a6a85;
    letter-spacing: 0.4px;
}

.ns365-plugin-container .ns365-stat .value {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2px;
}

.ns365-plugin-container .ns365-stat .change {
    font-size: 0.65rem;
    font-weight: 600;
}

.ns365-plugin-container .ns365-stat .change.green {
    color: #22c55e;
}
.ns365-plugin-container .ns365-stat .change.red {
    color: #ef4444;
}

/* Scanner */
.ns365-plugin-container .ns365-scanner {
    background: #1a212c;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid #2a3344;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.ns365-plugin-container .ns365-scanner input {
    flex: 1;
    min-width: 160px;
    background: #0b0e14;
    border: 1px solid #2a3344;
    color: #eef2f8;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    outline: none;
}

.ns365-plugin-container .ns365-scanner input:focus {
    border-color: #3b82f6;
}

.ns365-plugin-container .ns365-scanner button {
    background: #3b82f6;
    border: none;
    color: #fff;
    padding: 6px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
}

.ns365-plugin-container .ns365-scanner button:hover {
    background: #2563eb;
}

/* Option Chain */
.ns365-plugin-container .ns365-chain {
    background: #1a212c;
    border-radius: 8px;
    border: 1px solid #2a3344;
    overflow: hidden;
}

.ns365-plugin-container .ns365-chain .chain-head {
    padding: 10px 16px;
    border-bottom: 1px solid #2a3344;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.7rem;
}

.ns365-plugin-container .ns365-chain .chain-head strong {
    color: #eef2f8;
}

.ns365-plugin-container .ns365-chain .table-wrap {
    overflow: auto;
    padding: 0 4px 6px;
}

.ns365-plugin-container .ns365-chain table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.65rem;
    text-align: center;
}

.ns365-plugin-container .ns365-chain table th {
    color: #5a6a85;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 6px 4px;
    border-bottom: 1px solid #2a3344;
    position: sticky;
    top: 0;
    background: #1a212c;
}

.ns365-plugin-container .ns365-chain table td {
    padding: 4px 4px;
    border-bottom: 1px solid rgba(42, 51, 68, 0.2);
    font-weight: 500;
}

.ns365-plugin-container .ns365-chain table .strike {
    font-weight: 700;
    color: #eef2f8;
}

.ns365-plugin-container .ns365-chain table .strike.current {
    background: rgba(59, 130, 246, 0.15);
    border-radius: 4px;
}

.ns365-plugin-container .ns365-chain table .change-pos {
    color: #22c55e;
}
.ns365-plugin-container .ns365-chain table .change-neg {
    color: #ef4444;
}
.ns365-plugin-container .ns365-chain table .pcr-bull {
    color: #22c55e;
}
.ns365-plugin-container .ns365-chain table .pcr-bear {
    color: #ef4444;
}
.ns365-plugin-container .ns365-chain table .pcr-neu {
    color: #eab308;
}

/* Trade Setup */
.ns365-plugin-container .ns365-setup {
    background: #1a212c;
    border-radius: 8px;
    border: 1px solid #2a3344;
    padding: 16px 20px;
    margin-bottom: 12px;
    border-left: 4px solid #22c55e;
}

.ns365-plugin-container .ns365-setup.bearish {
    border-left-color: #ef4444;
}

.ns365-plugin-container .ns365-setup .head {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.ns365-plugin-container .ns365-setup .head .symbol {
    font-size: 1.1rem;
    font-weight: 700;
}

.ns365-plugin-container .ns365-setup .head .badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 14px;
    border-radius: 30px;
}

.ns365-plugin-container .ns365-setup .head .badge.bull {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.ns365-plugin-container .ns365-setup .head .badge.bear {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.ns365-plugin-container .ns365-setup .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
}

.ns365-plugin-container .ns365-setup .grid .item {
    background: #0b0e14;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
}

.ns365-plugin-container .ns365-setup .grid .item .lbl {
    font-size: 0.5rem;
    text-transform: uppercase;
    color: #5a6a85;
    letter-spacing: 0.3px;
}

.ns365-plugin-container .ns365-setup .grid .item .val {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 2px;
}

.ns365-plugin-container .ns365-setup .grid .item .val.entry {
    color: #3b82f6;
}
.ns365-plugin-container .ns365-setup .grid .item .val.sl {
    color: #ef4444;
}
.ns365-plugin-container .ns365-setup .grid .item .val.target {
    color: #22c55e;
}

.ns365-plugin-container .ns365-setup .foot {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #2a3344;
    font-size: 0.6rem;
    color: #8899bb;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Reports */
.ns365-plugin-container .ns365-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.ns365-plugin-container .ns365-tabs .tab {
    background: #1a212c;
    border: 1px solid #2a3344;
    color: #8899bb;
    padding: 4px 16px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.ns365-plugin-container .ns365-tabs .tab:hover {
    background: #232b3a;
    color: #fff;
}

.ns365-plugin-container .ns365-tabs .tab.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.ns365-plugin-container .ns365-report {
    background: #1a212c;
    border-radius: 8px;
    border: 1px solid #2a3344;
    padding: 12px 16px;
    margin-bottom: 8px;
}

.ns365-plugin-container .ns365-report .title {
    font-weight: 600;
    font-size: 0.8rem;
}

.ns365-plugin-container .ns365-report .detail {
    font-size: 0.7rem;
    color: #8899bb;
    margin-top: 4px;
    line-height: 1.5;
}

/* Utilities */
.ns365-plugin-container .text-green {
    color: #22c55e;
}
.ns365-plugin-container .text-red {
    color: #ef4444;
}
.ns365-plugin-container .text-yellow {
    color: #eab308;
}
.ns365-plugin-container .text-blue {
    color: #3b82f6;
}
.ns365-plugin-container .text-muted {
    color: #5a6a85;
}
.ns365-plugin-container .fw-700 {
    font-weight: 700;
}

/* Responsive */
@media (max-width: 820px) {
    .ns365-plugin-container .ns365-sidebar {
        width: 150px;
        min-width: 150px;
    }
}

@media (max-width: 640px) {
    .ns365-plugin-container .ns365-body {
        flex-direction: column;
        max-height: none;
    }
    
    .ns365-plugin-container .ns365-sidebar {
        width: 100%;
        min-width: unset;
        border-right: none;
        border-bottom: 1px solid #2a3344;
        flex-direction: row;
        overflow-x: auto;
        display: flex;
        padding: 6px 10px;
        gap: 4px;
    }
    
    .ns365-plugin-container .ns365-sidebar .section-label {
        display: none;
    }
    
    .ns365-plugin-container .ns365-page-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 3px solid transparent;
        padding: 6px 12px;
    }
    
    .ns365-plugin-container .ns365-page-item.active {
        border-bottom-color: #3b82f6;
    }
    
    .ns365-plugin-container .ns365-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ns365-plugin-container .ns365-content {
        padding: 12px;
    }
}


/* ========================================
   Layout Fix v2.1.3
   Keeps topbar above body and improves PC/mobile rendering
   ======================================== */
.ns365-plugin-container,
.ns365-plugin-container #ns365-root {
    width: 100% !important;
    max-width: 1400px !important;
    display: block !important;
    position: relative !important;
}

.ns365-plugin-container #ns365-root > .ns365-topbar {
    width: 100% !important;
    display: flex !important;
}

.ns365-plugin-container #ns365-root > .ns365-body {
    width: 100% !important;
    display: flex !important;
    align-items: stretch !important;
}

.ns365-plugin-container .ns365-dashboard-panels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.ns365-plugin-container .ns365-stat,
.ns365-plugin-container .ns365-scanner,
.ns365-plugin-container .ns365-dashboard-panels > div {
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.ns365-plugin-container .ns365-stat {
    min-height: 82px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ns365-plugin-container .ns365-stat:hover {
    transform: translateY(-2px);
    border-color: rgba(59,130,246,.65);
    box-shadow: 0 12px 30px rgba(0,0,0,.2);
}

@media (min-width: 1200px) {
    .ns365-plugin-container {
        margin: 24px auto !important;
    }
    .ns365-plugin-container .ns365-body {
        min-height: 540px;
        max-height: none;
    }
    .ns365-plugin-container .ns365-sidebar {
        width: 210px;
        min-width: 210px;
    }
    .ns365-plugin-container .ns365-content {
        padding: 20px;
    }
    .ns365-plugin-container .ns365-stats {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ns365-plugin-container {
        margin: 12px auto !important;
        border-radius: 10px;
    }
    .ns365-plugin-container .ns365-topbar {
        padding: 10px 14px;
    }
    .ns365-plugin-container .ns365-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .ns365-plugin-container .ns365-dashboard-panels {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ns365-plugin-container {
        width: 100% !important;
        margin: 8px 0 !important;
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }
    .ns365-plugin-container .ns365-topbar {
        display: grid !important;
        grid-template-columns: 1fr auto;
        gap: 8px 10px;
        padding: 10px 12px;
    }
    .ns365-plugin-container .ns365-topbar .brand {
        min-width: 0;
    }
    .ns365-plugin-container .ns365-topbar .live-badge {
        justify-self: end;
    }
    .ns365-plugin-container .ns365-topbar .actions {
        grid-column: 1 / -1;
        width: 100%;
    }
    .ns365-plugin-container .ns365-topbar .actions button {
        flex: 1;
        min-height: 36px;
    }
    .ns365-plugin-container #ns365-root > .ns365-body {
        display: block !important;
        min-height: 0;
        max-height: none;
    }
    .ns365-plugin-container .ns365-sidebar {
        position: sticky;
        top: 0;
        z-index: 20;
        width: 100% !important;
        min-width: 0 !important;
        display: flex !important;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 6px 8px;
        gap: 3px;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .ns365-plugin-container .ns365-page-item {
        flex: 0 0 auto;
        min-height: 38px;
        padding: 8px 11px;
        border-radius: 7px;
        border-bottom: 0;
        font-size: .72rem;
    }
    .ns365-plugin-container .ns365-page-item.active {
        border-left: 0;
        background: #1d2a3d;
        box-shadow: inset 0 -3px 0 #3b82f6;
    }
    .ns365-plugin-container .ns365-content {
        width: 100%;
        padding: 12px 10px 18px;
        overflow: visible;
    }
    .ns365-plugin-container .ns365-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .ns365-plugin-container .ns365-stat {
        min-height: 76px;
        padding: 10px 12px;
    }
    .ns365-plugin-container .ns365-stat .value {
        font-size: 1rem;
    }
    .ns365-plugin-container .ns365-scanner {
        padding: 10px 12px;
    }
    .ns365-plugin-container .ns365-scanner > span:last-child {
        width: 100%;
        margin-left: 0 !important;
    }
    .ns365-plugin-container .ns365-dashboard-panels {
        grid-template-columns: 1fr;
        gap: 9px;
    }
    .ns365-plugin-container .ns365-chain .table-wrap {
        max-width: calc(100vw - 20px);
        overflow-x: auto;
    }
}

@media (max-width: 380px) {
    .ns365-plugin-container .ns365-stats {
        grid-template-columns: 1fr 1fr;
    }
    .ns365-plugin-container .ns365-topbar .brand {
        font-size: .88rem;
    }
    .ns365-plugin-container .ns365-topbar .version {
        display: none;
    }
}

/* ========================================
   Groww-style Personal Workspace v2.1.4
   ======================================== */
.ns365-plugin-container .ns365-groww-workspace {
    margin-top: 22px;
    background: #f8fafc;
    color: #172033;
    border: 1px solid #dfe5ee;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.ns365-plugin-container .groww-header {
    min-height: 68px;
    display: grid;
    grid-template-columns: auto minmax(260px, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 1px solid #e8ecf2;
}
.ns365-plugin-container .groww-product-tabs,
.ns365-plugin-container .groww-subnav,
.ns365-plugin-container .groww-filter-pills {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ns365-plugin-container .groww-product-tabs button,
.ns365-plugin-container .groww-subnav button,
.ns365-plugin-container .groww-filter-pills button {
    border: 0;
    background: transparent;
    color: #687187;
    font-weight: 650;
    cursor: pointer;
    white-space: nowrap;
}
.ns365-plugin-container .groww-product-tabs button {
    font-size: .88rem;
    padding: 8px 4px;
}
.ns365-plugin-container .groww-product-tabs button.active,
.ns365-plugin-container .groww-subnav button.active {
    color: #1f2937;
}
.ns365-plugin-container .groww-search-wrap {
    justify-self: end;
    width: min(100%, 420px);
    position: relative;
}
.ns365-plugin-container .groww-search-wrap i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8498;
}
.ns365-plugin-container .groww-search-wrap input {
    width: 100%;
    min-height: 42px;
    border: 1px solid #dde3eb;
    border-radius: 10px;
    padding: 0 14px 0 40px;
    background: #fff;
    color: #1f2937;
    outline: none;
}
.ns365-plugin-container .groww-search-wrap input:focus { border-color: #00b386; box-shadow: 0 0 0 3px rgba(0,179,134,.12); }
.ns365-plugin-container .groww-profile {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg,#00d09c,#5367ff);
    color: #fff;
    cursor: pointer;
}
.ns365-plugin-container .groww-subnav {
    padding: 0 20px;
    background: #fff;
    border-bottom: 1px solid #e8ecf2;
    overflow-x: auto;
}
.ns365-plugin-container .groww-subnav button {
    padding: 14px 10px 12px;
    position: relative;
}
.ns365-plugin-container .groww-subnav button.active::after {
    content: '';
    position: absolute;
    height: 3px;
    left: 8px;
    right: 8px;
    bottom: 0;
    border-radius: 4px;
    background: #2f3a4f;
}
.ns365-plugin-container .groww-index-strip {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    padding: 13px 20px;
    background: #fff;
    border-bottom: 1px solid #e8ecf2;
}
.ns365-plugin-container .groww-index-strip > div { display: flex; gap: 8px; align-items: baseline; white-space: nowrap; font-size: .74rem; }
.ns365-plugin-container .groww-index-strip strong { color: #253047; }
.ns365-plugin-container .groww-index-strip span { color: #586278; }
.ns365-plugin-container .groww-index-strip em { color: #00a77a; font-style: normal; font-weight: 700; }
.ns365-plugin-container .ns365-groww-connect,
.ns365-plugin-container .ns365-groww-status {
    margin: 18px 20px 0;
    border: 1px solid #dfe5ee;
    border-radius: 12px;
    background: #fff;
    padding: 16px;
}
.ns365-plugin-container .ns365-groww-connect {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.2fr);
    gap: 18px;
    align-items: center;
}
.ns365-plugin-container .ns365-groww-connect p { margin-top: 5px; color: #747e92; font-size: .74rem; line-height: 1.45; }
.ns365-plugin-container .connect-controls { display: flex; gap: 8px; }
.ns365-plugin-container .connect-controls input {
    flex: 1;
    min-width: 0;
    border: 1px solid #d9e0e9;
    border-radius: 9px;
    padding: 10px 12px;
}
.ns365-plugin-container .connect-controls button {
    border: 0;
    border-radius: 9px;
    padding: 10px 18px;
    background: #00b386;
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}
.ns365-plugin-container .connect-message { grid-column: 1 / -1; font-size: .72rem; color: #667085; min-height: 16px; }
.ns365-plugin-container .connect-message.success { color: #009b75; }
.ns365-plugin-container .connect-message.error { color: #d53b4c; }
.ns365-plugin-container .ns365-groww-status { display: flex; align-items: center; justify-content: space-between; color: #546076; font-size: .75rem; }
.ns365-plugin-container .ns365-groww-status > div { display: flex; align-items: center; gap: 8px; color: #1f2937; }
.ns365-plugin-container .status-dot { width: 9px; height: 9px; border-radius: 50%; background: #00b386; box-shadow: 0 0 0 4px rgba(0,179,134,.12); }
.ns365-plugin-container .groww-tab-content { padding: 22px 20px 26px; }
.ns365-plugin-container .groww-explore-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .9fr); gap: 28px; }
.ns365-plugin-container .groww-section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ns365-plugin-container .groww-section-title h3,
.ns365-plugin-container .groww-investment-card h3,
.ns365-plugin-container .groww-tools-card h3 { font-size: 1rem; color: #303a50; margin: 0; }
.ns365-plugin-container .groww-section-title button { border: 0; background: transparent; color: #00a77a; font-weight: 700; cursor: pointer; }
.ns365-plugin-container .groww-stock-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.ns365-plugin-container .groww-stock-cards article {
    min-height: 155px;
    border: 1px solid #e0e5ed;
    border-radius: 14px;
    background: #fff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ns365-plugin-container .stock-icon { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; background: #eef5ff; color: #4054d7; font-weight: 800; }
.ns365-plugin-container .groww-stock-cards h4 { font-size: .8rem; color: #293349; margin: 2px 0 auto; }
.ns365-plugin-container .groww-stock-cards strong { font-size: .82rem; }
.ns365-plugin-container .groww-stock-cards .up,
.ns365-plugin-container .groww-mover-table em { color: #00a77a; font-style: normal; font-weight: 700; }
.ns365-plugin-container .groww-stock-cards .down { color: #ef5350; }
.ns365-plugin-container .groww-section-title.movers { margin-top: 32px; }
.ns365-plugin-container .groww-filter-pills { margin-bottom: 14px; flex-wrap: wrap; }
.ns365-plugin-container .groww-filter-pills button { border: 1px solid #dfe4eb; border-radius: 22px; padding: 8px 15px; background: #fff; font-size: .72rem; }
.ns365-plugin-container .groww-filter-pills button.active { border-color: #3f485a; color: #1f2937; }
.ns365-plugin-container .groww-mover-table { border: 1px solid #e0e5ed; border-radius: 12px; background: #fff; overflow: hidden; }
.ns365-plugin-container .groww-mover-table > div { display: grid; grid-template-columns: 1.3fr .8fr .55fr; gap: 10px; padding: 12px 15px; border-bottom: 1px solid #edf0f4; font-size: .74rem; }
.ns365-plugin-container .groww-mover-table > div:last-child { border-bottom: 0; }
.ns365-plugin-container .groww-mover-table .head { color: #7c8597; font-size: .66rem; }
.ns365-plugin-container .groww-investment-card,
.ns365-plugin-container .groww-tools-card { border: 1px solid #e0e5ed; border-radius: 14px; background: #fff; padding: 18px; }
.ns365-plugin-container .groww-investment-card { text-align: center; min-height: 255px; }
.ns365-plugin-container .groww-investment-card h3 { text-align: left; }
.ns365-plugin-container .empty-illustration { width: 74px; height: 74px; border-radius: 50%; background: #e8fbf6; color: #00b386; display: grid; place-items: center; margin: 30px auto 16px; font-size: 1.8rem; }
.ns365-plugin-container .groww-investment-card > strong { color: #303a50; }
.ns365-plugin-container .groww-investment-card p { color: #7b8496; font-size: .73rem; line-height: 1.45; margin-top: 8px; }
.ns365-plugin-container .groww-tools-card { margin-top: 20px; }
.ns365-plugin-container .groww-tools-card button { width: 100%; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 8px; border: 0; background: transparent; padding: 13px 0; border-bottom: 1px solid #edf0f4; text-align: left; color: #344054; cursor: pointer; }
.ns365-plugin-container .groww-tools-card button:last-child { border-bottom: 0; }
.ns365-plugin-container .groww-tools-card button i { color: #00a77a; }
.ns365-plugin-container .groww-tools-card button small { color: #8a93a5; }
.ns365-plugin-container .groww-empty-tab { min-height: 300px; display: grid; place-items: center; align-content: center; text-align: center; color: #6f788b; }
.ns365-plugin-container .groww-empty-tab .empty-illustration { margin: 0 auto 14px; }
.ns365-plugin-container .groww-empty-tab h3 { color: #303a50; margin-bottom: 5px; }

@media (max-width: 980px) {
    .ns365-plugin-container .groww-header { grid-template-columns: 1fr auto; }
    .ns365-plugin-container .groww-search-wrap { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; width: 100%; }
    .ns365-plugin-container .groww-explore-grid { grid-template-columns: 1fr; }
    .ns365-plugin-container .groww-side-column { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .ns365-plugin-container .groww-tools-card { margin-top: 0; }
    .ns365-plugin-container .groww-stock-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
    .ns365-plugin-container .ns365-groww-workspace { margin-top: 16px; border-radius: 10px; }
    .ns365-plugin-container .groww-header { padding: 10px 12px; gap: 10px; }
    .ns365-plugin-container .groww-product-tabs { overflow-x: auto; }
    .ns365-plugin-container .groww-subnav,
    .ns365-plugin-container .groww-index-strip { padding-left: 12px; padding-right: 12px; }
    .ns365-plugin-container .ns365-groww-connect { margin: 12px 12px 0; grid-template-columns: 1fr; }
    .ns365-plugin-container .connect-controls { flex-direction: column; }
    .ns365-plugin-container .connect-controls button { min-height: 42px; }
    .ns365-plugin-container .ns365-groww-status { margin: 12px 12px 0; align-items: flex-start; gap: 8px; flex-direction: column; }
    .ns365-plugin-container .groww-tab-content { padding: 16px 12px 20px; }
    .ns365-plugin-container .groww-stock-cards { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ns365-plugin-container .groww-stock-cards article { min-height: 132px; padding: 12px; }
    .ns365-plugin-container .groww-side-column { grid-template-columns: 1fr; }
    .ns365-plugin-container .groww-mover-table > div { grid-template-columns: 1fr .8fr .55fr; padding: 10px; font-size: .68rem; }
}
@media (max-width: 390px) {
    .ns365-plugin-container .groww-stock-cards { grid-template-columns: 1fr; }
}

/* Groww secure login card v2.1.5 */
.ns365-plugin-container .ns365-groww-login-card {
    margin: 18px 20px 0;
    padding: 18px;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    background: linear-gradient(135deg,#f8fffc 0%,#ffffff 62%);
    box-shadow: 0 8px 24px rgba(15,23,42,.06);
}
.ns365-plugin-container .groww-login-brand { display:flex; align-items:flex-start; gap:12px; }
.ns365-plugin-container .groww-login-logo { width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#00d09c,#5367ff);color:#fff;flex:0 0 42px; }
.ns365-plugin-container .groww-login-brand strong { color:#1f2937;font-size:.94rem; }
.ns365-plugin-container .groww-login-brand p { color:#667085;font-size:.72rem;line-height:1.45;margin:4px 0 0; }
.ns365-plugin-container .groww-login-steps { display:grid;grid-template-columns:auto 24px minmax(320px,1fr);gap:10px;align-items:center;margin-top:15px; }
.ns365-plugin-container .groww-official-login { display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;border-radius:9px;background:#00b386;color:#fff!important;text-decoration:none!important;font-weight:700;font-size:.74rem; }
.ns365-plugin-container .groww-official-login:hover { background:#009e76;color:#fff!important; }
.ns365-plugin-container .groww-step-arrow { text-align:center;color:#98a2b3; }
.ns365-plugin-container .groww-security-note { margin-top:11px;color:#667085;font-size:.66rem;display:flex;gap:7px;align-items:flex-start; }
.ns365-plugin-container .groww-security-note i { color:#00a77a;margin-top:1px; }
.ns365-plugin-container .ns365-groww-status.connected > div:first-child { display:flex;align-items:center;gap:9px; }
.ns365-plugin-container .ns365-groww-status.connected small { display:block;color:#7a8496;font-size:.62rem;margin-top:2px; }
.ns365-plugin-container .connected-actions { display:flex;align-items:center;gap:12px; }
.ns365-plugin-container .groww-disconnect-btn { border:1px solid #e4e7ec;background:#fff;color:#d92d20;border-radius:8px;padding:7px 11px;cursor:pointer;font-size:.68rem; }
@media (max-width: 760px) {
  .ns365-plugin-container .groww-login-steps { grid-template-columns:1fr; }
  .ns365-plugin-container .groww-step-arrow { transform:rotate(90deg); }
  .ns365-plugin-container .connect-controls { width:100%; }
  .ns365-plugin-container .connect-controls input { min-width:0;width:100%; }
  .ns365-plugin-container .ns365-groww-status.connected { align-items:flex-start;gap:10px; }
  .ns365-plugin-container .connected-actions { width:100%;justify-content:space-between; }
}

/* v2.1.6: dashboard starts directly with Groww workspace */
.ns365-plugin-container .ns365-content { padding-top: 16px; }
.ns365-plugin-container .ns365-groww-workspace { margin-top: 0; }
.ns365-plugin-container .ns365-groww-status.admin-required {
    margin: 16px 20px 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    color: #344054;
    background: #fff8e5;
    border: 1px solid #f1c40f;
    border-radius: 10px;
}
.ns365-plugin-container .ns365-groww-status.admin-required > div { display:flex;align-items:center;gap:10px; }
.ns365-plugin-container .ns365-groww-status.admin-required i { color:#b7791f; }
.ns365-plugin-container .ns365-groww-status.admin-required small { display:block;color:#667085;margin-top:3px; }
@media (max-width:640px){
  .ns365-plugin-container .ns365-groww-status.admin-required { margin:12px 12px 0; }
}


/* v2.1.9 Groww live read-only tables */
.ns365-live-table-wrap{overflow:auto;padding:8px 18px 22px}.ns365-live-table{width:100%;border-collapse:collapse;font-size:13px;color:#344054}.ns365-live-table th{background:#f8fafc;color:#667085;text-align:left;padding:11px 12px;border-bottom:1px solid #e4e7ec;white-space:nowrap}.ns365-live-table td{padding:11px 12px;border-bottom:1px solid #eef2f6;white-space:nowrap}.ns365-live-table tr:hover td{background:#f9fafb}.pnl-pos{color:#039855!important;font-weight:700}.pnl-neg{color:#d92d20!important;font-weight:700}.groww-loading,.groww-api-error{margin:22px;padding:24px;border-radius:12px;text-align:center}.groww-loading{background:#f8fafc;color:#475467}.groww-api-error{background:#fff1f0;border:1px solid #fda29b;color:#b42318}.groww-summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;padding:24px}.groww-summary-grid>div{border:1px solid #e4e7ec;border-radius:12px;padding:20px;background:#fff}.groww-summary-grid small{display:block;color:#667085;margin-bottom:8px}.groww-summary-grid strong{font-size:26px;color:#101828}@media(max-width:640px){.groww-summary-grid{grid-template-columns:1fr}.ns365-live-table{font-size:12px}}


/* v2.2.1 searchable TradingView charts */
.groww-search-wrap{position:relative;}
.groww-search-wrap input{padding-right:52px!important;}
.ns365-chart-search-btn{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:10px;background:#00b386;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.ns365-chart-search-btn:hover{background:#079b77;}
.groww-index-strip button{appearance:none;background:transparent;border:0;padding:8px 10px;display:flex;align-items:center;gap:7px;cursor:pointer;color:inherit;font:inherit;border-radius:7px;white-space:nowrap;}
.groww-index-strip button:hover{background:#eef8f5;}
.ns365-chart-panel{padding:18px 20px 22px;background:#fff;}
.ns365-chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}
.ns365-chart-head small{display:block;color:#6b7280;font-size:11px;}
.ns365-chart-head strong{font-size:20px;color:#111827;}
.ns365-chart-actions{display:flex;gap:8px;}
.ns365-chart-actions button,.ns365-chart-actions a{border:1px solid #dbe2ea;background:#fff;color:#374151;padding:8px 12px;border-radius:8px;text-decoration:none;font-size:12px;cursor:pointer;}
.ns365-chart-actions button:hover,.ns365-chart-actions a:hover{border-color:#00b386;color:#008f6b;}
.ns365-chart-frame-wrap{height:560px;border:1px solid #dbe2ea;border-radius:12px;overflow:hidden;background:#fff;}
.ns365-chart-frame-wrap iframe{width:100%;height:100%;border:0;display:block;}
.ns365-chart-note{margin:10px 0 0;color:#6b7280;font-size:12px;}
@media(max-width:768px){.ns365-chart-panel{padding:12px}.ns365-chart-head{align-items:flex-start;flex-direction:column}.ns365-chart-actions{width:100%}.ns365-chart-actions button,.ns365-chart-actions a{flex:1;text-align:center}.ns365-chart-frame-wrap{height:480px}.groww-index-strip button{padding:8px 6px}}
@media(max-width:480px){.ns365-chart-frame-wrap{height:420px}.ns365-chart-head strong{font-size:17px}}

/* v2.2.1 popup-free TradingView symbol overview */
.ns365-tv-clean-widget,.ns365-tv-clean-widget .tradingview-widget-container__widget{width:100%;height:100%;min-height:100%;}
.ns365-tv-clean-widget iframe{width:100%!important;height:100%!important;border:0!important;display:block!important;}


/* v2.2.2 advanced chart + inline option chain */
.ns365-advanced-chart-wrap{min-height:560px;height:62vh;max-height:760px;background:#fff;border:1px solid #dbe3ef;border-radius:14px;overflow:hidden}
.ns365-tv-advanced-widget,.ns365-tv-advanced-widget>div{width:100%!important;height:100%!important;min-height:560px}
.ns365-inline-chain{margin-top:18px;background:#fff;border:1px solid #dbe3ef;border-radius:16px;padding:16px;color:#172033}
.ns365-inline-chain-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:8px}
.ns365-inline-chain-head small{display:block;color:#75809a;font-size:12px;margin-bottom:4px}
.ns365-inline-chain-head strong{font-size:18px}
.ns365-demo-badge{background:#fff3cd;color:#8a5b00;border:1px solid #f1cf65;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800;white-space:nowrap}
.ns365-inline-chain-note{background:#fff8e6;border:1px solid #f3d77b;color:#76580b;border-radius:10px;padding:9px 11px;font-size:12px;margin:10px 0 12px}
.ns365-inline-chain-table-wrap{overflow:auto;border:1px solid #e3e8f0;border-radius:12px}
.ns365-inline-chain-table{width:100%;border-collapse:collapse;min-width:680px;font-size:12px}
.ns365-inline-chain-table th{position:sticky;top:0;background:#f4f7fb;color:#536079;padding:10px;text-align:center;border-bottom:1px solid #e3e8f0}
.ns365-inline-chain-table td{padding:9px 10px;text-align:center;border-bottom:1px solid #eef1f6}
.ns365-inline-chain-table tr.atm{background:#edf6ff;font-weight:700}
.ns365-inline-chain-table .strike{font-weight:700;color:#0c4d8f}
.ns365-inline-chain-table .strike span{display:inline-block;background:#2878ff;color:#fff;border-radius:999px;font-size:9px;padding:2px 5px;margin-left:4px}
.ns365-open-chain-page{margin-top:12px;border:0;background:#2367f2;color:#fff;border-radius:9px;padding:10px 14px;font-weight:700;cursor:pointer}
@media(max-width:768px){.ns365-advanced-chart-wrap,.ns365-tv-advanced-widget,.ns365-tv-advanced-widget>div{min-height:430px;height:58vh}.ns365-inline-chain{padding:12px}.ns365-inline-chain-head{align-items:flex-start}.ns365-inline-chain-head strong{font-size:15px}}

/* v2.2.3 functional modules */
.ns365-sidebar .ns365-page-item{width:100%;border:0;background:transparent;color:inherit;text-align:left;font:inherit;display:flex;align-items:center;gap:10px;cursor:pointer}
.ns365-sidebar .ns365-page-item span:not(.badge){flex:1}
.ns365-sidebar .ns365-page-item:focus-visible{outline:2px solid #3b82f6;outline-offset:-2px}
.ns365-module-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;background:#1a212c;border:1px solid #2a3344;border-radius:10px;padding:12px 14px;margin-bottom:12px}
.ns365-module-toolbar button,.ns365-risk-form button{border:0;border-radius:7px;background:#2563eb;color:#fff;padding:8px 12px;cursor:pointer;margin-left:6px}
.ns365-module-toolbar button.danger{background:#991b1b}
.ns365-risk-form{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr)) auto;gap:10px;background:#1a212c;border:1px solid #2a3344;border-radius:10px;padding:14px}
.ns365-risk-form label{font-size:.7rem;color:#8899bb;display:flex;flex-direction:column;gap:5px}
.ns365-risk-form input{background:#0b0e14;border:1px solid #2a3344;color:#fff;border-radius:7px;padding:9px}
.ns365-risk-form button{align-self:end;margin:0}
.ns365-calculation-result,.ns365-warning-note{margin-top:10px;border-radius:8px;padding:11px 13px;background:#1a212c;border:1px solid #2a3344;font-size:.75rem}
.ns365-warning-note{border-color:#7c5d00;background:#2a2208;color:#facc15}
@media(max-width:768px){.ns365-risk-form{grid-template-columns:1fr 1fr}.ns365-risk-form button{grid-column:1/-1}.ns365-sidebar .ns365-page-item{min-width:max-content;width:auto}}
@media(max-width:480px){.ns365-risk-form{grid-template-columns:1fr}}

/* v2.3.0 live NSE modules */
.ns365-loading-panel,.ns365-api-error{padding:28px;text-align:center;border:1px solid #2a3344;border-radius:10px;background:#151c27;color:#9db0cf}.ns365-api-error{border-color:#7f1d1d;background:#2a1117;color:#fecaca}.ns365-live-quote{padding:18px;border:1px solid #2a3344;border-radius:10px;background:#1a212c}.ns365-live-quote h3{margin:0 0 8px}.ns365-live-quote h3 small{color:#7183a3;font-size:.65em}.ns365-live-quote strong{font-size:1.5rem;margin-right:10px}.ns365-live-quote em{color:#22c55e;font-style:normal}.ns365-live-quote button{float:right;background:#3b82f6;color:#fff;border:0;border-radius:7px;padding:8px 12px}.ns365-pcr-summary{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:10px}.ns365-pcr-summary>div{background:#1a212c;border:1px solid #2a3344;border-radius:9px;padding:12px}.ns365-pcr-summary small{display:block;color:#7183a3}.ns365-pcr-summary strong{font-size:1.05rem}.ns365-chain tr.atm{background:rgba(59,130,246,.14)}
@media(max-width:700px){.ns365-pcr-summary{grid-template-columns:repeat(2,1fr)}.ns365-live-quote button{float:none;display:block;margin-top:12px}}


/* v2.3.3 larger, clearer NSE-style option-chain */
.ns365-chain-full .table-wrap{overflow-x:auto;max-width:100%;border:1px solid #475569;border-radius:10px;background:#111827;scrollbar-width:auto;scrollbar-color:#64748b #0f172a}
.ns365-chain-full .table-wrap::-webkit-scrollbar{height:14px}
.ns365-chain-full .table-wrap::-webkit-scrollbar-track{background:#0f172a;border-radius:999px}
.ns365-chain-full .table-wrap::-webkit-scrollbar-thumb{background:#64748b;border-radius:999px;border:3px solid #0f172a}
.ns365-full-option-table{min-width:2280px;width:max-content;border-collapse:separate;border-spacing:0;font-size:14px;line-height:1.35;white-space:nowrap;font-variant-numeric:tabular-nums}
.ns365-full-option-table th,.ns365-full-option-table td{min-width:88px;padding:12px 13px;text-align:right;border-right:1px solid #3b4759;border-bottom:1px solid #3b4759;color:#f8fafc}
.ns365-full-option-table th{position:sticky;top:0;z-index:4;background:#312e81;color:#fff;text-align:center;font-weight:800;font-size:13px;letter-spacing:.02em}
.ns365-full-option-table .ns365-group-head th{background:#4338ca;font-size:16px;padding:11px 13px;letter-spacing:.08em}
.ns365-full-option-table tbody tr:nth-child(even) td{background-color:rgba(30,41,59,.42)}
.ns365-full-option-table tbody tr:hover td{background-color:rgba(59,130,246,.13)}
.ns365-full-option-table td.strike,.ns365-full-option-table th:nth-child(11){position:sticky;left:0;z-index:3;min-width:112px;text-align:center;box-shadow:-5px 0 10px rgba(0,0,0,.18),5px 0 10px rgba(0,0,0,.18)}
.ns365-full-option-table th:nth-child(11){z-index:6;background:#3730a3}
.ns365-full-option-table td.strike{background:#f8fafc!important;color:#075985;font-weight:900;font-size:15px}
.ns365-full-option-table tr.atm td{background-color:rgba(250,204,21,.16)!important}
.ns365-full-option-table tr.atm td.strike{background:#fde68a!important;color:#78350f!important;font-size:16px}
.ns365-full-option-table .ns365-pos{color:#4ade80;font-weight:800}
.ns365-full-option-table .ns365-neg{color:#fb7185;font-weight:800}
.ns365-full-option-table .ns365-ltp{color:#38bdf8;font-weight:900;text-decoration:underline;text-underline-offset:3px}
.ns365-muted{color:#94a3b8}
@media(max-width:1024px){.ns365-full-option-table{font-size:13px;min-width:2100px}.ns365-full-option-table th,.ns365-full-option-table td{padding:10px 11px;min-width:82px}.ns365-full-option-table td.strike{font-size:14px}}
@media(max-width:768px){.ns365-full-option-table{font-size:12px;min-width:1950px}.ns365-full-option-table th,.ns365-full-option-table td{padding:9px 10px;min-width:76px}.ns365-full-option-table .ns365-group-head th{font-size:14px}.ns365-full-option-table td.strike{min-width:98px;font-size:13px}}

/* v2.3.4 simplified large option chain */
.ns365-simple-option-table{min-width:1320px!important;font-size:18px!important;line-height:1.45!important}
.ns365-simple-option-table th,.ns365-simple-option-table td{min-width:130px!important;padding:16px 18px!important;font-size:18px!important}
.ns365-simple-option-table .ns365-group-head th{font-size:21px!important;padding:14px 18px!important}
.ns365-simple-option-table td.strike,.ns365-simple-option-table th:nth-child(5){min-width:155px!important;font-size:20px!important;position:sticky;left:0;z-index:5;text-align:center}
.ns365-simple-option-table th:nth-child(5){background:#3730a3!important;z-index:7}
.ns365-simple-option-table td.strike{font-size:20px!important}
.ns365-simple-option-table tr.atm td.strike{font-size:22px!important}
.ns365-simple-option-table tfoot th{position:sticky;bottom:0;z-index:6;background:#0f3b63!important;color:#fff!important;font-size:18px!important;border-top:3px solid #38bdf8!important}
.ns365-simple-option-table tfoot th:nth-child(5){left:0;z-index:8;background:#7c3aed!important}
.ns365-chain-total-cards{display:grid;grid-template-columns:repeat(3,minmax(190px,1fr));gap:14px;margin-top:16px;max-width:980px;margin-left:auto;margin-right:auto}
.ns365-chain-total-cards>div{background:#172033;border:1px solid #3b4a64;border-radius:12px;padding:18px 18px;text-align:center;min-height:88px;display:flex;flex-direction:column;justify-content:center}.ns365-chain-total-cards>div:nth-child(-n+3){border-top:3px solid #3b82f6}.ns365-chain-total-cards>div:nth-child(n+4){border-top:3px solid #f59e0b}
.ns365-chain-total-cards small{display:block;color:#a9b7cc;font-size:14px;font-weight:800;letter-spacing:.35px;margin-bottom:8px}
.ns365-chain-total-cards strong{display:block;color:#fff;font-size:24px;line-height:1.15}
@media(max-width:1024px){.ns365-simple-option-table{font-size:16px!important;min-width:1200px!important}.ns365-simple-option-table th,.ns365-simple-option-table td{font-size:16px!important;padding:14px 15px!important;min-width:118px!important}.ns365-chain-total-cards{grid-template-columns:repeat(3,minmax(150px,1fr));max-width:none}.ns365-chain-total-cards strong{font-size:22px}}
@media(max-width:768px){.ns365-simple-option-table{font-size:15px!important;min-width:1080px!important}.ns365-simple-option-table th,.ns365-simple-option-table td{font-size:15px!important;padding:12px 13px!important;min-width:108px!important}.ns365-simple-option-table td.strike,.ns365-simple-option-table th:nth-child(5){min-width:130px!important;font-size:17px!important}.ns365-chain-total-cards{grid-template-columns:repeat(2,minmax(140px,1fr));gap:10px}.ns365-chain-total-cards>div{padding:14px 10px;min-height:78px}.ns365-chain-total-cards small{font-size:12px}.ns365-chain-total-cards strong{font-size:19px}}


/* v2.3.7 option-chain strike, expiry and PCR readability fix */
.ns365-plugin-container #ns365OcExpiry{
  display:block!important;width:100%!important;min-height:48px!important;
  padding:10px 42px 10px 14px!important;background:#101827!important;
  color:#f8fafc!important;border:1px solid #52617a!important;border-radius:8px!important;
  font-size:16px!important;font-weight:800!important;line-height:1.3!important;
  opacity:1!important;-webkit-text-fill-color:#f8fafc!important;
}
.ns365-plugin-container #ns365OcExpiry option{
  background:#fff!important;color:#111827!important;font-size:16px!important;font-weight:700!important;
}
.ns365-plugin-container .ns365-simple-option-table td.strike{
  background:#172033!important;color:#eaf2ff!important;-webkit-text-fill-color:#eaf2ff!important;
  text-shadow:none!important;opacity:1!important;font-weight:900!important;
}
.ns365-plugin-container .ns365-simple-option-table tbody tr:nth-child(even) td.strike{background:#111a2b!important}
.ns365-plugin-container .ns365-simple-option-table tr.atm td.strike{
  background:#fde68a!important;color:#78350f!important;-webkit-text-fill-color:#78350f!important;
}
.ns365-overall-pcr-card{
  max-width:980px;margin:14px auto 0;padding:18px 20px;border:1px solid #475569;
  border-top:3px solid #22c55e;border-radius:12px;background:#172033;text-align:center;
  display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;
}
.ns365-overall-pcr-card small{color:#a9b7cc;font-size:14px;font-weight:900;letter-spacing:.35px}
.ns365-overall-pcr-card strong{color:#fff;font-size:30px;line-height:1;font-weight:900}
.ns365-overall-pcr-card span{color:#cbd5e1;font-size:14px;font-weight:800;text-align:right}
@media(max-width:768px){
  .ns365-plugin-container #ns365OcExpiry{font-size:15px!important;min-height:46px!important}
  .ns365-overall-pcr-card{grid-template-columns:1fr;text-align:center;gap:8px;padding:15px}
  .ns365-overall-pcr-card span{text-align:center}.ns365-overall-pcr-card strong{font-size:27px}
}


/* v2.3.8 scanner symbol resolver + larger clear UI */
.ns365-plugin-container .ns365-scanner{padding:20px 22px!important;border-radius:14px!important;gap:14px!important;min-height:76px}
.ns365-plugin-container .ns365-scanner>i{font-size:22px!important}
.ns365-plugin-container .ns365-scanner input{min-height:48px!important;padding:12px 20px!important;font-size:16px!important;font-weight:650!important;border-radius:12px!important;background:#eaf2ff!important;color:#111827!important;border:2px solid #334155!important}
.ns365-plugin-container .ns365-scanner input::placeholder{color:#64748b!important}
.ns365-plugin-container .ns365-scanner button{min-height:48px!important;padding:12px 25px!important;font-size:15px!important;border-radius:12px!important}
.ns365-plugin-container #ns365ScanResult{font-size:16px!important}
.ns365-plugin-container .ns365-scanner-message{padding:30px 24px!important;font-size:18px!important;line-height:1.65!important;border-radius:14px!important}
.ns365-plugin-container .ns365-scanner-message small{font-size:14px!important;display:inline-block;margin-top:8px}
.ns365-plugin-container .ns365-scanner-actions{margin-top:18px}
.ns365-plugin-container .ns365-scanner-actions button,.ns365-plugin-container .ns365-scanner-result button{background:#2563eb;color:#fff;border:0;border-radius:10px;padding:12px 20px;font-size:15px;font-weight:800;cursor:pointer}
.ns365-plugin-container .ns365-scanner-result{padding:24px!important;border-radius:14px!important}
.ns365-plugin-container .ns365-quote-top{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.ns365-plugin-container .ns365-scanner-result h3{font-size:24px!important;margin:0!important;color:#fff!important}
.ns365-plugin-container .ns365-scanner-result h3 small{font-size:15px!important;color:#93a4bd!important}
.ns365-plugin-container .ns365-quote-price{display:flex;align-items:baseline;gap:16px;margin:20px 0}
.ns365-plugin-container .ns365-quote-price strong{font-size:34px!important;color:#fff!important}
.ns365-plugin-container .ns365-quote-price em{font-size:18px!important;font-weight:800!important}
.ns365-plugin-container .ns365-quote-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px}
.ns365-plugin-container .ns365-quote-grid span{background:#0f172a;border:1px solid #334155;border-radius:10px;padding:14px;text-align:center}
.ns365-plugin-container .ns365-quote-grid small{display:block;color:#94a3b8;font-size:12px;font-weight:800;margin-bottom:6px}
.ns365-plugin-container .ns365-quote-grid b{font-size:18px;color:#fff}
@media(max-width:700px){.ns365-plugin-container .ns365-scanner{padding:16px!important}.ns365-plugin-container .ns365-scanner input,.ns365-plugin-container .ns365-scanner button{width:100%!important}.ns365-plugin-container .ns365-quote-grid{grid-template-columns:repeat(2,1fr)}.ns365-plugin-container .ns365-scanner-result h3{font-size:20px!important}.ns365-plugin-container .ns365-quote-price strong{font-size:28px!important}}


/* v2.3.9 scanner inline chart fix */
.ns365-plugin-container .ns365-scanner-fallback{background:#182235;border:1px solid #334155;border-left:5px solid #3b82f6;border-radius:14px;padding:18px 22px;margin-bottom:16px;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;color:#e5eefc;font-size:16px}
.ns365-plugin-container .ns365-scanner-fallback strong{font-size:20px;color:#fff}
.ns365-plugin-container .ns365-scanner-fallback span{color:#fbbf24;font-weight:700}
.ns365-plugin-container .ns365-scanner-fallback small{width:100%;font-size:14px;color:#a9b8cd}
.ns365-plugin-container .ns365-scanner-chart-card{background:#101827;border:1px solid #334155;border-radius:16px;padding:18px;margin-top:4px;overflow:hidden}
.ns365-plugin-container .ns365-scanner-chart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.ns365-plugin-container .ns365-scanner-chart-head div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.ns365-plugin-container .ns365-scanner-chart-head small{font-size:12px;letter-spacing:.12em;color:#7f93af;font-weight:800}
.ns365-plugin-container .ns365-scanner-chart-head strong{font-size:26px;color:#fff}
.ns365-plugin-container .ns365-scanner-chart-head span{font-size:14px;color:#91a4c0}
.ns365-plugin-container .ns365-scanner-chart-head a{display:inline-flex;align-items:center;gap:8px;background:#2563eb;color:#fff!important;padding:11px 16px;border-radius:10px;font-size:14px;font-weight:800;text-decoration:none!important}
.ns365-plugin-container .ns365-scanner-tv-widget{height:780px;min-height:780px;width:100%}
.ns365-plugin-container .ns365-scanner-quote-summary{margin-bottom:16px}
@media(max-width:800px){.ns365-plugin-container .ns365-scanner-tv-widget{height:620px;min-height:620px}.ns365-plugin-container .ns365-scanner-chart-head{align-items:flex-start}.ns365-plugin-container .ns365-scanner-chart-head strong{font-size:22px}}
@media(max-width:520px){.ns365-plugin-container .ns365-scanner-tv-widget{height:520px;min-height:520px}.ns365-plugin-container .ns365-scanner-chart-card{padding:10px}.ns365-plugin-container .ns365-scanner-chart-head{flex-direction:column}.ns365-plugin-container .ns365-scanner-chart-head a{width:100%;justify-content:center}}


/* v2.4.1 scanner symbol-bound iframe and larger chart */
.ns365-plugin-container .ns365-scanner-tv-widget{height:820px!important;min-height:820px!important;width:100%!important;position:relative;background:#0b0f17;border:1px solid #334155;border-radius:10px;overflow:hidden}
.ns365-plugin-container .ns365-scanner-chart-frame{display:block;width:100%!important;height:100%!important;min-height:820px!important;border:0!important;background:#0b0f17}
@media(max-width:900px){.ns365-plugin-container .ns365-scanner-tv-widget{height:680px!important;min-height:680px!important}.ns365-plugin-container .ns365-scanner-chart-frame{min-height:680px!important}}
@media(max-width:600px){.ns365-plugin-container .ns365-scanner-tv-widget{height:560px!important;min-height:560px!important}.ns365-plugin-container .ns365-scanner-chart-frame{min-height:560px!important}}


/* v2.4.2 exact-symbol chart mount + large dashboard chart */
.ns365-plugin-container .ns365-scanner-tv-widget,
.ns365-plugin-container .ns365-scanner-tv-widget .tradingview-widget-container__widget,
.ns365-plugin-container .ns365-scanner-tv-widget iframe{width:100%!important;height:100%!important;min-height:820px!important}
.ns365-plugin-container .ns365-advanced-chart-wrap{height:820px!important;min-height:820px!important;max-height:none!important}
.ns365-plugin-container .ns365-tv-advanced-widget,
.ns365-plugin-container .ns365-tv-advanced-widget .tradingview-widget-container__widget,
.ns365-plugin-container .ns365-tv-advanced-widget iframe{width:100%!important;height:100%!important;min-height:820px!important}
@media(max-width:900px){
 .ns365-plugin-container .ns365-advanced-chart-wrap,
 .ns365-plugin-container .ns365-tv-advanced-widget,
 .ns365-plugin-container .ns365-tv-advanced-widget .tradingview-widget-container__widget,
 .ns365-plugin-container .ns365-tv-advanced-widget iframe{height:680px!important;min-height:680px!important}
}
@media(max-width:600px){
 .ns365-plugin-container .ns365-advanced-chart-wrap,
 .ns365-plugin-container .ns365-tv-advanced-widget,
 .ns365-plugin-container .ns365-tv-advanced-widget .tradingview-widget-container__widget,
 .ns365-plugin-container .ns365-tv-advanced-widget iframe{height:560px!important;min-height:560px!important}
}

/* v2.4.3 exact TradingView iframe for all charts */
.ns365-plugin-container .ns365-exact-tv-frame{display:block;width:100%!important;height:100%!important;min-height:820px!important;border:0!important;background:#fff}
@media(max-width:900px){.ns365-plugin-container .ns365-exact-tv-frame{min-height:680px!important}}
@media(max-width:600px){.ns365-plugin-container .ns365-exact-tv-frame{min-height:560px!important}}


/* v2.4.4 dashboard chart removed */
.ns365-groww-workspace .groww-index-strip .groww-index-item{display:flex;align-items:center;gap:8px;flex:0 0 auto;padding:10px 14px;background:transparent;border:0;color:#374151;white-space:nowrap}
.ns365-groww-workspace .groww-index-strip .groww-index-item strong{font-size:14px}
.ns365-groww-workspace .groww-index-strip .groww-index-item span{font-size:14px;color:#64748b}
.ns365-groww-workspace .groww-index-strip .groww-index-item em{font-style:normal;font-weight:700;color:#00a67d}
.ns365-groww-workspace .ns365-chart-panel,.ns365-groww-workspace .ns365-inline-chain{display:none!important}


/* v2.5.0 Sector Trade Setup */
.sector-trade-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:20px 22px;margin-bottom:16px;background:#182130;border:1px solid #30415c;border-radius:14px}.sector-trade-heading .eyebrow{font-size:11px;letter-spacing:1.4px;color:#60a5fa;font-weight:800}.sector-trade-heading h2{font-size:24px;margin:5px 0;color:#fff}.sector-trade-heading p{margin:0;color:#9fb0ca;font-size:14px}.sector-trade-heading button{border:0;border-radius:10px;padding:12px 18px;background:#2563eb;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}.sector-source-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#101826;border:1px solid #2b3b55;border-left:4px solid #22c55e;border-radius:12px;padding:15px 17px}.sector-source-bar strong{display:block;color:#fff;font-size:16px}.sector-source-bar span{display:block;color:#94a6c0;font-size:12px;margin-top:3px}.hourly-badge{background:#173a2b!important;color:#4ade80!important;padding:8px 11px;border-radius:20px;font-weight:800}.sector-update-meta{display:flex;justify-content:space-between;gap:12px;padding:9px 4px 13px;color:#8495ae;font-size:12px}.sector-report-card{background:#151e2d;border:1px solid #2b3a50;border-radius:14px;margin-bottom:16px;overflow:hidden}.sector-report-card>header{display:flex;justify-content:space-between;align-items:center;padding:14px 17px;border-bottom:1px solid #2b3a50;background:#192436}.sector-report-card h3{margin:0;color:#fff;font-size:18px}.sector-report-card header span{font-size:11px;color:#8ca0be}.source-pill{padding:6px 10px;border-radius:20px!important;font-weight:800!important}.source-pill.ok{background:#173b2a;color:#4ade80!important}.source-pill.error{background:#4b2027;color:#fca5a5!important}.sector-table-wrap{overflow-x:auto}.sector-report-card table{width:100%;min-width:1120px;border-collapse:collapse}.sector-report-card th{padding:12px 11px;text-align:left;color:#8ea3c2;font-size:11px;text-transform:uppercase;background:#101722;white-space:nowrap}.sector-report-card td{padding:13px 11px;border-top:1px solid #263449;color:#e8eef8;font-size:13px;vertical-align:middle}.sector-report-card td strong{display:block;font-size:14px}.sector-report-card td small{display:block;color:#8192ab;font-size:10px;margin-top:3px}.sector-report-card td.reason{min-width:260px;color:#b6c4d8}.sector-report-card .pos{color:#34d399}.sector-report-card .neg{color:#fb7185}.sector-signal{display:inline-block;padding:5px 10px;border-radius:20px;font-weight:900;font-size:11px}.sector-signal.buy{background:#123b2a;color:#4ade80}.sector-signal.sell{background:#4a1d28;color:#fb7185}.sector-signal.watch{background:#453a16;color:#facc15}.sector-empty{padding:25px;text-align:center;color:#fca5a5}.ns365-api-error{padding:28px;text-align:center;background:#3a1118;border:1px solid #b91c1c;border-radius:12px;color:#fecaca}.ns365-api-error strong,.ns365-api-error span,.ns365-api-error small{display:block;margin:5px}
@media(max-width:700px){.sector-trade-heading{flex-direction:column}.sector-trade-heading h2{font-size:20px}.sector-trade-heading button{width:100%}.sector-source-bar,.sector-update-meta{flex-direction:column;align-items:flex-start}.sector-report-card table{min-width:1000px}}
/* v2.5.2 sector engine JSON-response fix */
.sector-summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0 16px}.sector-summary-grid>div{background:#111a28;border:1px solid #2d3d56;border-top:3px solid #60a5fa;border-radius:12px;padding:15px 17px}.sector-summary-grid span{display:block;color:#90a2bd;font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.6px}.sector-summary-grid strong{display:block;color:#fff;font-size:25px;margin-top:5px}.sector-summary-grid .buy{border-top-color:#22c55e}.sector-summary-grid .buy strong{color:#4ade80}.sector-summary-grid .sell{border-top-color:#ef4444}.sector-summary-grid .sell strong{color:#fb7185}.sector-summary-grid .watch{border-top-color:#eab308}.sector-summary-grid .watch strong{color:#facc15}.sector-stale-note{padding:12px 15px;margin-bottom:14px;border:1px solid #a16207;background:#332704;color:#fde68a;border-radius:10px;font-size:13px;font-weight:700}@media(max-width:700px){.sector-summary-grid{grid-template-columns:repeat(2,1fr)}}
/* v2.5.3 all-day hourly sector analysis + closed setup archive */
.closed-setups-table{width:100%;min-width:850px;border-collapse:collapse}.closed-setups-table th{padding:12px;text-align:left;color:#8ea3c2;background:#101722;font-size:11px}.closed-setups-table td{padding:12px;border-top:1px solid #263449;color:#e8eef8;font-size:13px}.closed-setups-table td small{display:block;color:#8192ab}.archive-status{display:inline-block;padding:5px 9px;border-radius:16px;background:#3b2c0a;color:#facc15;font-weight:800}.source-pill.ok{background:#173b2a;color:#4ade80!important}


/* v2.5.4 sector reports: full-width readable cards, no horizontal slide */
.sector-report-card .sector-table-wrap{overflow:visible;padding:12px}
.sector-report-card .sector-trade-table{display:block;width:100%;min-width:0!important;border-collapse:separate}
.sector-report-card .sector-trade-table thead{display:none}
.sector-report-card .sector-trade-table tbody{display:grid;grid-template-columns:1fr;gap:12px}
.sector-report-card .sector-trade-table tr{display:grid;grid-template-columns:1.2fr .9fr .9fr .9fr;gap:0;background:#111a28;border:1px solid #30415a;border-radius:12px;overflow:hidden}
.sector-report-card .sector-trade-table td{display:flex;min-width:0;min-height:86px;padding:15px 16px!important;border:0!important;border-right:1px solid #2b3a50!important;border-bottom:1px solid #2b3a50!important;flex-direction:column;justify-content:center;font-size:15px!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
.sector-report-card .sector-trade-table td:nth-child(4n){border-right:0!important}
.sector-report-card .sector-trade-table td:nth-child(n+5){border-bottom:0!important}
.sector-report-card .sector-trade-table td::before{content:attr(data-label);display:block;margin-bottom:7px;color:#8ea3c2;font-size:11px;font-weight:800;letter-spacing:.55px;text-transform:uppercase}
.sector-report-card .sector-trade-table td strong{font-size:16px!important;line-height:1.35}
.sector-report-card .sector-trade-table td small{font-size:12px!important;margin-top:5px}
.sector-report-card .sector-trade-table td.reason{min-width:0!important;color:#c2cee0;font-size:14px!important}
.sector-report-card .sector-trade-table td[data-label="Targets"] strong{color:#34d399}
.sector-report-card .sector-trade-table td[data-label="Stop Loss"] strong{color:#fb7185}
.sector-report-card .sector-trade-table td[data-label="Stock"] strong{font-size:17px!important}
.sector-report-card .sector-trade-table .sector-signal{font-size:12px;padding:6px 12px;align-self:flex-start}
@media(max-width:900px){
 .sector-report-card .sector-trade-table tr{grid-template-columns:1fr 1fr}
 .sector-report-card .sector-trade-table td:nth-child(4n){border-right:1px solid #2b3a50!important}
 .sector-report-card .sector-trade-table td:nth-child(2n){border-right:0!important}
 .sector-report-card .sector-trade-table td:nth-child(n+5){border-bottom:1px solid #2b3a50!important}
 .sector-report-card .sector-trade-table td:nth-last-child(-n+2){border-bottom:0!important}
}
@media(max-width:520px){
 .sector-report-card .sector-table-wrap{padding:8px}
 .sector-report-card .sector-trade-table tr{grid-template-columns:1fr}
 .sector-report-card .sector-trade-table td{min-height:74px;border-right:0!important;border-bottom:1px solid #2b3a50!important;padding:13px 14px!important}
 .sector-report-card .sector-trade-table td:last-child{border-bottom:0!important}
 .sector-report-card .sector-trade-table td strong{font-size:15px!important}
}


/* v2.5.5 clickable sector and signal filters */
.sector-filter-panel{margin:14px 0 12px;padding:14px;background:#111a28;border:1px solid #2d3d56;border-radius:12px}
.sector-filter-title{color:#9db0cb;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.7px;margin-bottom:10px}
.sector-filter-buttons{display:flex;flex-wrap:wrap;gap:9px}
.sector-filter-btn{appearance:none;border:1px solid #36506f;background:#182438;color:#dbeafe;border-radius:10px;padding:10px 15px;font-size:14px;font-weight:800;cursor:pointer;transition:.18s ease}
.sector-filter-btn:hover{border-color:#60a5fa;background:#1d3150}
.sector-filter-btn.active{background:#2563eb;border-color:#60a5fa;color:#fff;box-shadow:0 0 0 2px rgba(96,165,250,.16)}
.sector-summary-grid .summary-filter{appearance:none;width:100%;text-align:left;cursor:pointer;color:inherit;font:inherit;transition:.18s ease}
.sector-summary-grid .summary-filter:hover{transform:translateY(-2px);border-color:#60a5fa}
.sector-summary-grid .summary-filter.active{box-shadow:0 0 0 2px #60a5fa inset,0 6px 20px rgba(0,0,0,.18)}
.sector-summary-grid .summary-filter.buy.active{box-shadow:0 0 0 2px #22c55e inset,0 6px 20px rgba(0,0,0,.18)}
.sector-summary-grid .summary-filter.sell.active{box-shadow:0 0 0 2px #ef4444 inset,0 6px 20px rgba(0,0,0,.18)}
.sector-summary-grid .summary-filter.watch.active{box-shadow:0 0 0 2px #eab308 inset,0 6px 20px rgba(0,0,0,.18)}
.sector-summary-grid .summary-filter small{display:block;color:#7185a3;font-size:10px;margin-top:5px;font-weight:700}
.active-filter-note{display:flex;gap:5px;align-items:center;flex-wrap:wrap;margin:0 0 14px;padding:10px 13px;border:1px solid #294568;background:#10213a;border-radius:10px;color:#9eb6d7;font-size:13px}
.active-filter-note strong{color:#fff}
@media(max-width:700px){.sector-filter-btn{flex:1 1 calc(50% - 9px);text-align:center}.sector-filter-buttons{gap:8px}}
@media(max-width:420px){.sector-filter-btn{flex-basis:100%}}

/* v2.6.0 Market News module */
.ns365-news-shell{font-family:Inter,sans-serif;color:#eaf2ff}.ns365-news-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;background:#182235;border:1px solid #31425f;border-radius:14px}.ns365-news-kicker{font-size:11px;font-weight:800;letter-spacing:1.5px;color:#59a3ff}.ns365-news-head h2{margin:5px 0 4px;font-size:25px;color:#fff}.ns365-news-head p{margin:0;color:#9fb0cc;font-size:13px}.ns365-news-refresh{border:0;border-radius:10px;background:#2675ed;color:#fff;font-weight:800;padding:13px 18px;cursor:pointer;white-space:nowrap}.ns365-news-source-filters{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}.ns365-news-source-filters button{border:1px solid #385173;background:#142033;color:#dce9ff;border-radius:9px;padding:9px 14px;font-weight:700;cursor:pointer}.ns365-news-source-filters button.active{background:#2675ed;border-color:#5aa0ff;color:#fff;box-shadow:0 0 0 3px rgba(38,117,237,.18)}.ns365-news-meta{padding:10px 13px;border-radius:9px;background:#101a2a;border:1px solid #293b57;color:#93a9c9;font-size:12px;margin-bottom:12px}.ns365-news-list{display:grid;gap:10px}.ns365-news-card{position:relative;display:flex;gap:14px;padding:15px 16px;background:#172235;border:1px solid #2f4260;border-left:4px solid #4c78b8;border-radius:12px}.ns365-news-card.high{border-left-color:#ff4d62}.ns365-news-card.medium{border-left-color:#ffb800}.ns365-news-rank{flex:0 0 31px;height:31px;border-radius:50%;display:grid;place-items:center;background:#0c1523;color:#8fb7f3;font-weight:800}.ns365-news-main{min-width:0;flex:1}.ns365-news-tags{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-bottom:7px}.ns365-news-tags span{font-size:10px;font-weight:800;padding:4px 7px;border-radius:999px}.ns365-news-tags .source{background:#203553;color:#9bc5ff}.ns365-news-tags .impact{background:#253147;color:#becae0}.ns365-news-tags .impact.high{background:#4a1f2a;color:#ff8290}.ns365-news-tags .impact.medium{background:#493b16;color:#ffd35c}.ns365-news-tags .sentiment.bullish{background:#123d2b;color:#46e48e}.ns365-news-tags .sentiment.bearish{background:#48202a;color:#ff7383}.ns365-news-tags .sentiment.neutral{background:#35384b;color:#c4c8e5}.ns365-news-tags .time{background:transparent;color:#8397b7}.ns365-news-card h3{margin:0 0 7px;font-size:16px;line-height:1.42}.ns365-news-card h3 a{color:#f7faff;text-decoration:none}.ns365-news-card h3 a:hover{color:#69aaff}.ns365-news-card p{margin:0;color:#a8b7cf;font-size:12.5px;line-height:1.55}.ns365-news-actions{display:flex;gap:9px;margin-top:10px}.ns365-news-actions a{display:inline-flex;align-items:center;gap:6px;text-decoration:none;padding:7px 10px;border-radius:7px;background:#223654;color:#bcd6ff;font-weight:700;font-size:11px}.ns365-news-actions a.hindi{background:#3b2457;color:#dfbdff}.ns365-news-note,.ns365-news-loading,.ns365-news-empty,.ns365-news-error{margin-top:12px;padding:14px;border-radius:10px;background:#101a29;border:1px solid #2b3b55;color:#9fb0ca;font-size:12px}.ns365-news-error{border-color:#7e2934;color:#ff9da8;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.ns365-news-error button{background:#e94a5c;color:#fff;border:0;border-radius:7px;padding:7px 11px;cursor:pointer}@media(max-width:720px){.ns365-news-head{align-items:flex-start;flex-direction:column}.ns365-news-refresh{width:100%}.ns365-news-source-filters{display:grid;grid-template-columns:1fr 1fr}.ns365-news-source-filters button:first-child{grid-column:1/-1}.ns365-news-card{padding:13px 12px;gap:9px}.ns365-news-rank{flex-basis:27px;height:27px}.ns365-news-card h3{font-size:14px}.ns365-news-actions{flex-wrap:wrap}}

/* v2.6.1 - FII/DII top panel + clean news summary */
.ns365-fii-dii-panel{margin:14px 0 12px;padding:14px;background:#111c2d;border:1px solid #304563;border-radius:14px}.ns365-flow-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.ns365-flow-head b{display:block;color:#fff;font-size:15px}.ns365-flow-head small{display:block;color:#8fa5c5;margin-top:4px;font-size:11px}.ns365-flow-head em{font-style:normal;font-size:10px;font-weight:900;padding:6px 9px;border-radius:999px;background:#2b3445;color:#c7d2e7}.ns365-flow-head em.live{background:#123d2b;color:#45e28c}.ns365-flow-head em.last_cache{background:#4a3515;color:#ffd05a}.ns365-flow-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.ns365-flow-card{min-width:0;text-align:left;border:1px solid #30445f;border-radius:10px;padding:11px 10px;background:#172337;color:#fff;cursor:default}.ns365-flow-card span{display:block;color:#91a9ca;font-weight:800;font-size:9px;letter-spacing:.6px}.ns365-flow-card strong{display:block;margin-top:7px;font-size:14px;white-space:nowrap}.ns365-flow-card.buy{border-top:3px solid #22c55e}.ns365-flow-card.sell{border-top:3px solid #ef4444}.ns365-flow-card.net-positive{border-top:3px solid #3b82f6}.ns365-flow-card.net-positive strong{color:#4ade80}.ns365-flow-card.net-negative{border-top:3px solid #f97316}.ns365-flow-card.net-negative strong{color:#fb7185}.ns365-flow-message{margin-top:9px;color:#e9b85c;font-size:10px}.ns365-news-title-btn{border:0;background:transparent;padding:0;color:#f7faff;text-align:left;font:inherit;font-weight:800;cursor:pointer}.ns365-news-title-btn:hover{color:#69aaff}.ns365-news-actions button{display:inline-flex;align-items:center;gap:6px;border:0;padding:7px 10px;border-radius:7px;background:#223654;color:#bcd6ff;font-weight:700;font-size:11px;cursor:pointer}.ns365-news-modal{position:fixed;inset:0;z-index:999999;background:rgba(2,8,18,.78);display:none;align-items:center;justify-content:center;padding:20px}.ns365-news-modal.open{display:flex}.ns365-news-modal-card{position:relative;width:min(720px,96vw);max-height:86vh;overflow:auto;background:#142033;border:1px solid #385173;border-radius:16px;padding:24px;color:#eaf2ff;box-shadow:0 24px 80px rgba(0,0,0,.45)}.ns365-news-modal-card .close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#fff;font-size:28px;cursor:pointer}.ns365-news-modal-card h2{font-size:23px;line-height:1.35;margin:14px 35px 18px 0}.ns365-news-modal-card h4{margin:18px 0 7px;color:#82b5ff}.ns365-news-modal-card p{color:#c2cee0;line-height:1.7;font-size:14px}
@media(max-width:1050px){.ns365-flow-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:620px){.ns365-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ns365-flow-head{align-items:flex-start;flex-direction:column}.ns365-flow-card strong{font-size:13px}}

/* v2.6.2 - structured clean Hindi market-news summaries */
.ns365-news-card-points{margin:8px 0 0;padding-left:20px;color:#c7d4e8;font-size:13px;line-height:1.65}.ns365-news-card-points li+li{margin-top:4px}.ns365-news-mini{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;color:#91a8c8;font-size:11px}.ns365-news-mini b{color:#fff}.ns365-news-research-card{width:min(840px,96vw)}.ns365-news-research-card h2{color:#fff}.ns365-news-research-card section{margin-top:16px;padding:15px 16px;background:#101a2a;border:1px solid #2a3d59;border-radius:12px}.ns365-news-research-card section h4{margin:0 0 10px;color:#84b8ff;font-size:16px}.ns365-news-research-card section p,.ns365-news-research-card section li{color:#d0dbeb;line-height:1.75;font-size:14px}.ns365-news-research-card section ul{margin:0;padding-left:21px}.ns365-news-research-card section li+li{margin-top:7px}.ns365-news-verdict{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0}.ns365-news-verdict>div{background:#0e1827;border:1px solid #314662;border-radius:11px;padding:13px}.ns365-news-verdict small{display:block;color:#8fa6c5;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}.ns365-news-verdict strong{display:block;margin-top:7px;color:#fff;font-size:18px}.ns365-news-stock-pills{display:flex;flex-wrap:wrap;gap:8px}.ns365-news-stock-pills span{background:#193960;border:1px solid #3265a0;color:#d9ebff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800}.ns365-news-source-box{margin-top:16px;padding:14px 16px;background:#182235;border-left:4px solid #4b91ef;border-radius:10px}.ns365-news-source-box b,.ns365-news-source-box span,.ns365-news-source-box small{display:block}.ns365-news-source-box b{color:#91bbf4;font-size:11px;text-transform:uppercase}.ns365-news-source-box span{color:#fff;margin-top:7px;line-height:1.5}.ns365-news-source-box small{color:#92a5c1;margin-top:10px;line-height:1.5}@media(max-width:640px){.ns365-news-verdict{grid-template-columns:1fr}.ns365-news-research-card{padding:18px 14px}.ns365-news-research-card h2{font-size:20px}}

/* v2.6.4 - detailed research summary cards */
.ns365-news-easy-summary{border-left:4px solid #22c55e!important;background:#10251f!important}.ns365-news-easy-summary p{font-size:15px!important;color:#e1f7eb!important}.ns365-news-company-list{display:grid;gap:10px}.ns365-news-company-list>div{padding:13px 14px;border:1px solid #314866;border-radius:10px;background:#0d1827}.ns365-news-company-list b{display:block;color:#fff;font-size:15px;margin-bottom:5px}.ns365-news-company-list p{margin:0!important;color:#c5d3e7!important}.ns365-news-research-card section{overflow-wrap:anywhere}


/* v2.6.5 - 15-minute news + FII/DII weekly/monthly history */
.ns365-flow-history-tabs{display:flex;gap:8px;margin-top:12px}.ns365-flow-history-tabs button{border:1px solid #355073;background:#17243a;color:#a9bdd9;border-radius:8px;padding:7px 12px;font-weight:800;cursor:pointer}.ns365-flow-history-tabs button.active{background:#2563eb;color:#fff;border-color:#60a5fa}.ns365-flow-history{margin-top:9px;overflow:auto;border:1px solid #2f4563;border-radius:10px}.ns365-flow-history table{width:100%;border-collapse:collapse;min-width:430px}.ns365-flow-history th,.ns365-flow-history td{padding:9px 11px;border-bottom:1px solid #263a55;text-align:left;font-size:12px}.ns365-flow-history th{color:#8fb2df;background:#0f1a2b}.ns365-flow-history td{color:#dce8f8}.ns365-flow-history .pos{color:#4ade80}.ns365-flow-history .neg{color:#fb7185}.ns365-news-tags .source+.source{margin-left:3px}

/* v2.7.0 - SS Journal Market Activity + SEBI Watch */
.ns365-journal-intel{font-family:Inter,sans-serif;color:#eef4ff}.ns365-journal-hero{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:22px;border:1px solid #30425e;border-radius:16px;background:linear-gradient(135deg,#172236,#101827);margin-bottom:14px}.ns365-journal-kicker{font-size:12px;letter-spacing:1.4px;color:#60a5fa;font-weight:800}.ns365-journal-hero h2{font-size:25px;margin:8px 0;color:#fff}.ns365-journal-hero p{margin:0;color:#9fb2cf;line-height:1.65}.ns365-journal-refresh{border:0;border-radius:12px;padding:13px 18px;background:#2563eb;color:#fff;font-weight:800;cursor:pointer;white-space:nowrap}.ns365-journal-controls{padding:16px;border:1px solid #2a3b56;border-radius:14px;background:#121d2d;margin-bottom:12px}.ns365-journal-search{display:flex;align-items:center;gap:10px;background:#09111d;border:1px solid #365075;border-radius:12px;padding:0 14px;margin-bottom:12px}.ns365-journal-search input{width:100%;padding:13px 0;border:0!important;outline:0;background:transparent!important;color:#fff!important;font-size:15px}.ns365-journal-filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.ns365-journal-filter-row button{border:1px solid #385174;border-radius:10px;background:#17263a;color:#dce9ff;padding:9px 12px;font-weight:700;cursor:pointer}.ns365-journal-filter-row button.active{background:#2563eb;border-color:#60a5fa;color:#fff;box-shadow:0 0 0 2px rgba(59,130,246,.18)}.ns365-journal-filter-row.compact button{padding:7px 11px;font-size:12px}.ns365-journal-meta{padding:11px 14px;border-radius:10px;background:#10223b;border:1px solid #27466d;color:#a9c5ec;margin-bottom:12px;font-size:13px}.ns365-journal-feed{display:grid;gap:13px}.ns365-journal-card{background:#131f30;border:1px solid #30425d;border-left:5px solid #64748b;border-radius:15px;padding:17px;box-shadow:0 8px 24px rgba(0,0,0,.16)}.ns365-journal-card.positive{border-left-color:#22c55e}.ns365-journal-card.negative{border-left-color:#ef4444}.ns365-journal-card.watch{border-left-color:#f59e0b}.ns365-journal-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.ns365-journal-symbol strong{font-size:20px;color:#fff}.ns365-journal-symbol small{display:block;color:#72a7e8;margin-top:3px}.ns365-journal-badges{display:flex;gap:7px;flex-wrap:wrap}.ns365-journal-badges span{padding:6px 9px;border-radius:999px;font-size:11px;font-weight:800;background:#22324a}.ns365-journal-badges .high,.ns365-journal-badges .negative{background:#552333;color:#ff93a1}.ns365-journal-badges .positive{background:#174c35;color:#74f0a8}.ns365-journal-badges .watch{background:#594111;color:#ffd76b}.ns365-journal-card h3{font-size:18px;line-height:1.45;margin:14px 0;color:#fff}.ns365-journal-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ns365-journal-detail-grid section{padding:13px;border-radius:11px;background:#0d1725;border:1px solid #263952}.ns365-journal-detail-grid h4{margin:0 0 8px;color:#7eb5ff;font-size:13px}.ns365-journal-detail-grid p{margin:0;color:#cedbf0;line-height:1.6}.ns365-journal-footer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:13px;padding-top:12px;border-top:1px solid #283a53}.ns365-journal-footer>div:first-child{margin-right:auto}.ns365-journal-footer b,.ns365-journal-footer small{display:block}.ns365-journal-footer small{color:#8298b8;margin-top:3px}.ns365-journal-sources{display:flex;gap:5px;flex-wrap:wrap}.ns365-journal-sources span{background:#1d3553;color:#9fc8ff;padding:5px 8px;border-radius:7px;font-size:11px;font-weight:700}.ns365-journal-footer a{background:#23446e;color:#fff!important;text-decoration:none;padding:8px 11px;border-radius:8px;font-weight:700}.ns365-journal-disclaimer{margin-top:14px;padding:12px;border-radius:10px;background:#352b05;border:1px solid #786310;color:#f6d86d;font-size:12px;line-height:1.55}@media(max-width:700px){.ns365-journal-hero{flex-direction:column}.ns365-journal-refresh{width:100%}.ns365-journal-detail-grid{grid-template-columns:1fr}.ns365-journal-card-top{align-items:flex-start;flex-direction:column}.ns365-journal-hero h2{font-size:21px}}


/* v2.7.1 Detailed Journal Story */
.ns365-journal-details-btn{border:0;background:#2563eb;color:#fff;padding:9px 12px;border-radius:8px;font-weight:800;cursor:pointer}.ns365-journal-details-btn:hover{background:#1d4ed8}.ns365-modal-open{overflow:hidden}.ns365-journal-modal{position:fixed;inset:0;z-index:999999;background:rgba(2,8,18,.82);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:22px}.ns365-journal-modal-card{position:relative;width:min(920px,96vw);max-height:92vh;overflow:auto;background:#101c2d;border:1px solid #3a5274;border-radius:18px;padding:24px;color:#eaf2ff;box-shadow:0 28px 80px rgba(0,0,0,.55)}.ns365-journal-modal-close{position:absolute;right:16px;top:12px;border:0;background:transparent;color:#fff;font-size:30px;cursor:pointer}.ns365-journal-modal-head{display:flex;justify-content:space-between;gap:18px;padding-right:42px;border-bottom:1px solid #2f435f;padding-bottom:16px}.ns365-journal-modal-head small{color:#70a7ef;font-weight:800}.ns365-journal-modal-head h2{font-size:25px;line-height:1.4;margin:8px 0 0;color:#fff}.ns365-journal-modal-card section{margin-top:16px;padding:17px;border:1px solid #2d4260;border-radius:13px;background:#0b1524}.ns365-journal-modal-card section.regulatory{border-color:#7f3342;background:#21111a}.ns365-journal-modal-card section h3{margin:0 0 10px;color:#78b3ff;font-size:17px}.ns365-journal-modal-card section p,.ns365-journal-modal-card section li{font-size:15px;line-height:1.75;color:#d8e5f8}.ns365-journal-modal-card section ul{margin:0;padding-left:22px;display:grid;gap:8px}.ns365-journal-modal-foot{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:18px}.ns365-journal-modal-foot small{margin-left:auto;color:#8da3c2}.ns365-journal-modal-foot a{background:#234b7b;color:#fff!important;text-decoration:none;padding:9px 12px;border-radius:9px;font-weight:800}.ns365-journal-modal-note{font-size:12px;line-height:1.55;color:#9bb0cf;background:#2a2307;border:1px solid #6d5b12;border-radius:10px;padding:11px;margin:15px 0 0}@media(max-width:700px){.ns365-journal-modal{padding:8px}.ns365-journal-modal-card{padding:17px}.ns365-journal-modal-head{flex-direction:column}.ns365-journal-modal-head h2{font-size:20px}.ns365-journal-modal-card section p,.ns365-journal-modal-card section li{font-size:14px}.ns365-journal-modal-foot small{margin-left:0;width:100%}}

/* v2.7.3 - Large clear SS Risk Meter only */
.ns365-risk-meter-card{width:100%;max-width:none;color:#f8fafc}
.ns365-risk-toolbar{padding:20px 22px;border-radius:14px;margin-bottom:16px;min-height:72px}
.ns365-risk-toolbar>div{display:flex;flex-direction:column;gap:6px}
.ns365-risk-toolbar strong{font-size:22px;line-height:1.25;color:#fff}
.ns365-risk-toolbar strong i{color:#60a5fa;margin-right:9px}
.ns365-risk-toolbar small{font-size:14px;color:#9fb0cc}
.ns365-risk-toolbar>span{font-size:14px;font-weight:700;color:#bfdbfe;background:#172554;border:1px solid #274690;border-radius:999px;padding:9px 14px}
.ns365-risk-form{grid-template-columns:repeat(4,minmax(170px,1fr));gap:16px;padding:22px;border-radius:14px;background:#151e2d}
.ns365-risk-form label{font-size:14px;font-weight:700;color:#a9bce0;gap:9px}
.ns365-risk-form label span{min-height:20px}
.ns365-risk-form input{height:52px;padding:0 15px;font-size:18px;font-weight:700;border-radius:10px;border:1px solid #3a4b66;background:#080d16;color:#fff;outline:none;transition:.2s}
.ns365-risk-form input:focus{border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.18)}
.ns365-risk-actions{grid-column:1/-1;display:flex;gap:12px;justify-content:flex-end;margin-top:2px}
.ns365-risk-form .ns365-risk-actions button{height:50px;min-width:155px;padding:0 22px;border-radius:10px;font-size:16px;font-weight:800;margin:0}
.ns365-risk-form .ns365-risk-actions button.secondary{background:#263247;border:1px solid #455674;color:#e5edff}
.ns365-risk-result-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;margin-top:16px;padding:0;background:transparent;border:0}
.ns365-risk-result-grid>div{min-height:112px;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:18px;border:1px solid #34445f;border-radius:13px;background:#182235;text-align:center}
.ns365-risk-result-grid>div:nth-child(1){border-top:3px solid #3b82f6}.ns365-risk-result-grid>div:nth-child(2){border-top:3px solid #f59e0b}.ns365-risk-result-grid>div:nth-child(3){border-top:3px solid #22c55e}.ns365-risk-result-grid>div:nth-child(4){border-top:3px solid #a855f7}
.ns365-risk-result-grid small{font-size:13px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:#9fb0cc}
.ns365-risk-result-grid strong{font-size:27px;line-height:1.2;color:#fff}
.ns365-risk-message{margin-top:14px;padding:15px 18px;border-radius:10px;border:1px solid #334155;background:#111827;color:#bfdbfe;font-size:15px;font-weight:600;line-height:1.55}
.ns365-risk-message.success{border-color:#166534;background:#0d281b;color:#86efac}.ns365-risk-message.error{border-color:#991b1b;background:#321217;color:#fecaca}
.ns365-risk-meter-card .ns365-warning-note{margin-top:14px;padding:16px 18px;font-size:14px;line-height:1.55;border-radius:10px}.ns365-risk-meter-card .ns365-warning-note i{margin-right:8px}
@media(max-width:1050px){.ns365-risk-form{grid-template-columns:repeat(2,minmax(180px,1fr))}.ns365-risk-result-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.ns365-risk-toolbar{align-items:flex-start}.ns365-risk-toolbar strong{font-size:19px}.ns365-risk-form{grid-template-columns:1fr;padding:16px}.ns365-risk-actions{flex-direction:column}.ns365-risk-form .ns365-risk-actions button{width:100%}.ns365-risk-result-grid{grid-template-columns:1fr 1fr;gap:10px}.ns365-risk-result-grid>div{min-height:100px;padding:13px}.ns365-risk-result-grid strong{font-size:21px}.ns365-risk-result-grid small{font-size:11px}}


/* v2.7.4 Smart Buy/Sell Finder */
.ns365-bs-shell{font-size:15px}.ns365-bs-controls{background:#131c2a;border:1px solid #2d3c55;border-radius:14px;padding:16px;margin:12px 0;display:grid;gap:14px}.bs-search{position:relative}.bs-search i{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#60a5fa}.bs-search input{width:100%;height:48px;border:1px solid #3a4c69;border-radius:11px;background:#0b1320;color:#fff;padding:0 15px 0 43px;font-size:15px}.bs-filter-block small{display:block;color:#9eb0cb;font-weight:800;margin-bottom:8px}.bs-pills{display:flex;gap:8px;flex-wrap:wrap}.bs-pills button{border:1px solid #385071;background:#18243a;color:#d7e4f7;border-radius:9px;padding:9px 13px;font-weight:800;cursor:pointer}.bs-pills button.active{background:#2563eb;border-color:#60a5fa;color:#fff;box-shadow:0 0 0 2px rgba(59,130,246,.18)}.ns365-bs-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ns365-bs-card{appearance:none;text-align:left;background:#182130;border:1px solid #30415b;border-left:5px solid #facc15;border-radius:13px;padding:15px;color:#fff;cursor:pointer;transition:.2s;min-height:128px}.ns365-bs-card:hover{transform:translateY(-2px);border-color:#60a5fa;box-shadow:0 10px 28px rgba(0,0,0,.24)}.ns365-bs-card.buy{border-left-color:#22c55e}.ns365-bs-card.sell{border-left-color:#fb7185}.bs-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.bs-top strong{font-size:17px}.bs-top span{color:#8da2c0;font-size:11px}.bs-price{font-size:20px;font-weight:900;margin:12px 0}.bs-bottom{display:flex;justify-content:space-between;align-items:center}.bs-bottom b{font-size:13px}.buy .bs-bottom b{color:#4ade80}.sell .bs-bottom b{color:#fb7185}.watch .bs-bottom b{color:#facc15}.bs-bottom em{font-style:normal;color:#d5e3f7;font-weight:900}.bs-meter{height:7px;background:#0d1521;border-radius:10px;overflow:hidden;margin-top:10px}.bs-meter i{display:block;height:100%;background:linear-gradient(90deg,#2563eb,#22c55e)}.ns365-bs-empty{grid-column:1/-1;padding:30px;text-align:center;background:#141d2b;border:1px dashed #3c4b63;border-radius:12px;color:#aebdd2}.ns365-bs-modal-backdrop{position:fixed;inset:0;background:rgba(1,6,15,.82);z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px}.ns365-bs-modal{position:relative;width:min(920px,96vw);max-height:92vh;overflow:auto;background:#111b2b;border:1px solid #3b4f70;border-radius:18px;padding:24px;color:#fff;box-shadow:0 25px 80px rgba(0,0,0,.55)}.bs-close{position:absolute;right:16px;top:12px;background:none;border:0;color:#fff;font-size:30px;cursor:pointer}.ns365-bs-modal header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;border-bottom:1px solid #2c3c55;padding-bottom:18px}.ns365-bs-modal header small{color:#7fb2ff;text-transform:uppercase;font-weight:800}.ns365-bs-modal h2{font-size:32px;margin:4px 0}.ns365-bs-modal header p{font-size:17px;margin:0;color:#aabbd2}.bs-big-signal{padding:13px 18px;border-radius:13px;background:#3b3213;color:#facc15;font-size:15px;font-weight:900;text-align:center}.bs-big-signal.buy{background:#123824;color:#4ade80}.bs-big-signal.sell{background:#481c28;color:#fb7185}.bs-big-signal strong{display:block;font-size:26px;margin-top:4px}.bs-score-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:11px;margin:18px 0}.bs-score-grid>div{background:#0b1422;border:1px solid #2d3e58;border-radius:12px;padding:15px}.bs-score-grid span{display:block;color:#92a6c4;font-size:12px;margin-bottom:7px}.bs-score-grid strong{font-size:19px}.pos{color:#4ade80!important}.neg{color:#fb7185!important}.bs-levels{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.bs-levels section{background:#152033;border:1px solid #30435f;border-radius:13px;padding:16px}.bs-levels h3{margin:0 0 10px;color:#7db2ff}.bs-levels p{display:flex;justify-content:space-between;border-top:1px solid #273953;padding:10px 0;margin:0;color:#9db0cb}.bs-levels b{color:#fff}
@media(max-width:980px){.ns365-bs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-score-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.ns365-bs-grid{grid-template-columns:1fr}.ns365-bs-card{min-height:116px}.ns365-bs-modal{padding:18px}.ns365-bs-modal header{display:block}.bs-big-signal{margin-top:12px}.bs-levels{grid-template-columns:1fr}.bs-score-grid{grid-template-columns:1fr 1fr}.bs-pills button{padding:8px 10px}}

/* v2.7.5 15-minute confirmed Buy/Sell analysis */
.ns365-bs-updatebar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;margin:0 0 14px;border:1px solid #2b3c57;border-radius:12px;background:#111d2f;color:#a8bad4;font-size:14px}.ns365-bs-updatebar button{border:1px solid #31517b;background:#18345b;color:#fff;border-radius:9px;padding:9px 14px;font-weight:800;cursor:pointer}.ns365-bs-updatebar button:hover{background:#24508a}.bs-entry-hint{display:block;margin-top:-4px;margin-bottom:10px;color:#8fb2df;font-size:12px;font-weight:700}.bs-analysis-reason{margin:16px 0;padding:14px 16px;border:1px solid #2c4568;border-radius:12px;background:#0d192a;color:#c8d7eb;line-height:1.65}.bs-analysis-reason strong{color:#61a5ff}.ns365-bs-card.watch .bs-meter i{background:linear-gradient(90deg,#eab308,#f59e0b)}
@media(max-width:650px){.ns365-bs-updatebar{align-items:flex-start;flex-direction:column}.ns365-bs-updatebar button{width:100%}}


/* v2.7.6 Smart PCR/OI multi-index and F&O stock analyzer */
.ns365-pcr-control-panel{background:#111c2d;border:1px solid #31445f;border-radius:16px;padding:18px;margin-bottom:16px}
.ns365-pcr-control-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.ns365-pcr-control-head>div{display:flex;flex-direction:column;gap:4px}.ns365-pcr-control-head strong{font-size:20px}.ns365-pcr-control-head small,.ns365-pcr-control-head span{color:#8fb3e8;font-size:13px}
.ns365-pcr-search{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:10px;margin-bottom:14px}.ns365-pcr-search input{min-height:48px;border-radius:10px;border:1px solid #39506e;background:#eaf2ff;color:#0d1b2e;padding:0 16px;font-size:16px;font-weight:700}.ns365-pcr-search button{border:0;border-radius:10px;padding:0 20px;font-weight:800;background:#2f7df6;color:#fff}.ns365-pcr-search button.secondary{background:#203653;border:1px solid #426184}
.ns365-pcr-chips{display:flex;flex-wrap:wrap;gap:8px}.ns365-pcr-chip{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:105px;padding:9px 12px;border-radius:10px;border:1px solid #355070;background:#162338;color:#fff;cursor:pointer}.ns365-pcr-chip small{font-size:10px;color:#80a6da}.ns365-pcr-chip.active{background:#246cf0;border-color:#69a1ff;box-shadow:0 0 0 2px rgba(59,130,246,.2)}
.ns365-pcr-note{margin-top:12px;padding:10px 12px;border-radius:9px;background:#2b2304;border:1px solid #8d7100;color:#ffd857;font-size:12px}
.ns365-pcr-hero{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:14px 0}.ns365-pcr-hero>div{background:#111c2d;border:1px solid #32445d;border-radius:13px;padding:15px;display:flex;flex-direction:column;gap:6px;min-height:112px}.ns365-pcr-hero small{color:#8ca8cf;font-weight:800}.ns365-pcr-hero strong{font-size:22px}.ns365-pcr-hero span{color:#91a6c4;font-size:12px}.ns365-pcr-hero .bull{border-top:3px solid #22c55e}.ns365-pcr-hero .bear{border-top:3px solid #fb5c74}.ns365-pcr-hero .neutral{border-top:3px solid #f2bf24}
.ns365-pcr-summary{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px}.ns365-pcr-summary>div{min-height:92px;padding:14px!important}.ns365-pcr-summary strong{font-size:20px!important}
.ns365-pcr-table-wrap{overflow:auto;border:1px solid #31445f;border-radius:13px;margin-top:14px}.ns365-pcr-table{width:100%;border-collapse:collapse;min-width:900px;background:#111a2a}.ns365-pcr-table th{position:sticky;top:0;background:#18263b;color:#8fb3e8;padding:13px 10px;font-size:12px}.ns365-pcr-table td{padding:12px 10px;border-top:1px solid #2b3c55;text-align:center;font-size:14px;font-weight:700}.ns365-pcr-table tr.atm{background:rgba(250,204,21,.15)}.ns365-pcr-table .strike{color:#ffd75a;font-size:15px}
@media(max-width:900px){.ns365-pcr-hero{grid-template-columns:repeat(2,minmax(0,1fr))}.ns365-pcr-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ns365-pcr-control-head{align-items:flex-start;flex-direction:column}.ns365-pcr-search{grid-template-columns:1fr 1fr}.ns365-pcr-search input{grid-column:1/-1}}
@media(max-width:560px){.ns365-pcr-hero{grid-template-columns:1fr}.ns365-pcr-chip{min-width:calc(50% - 4px)}.ns365-pcr-search{grid-template-columns:1fr}.ns365-pcr-search input{grid-column:auto}}

/* v2.8.0 Smart Trade Reports - scoped only to Reports module */
.ns365-pro-report-shell{display:flex;flex-direction:column;gap:14px}
.ns365-report-update{display:flex;justify-content:space-between;align-items:center;background:#121b2a;border:1px solid #2a3c58;border-radius:12px;padding:12px 14px;font-size:14px;color:#9db3d4}
.ns365-report-update button{border:1px solid #36547b;background:#1d3658;color:#fff;border-radius:10px;padding:10px 16px;font-weight:800;cursor:pointer}
.ns365-report-tabs{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:10px}
.ns365-report-tabs button{border:1px solid #355173;background:#142033;color:#d8e7ff;border-radius:12px;padding:13px 12px;font-size:15px;font-weight:800;cursor:pointer}
.ns365-report-tabs button.active{background:#2875f5;border-color:#65a3ff;color:#fff;box-shadow:0 0 0 2px rgba(40,117,245,.16)}
.ns365-pro-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ns365-pro-report-card{display:block;width:100%;text-align:left;background:#162235;border:1px solid #314764;border-left:5px solid #22c55e;border-radius:15px;padding:16px;color:#fff;cursor:pointer;transition:.18s transform,.18s border-color}
.ns365-pro-report-card:hover{transform:translateY(-2px);border-color:#5081bd}.ns365-pro-report-card.sell{border-left-color:#fb5f78}
.pr-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.pr-head span{font-size:12px;color:#8eacd4}.pr-head h3{font-size:24px;margin:4px 0 0}.pr-signal{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:90px;border-radius:12px;padding:8px 10px;background:#123d2b;color:#35df82;font-weight:900}.pr-signal.sell{background:#481e2b;color:#ff6b82}.pr-signal strong{font-size:20px;margin-top:2px}
.pr-levels{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-top:14px}.pr-levels div{background:#0c1524;border:1px solid #263b58;border-radius:10px;padding:10px}.pr-levels small{display:block;color:#82a0ca;font-size:11px;text-transform:uppercase}.pr-levels b{display:block;margin-top:5px;font-size:15px}.pr-levels .pos{color:#2eea87}.pr-levels .neg{color:#ff657d}
.pr-foot{display:flex;justify-content:space-between;gap:10px;margin-top:12px;padding-top:10px;border-top:1px solid #2a3d58;color:#9bb0cf;font-size:12px}.ns365-report-empty{grid-column:1/-1;background:#121b2a;border:1px solid #314764;border-radius:13px;padding:28px;text-align:center;color:#a9bddb;font-size:15px}
@media(max-width:900px){.ns365-report-tabs{grid-template-columns:repeat(2,1fr)}.ns365-pro-report-grid{grid-template-columns:1fr}.pr-levels{grid-template-columns:repeat(2,1fr)}.pr-levels div:last-child{grid-column:1/-1}}
@media(max-width:520px){.ns365-report-tabs{grid-template-columns:1fr}.ns365-report-update{align-items:flex-start;gap:10px;flex-direction:column}.pr-head h3{font-size:20px}.pr-levels{grid-template-columns:1fr 1fr}.pr-foot{flex-direction:column}}

/* v2.8.1 Reports compact cards + 1 minute live status */
.ns365-pro-report-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.ns365-pro-report-card{padding:12px;border-radius:12px;min-height:0}
.pr-head h3{font-size:19px;margin-top:2px}.pr-head span{font-size:11px}
.pr-signal{min-width:72px;padding:6px 8px;border-radius:10px;font-size:12px}.pr-signal strong{font-size:17px}
.pr-compact-levels{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:10px}
.pr-compact-levels>div{background:#0c1524;border:1px solid #263b58;border-radius:9px;padding:8px}
.pr-compact-levels small{display:block;color:#82a0ca;font-size:10px;text-transform:uppercase}
.pr-compact-levels b{display:block;margin-top:4px;font-size:13px;white-space:nowrap}.pr-compact-levels .pos{color:#2eea87}.pr-compact-levels .neg{color:#ff657d}
.pr-foot{margin-top:9px;padding-top:8px;align-items:center;font-size:11px}
.pr-status{font-weight:900;padding:4px 7px;border-radius:999px;background:#22324a;color:#bdd2ee;white-space:nowrap}
.pr-status.active{background:#12462e;color:#40e58a}.pr-status.t1,.pr-status.t2,.pr-status.t3{background:#0d5336;color:#5df0a2}.pr-status.sl{background:#5a1f2b;color:#ff7b90}.pr-status.waiting{background:#4c3b0d;color:#ffd85c}
@media(max-width:1100px){.ns365-pro-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ns365-pro-report-grid{grid-template-columns:1fr}.pr-compact-levels{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){.pr-compact-levels{grid-template-columns:1fr 1fr}.pr-compact-levels>div:last-child{grid-column:1/-1}}

/* v2.8.6 dashboard navigation and clickable charts */
.ns365-plugin-container .groww-index-strip .groww-index-item{
    appearance:none;background:transparent;border:0;text-align:left;color:inherit;cursor:pointer;font:inherit;
}
.ns365-plugin-container .groww-index-item:hover{background:#eef6ff;transform:translateY(-1px)}
.ns365-plugin-container .groww-index-item small{display:block;font-size:10px;color:#6b7c99;margin-top:3px}
.ns365-plugin-container .ns365-clickable-row{cursor:pointer}
.ns365-plugin-container .ns365-clickable-row:hover td{background:rgba(59,130,246,.10)}
.ns365-plugin-container .ns365-watchlist-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;padding:18px}
.ns365-plugin-container .ns365-watchlist-grid button{background:#fff;border:1px solid #d9e2ef;border-radius:12px;padding:14px;text-align:left;cursor:pointer;color:#1f2937}
.ns365-plugin-container .ns365-watchlist-grid button:hover{border-color:#3b82f6;box-shadow:0 6px 18px rgba(30,64,175,.12)}
.ns365-plugin-container .ns365-watchlist-grid strong,.ns365-plugin-container .ns365-watchlist-grid span,.ns365-plugin-container .ns365-watchlist-grid em{display:block}
.ns365-plugin-container .ns365-watchlist-grid em{font-style:normal;color:#059669;font-size:12px;margin-top:4px}
@media(max-width:800px){.ns365-plugin-container .ns365-watchlist-grid{grid-template-columns:repeat(2,minmax(120px,1fr))}}

/* v2.8.7 verified TradingView cash-index chart symbols; prevents invalid futures symbol fallback to AAPL */

/* v2.8.8 native index chart: prevents TradingView AAPL fallback for restricted index embeds */
.ns365-plugin-container .ns365-native-index-card{padding:18px;background:#101a2a;border:1px solid #33465f;border-radius:14px}
.ns365-plugin-container .ns365-native-quote-row{display:flex;align-items:center;gap:14px;margin:10px 0 12px;padding:12px 14px;background:#0a1220;border:1px solid #26384f;border-radius:10px}
.ns365-plugin-container .ns365-native-quote-row strong{font-size:28px;color:#f8fafc}
.ns365-plugin-container .ns365-native-quote-row span{font-size:17px;font-weight:800}
.ns365-plugin-container .ns365-native-quote-row small{margin-left:auto;color:#8ea4c2}
.ns365-plugin-container .ns365-native-chart-toolbar{display:flex;align-items:center;gap:8px;margin:0 0 10px;flex-wrap:wrap}
.ns365-plugin-container .ns365-native-chart-toolbar button{border:1px solid #3b506c;background:#142135;color:#e5edf8;border-radius:7px;padding:7px 12px;font-weight:700;cursor:pointer}
.ns365-plugin-container .ns365-native-chart-toolbar button.active{background:#2563eb;border-color:#3b82f6;color:#fff}
.ns365-plugin-container .ns365-native-chart-toolbar span{margin-left:auto;color:#7f95b3;font-size:12px}
.ns365-plugin-container .ns365-native-candle-chart{width:100%;height:540px;min-height:540px;background:#080d15;border:1px solid #334155;border-radius:10px;overflow:hidden}
.ns365-plugin-container .ns365-native-candle-chart svg{display:block;width:100%;height:100%}
.ns365-plugin-container .ns365-native-chart-empty{display:grid;place-items:center;height:100%;color:#fca5a5}
.ns365-plugin-container .ns365-chart-open-link{display:inline-flex;margin-top:12px;padding:10px 14px;border-radius:8px;background:#2563eb;color:#fff!important;text-decoration:none;font-weight:700}
@media(max-width:700px){.ns365-plugin-container .ns365-native-candle-chart{height:430px;min-height:430px}.ns365-plugin-container .ns365-native-quote-row{flex-wrap:wrap}.ns365-plugin-container .ns365-native-quote-row small{width:100%;margin-left:0}.ns365-plugin-container .ns365-native-chart-toolbar span{width:100%;margin-left:0}}


/* v2.8.9 TradingView chart inside SS Dashboard only */
.ns365-plugin-container .ns365-dashboard-tv-section{margin:22px 22px 0;background:#101827;border:1px solid #d8e2ef;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.08)}
.ns365-plugin-container .ns365-dashboard-tv-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.ns365-plugin-container .ns365-dashboard-tv-head small{display:block;color:#3b82f6;font-size:11px;letter-spacing:.14em;font-weight:900}
.ns365-plugin-container .ns365-dashboard-tv-head h3{margin:3px 0 2px;color:#fff;font-size:22px}
.ns365-plugin-container .ns365-dashboard-tv-head p{margin:0;color:#9fb0c7;font-size:13px}
.ns365-plugin-container .ns365-dashboard-tv-head a{display:inline-flex;align-items:center;gap:7px;background:#2563eb;color:#fff!important;text-decoration:none!important;padding:10px 14px;border-radius:10px;font-weight:800;white-space:nowrap}
.ns365-plugin-container .ns365-dashboard-tv-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.ns365-plugin-container .ns365-dashboard-tv-toolbar button{border:1px solid #3a4d68;background:#172235;color:#dce8f8;border-radius:9px;padding:8px 12px;font-size:12px;font-weight:800;cursor:pointer}
.ns365-plugin-container .ns365-dashboard-tv-toolbar button.active,.ns365-plugin-container .ns365-dashboard-tv-toolbar button:hover{background:#2563eb;border-color:#60a5fa;color:#fff}
.ns365-plugin-container .ns365-dashboard-tv-chart{height:650px;min-height:650px;background:#0b0f17;border:1px solid #2f425e;border-radius:12px;overflow:hidden}
.ns365-plugin-container .ns365-dashboard-tv-frame{display:block;width:100%;height:100%;min-height:650px;border:0;background:#0b0f17}
@media(max-width:900px){.ns365-plugin-container .ns365-dashboard-tv-chart,.ns365-plugin-container .ns365-dashboard-tv-frame{height:560px;min-height:560px}}
@media(max-width:600px){.ns365-plugin-container .ns365-dashboard-tv-section{margin:14px 10px 0;padding:10px}.ns365-plugin-container .ns365-dashboard-tv-head{align-items:flex-start;flex-direction:column}.ns365-plugin-container .ns365-dashboard-tv-head a{width:100%;justify-content:center}.ns365-plugin-container .ns365-dashboard-tv-chart,.ns365-plugin-container .ns365-dashboard-tv-frame{height:480px;min-height:480px}}


/* v2.9.0 option-chain refresh history only */
.ns365-oc-history{margin-top:16px;border:1px solid #334766;border-radius:14px;background:#111d30;overflow:hidden}
.ns365-oc-history-head{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid #334766}
.ns365-oc-history-head strong{font-size:16px;color:#f8fafc}.ns365-oc-history-head span{font-size:12px;color:#9db4d8}
.ns365-oc-history-wrap{overflow:auto}.ns365-oc-history table{width:100%;min-width:980px;border-collapse:collapse}
.ns365-oc-history th,.ns365-oc-history td{padding:11px 12px;border-bottom:1px solid #273953;text-align:right;white-space:nowrap;font-size:13px}
.ns365-oc-history th{background:#17243a;color:#a9bddc;text-transform:uppercase;font-size:11px;letter-spacing:.04em}
.ns365-oc-history th:nth-child(-n+3),.ns365-oc-history td:nth-child(-n+3){text-align:left}
.ns365-oc-history tbody tr:hover{background:#182840}
@media(max-width:700px){.ns365-oc-history-head{align-items:flex-start;flex-direction:column}.ns365-oc-history th,.ns365-oc-history td{padding:10px;font-size:12px}}

/* v2.9.1 PCR DATA single-page workspace */
.ns365-plugin-container .ns365-pcr-data-page{padding:4px 0 24px}
.ns365-plugin-container .ns365-pcr-data-hero{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#111d30;border:1px solid #334766;border-radius:15px;padding:18px 20px;margin-bottom:14px}
.ns365-plugin-container .ns365-pcr-data-hero small{color:#60a5fa;font-size:11px;font-weight:900;letter-spacing:.12em}.ns365-plugin-container .ns365-pcr-data-hero h2{color:#fff;margin:4px 0;font-size:25px}.ns365-plugin-container .ns365-pcr-data-hero p{margin:0;color:#a9bddc;font-size:13px}
.ns365-plugin-container .ns365-pcr-live-badge{min-width:150px;background:#0b1525;border:1px solid #36547a;border-radius:12px;padding:11px 14px;text-align:center}.ns365-plugin-container .ns365-pcr-live-badge i{color:#22c55e;margin-right:6px}.ns365-plugin-container .ns365-pcr-live-badge span{color:#9db4d8;font-size:11px}.ns365-plugin-container .ns365-pcr-live-badge strong{display:block;color:#fff;font-size:16px;margin-top:3px}
.ns365-plugin-container .ns365-pcr-category-bar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.ns365-plugin-container .ns365-pcr-category-bar button{padding:13px 10px;border:1px solid #355276;border-radius:11px;background:#142238;color:#eaf2ff;font-weight:900;font-size:14px;cursor:pointer}.ns365-plugin-container .ns365-pcr-category-bar button.active,.ns365-plugin-container .ns365-pcr-category-bar button:hover{background:#2563eb;border-color:#60a5fa;color:#fff;box-shadow:0 0 0 2px rgba(59,130,246,.18)}
.ns365-plugin-container .ns365-pcr-data-meta{background:#0f1c2f;border:1px solid #2f486a;border-radius:10px;padding:10px 13px;color:#9fc1f2;font-size:13px;margin-bottom:12px}
.ns365-plugin-container .ns365-pcr-history-panel{margin-top:16px;border:1px solid #334766;border-radius:14px;background:#111d30;overflow:hidden}.ns365-plugin-container .ns365-pcr-history-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}.ns365-plugin-container .ns365-pcr-history-card{border:1px solid #304765;background:#0d1829;border-radius:12px;overflow:hidden}.ns365-plugin-container .ns365-pcr-history-card header{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 12px;background:#16243a;border-bottom:1px solid #2a3f5d}.ns365-plugin-container .ns365-pcr-history-card header b{color:#60a5fa}.ns365-plugin-container .ns365-pcr-history-card header strong{font-size:12px;color:#f8fafc}.ns365-plugin-container .ns365-pcr-history-card header span{font-size:11px;color:#9db4d8}.ns365-plugin-container .ns365-pcr-history-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#273953}.ns365-plugin-container .ns365-pcr-history-metrics>div{background:#0d1829;padding:10px;text-align:center;min-width:0}.ns365-plugin-container .ns365-pcr-history-metrics small{display:block;font-size:9px;color:#8fa8ca;font-weight:800;white-space:nowrap}.ns365-plugin-container .ns365-pcr-history-metrics b{display:block;margin-top:4px;color:#f8fafc;font-size:13px;overflow:hidden;text-overflow:ellipsis}.ns365-plugin-container .ns365-pcr-history-metrics .pcr{grid-column:1/-1;background:#13243a}.ns365-plugin-container .ns365-pcr-history-metrics .pcr b{font-size:20px;color:#34d399}.ns365-plugin-container .ns365-pcr-empty{padding:25px;text-align:center;color:#8fa8ca}
@media(max-width:800px){.ns365-plugin-container .ns365-pcr-data-hero{align-items:flex-start;flex-direction:column}.ns365-plugin-container .ns365-pcr-live-badge{width:100%}.ns365-plugin-container .ns365-pcr-category-bar{grid-template-columns:repeat(2,1fr)}.ns365-plugin-container .ns365-pcr-history-grid{grid-template-columns:1fr}}
@media(max-width:480px){.ns365-plugin-container .ns365-pcr-history-metrics{grid-template-columns:repeat(2,1fr)}.ns365-plugin-container .ns365-pcr-history-metrics .pcr{grid-column:1/-1}}

/* v2.9.2 PCR compact row history + left/right touch navigation */
.ns365-plugin-container .ns365-pcr-history-stage{position:relative;padding:0 38px;touch-action:pan-y;user-select:none}
.ns365-plugin-container .ns365-pcr-table-fit{width:100%;overflow:hidden}
.ns365-plugin-container .ns365-pcr-table-fit table{width:100%;table-layout:fixed;border-collapse:collapse}
.ns365-plugin-container .ns365-pcr-table-fit th,.ns365-plugin-container .ns365-pcr-table-fit td{padding:10px 5px;border-bottom:1px solid #2a3f5d;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}
.ns365-plugin-container .ns365-pcr-table-fit th{background:#16243a;color:#8fa8ca;font-size:10px;text-transform:uppercase;letter-spacing:.025em}
.ns365-plugin-container .ns365-pcr-table-fit td{color:#f8fafc;font-weight:800}
.ns365-plugin-container .ns365-pcr-table-fit th:nth-child(1),.ns365-plugin-container .ns365-pcr-table-fit td:nth-child(1){width:5%}
.ns365-plugin-container .ns365-pcr-table-fit th:nth-child(2),.ns365-plugin-container .ns365-pcr-table-fit td:nth-child(2){width:10%}
.ns365-plugin-container .ns365-pcr-table-fit th:nth-child(n+3):nth-child(-n+8),.ns365-plugin-container .ns365-pcr-table-fit td:nth-child(n+3):nth-child(-n+8){width:10.5%}
.ns365-plugin-container .ns365-pcr-table-fit th:nth-child(9),.ns365-plugin-container .ns365-pcr-table-fit td:nth-child(9){width:8%}
.ns365-plugin-container .ns365-pcr-table-fit th:nth-child(10),.ns365-plugin-container .ns365-pcr-table-fit td:nth-child(10){width:11%}
.ns365-plugin-container .ns365-pcr-side{position:absolute;top:0;bottom:0;width:34px;border:0;background:linear-gradient(90deg,#16243aee,#16243a88);color:#fff;font-size:32px;font-weight:900;cursor:pointer;z-index:3}
.ns365-plugin-container .ns365-pcr-side.left{left:0}.ns365-plugin-container .ns365-pcr-side.right{right:0;background:linear-gradient(270deg,#16243aee,#16243a88)}
.ns365-plugin-container .ns365-pcr-side:hover{background:#2563eb}
.ns365-plugin-container .ns365-pcr-signal{display:inline-flex;align-items:center;justify-content:center;min-width:58px;padding:5px 7px;border-radius:999px;font-size:10px;font-weight:900}
.ns365-plugin-container .ns365-pcr-signal.buy{background:#124e35;color:#4ade80}.ns365-plugin-container .ns365-pcr-signal.sell{background:#5b1f2c;color:#fb7185}.ns365-plugin-container .ns365-pcr-signal.neutral{background:#5a4712;color:#facc15}
.ns365-plugin-container .ns365-pcr-value{color:#34d399!important;font-size:14px!important}
.ns365-plugin-container .ns365-pcr-history-footer{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 12px;background:#0d1829;border-top:1px solid #2a3f5d}
.ns365-plugin-container .ns365-pcr-history-footer button{border:1px solid #355276;background:#142238;color:#fff;border-radius:8px;padding:7px 10px;font-weight:800;cursor:pointer}.ns365-plugin-container .ns365-pcr-history-footer button:hover{background:#2563eb}
.ns365-plugin-container .ns365-pcr-history-footer span{text-align:center;color:#9db4d8;font-size:11px}
@media(max-width:760px){.ns365-plugin-container .ns365-pcr-history-stage{padding:0 28px}.ns365-plugin-container .ns365-pcr-side{width:26px;font-size:26px}.ns365-plugin-container .ns365-pcr-table-fit th,.ns365-plugin-container .ns365-pcr-table-fit td{padding:8px 2px;font-size:10px}.ns365-plugin-container .ns365-pcr-table-fit th{font-size:8px}.ns365-plugin-container .ns365-pcr-signal{min-width:42px;padding:4px 3px;font-size:8px}.ns365-plugin-container .ns365-pcr-history-footer span{font-size:9px}.ns365-plugin-container .ns365-pcr-history-footer button{padding:6px 7px;font-size:10px}}
@media(max-width:480px){.ns365-plugin-container .ns365-pcr-table-fit th,.ns365-plugin-container .ns365-pcr-table-fit td{font-size:8.5px}.ns365-plugin-container .ns365-pcr-table-fit th{font-size:7px}.ns365-plugin-container .ns365-pcr-history-footer{grid-template-columns:auto 1fr auto;gap:4px}.ns365-plugin-container .ns365-pcr-history-footer span{line-height:1.2}}

/* v2.9.3 full market-session PCR collector */
.ns365-plugin-container .ns365-pcr-category-bar{grid-template-columns:repeat(5,minmax(0,1fr))}
.ns365-plugin-container .ns365-pcr-table-fit tr.ns365-pcr-unavailable td{opacity:.72;background:#291824}
@media(max-width:800px){.ns365-plugin-container .ns365-pcr-category-bar{grid-template-columns:repeat(3,1fr)}}
@media(max-width:520px){.ns365-plugin-container .ns365-pcr-category-bar{grid-template-columns:repeat(2,1fr)}}
/* v2.9.4 NSE+BSE stock directory */
.ns365-plugin-container .ns365-stock-directory{padding:24px;color:#e7eef9}.ns365-stock-hero{display:flex;justify-content:space-between;gap:20px;align-items:center;background:linear-gradient(135deg,#101a2c,#172840);border:1px solid #2b4262;border-radius:18px;padding:24px}.ns365-stock-hero small{color:#71a7f5;font-weight:800}.ns365-stock-hero h2{margin:6px 0;color:#fff}.ns365-stock-hero p{margin:0;color:#9fb0c8}.ns365-refresh-chip{background:#0d1727;border:1px solid #31527c;border-radius:14px;padding:12px 16px;display:grid;grid-template-columns:auto 1fr;gap:2px 9px;min-width:170px}.ns365-refresh-chip i{grid-row:1/3;color:#60a5fa}.ns365-refresh-chip span{font-size:11px;color:#9fb0c8}.ns365-refresh-chip b{color:#fff}.ns365-stock-controls{display:grid;grid-template-columns:1fr 170px;gap:12px;margin:18px 0 12px}.ns365-stock-search{position:relative}.ns365-stock-search i{position:absolute;left:15px;top:15px;color:#7890af}.ns365-stock-search input,.ns365-stock-controls select{width:100%;background:#0e1828;border:1px solid #2b405d;color:#fff;border-radius:12px;padding:13px 14px}.ns365-stock-search input{padding-left:42px}.ns365-sector-pills{display:flex;gap:8px;overflow:auto;padding-bottom:8px}.ns365-sector-pills button,.ns365-stock-pagination button{background:#111d2e;border:1px solid #30445f;color:#b8c8dc;border-radius:999px;padding:9px 13px;white-space:nowrap}.ns365-sector-pills button.active{background:#2563eb;color:#fff;border-color:#4f83ed}.ns365-stock-list-head{display:flex;justify-content:space-between;margin:14px 0 9px}.ns365-stock-list-head span{color:#8da2bd;font-size:12px}.ns365-stock-results{display:grid;gap:8px}.ns365-stock-row{display:grid;grid-template-columns:1fr 60px 90px;align-items:center;text-align:left;background:#101a29;border:1px solid #263a55;border-radius:12px;padding:13px 15px;color:#fff}.ns365-stock-row:hover{border-color:#4c83d5;transform:translateY(-1px)}.ns365-stock-row span{display:grid}.ns365-stock-row small{color:#8fa2bb;margin-top:4px}.ns365-stock-row em{font-style:normal;color:#66a7ff;font-weight:800}.ns365-stock-row i{font-style:normal;color:#a9b9cd;font-size:12px}.ns365-stock-pagination{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}.ns365-stock-pagination button:disabled{opacity:.4}.ns365-stock-loading,.ns365-stock-empty{padding:30px;text-align:center;background:#101a29;border:1px dashed #314762;border-radius:12px;color:#9fb0c8}.ns365-stock-modal{position:fixed;inset:0;background:rgba(2,8,18,.82);z-index:999999;display:none;align-items:flex-start;justify-content:center;overflow:auto;padding:28px}.ns365-stock-modal.open{display:flex}.ns365-stock-modal-card{position:relative;width:min(1100px,96vw);background:#091321;border:1px solid #2c4260;border-radius:18px;padding:22px;box-shadow:0 28px 80px rgba(0,0,0,.5)}.ns365-stock-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border-radius:50%;border:1px solid #425b7a;background:#132238;color:#fff;font-size:24px;z-index:2}.ns365-stock-detail-head{display:flex;justify-content:space-between;gap:20px;padding-right:42px}.ns365-stock-detail-head small,.ns365-stock-detail-head p{color:#8fa4c1}.ns365-stock-detail-head h2{margin:5px 0;color:#fff}.ns365-live-box{text-align:right;display:grid}.ns365-live-box span{justify-self:end;border-radius:999px;padding:5px 9px;font-size:10px;font-weight:900}.ns365-live-box span.live{background:#113c2d;color:#64e6ae}.ns365-live-box span.last{background:#4b3412;color:#ffd27a}.ns365-live-box strong{font-size:30px;color:#fff}.ns365-live-box em.up{color:#49d99c}.ns365-live-box em.down{color:#ff7272}.ns365-live-box small{color:#7f94ae}.ns365-stock-quote-grid,.ns365-level-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:16px 0}.ns365-stock-quote-grid div,.ns365-level-grid div{background:#101c2e;border:1px solid #293f5d;border-radius:11px;padding:12px}.ns365-stock-quote-grid small,.ns365-level-grid small{display:block;color:#8ea3bf;font-size:10px;text-transform:uppercase}.ns365-stock-quote-grid b,.ns365-level-grid b{display:block;color:#fff;margin-top:6px}.ns365-stock-chart{height:430px;border:1px solid #2b405d;border-radius:13px;overflow:hidden}.ns365-stock-chart iframe{width:100%;height:100%;border:0}.ns365-analysis-signal{margin:16px 0;padding:15px;border-radius:12px;border-left:4px solid}.ns365-analysis-signal.buy{background:#0e2c24;border-color:#34d399}.ns365-analysis-signal.sell{background:#321b20;border-color:#fb7185}.ns365-analysis-signal small{color:#aabbd0}.ns365-analysis-signal strong{display:block;color:#fff;font-size:20px;margin:4px 0}.ns365-analysis-signal p{margin:0;color:#c0cede}.ns365-stock-disclaimer{color:#8da2bd;font-size:11px;margin-top:10px}@media(max-width:760px){.ns365-stock-hero,.ns365-stock-detail-head{display:block}.ns365-refresh-chip{margin-top:14px}.ns365-stock-controls{grid-template-columns:1fr}.ns365-stock-row{grid-template-columns:1fr 50px}.ns365-stock-row i{display:none}.ns365-live-box{text-align:left;margin-top:12px}.ns365-live-box span{justify-self:start}.ns365-stock-quote-grid,.ns365-level-grid{grid-template-columns:repeat(2,1fr)}.ns365-stock-modal{padding:8px}.ns365-stock-modal-card{padding:16px 11px}.ns365-stock-chart{height:360px}}

.ns365-stock-row{grid-template-columns:minmax(0,1fr) 120px 60px 90px}.ns365-stock-row-price{display:grid!important;text-align:right;justify-items:end}.ns365-stock-row-price strong{color:#fff;font-size:14px}.ns365-stock-row-price small.up{color:#49d99c}.ns365-stock-row-price small.down{color:#ff7272}.ns365-stock-row-price>i{display:inline-block;color:#6f87a8}@media(max-width:760px){.ns365-stock-row{grid-template-columns:minmax(0,1fr) 100px 50px}.ns365-stock-row>i:last-child{display:none}.ns365-stock-row-price{display:grid!important}}

/* v2.9.8 Groww API native live candlestick workspace — stock detail only */
.ns365-plugin-container .ns365-groww-chart-shell{margin:16px 0;background:#07111e;border:1px solid #253a55;border-radius:14px;overflow:hidden;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)}
.ns365-plugin-container .ns365-groww-chart-top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;background:#0b1727;border-bottom:1px solid #21344d}
.ns365-plugin-container .ns365-groww-chart-top>div:first-child{display:flex;align-items:center;gap:10px;min-width:0}.ns365-plugin-container .ns365-groww-chart-top b{color:#f4f7fb;font-size:15px}.ns365-plugin-container .ns365-groww-chart-top small{color:#8da0ba;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ns365-plugin-container .ns365-groww-brand{font-size:9px;font-weight:900;letter-spacing:.9px;color:#00d09c;background:rgba(0,208,156,.1);border:1px solid rgba(0,208,156,.28);padding:5px 7px;border-radius:6px}
.ns365-plugin-container .ns365-groww-tf{display:flex;gap:4px;flex-wrap:wrap}.ns365-plugin-container .ns365-groww-tf button{border:0;background:transparent;color:#8fa2bb;border-radius:6px;padding:7px 9px;font-size:11px;font-weight:800;cursor:pointer}.ns365-plugin-container .ns365-groww-tf button:hover{background:#142339;color:#fff}.ns365-plugin-container .ns365-groww-tf button.active{background:#1c2c43;color:#fff;box-shadow:inset 0 -2px 0 #00d09c}
.ns365-plugin-container .ns365-groww-canvas-wrap{height:480px;min-height:480px;background:#07111e;position:relative}.ns365-plugin-container #ns365GrowwCanvas{display:block;width:100%;height:100%;cursor:crosshair}
.ns365-plugin-container .ns365-groww-chart-status{padding:8px 14px;border-top:1px solid #1d3048;color:#7489a5;font-size:10px;text-align:right;background:#091422}
@media(max-width:760px){.ns365-plugin-container .ns365-groww-chart-top{align-items:flex-start;flex-direction:column}.ns365-plugin-container .ns365-groww-chart-top>div:first-child{flex-wrap:wrap}.ns365-plugin-container .ns365-groww-tf{width:100%;overflow:auto;flex-wrap:nowrap}.ns365-plugin-container .ns365-groww-canvas-wrap{height:390px;min-height:390px}}

/* v2.9.9 chart request/error state */
.ns365-plugin-container .ns365-groww-chart-status.error{color:#ff9eaa;background:#24101a;border-top-color:#6b2433;font-size:12px;text-align:center;padding:11px 14px}

/* v3.0.0 honest chart provider badge */
.ns365-plugin-container .ns365-groww-brand.fallback{background:#17304d!important;color:#8fc5ff!important;border-color:#315d8d!important}

/* v3.1.0 advanced stock-detail probability and entry analysis */
.ns365-probability-panel{margin:16px 0;padding:20px;border:1px solid #24415f;border-left:4px solid #2dd4bf;border-radius:16px;background:linear-gradient(135deg,#0b1b2c,#10243a)}
.ns365-probability-panel.sell{border-left-color:#fb7185}.ns365-probability-panel.neutral{border-left-color:#fbbf24}
.ns365-probability-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.ns365-probability-head small{color:#91a6bf}.ns365-probability-head strong{display:block;font-size:1.45rem;margin:5px 0}.ns365-probability-head p{margin:0;color:#a9bad0;font-size:.84rem}
.ns365-confidence-ring{min-width:94px;height:94px;border:8px solid #1c3853;border-top-color:#2dd4bf;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}.ns365-confidence-ring b{font-size:1.25rem}.ns365-confidence-ring span{font-size:.66rem;color:#8fa6be}
.ns365-chance-bars{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.ns365-chance-bars span{display:flex;justify-content:space-between;font-size:.86rem}.ns365-chance-bars i{display:block;height:10px;background:#071422;border-radius:999px;overflow:hidden;margin-top:7px}.ns365-chance-bars em{display:block;height:100%;background:#2dd4bf;border-radius:999px}.ns365-chance-bars .sell em{background:#fb7185}
.ns365-analysis-explain{display:grid;grid-template-columns:1fr 1fr;gap:6px 16px;padding-top:14px;border-top:1px solid #243d58}.ns365-analysis-explain h4{grid-column:1/-1;margin:0 0 5px}.ns365-analysis-explain p{margin:0;color:#bfd0e3;font-size:.82rem}.ns365-analysis-explain p.warn{color:#fbbf24}
.ns365-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.ns365-entry-grid>div{padding:14px;border:1px solid #29445f;border-radius:12px;background:#102034}.ns365-entry-grid small,.ns365-entry-grid span{display:block;color:#8ea5be}.ns365-entry-grid b{display:block;font-size:1.12rem;margin:5px 0}.ns365-entry-grid span{font-size:.68rem}.ns365-entry-grid .safe{border-color:#2dd4bf}.ns365-entry-grid .stop{border-color:#fb7185}
.ns365-level-grid>div span{display:block;font-size:.66rem;color:#8fa6be;margin-top:3px}.ns365-indicator-strip{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:14px 0}.ns365-indicator-strip>div{padding:10px;text-align:center;border:1px solid #233e59;border-radius:10px;background:#0b1929}.ns365-indicator-strip small{display:block;color:#7f98b2;font-size:.65rem}.ns365-indicator-strip b{display:block;margin-top:4px;font-size:.82rem}
@media(max-width:800px){.ns365-entry-grid{grid-template-columns:1fr 1fr}.ns365-indicator-strip{grid-template-columns:repeat(3,1fr)}.ns365-analysis-explain{grid-template-columns:1fr}.ns365-chance-bars{grid-template-columns:1fr}}

/* v3.2.0 strong setup cards */
.bs-chances{display:flex;justify-content:space-between;gap:8px;margin:8px 0 5px;font-size:11px;font-weight:800;color:#9fd1ff}.bs-why{display:block;color:#aabbd0;line-height:1.35;min-height:30px}.bs-time{display:block;margin-top:6px;color:#f6c76b;font-size:10px}.ns365-bs-card{min-height:195px}.ns365-bs-card .bs-price{margin-bottom:8px}@media(max-width:760px){.ns365-bs-card{min-height:180px}}

/* v3.2.1 - Indices FII/DII panel */
.ns365-indices-flow-card>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.ns365-flow-refresh-btn{border:1px solid #31527d;background:#15345d;color:#dcecff;border-radius:8px;padding:8px 12px;font-weight:800;cursor:pointer}.ns365-flow-refresh-btn:hover{background:#1d477d}.ns365-indices-flow-card .ns365-fii-dii-panel{margin:0;border:0;border-radius:0;background:transparent;padding:14px 0 0}.ns365-flow-history{max-height:440px;overflow:auto}.ns365-flow-history table{width:100%}


/* v3.2.5 stock-only PCR/OI searchable F&O directory */
.ns365-pcr-search-wrap{position:relative}.ns365-pcr-search-results{position:absolute;left:0;right:0;top:100%;z-index:50;background:#0b1727;border:1px solid #355173;border-radius:12px;box-shadow:0 18px 45px rgba(0,0,0,.38);max-height:330px;overflow:auto;padding:6px}.ns365-pcr-search-results button{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;background:transparent;color:#fff;border:0;border-bottom:1px solid #20344d;padding:12px 14px;cursor:pointer}.ns365-pcr-search-results button:hover{background:#142641}.ns365-pcr-search-results button span{font-size:11px;color:#91acd0}.ns365-pcr-no-result{padding:16px;color:#f6b6bf}.ns365-pcr-trending-title{display:flex;justify-content:space-between;align-items:center;margin:14px 0 8px;color:#fff}.ns365-pcr-trending-title small{color:#8ea5c5}.ns365-pcr-stock-chips{grid-template-columns:repeat(auto-fit,minmax(175px,1fr))}.ns365-pcr-stock-chips .ns365-pcr-chip{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left}.ns365-pcr-chip-price{display:flex;flex-direction:column;align-items:flex-end;min-width:72px}.ns365-pcr-chip-price b{font-size:13px;color:#fff}.ns365-pcr-chip-price small{font-size:10px}.ns365-pcr-chip-price .pos{color:#28e49b}.ns365-pcr-chip-price .neg{color:#ff657d}


/* v3.3.0 Option-chain intraday trade setup — isolated to SS Option Chain */
.ns365-ots-shell{margin-top:16px;background:#101c2d;border:1px solid #29415f;border-radius:14px;padding:16px;color:#e8eef8}
.ns365-ots-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #29415f;padding-bottom:14px}
.ns365-ots-head span{font-size:.64rem;color:#69a7ff;font-weight:800;letter-spacing:.08em}.ns365-ots-head h3{margin:5px 0;font-size:1.25rem}.ns365-ots-head p{margin:0;color:#91a5c1;font-size:.72rem}
.ns365-ots-signal{min-width:180px;padding:12px 16px;border-radius:12px;text-align:center;border:1px solid #42516a;background:#162239}.ns365-ots-signal small,.ns365-ots-signal b{display:block;font-size:.62rem}.ns365-ots-signal strong{display:block;font-size:1.2rem;margin:4px}.ns365-ots-signal.ce{border-color:#20d393;background:#0d3a30}.ns365-ots-signal.pe{border-color:#ff637c;background:#451d29}.ns365-ots-signal.wait{border-color:#e7b428;background:#3c3315}
.ns365-ots-prob{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.ns365-ots-prob>div{position:relative;background:#091421;border-radius:10px;padding:10px 12px;overflow:hidden}.ns365-ots-prob span{font-size:.68rem;color:#9db0ca}.ns365-ots-prob strong{float:right}.ns365-ots-prob i{position:absolute;left:0;bottom:0;height:4px;background:#27d3a2}.ns365-ots-prob>div:nth-child(2) i{background:#ff637c}
.ns365-ots-meta{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.ns365-ots-meta span{background:#17253a;border:1px solid #2e4666;border-radius:8px;padding:7px 10px;font-size:.68rem}.ns365-ots-meta b{color:#7faef4;margin-right:5px}
.ns365-ots-levels{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:10px}.ns365-ots-levels>div{background:#142238;border:1px solid #304a6c;border-radius:10px;padding:12px}.ns365-ots-levels .safe{border-color:#20d3b0}.ns365-ots-levels .stop{border-color:#ff6077}.ns365-ots-levels small,.ns365-ots-levels span{display:block;color:#8ea3bf;font-size:.62rem}.ns365-ots-levels strong{display:block;font-size:1rem;margin:5px 0}
.ns365-ots-alert{display:flex;gap:12px;align-items:center;margin:14px 0;padding:12px;border-radius:10px;background:#17243a;border-left:4px solid #5d7da5}.ns365-ots-alert.active,.ns365-ots-alert.hold,.ns365-ots-alert.book{border-left-color:#20d393;background:#0d342c}.ns365-ots-alert.exit{border-left-color:#ff536d;background:#3a1720}.ns365-ots-alert.waiting,.ns365-ots-alert.wait,.ns365-ots-alert.closed{border-left-color:#e8b52c;background:#332c13}.ns365-ots-alert span{font-size:.72rem;color:#b7c7dc}
.ns365-ots-analysis{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ns365-ots-analysis>div{background:#0c1726;border:1px solid #293f5c;border-radius:10px;padding:12px}.ns365-ots-analysis h4{margin:0 0 8px;color:#86b4fa}.ns365-ots-analysis p{margin:5px 0;font-size:.7rem;color:#c2d0e2}.ns365-ots-analysis .warn{color:#f3c64e}.ns365-ots-disclaimer{margin-top:12px;font-size:.62rem;color:#8195b0;border-top:1px solid #29415f;padding-top:10px}
@media(max-width:720px){.ns365-ots-head{display:block}.ns365-ots-signal{margin-top:12px;min-width:0}.ns365-ots-levels{grid-template-columns:1fr 1fr}.ns365-ots-analysis{grid-template-columns:1fr}.ns365-ots-prob{grid-template-columns:1fr}}
@media(max-width:440px){.ns365-ots-levels{grid-template-columns:1fr}}


/* v3.4.0 SS Intraday index option setup */
.ns365-intraday-index-panel{margin:14px 0 18px;padding:14px;border:1px solid #2b476b;border-radius:14px;background:#0f1d31}
.ns365-intraday-index-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.ns365-intraday-index-head strong{display:block;font-size:16px}.ns365-intraday-index-head small,.ns365-intraday-index-head span{color:#8fa7c7;font-size:12px}
.ns365-intraday-index-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}.ns365-intraday-index-buttons button{border:1px solid #36577f;background:#13243b;color:#dbeafe;border-radius:10px;padding:10px 14px;font-weight:700;cursor:pointer}.ns365-intraday-index-buttons button.active{background:#2f77ed;border-color:#60a5fa;color:white}
.ns365-intraday-index-panel .ns365-ots-shell{margin:0}
@media(max-width:700px){.ns365-intraday-index-head{display:block}.ns365-intraday-index-head span{display:block;margin-top:6px}.ns365-intraday-index-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}


/* v3.4.1 larger SS Intraday setup + AI Trading Engine v4.0 presentation */
.ns365-intraday-index-panel{padding:20px;border-radius:16px}
.ns365-intraday-index-head strong{font-size:21px;line-height:1.3}
.ns365-intraday-index-head small{display:block;margin-top:5px;font-size:13px;line-height:1.55}
.ns365-intraday-index-head span{font-size:13px}
.ns365-v4-engine-strip{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.ns365-v4-engine-strip span{padding:7px 11px;border:1px solid #31547c;border-radius:999px;background:#10243d;color:#a9c7ee;font-size:12px;font-weight:700}
.ns365-intraday-index-buttons button{padding:12px 18px;font-size:15px;border-radius:11px}
.ns365-intraday-index-panel .ns365-ots-shell{padding:22px}
.ns365-intraday-index-panel .ns365-ots-head span{font-size:12px}
.ns365-intraday-index-panel .ns365-ots-head h3{font-size:24px;margin:7px 0}
.ns365-intraday-index-panel .ns365-ots-head p{font-size:13px;line-height:1.55}
.ns365-intraday-index-panel .ns365-ots-signal{min-width:210px;padding:16px 20px}
.ns365-intraday-index-panel .ns365-ots-signal small,.ns365-intraday-index-panel .ns365-ots-signal b{font-size:11px}
.ns365-intraday-index-panel .ns365-ots-signal strong{font-size:24px;margin:6px 0}
.ns365-intraday-index-panel .ns365-ots-prob{gap:14px;margin:18px 0}
.ns365-intraday-index-panel .ns365-ots-prob>div{padding:14px 16px}
.ns365-intraday-index-panel .ns365-ots-prob span{font-size:12px}
.ns365-intraday-index-panel .ns365-ots-prob strong{font-size:21px}
.ns365-intraday-index-panel .ns365-ots-meta span{font-size:12px;padding:9px 12px}
.ns365-intraday-index-panel .ns365-ots-levels{gap:12px}
.ns365-intraday-index-panel .ns365-ots-levels>div{padding:16px;min-height:92px}
.ns365-intraday-index-panel .ns365-ots-levels small,.ns365-intraday-index-panel .ns365-ots-levels span{font-size:11px}
.ns365-intraday-index-panel .ns365-ots-levels strong{font-size:20px;margin:8px 0}
.ns365-intraday-index-panel .ns365-ots-alert{padding:16px}
.ns365-intraday-index-panel .ns365-ots-alert strong{font-size:18px}
.ns365-intraday-index-panel .ns365-ots-alert span{font-size:12px}
.ns365-intraday-index-panel .ns365-ots-analysis>div{padding:16px}
.ns365-intraday-index-panel .ns365-ots-analysis h4{font-size:18px}
.ns365-intraday-index-panel .ns365-ots-analysis p{font-size:12px;line-height:1.55}
.ns365-intraday-index-panel .ns365-ots-disclaimer{font-size:11px;line-height:1.55}
@media(max-width:700px){.ns365-intraday-index-panel{padding:14px}.ns365-intraday-index-head strong{font-size:18px}.ns365-intraday-index-panel .ns365-ots-shell{padding:15px}.ns365-intraday-index-panel .ns365-ots-head h3{font-size:20px}.ns365-intraday-index-panel .ns365-ots-signal{min-width:0}.ns365-intraday-index-panel .ns365-ots-levels strong{font-size:17px}}
\n\n/* v3.5.1 full-screen desktop workspace + page-safe refresh */\n@media (min-width: 901px) {\n  .ns365-plugin-container {\n    width: 100vw !important;\n    max-width: none !important;\n    margin: 0 calc(50% - 50vw) !important;\n    border-left: 0;\n    border-right: 0;\n    border-radius: 0;\n    min-height: calc(100vh - 32px);\n  }\n  .ns365-plugin-container .ns365-body {\n    min-height: calc(100vh - 54px);\n    max-height: none;\n  }\n  .ns365-plugin-container .ns365-content {\n    min-width: 0;\n    overflow-x: hidden;\n    overflow-y: auto;\n  }\n}\n

/* v3.6.2 — stable intraday positions + search */
.ns365-report-searchbar{display:flex;align-items:center;gap:12px;background:#101d2f;border:1px solid #315174;border-radius:14px;padding:12px 14px;margin:16px 0}
.ns365-report-searchbar i{color:#60a5fa;font-size:1.05rem}
.ns365-report-searchbar input{flex:1;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important;color:#f8fafc!important;font-size:1rem!important;padding:7px 4px!important;outline:none!important}
.ns365-report-searchbar input::placeholder{color:#8294ad}
.ns365-report-searchbar button{border:1px solid #36587c;background:#18304e;color:#dbeafe;border-radius:9px;padding:8px 14px;font-weight:700;cursor:pointer}
.ns365-report-searchbar button:hover{background:#24476f}
.pr-status.active{background:#075b3b!important;color:#5ff2a5!important}.pr-status.t1,.pr-status.t2,.pr-status.t3{background:#665000!important;color:#ffe46b!important}.pr-status.sl{background:#651d2d!important;color:#ff8ca3!important}
@media(max-width:700px){.ns365-report-searchbar{gap:7px;padding:9px}.ns365-report-searchbar input{font-size:.88rem!important}.ns365-report-searchbar button{padding:7px 9px}}

/* v3.6.5 PCR history normal table (no slider/pagination) */
.ns365-plugin-container .ns365-pcr-history-table-wrap{max-height:620px;overflow:auto;scrollbar-gutter:stable;background:#111d30}
.ns365-plugin-container .ns365-pcr-history-table-wrap .ns365-pcr-table-fit{min-width:860px;overflow:visible}
.ns365-plugin-container .ns365-pcr-history-table-wrap table{width:100%;table-layout:fixed;border-collapse:collapse}
.ns365-plugin-container .ns365-pcr-history-table-wrap thead th{position:sticky;top:0;z-index:4;background:#16243a;box-shadow:0 1px 0 #334766}
.ns365-plugin-container .ns365-pcr-history-table-wrap tbody tr:hover td{background:#14243a}
.ns365-plugin-container .ns365-pcr-history-table-wrap tbody tr:last-child td{border-bottom:0}
@media(max-width:760px){.ns365-plugin-container .ns365-pcr-history-table-wrap{max-height:520px;overflow:auto}.ns365-plugin-container .ns365-pcr-history-table-wrap .ns365-pcr-table-fit{min-width:820px}}


/* v3.6.6 PCR history: one continuous table, no slider or pagination */
.ns365-plugin-container .ns365-pcr-history-stage{padding:0!important;touch-action:auto!important;user-select:auto!important}
.ns365-plugin-container .ns365-pcr-side,
.ns365-plugin-container .ns365-pcr-history-footer,
.ns365-plugin-container .ns365-pcr-history-prev,
.ns365-plugin-container .ns365-pcr-history-next,
.ns365-plugin-container [data-pcr-history-prev],
.ns365-plugin-container [data-pcr-history-next]{display:none!important}
.ns365-plugin-container .ns365-pcr-history-panel{overflow:hidden!important}
.ns365-plugin-container .ns365-pcr-history-table-wrap{max-height:none!important;overflow-x:auto!important;overflow-y:visible!important}
.ns365-plugin-container .ns365-pcr-history-table-wrap .ns365-pcr-table-fit{min-width:900px!important;width:100%!important}
.ns365-plugin-container .ns365-pcr-history-table-wrap tbody{display:table-row-group!important}
.ns365-plugin-container .ns365-pcr-history-table-wrap tr{display:table-row!important}

/* v3.6.8 Manual F&O PCR watchlist */
.ns365-pcr-watch-tools{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:8px;align-items:center;margin:8px 0 12px}.ns365-pcr-watch-tools input{height:42px;border:1px solid #365273;border-radius:10px;background:#0b1727;color:#fff;padding:0 13px}.ns365-pcr-watch-tools button{height:42px;border:1px solid #3d69a3;border-radius:10px;background:#2874f0;color:#fff;font-weight:800;padding:0 16px;cursor:pointer}.ns365-pcr-watch-tools button.secondary{background:#172941}.ns365-pcr-watch-tools small{grid-column:1/-1;color:#85d9ac;min-height:16px}.ns365-pcr-chip{position:relative;padding:0!important;overflow:visible}.ns365-pcr-chip-main{width:100%;min-height:86px;display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;border:0;background:transparent;color:inherit;padding:10px 30px 10px 12px;cursor:pointer}.ns365-pcr-chip-remove{position:absolute;right:5px;top:5px;width:22px;height:22px;border:0;border-radius:50%;background:#5b2130;color:#ff8799;font-size:17px;line-height:20px;cursor:pointer;z-index:3}.ns365-pcr-chip-remove:hover{background:#a5223d;color:#fff}.ns365-pcr-watch-empty{padding:16px;border:1px dashed #3a5678;border-radius:10px;color:#91acd0}.ns365-pcr-stock-chips{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(175px,1fr))!important}
@media(max-width:700px){.ns365-pcr-watch-tools{grid-template-columns:1fr 1fr}.ns365-pcr-watch-tools input{grid-column:1/-1}.ns365-pcr-chip-main{min-height:78px}}


/* v3.6.11 F&O watchlist card alignment + selected-card remove control */
.ns365-plugin-container .ns365-pcr-stock-chips{align-items:stretch!important}
.ns365-plugin-container .ns365-pcr-chip{min-width:0!important;overflow:hidden!important}
.ns365-plugin-container .ns365-pcr-chip-main{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(88px,auto)!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    gap:12px!important;
    padding:12px 14px!important;
}
.ns365-plugin-container .ns365-pcr-chip-name{display:block!important;min-width:0!important;overflow:hidden!important}
.ns365-plugin-container .ns365-pcr-chip-name strong{
    display:block!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    line-height:1.25!important;
}
.ns365-plugin-container .ns365-pcr-chip-name small{
    display:block!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    margin-top:5px!important;
}
.ns365-plugin-container .ns365-pcr-chip-price{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:center!important;
    min-width:88px!important;
    max-width:110px!important;
    text-align:right!important;
    white-space:nowrap!important;
}
.ns365-plugin-container .ns365-pcr-chip-price b,
.ns365-plugin-container .ns365-pcr-chip-price small{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important}
.ns365-plugin-container .ns365-pcr-chip-remove{
    display:none!important;
    right:7px!important;
    top:7px!important;
    width:24px!important;
    height:24px!important;
    line-height:22px!important;
}
.ns365-plugin-container .ns365-pcr-chip.remove-ready .ns365-pcr-chip-remove{display:block!important}
.ns365-plugin-container .ns365-pcr-chip.remove-ready .ns365-pcr-chip-main{padding-right:40px!important}
@media(max-width:700px){
    .ns365-plugin-container .ns365-pcr-chip-main{grid-template-columns:minmax(0,1fr) minmax(78px,auto)!important;gap:8px!important;padding:10px 12px!important}
    .ns365-plugin-container .ns365-pcr-chip-price{min-width:78px!important;max-width:94px!important}
    .ns365-plugin-container .ns365-pcr-chip.remove-ready .ns365-pcr-chip-main{padding-right:38px!important}
}


/* v3.7.0 - Market Moving News + Experts */
.ns365-mm-shell,.ns365-expert-shell{color:#eaf2ff}.ns365-mm-head,.ns365-expert-head{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px;border:1px solid #314562;background:#142136;border-radius:16px}.ns365-mm-head span,.ns365-expert-head span{color:#54a3ff;font-weight:800;font-size:11px;letter-spacing:1.4px}.ns365-mm-head h2,.ns365-expert-head h2{font-size:26px;margin:5px 0}.ns365-mm-head p,.ns365-expert-head p{margin:0;color:#9fb2d0}.ns365-mm-head button{background:#2f7df4;color:#fff;border:0;border-radius:10px;padding:12px 18px;font-weight:800}.ns365-mm-filters{display:flex;gap:9px;flex-wrap:wrap;margin:16px 0}.ns365-mm-filters button{border:1px solid #365174;background:#132137;color:#cfe0fa;border-radius:999px;padding:9px 14px;font-weight:700}.ns365-mm-filters button.active,.ns365-mm-filters button:hover{background:#2f7df4;color:#fff}.ns365-mm-meta{padding:11px 14px;background:#101c2f;border:1px solid #2d4160;border-radius:10px;margin-bottom:12px;color:#91a9cd}.ns365-mm-list{display:grid;gap:12px}.ns365-mm-card{display:grid;grid-template-columns:120px 1fr;border:1px solid #304663;border-radius:14px;overflow:hidden;background:#132035}.ns365-mm-card.bull{border-left:4px solid #22c55e}.ns365-mm-card.bear{border-left:4px solid #fb5b76}.ns365-mm-score{display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0c1728;padding:16px}.ns365-mm-score small{font-size:10px;color:#9fb2cf}.ns365-mm-score strong{font-size:30px}.ns365-mm-score span{font-size:10px;color:#ffd35f}.ns365-mm-body{padding:16px}.ns365-mm-tags{display:flex;gap:8px;flex-wrap:wrap;color:#8fb2e5;font-size:12px}.ns365-mm-tags b{margin-left:auto;color:#fff}.ns365-mm-body h3{margin:10px 0 7px;font-size:18px}.ns365-mm-body p{margin:0;color:#b9c7dc;line-height:1.55}.ns365-mm-stocks{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.ns365-mm-stocks span{padding:5px 9px;border-radius:999px;background:#20334f;color:#7fb5ff;font-size:11px}.ns365-mm-actions{display:flex;gap:10px}.ns365-mm-actions button,.ns365-mm-actions a{border:1px solid #385476;background:#182943;color:#fff;text-decoration:none;border-radius:8px;padding:8px 11px}.ns365-mm-disclaimer,.ns365-expert-note{margin-top:14px;padding:12px;background:#392f08;border:1px solid #8f7200;color:#ffd95d;border-radius:10px}.ns365-expert-filters{display:grid;grid-template-columns:1fr 220px;gap:12px;margin:16px 0}.ns365-expert-filters input,.ns365-expert-filters select{background:#101d31;color:#eaf2ff;border:1px solid #385174;border-radius:10px;padding:13px}.ns365-expert-list{display:grid;gap:14px}.ns365-expert-card{background:#132137;border:1px solid #344c6c;border-radius:15px;padding:18px}.ns365-expert-top{display:flex;justify-content:space-between;gap:12px}.ns365-expert-top small{color:#7fb4ff}.ns365-expert-top h3{font-size:20px;margin:4px 0}.ns365-expert-top span{color:#a7b8d1}.ns365-expert-top>b{align-self:flex-start;padding:10px 15px;border-radius:10px}.ns365-expert-top>b.buy{background:#0f5035;color:#3ef29b}.ns365-expert-top>b.sell{background:#5b2030;color:#ff7890}.ns365-expert-numbers{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:15px 0}.ns365-expert-numbers>div{background:#0b182a;border:1px solid #2d4565;padding:11px;border-radius:10px}.ns365-expert-numbers small{display:block;color:#88a4ca}.ns365-expert-numbers strong{display:block;margin-top:5px}.ns365-expert-views{display:grid;grid-template-columns:1fr 1fr;gap:12px}.ns365-expert-views section{background:#101d30;padding:13px;border-radius:10px}.ns365-expert-views h4{margin:0 0 7px;color:#74afff}.ns365-expert-views p{margin:0;color:#c3cee0;line-height:1.5}.ns365-expert-card footer{display:flex;justify-content:space-between;gap:10px;margin-top:13px;color:#8fa5c7;font-size:12px}.ns365-expert-card footer a{color:#6db1ff}.ns365-expert-card footer em{color:#ffca4c}@media(max-width:760px){.ns365-mm-card{grid-template-columns:1fr}.ns365-mm-score{flex-direction:row;gap:12px}.ns365-expert-filters,.ns365-expert-views{grid-template-columns:1fr}.ns365-expert-numbers{grid-template-columns:1fr 1fr}}

/* v3.8.2 Intraday AI Best Momentum additions */
.ns365-intraday-smart-filters{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.ns365-intraday-smart-filters button{background:#111827;border:1px solid #334155;color:#cbd5e1;border-radius:8px;padding:8px 13px;font-weight:700;cursor:pointer}.ns365-intraday-smart-filters button.active{background:#1d4ed8;color:#fff;border-color:#60a5fa}.ns365-intraday-time-row{display:flex;justify-content:space-between;gap:10px;padding:8px 12px 10px;font-size:11px;color:#94a3b8;border-top:1px solid rgba(148,163,184,.12)}.ns365-pro-report-card .pr-compact-levels{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:800px){.ns365-pro-report-card .pr-compact-levels{grid-template-columns:repeat(2,minmax(0,1fr))}.ns365-intraday-time-row{flex-direction:column}}
