/* NDL production bundle — Step 5 */

/* ===== ndl-tokens.css ===== */

:root {
  color-scheme: dark;
  --ndl-bg-0:#061115;
  --ndl-bg-1:#08171b;
  --ndl-bg-2:#0b1c20;
  --ndl-surface-1:rgba(13,29,33,.94);
  --ndl-surface-2:rgba(16,36,40,.96);
  --ndl-surface-3:rgba(255,255,255,.025);
  --ndl-text-1:#eef8f7;
  --ndl-text-2:#c7d8d7;
  --ndl-text-3:#91a8aa;
  --ndl-text-4:#6d8385;
  --ndl-primary:#39d5ca;
  --ndl-primary-soft:#a5f4ee;
  --ndl-primary-muted:rgba(57,213,202,.10);
  --ndl-copper:#bc7750;
  --ndl-copper-muted:rgba(188,119,80,.18);
  --ndl-gold:#d7a644;
  --ndl-blue:#176bd6;
  --ndl-success:#69d6a5;
  --ndl-danger:#ff938f;
  --ndl-warning:#efbc73;
  --ndl-border:rgba(188,119,80,.18);
  --ndl-border-strong:rgba(188,119,80,.32);
  --ndl-focus:0 0 0 3px rgba(57,213,202,.10);
  --ndl-shadow-sm:0 8px 24px rgba(0,0,0,.16);
  --ndl-shadow-md:0 18px 48px rgba(0,0,0,.24);
  --ndl-shadow-lg:0 30px 90px rgba(0,0,0,.38);
  --ndl-radius-sm:10px;
  --ndl-radius-md:14px;
  --ndl-radius-lg:18px;
  --ndl-radius-xl:24px;
  --ndl-radius-2xl:30px;
  --ndl-space-1:4px;
  --ndl-space-2:8px;
  --ndl-space-3:12px;
  --ndl-space-4:16px;
  --ndl-space-5:20px;
  --ndl-space-6:24px;
  --ndl-space-7:32px;
  --ndl-space-8:40px;
  --ndl-sidebar-width:266px;
  --ndl-sidebar-collapsed:78px;
  --ndl-content-max:1500px;
  --ndl-motion-fast:140ms;
  --ndl-motion:200ms;
  --ndl-motion-slow:320ms;
  --ndl-ease:cubic-bezier(.2,.7,.2,1);
  --ndl-z-sidebar:30;
  --ndl-z-overlay:60;
  --ndl-z-toast:90;
}


/* ===== ndl-base.css ===== */

@font-face{font-family:'Vazirmatn UI FD';src:url('../assets/fonts/vazirmatn-ui-fd-regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Vazirmatn UI FD';src:url('../assets/fonts/vazirmatn-ui-fd-medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Vazirmatn UI FD';src:url('../assets/fonts/vazirmatn-ui-fd-bold.woff2') format('woff2');font-weight:700;font-display:swap}
*{box-sizing:border-box}
html{min-height:100%;scroll-behavior:smooth}
body{margin:0;min-height:100%;font-family:'Vazirmatn UI FD',Tahoma,sans-serif;background:radial-gradient(circle at 15% -10%,rgba(57,213,202,.08),transparent 28%),linear-gradient(180deg,var(--ndl-bg-0),var(--ndl-bg-1));color:var(--ndl-text-1);font-size:14px;line-height:1.7}
body::before{content:"";position:fixed;inset:0;background:url('../assets/patterns/persian-geometric.svg') center/250px repeat;opacity:.035;pointer-events:none;z-index:-1}
a{color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}img,svg{display:block;max-width:100%}
::selection{background:rgba(57,213,202,.25);color:var(--ndl-text-1)}
:focus-visible{outline:none;box-shadow:var(--ndl-focus)}
.ndl-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ndl-muted{color:var(--ndl-text-3)}.ndl-copper{color:var(--ndl-copper)}.ndl-primary-text{color:var(--ndl-primary-soft)}


/* ===== ndl-layout.css ===== */

.ndl-app{display:grid;grid-template-columns:var(--ndl-sidebar-width) minmax(0,1fr);min-height:100vh}
.ndl-sidebar{position:sticky;top:0;height:100vh;padding:20px 16px;background:rgba(5,15,18,.965);border-left:1px solid rgba(255,255,255,.04);z-index:var(--ndl-z-sidebar);overflow:hidden;transition:width var(--ndl-motion) var(--ndl-ease),transform var(--ndl-motion) var(--ndl-ease)}
.ndl-sidebar--dashboard::after{content:"";position:absolute;right:0;bottom:0;left:0;height:42%;background:linear-gradient(0deg,rgba(57,213,202,.055),transparent 88%),url('../assets/patterns/persian-geometric.svg') center bottom/220px repeat;opacity:.20;mask-image:linear-gradient(0deg,#000,transparent);pointer-events:none}
.ndl-brand{position:relative;z-index:1;display:flex;align-items:center;gap:11px;min-height:48px;margin:0 2px 22px}
.ndl-brand__logo{width:43px;height:43px;object-fit:contain;flex:none}.ndl-brand__name{font-weight:700;font-size:15px}.ndl-brand__meta{display:block;color:var(--ndl-text-3);font-size:9px;letter-spacing:.18em;direction:ltr;text-align:right}
.ndl-nav{position:relative;z-index:1;display:grid;gap:6px}.ndl-nav__item{display:flex;align-items:center;gap:11px;min-height:44px;padding:9px 11px;border:1px solid transparent;border-radius:14px;color:var(--ndl-text-2);text-decoration:none;transition:background var(--ndl-motion-fast),border-color var(--ndl-motion-fast),color var(--ndl-motion-fast),transform var(--ndl-motion-fast)}
.ndl-nav__item:hover{background:rgba(255,255,255,.025);transform:translateX(-1px)}.ndl-nav__item.is-active{color:var(--ndl-primary-soft);border-color:rgba(57,213,202,.22);background:linear-gradient(90deg,rgba(57,213,202,.12),rgba(57,213,202,.025))}
.ndl-nav__icon{width:18px;height:18px;flex:none;filter:brightness(0) invert(1);opacity:.78}.ndl-nav__item.is-active .ndl-nav__icon{filter:none;opacity:1}
.ndl-main{min-width:0;padding:26px 28px 54px}.ndl-main__inner{width:min(100%,var(--ndl-content-max));margin-inline:auto}
.ndl-topbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:18px}.ndl-page-title{margin:0;font-size:28px;line-height:1.25}.ndl-page-subtitle{margin:7px 0 0;color:var(--ndl-text-3);font-size:12px}.ndl-topbar__actions{display:flex;gap:9px;flex-wrap:wrap}
.ndl-mobile-header{display:none;position:sticky;top:0;z-index:25;height:62px;padding:9px 14px;background:rgba(5,15,18,.93);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.05);align-items:center;justify-content:space-between}.ndl-mobile-header img{height:42px;width:42px;object-fit:contain}
.ndl-sidebar-backdrop{display:none;position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:29}


/* ===== ndl-components.css ===== */

.ndl-btn{min-height:40px;padding:9px 14px;border-radius:var(--ndl-radius-md);border:1px solid var(--ndl-border);background:var(--ndl-surface-3);color:var(--ndl-text-2);display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform var(--ndl-motion-fast),border-color var(--ndl-motion-fast),background var(--ndl-motion-fast)}
.ndl-btn:hover{transform:translateY(-1px);border-color:rgba(57,213,202,.25)}.ndl-btn:active{transform:none}.ndl-btn--primary{background:linear-gradient(180deg,var(--ndl-primary-soft),var(--ndl-primary));border-color:rgba(57,213,202,.55);color:#052125;font-weight:700}.ndl-btn--secondary{color:var(--ndl-primary-soft);background:rgba(57,213,202,.07);border-color:rgba(57,213,202,.24)}.ndl-btn--danger{color:var(--ndl-danger);background:rgba(255,147,143,.05);border-color:rgba(255,147,143,.20)}.ndl-btn--icon{width:40px;padding:0}
.ndl-chip{display:inline-flex;align-items:center;gap:6px;min-height:25px;padding:4px 9px;border-radius:999px;border:1px solid rgba(57,213,202,.18);background:rgba(57,213,202,.08);color:var(--ndl-primary-soft);font-size:10px}.ndl-chip--neutral{color:var(--ndl-text-3);border-color:rgba(255,255,255,.07);background:rgba(255,255,255,.025)}.ndl-chip--success{color:#c9ecdd;border-color:rgba(105,214,165,.18);background:rgba(105,214,165,.06)}
.ndl-card{position:relative;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-xl);background:linear-gradient(180deg,var(--ndl-surface-1),rgba(9,23,27,.98));box-shadow:var(--ndl-shadow-sm);overflow:hidden}.ndl-card:hover{border-color:rgba(57,213,202,.20)}.ndl-card__head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:17px 18px;border-bottom:1px solid rgba(188,119,80,.12)}.ndl-card__body{padding:18px}.ndl-card__title{margin:0;font-size:16px}.ndl-card__subtitle{margin:4px 0 0;color:var(--ndl-text-3);font-size:10px}
.ndl-grid{display:grid;gap:14px}.ndl-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.ndl-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ndl-stat{min-height:128px;padding:16px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-lg);background:rgba(255,255,255,.018)}.ndl-stat__label{color:var(--ndl-text-3);font-size:10px}.ndl-stat__value{font-size:25px;font-weight:700;margin-top:9px}.ndl-stat__change{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:10px}.ndl-stat__change--up{color:var(--ndl-success)}.ndl-stat__change--down{color:var(--ndl-danger)}
.ndl-tabs{display:flex;gap:7px;flex-wrap:wrap}.ndl-tab{padding:7px 13px;border:1px solid transparent;border-radius:999px;background:transparent;color:var(--ndl-text-3)}.ndl-tab.is-active{color:var(--ndl-primary-soft);background:rgba(57,213,202,.10);border-color:rgba(57,213,202,.24)}
.ndl-field{display:grid;gap:7px}.ndl-field label{font-size:11px;color:var(--ndl-text-2)}.ndl-input{min-height:44px;width:100%;padding:10px 12px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-md);background:rgba(255,255,255,.022);color:var(--ndl-text-1);outline:0}.ndl-input:focus{border-color:rgba(57,213,202,.34);box-shadow:var(--ndl-focus)}.ndl-input::placeholder{color:var(--ndl-text-4)}.ndl-help{margin:0;color:var(--ndl-text-3);font-size:10px}

.ndl-feed-row{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:18px;align-items:center;min-height:116px;padding:16px 18px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-lg);background:linear-gradient(180deg,var(--ndl-surface-1),rgba(9,23,27,.97));transition:transform var(--ndl-motion-fast),border-color var(--ndl-motion-fast)}.ndl-feed-row:hover{transform:translateY(-1px);border-color:rgba(57,213,202,.22)}.ndl-feed-row h4{font-size:14px;line-height:1.8;margin:7px 0 3px}.ndl-feed-row p{margin:0;color:var(--ndl-text-3);font-size:10px}.ndl-feed-row__side{min-height:76px;padding-right:15px;border-right:1px solid rgba(188,119,80,.13);display:flex;flex-direction:column;justify-content:space-between;color:var(--ndl-text-3);font-size:10px}
.ndl-empty{padding:32px;text-align:center;border:1px dashed var(--ndl-border-strong);border-radius:var(--ndl-radius-lg);background:rgba(255,255,255,.012);color:var(--ndl-text-3)}
.ndl-table-wrap{overflow:auto;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-lg)}.ndl-table{width:100%;border-collapse:collapse;min-width:620px}.ndl-table th,.ndl-table td{padding:12px 14px;text-align:right;border-bottom:1px solid rgba(188,119,80,.10)}.ndl-table th{color:var(--ndl-text-3);font-size:10px;font-weight:500}.ndl-table td{font-size:12px}.ndl-table tr:last-child td{border-bottom:0}
.ndl-toast{position:fixed;left:22px;bottom:22px;z-index:var(--ndl-z-toast);padding:10px 14px;border-radius:var(--ndl-radius-md);background:#10272b;border:1px solid rgba(57,213,202,.25);color:var(--ndl-primary-soft);opacity:0;transform:translateY(10px);pointer-events:none;transition:opacity var(--ndl-motion),transform var(--ndl-motion)}.ndl-toast.is-visible{opacity:1;transform:none}
.ndl-modal{position:fixed;inset:0;z-index:var(--ndl-z-overlay);display:none;place-items:center;padding:18px;background:rgba(2,8,10,.68);backdrop-filter:blur(7px)}.ndl-modal.is-open{display:grid}.ndl-dialog{width:min(540px,100%);border:1px solid var(--ndl-border-strong);border-radius:var(--ndl-radius-xl);background:#0b1b1f;box-shadow:var(--ndl-shadow-lg);overflow:hidden}.ndl-dialog__head{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid rgba(188,119,80,.12)}.ndl-dialog__body{padding:18px}
.ndl-reorder-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.ndl-reorder-item{touch-action:none;user-select:none;cursor:grab;transition:transform var(--ndl-motion-fast),opacity var(--ndl-motion-fast),border-color var(--ndl-motion-fast)}.ndl-reorder-item:active{cursor:grabbing}.ndl-reorder-item.is-dragging{opacity:.58;transform:scale(.985);border-color:rgba(57,213,202,.42);box-shadow:var(--ndl-shadow-md)}.ndl-reorder-item.is-hidden{display:none}
.ndl-customize{display:grid;gap:8px}.ndl-customize__row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:8px 10px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-md);background:rgba(255,255,255,.018)}


/* ===== ndl-responsive.css ===== */

@media(max-width:1180px){.ndl-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-reorder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){body.ndl-nav-open{overflow:hidden}.ndl-app{grid-template-columns:1fr}.ndl-sidebar{position:fixed;right:0;top:0;transform:translateX(105%);width:min(300px,86vw)}body.ndl-nav-open .ndl-sidebar{transform:none}body.ndl-nav-open .ndl-sidebar-backdrop{display:block}.ndl-mobile-header{display:flex}.ndl-main{padding:18px 15px 44px}.ndl-page-title{font-size:25px}.ndl-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.ndl-grid--2,.ndl-grid--3,.ndl-grid--4,.ndl-reorder-grid{grid-template-columns:1fr}.ndl-feed-row{grid-template-columns:1fr;gap:10px}.ndl-feed-row__side{min-height:0;padding:10px 0 0;border-right:0;border-top:1px solid rgba(188,119,80,.13);flex-direction:row}.ndl-topbar{align-items:stretch}.ndl-topbar__actions{width:100%}.ndl-topbar__actions>.ndl-btn{flex:1}.ndl-card__head,.ndl-card__body{padding:15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}


/* ===== ndl-pages.css ===== */


/* Step 4 page implementations */
.ndl-nav__icon{filter:brightness(0) saturate(100%) invert(79%) sepia(7%) saturate(438%) hue-rotate(134deg) brightness(88%);opacity:.82}
.ndl-nav__item.is-active .ndl-nav__icon{filter:brightness(0) saturate(100%) invert(84%) sepia(44%) saturate(661%) hue-rotate(116deg) brightness(98%);opacity:1}
.ndl-page-stack{display:grid;gap:18px}.ndl-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}.ndl-section-head h2,.ndl-section-head h3{margin:0}.ndl-section-head p{margin:4px 0 0;color:var(--ndl-text-3);font-size:10px}.ndl-section-link{color:var(--ndl-primary-soft);font-size:10px;text-decoration:none}
.ndl-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px;min-height:300px;padding:28px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-2xl);background:radial-gradient(circle at 12% 20%,rgba(57,213,202,.15),transparent 26%),linear-gradient(135deg,rgba(13,31,35,.98),rgba(9,22,27,.98));overflow:hidden;box-shadow:var(--ndl-shadow-md)}
.ndl-hero::after{content:"";position:absolute;left:-8%;bottom:-50%;width:48%;aspect-ratio:1;border:1px solid rgba(57,213,202,.08);border-radius:38% 62% 42% 58%;transform:rotate(24deg);box-shadow:0 0 0 38px rgba(57,213,202,.025),0 0 0 80px rgba(188,119,80,.018)}
.ndl-hero__copy{position:relative;z-index:1;align-self:center}.ndl-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--ndl-primary-soft);font-size:10px}.ndl-eyebrow::before{content:"";width:28px;height:1px;background:var(--ndl-copper)}.ndl-hero h2{font-size:34px;line-height:1.65;margin:12px 0 8px;max-width:720px}.ndl-hero h2 span{color:var(--ndl-primary-soft)}.ndl-hero p{margin:0;color:var(--ndl-text-3);font-size:12px;max-width:670px}.ndl-hero__actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
.ndl-hero__market{position:relative;z-index:1;align-self:stretch;display:grid;align-content:center;gap:9px}.ndl-pulse-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid var(--ndl-border);border-radius:14px;background:rgba(255,255,255,.025)}.ndl-pulse-row span{font-size:10px;color:var(--ndl-text-3)}.ndl-pulse-row strong{font-size:13px}.ndl-pulse-row em{font-style:normal;font-size:9px}.is-up{color:var(--ndl-success)!important}.is-down{color:var(--ndl-danger)!important}
.ndl-asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ndl-asset-card{min-height:172px;padding:17px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-xl);background:linear-gradient(180deg,var(--ndl-surface-1),rgba(8,22,26,.98));box-shadow:var(--ndl-shadow-sm)}.ndl-asset-card__top{display:flex;justify-content:space-between;align-items:center;gap:10px}.ndl-asset-symbol{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:rgba(57,213,202,.08);border:1px solid rgba(57,213,202,.17);color:var(--ndl-primary-soft);font-weight:700}.ndl-asset-card h3{font-size:12px;margin:0}.ndl-asset-card small{display:block;color:var(--ndl-text-3);font-size:9px;margin-top:3px}.ndl-asset-value{font-size:22px;font-weight:700;margin-top:19px}.ndl-asset-change{display:flex;gap:8px;margin-top:7px;font-size:9px}.ndl-asset-change span:last-child{color:var(--ndl-text-3)}
.ndl-dashboard-widget{min-height:190px}.ndl-widget-list{display:grid;gap:8px}.ndl-widget-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid rgba(188,119,80,.10);font-size:10px}.ndl-widget-row:last-child{border:0}.ndl-widget-row span{color:var(--ndl-text-3)}
.ndl-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;padding:12px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-lg);background:rgba(10,24,28,.74)}.ndl-search{width:min(320px,100%);position:relative}.ndl-search .ndl-input{padding-right:40px}.ndl-search img{position:absolute;right:13px;top:50%;transform:translateY(-50%);width:17px;opacity:.7;filter:brightness(0) invert(1)}
.ndl-price-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ndl-price-card{position:relative;min-height:156px;padding:16px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-xl);background:linear-gradient(180deg,var(--ndl-surface-1),rgba(9,23,27,.98));overflow:hidden}.ndl-price-card::after{content:"";position:absolute;left:-28px;bottom:-34px;width:100px;height:100px;border-radius:50%;background:radial-gradient(circle,rgba(57,213,202,.08),transparent 67%)}.ndl-price-card__head{display:flex;align-items:center;justify-content:space-between;gap:10px}.ndl-price-card__head strong{font-size:12px}.ndl-price-card__head span{font-size:9px;color:var(--ndl-text-3)}.ndl-price-number{font-size:21px;font-weight:700;margin-top:19px}.ndl-price-unit{font-size:9px;color:var(--ndl-text-3);margin-right:5px}.ndl-price-delta{display:flex;gap:8px;margin-top:8px;font-size:9px}
.ndl-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ndl-summary-card{padding:16px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-lg);background:rgba(255,255,255,.018)}.ndl-summary-card span{font-size:9px;color:var(--ndl-text-3)}.ndl-summary-card strong{display:block;font-size:20px;margin-top:7px}.ndl-summary-card small{display:block;font-size:9px;margin-top:5px;color:var(--ndl-text-3)}
.ndl-company{display:flex;align-items:center;gap:9px}.ndl-stock-icon{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.06);color:var(--ndl-primary-soft);font-size:9px}.ndl-symbol{font-weight:700}.ndl-table .positive{color:var(--ndl-success)}.ndl-table .negative{color:var(--ndl-danger)}
.ndl-portfolio-head{display:flex;align-items:center;gap:12px}.ndl-portfolio-head img{width:46px;height:46px}.ndl-allocation{display:grid;grid-template-columns:180px 1fr;gap:22px;align-items:center}.ndl-donut{width:180px;aspect-ratio:1;border-radius:50%;background:conic-gradient(var(--ndl-primary) 0 38%,var(--ndl-gold) 38% 67%,var(--ndl-blue) 67% 85%,var(--ndl-copper) 85% 100%);position:relative}.ndl-donut::after{content:"ارزش کل\A ۳٫۸۴ میلیارد";white-space:pre;position:absolute;inset:25px;border-radius:50%;display:grid;place-items:center;text-align:center;background:#0b1c20;color:var(--ndl-text-2);font-size:10px;line-height:2}.ndl-allocation-list{display:grid;gap:10px}.ndl-allocation-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;font-size:10px}.ndl-dot{width:9px;height:9px;border-radius:50%}.ndl-bar{height:7px;border-radius:999px;background:rgba(255,255,255,.05);overflow:hidden}.ndl-bar i{display:block;height:100%;border-radius:inherit;background:var(--ndl-primary)}
.ndl-feed{display:grid;gap:9px}.ndl-news-source{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.ndl-feed-row__side .ndl-btn{min-height:34px;padding:6px 10px}
.ndl-form-section{display:grid;gap:14px}.ndl-form-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:14px}.ndl-identity{display:flex;align-items:center;gap:11px;padding:9px 12px;border:1px solid var(--ndl-border);border-radius:15px;background:rgba(255,255,255,.02)}.ndl-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--ndl-primary-soft),var(--ndl-primary));color:#062126;font-weight:700}.ndl-identity strong{display:block;font-size:12px}.ndl-identity span{display:block;font-size:9px;color:var(--ndl-text-3);direction:ltr;text-align:right}
.ndl-password-rules{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:12px}.ndl-rule{padding:7px 9px;border:1px solid rgba(255,255,255,.06);border-radius:11px;color:var(--ndl-text-3);font-size:9px}.ndl-rule.is-valid{color:var(--ndl-success);border-color:rgba(105,214,165,.18)}
.ndl-connection{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}.ndl-account{display:flex;align-items:center;gap:12px}.ndl-telegram-mark{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,var(--ndl-primary-soft),var(--ndl-primary));color:#052125}.ndl-telegram-mark img{width:23px;filter:brightness(0) saturate(100%)}.ndl-account strong{display:block}.ndl-account span{display:block;font-size:9px;color:var(--ndl-text-3);direction:ltr;text-align:right}.ndl-builder-list{display:grid;gap:8px}.ndl-builder-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;min-height:48px;padding:8px 11px;border:1px solid var(--ndl-border);border-radius:13px;background:rgba(255,255,255,.018)}.ndl-builder-row strong{font-size:10px}.ndl-builder-add{display:grid;grid-template-columns:1fr auto;gap:10px}.ndl-remove{width:31px;height:31px;border:0;border-radius:9px;background:transparent;color:var(--ndl-text-4)}.ndl-remove:hover{background:rgba(255,147,143,.05);color:var(--ndl-danger)}
.ndl-list{display:grid;gap:8px}.ndl-list-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:12px 13px;border:1px solid var(--ndl-border);border-radius:14px;background:rgba(255,255,255,.018)}.ndl-list-row h4{font-size:11px;margin:0}.ndl-list-row p{margin:4px 0 0;font-size:9px;color:var(--ndl-text-3)}
.ndl-city-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ndl-city-card{position:relative;min-height:270px;border:1px solid var(--ndl-border);border-radius:26px;overflow:hidden;box-shadow:var(--ndl-shadow-md);background:#07182a}.ndl-city-card__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ndl-city-card::after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(4,14,26,.96) 0%,rgba(4,14,26,.86) 32%,rgba(4,14,26,.30) 57%,transparent 78%)}.ndl-city-panel{position:absolute;z-index:2;right:0;top:0;bottom:0;width:46%;padding:20px;display:flex;flex-direction:column;justify-content:space-between}.ndl-city-top{display:flex;justify-content:space-between;gap:10px}.ndl-city-top h3{margin:0;font-size:20px}.ndl-city-top span{display:block;color:var(--ndl-text-3);font-size:9px;margin-top:3px}.ndl-city-time{font-size:38px;line-height:1;font-weight:700;direction:ltr;text-align:right}.ndl-city-date{color:var(--ndl-text-3);font-size:9px;margin-top:6px}.ndl-city-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ndl-city-metric{padding:7px;border-top:1px solid rgba(255,255,255,.08)}.ndl-city-metric label{display:block;color:var(--ndl-text-3);font-size:8px}.ndl-city-metric strong{display:block;font-size:10px;margin-top:4px}.ndl-temp{font-size:38px;line-height:1;font-weight:700}.ndl-condition{color:var(--ndl-text-2);font-size:10px;margin-top:5px}.ndl-forecast{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.ndl-day{padding:7px;border-top:1px solid rgba(255,255,255,.08);font-size:8px}.ndl-day strong{display:block;font-size:9px;margin-top:4px}
.ndl-status-line{display:flex;align-items:center;gap:7px;color:var(--ndl-text-3);font-size:9px}.ndl-status-dot{width:7px;height:7px;border-radius:50%;background:var(--ndl-success);box-shadow:0 0 0 4px rgba(105,214,165,.08)}
@media(max-width:1180px){.ndl-asset-grid,.ndl-price-grid,.ndl-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-hero{grid-template-columns:1fr}.ndl-hero__market{grid-template-columns:repeat(2,1fr)}.ndl-allocation{grid-template-columns:150px 1fr}.ndl-donut{width:150px}}
@media(max-width:800px){.ndl-city-grid{grid-template-columns:1fr}.ndl-password-rules{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.ndl-asset-grid,.ndl-price-grid,.ndl-summary-grid{grid-template-columns:1fr}.ndl-hero{padding:20px}.ndl-hero h2{font-size:27px}.ndl-hero__market{grid-template-columns:1fr}.ndl-allocation{grid-template-columns:1fr;justify-items:center}.ndl-allocation-list{width:100%}.ndl-connection{grid-template-columns:1fr}.ndl-builder-add{grid-template-columns:1fr}.ndl-city-card{min-height:310px}.ndl-city-panel{width:60%;padding:16px}.ndl-city-card::after{background:linear-gradient(270deg,rgba(4,14,26,.97),rgba(4,14,26,.80) 48%,rgba(4,14,26,.14) 76%,transparent)}.ndl-password-rules{grid-template-columns:1fr}}



/* ===== Production assembly additions ===== */
.ndl-loading{min-height:220px;display:grid;place-items:center;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-xl);background:rgba(255,255,255,.012);color:var(--ndl-text-3)}
.ndl-loading__inner{display:grid;justify-items:center;gap:12px}.ndl-spinner{width:32px;height:32px;border:3px solid rgba(255,255,255,.08);border-top-color:var(--ndl-primary);border-radius:50%;animation:ndl-spin .8s linear infinite}@keyframes ndl-spin{to{transform:rotate(360deg)}}
.ndl-error{padding:26px;border:1px solid rgba(255,147,143,.24);border-radius:var(--ndl-radius-xl);background:rgba(255,147,143,.035);text-align:center}.ndl-error h2{margin:0 0 7px;font-size:17px}.ndl-error p{margin:0 auto 14px;max-width:620px;color:var(--ndl-text-3);font-size:11px}
.ndl-page-root{display:grid;gap:18px}.ndl-action-icon{width:17px;height:17px}.ndl-btn[disabled]{opacity:.55;cursor:not-allowed;transform:none}
.ndl-donut{--segments:conic-gradient(var(--ndl-primary) 0 38%,var(--ndl-gold) 38% 67%,var(--ndl-blue) 67% 85%,var(--ndl-copper) 85% 100%);background:var(--segments)}
.ndl-donut::after{content:attr(data-center);white-space:pre-line}
.ndl-chart{width:100%;height:220px}.ndl-form-message{margin-top:10px;min-height:18px;color:var(--ndl-text-3);font-size:10px}.ndl-form-message.is-error{color:var(--ndl-danger)}.ndl-form-message.is-success{color:var(--ndl-success)}
.ndl-api-badge{position:fixed;left:14px;top:14px;z-index:20;padding:4px 8px;border-radius:999px;background:rgba(7,24,47,.9);border:1px solid rgba(215,166,68,.26);color:var(--ndl-gold);font-size:8px;pointer-events:none}
.ndl-city-card[data-background="generic"] .ndl-city-card__bg{filter:saturate(.72)}
.ndl-builder-note{margin:8px 0 0;color:var(--ndl-text-3);font-size:9px}.ndl-category-count{margin-inline-start:auto}
.ndl-table__empty{text-align:center!important;color:var(--ndl-text-3);padding:28px!important}
.ndl-mobile-header img{object-fit:contain}
@media(max-width:700px){.ndl-api-badge{display:none}.ndl-chart{height:180px}}

/* ===== NDL Final Production Overrides ===== */
body::before{opacity:0;background:none}
body:not([data-page="dashboard"])::before{
  background:
    linear-gradient(180deg,rgba(6,17,21,.93),rgba(6,17,21,.97)),
    url('../assets/backgrounds/persian-ndl-master.webp') center/cover fixed no-repeat;
  opacity:.16;
}
body[data-page="dashboard"] .ndl-sidebar--dashboard::after{
  height:48%;
  background:
    linear-gradient(0deg,rgba(5,15,18,.04),rgba(5,15,18,.92) 91%),
    url('../assets/backgrounds/persian-ndl-master.webp') center bottom/auto 100% no-repeat;
  opacity:.36;
  mask-image:linear-gradient(0deg,#000 18%,rgba(0,0,0,.82) 58%,transparent 100%);
}

.ndl-hero--final{
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
  min-height:430px;
  padding:38px;
  background:
    radial-gradient(circle at 18% 8%,rgba(57,213,202,.14),transparent 34%),
    radial-gradient(circle at 92% 78%,rgba(188,119,80,.10),transparent 31%),
    linear-gradient(135deg,rgba(13,31,35,.985),rgba(7,18,22,.985));
  isolation:isolate;
}
.ndl-hero--final::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:url('../assets/patterns/persian-geometric.svg') left -40px bottom -60px/330px repeat-x;
  opacity:.055;mask-image:linear-gradient(90deg,#000,transparent 66%);
}
.ndl-hero--final::after{left:auto;right:-11%;bottom:-48%;width:45%;opacity:.8}
.ndl-hero--final .ndl-hero__copy{padding-inline-end:12px}
.ndl-hero--final h2{font-size:42px;line-height:1.55;margin:15px 0 10px;max-width:790px;letter-spacing:-.025em}
.ndl-hero--final h2 span{display:block;color:var(--ndl-primary-soft)}
.ndl-hero--final p{font-size:13px;line-height:2;max-width:670px;color:#b8cccb}
.ndl-hero__trust{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}
.ndl-hero__trust span{padding:5px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);color:var(--ndl-text-3);font-size:9px}
.ndl-hero__visual{position:relative;display:grid;grid-template-columns:minmax(185px,.75fr) minmax(210px,1fr);align-items:center;gap:14px;min-width:0}
.ndl-hero__orb{position:relative;aspect-ratio:1;display:grid;place-items:center;border-radius:50%;background:radial-gradient(circle,rgba(57,213,202,.13),rgba(57,213,202,.025) 49%,transparent 70%)}
.ndl-hero__orb::before,.ndl-hero__orb::after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(57,213,202,.12)}
.ndl-hero__orb::before{inset:6%;box-shadow:0 0 48px rgba(57,213,202,.07)}
.ndl-hero__orb::after{inset:18%;border-color:rgba(188,119,80,.14)}
.ndl-hero__orb img{position:relative;z-index:1;width:92%;height:92%;object-fit:contain;filter:drop-shadow(0 22px 34px rgba(0,0,0,.42))}
.ndl-hero--final .ndl-hero__market{display:grid;grid-template-columns:1fr;gap:9px;align-content:center}
.ndl-hero--final .ndl-pulse-row{min-height:64px;padding:12px 13px;background:linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.018));backdrop-filter:blur(12px);box-shadow:0 12px 28px rgba(0,0,0,.16)}
.ndl-hero--final .ndl-pulse-row div{display:grid;gap:2px}
.ndl-hero--final .ndl-pulse-row em{font-size:11px;font-weight:700;direction:ltr}

.ndl-city-grid{gap:18px}
.ndl-city-card{
  aspect-ratio:16/9;
  min-height:390px;
  border-color:rgba(188,119,80,.25);
  border-radius:28px;
  box-shadow:0 24px 68px rgba(0,0,0,.34);
  background:#07131d;
  isolation:isolate;
}
.ndl-city-card:hover{border-color:rgba(57,213,202,.28)}
.ndl-city-card__bg{z-index:-2;object-position:center;transform:scale(1.002);transition:transform 700ms var(--ndl-ease),filter 300ms var(--ndl-ease)}
.ndl-city-card:hover .ndl-city-card__bg{transform:scale(1.018)}
.ndl-city-card::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(2,9,14,.05),rgba(2,9,14,.22) 70%,rgba(2,9,14,.50))}
.ndl-city-card::after{
  z-index:-1;
  background:linear-gradient(270deg,rgba(3,12,22,.98) 0%,rgba(3,12,22,.93) 25%,rgba(3,12,22,.78) 43%,rgba(3,12,22,.22) 64%,transparent 80%);
}
.ndl-city-panel{width:50%;padding:24px 25px 22px;gap:14px;justify-content:space-between}
.ndl-city-top{align-items:flex-start}
.ndl-city-top h3{font-size:25px;line-height:1.25}
.ndl-city-top span{font-size:10px;color:#a8bcbc;margin-top:5px}
.ndl-city-more{border:0;background:transparent;color:#a8bcbc;font-size:15px;padding:4px;line-height:1;letter-spacing:2px}
.ndl-city-primary{display:grid;grid-template-columns:1.2fr .8fr;align-items:end;gap:14px;padding-block:4px}
.ndl-city-time{font-size:42px;letter-spacing:.02em;font-variant-numeric:tabular-nums}
.ndl-city-date{font-size:10px;line-height:1.9;color:#b5c6c6}
.ndl-city-weather{display:flex;align-items:center;justify-content:flex-end;gap:8px;text-align:left}
.ndl-weather-symbol{font-size:34px;color:#f5cf7b;filter:drop-shadow(0 8px 14px rgba(0,0,0,.30))}
.ndl-city-weather .ndl-temp{font-size:34px;text-align:left}
.ndl-city-weather .ndl-condition{font-size:9px;text-align:left}
.ndl-city-metrics{gap:8px;border-top:1px solid rgba(255,255,255,.075);border-bottom:1px solid rgba(255,255,255,.065);padding-block:6px}
.ndl-city-metric{padding:6px 4px;border-top:0;border-left:1px solid rgba(255,255,255,.06)}
.ndl-city-metric:last-child{border-left:0}
.ndl-city-metric label{font-size:8px}
.ndl-city-metric strong{font-size:10px;margin-top:3px;direction:ltr;text-align:right}
.ndl-forecast{gap:5px}
.ndl-day{display:grid;gap:2px;padding:7px 5px;border-top:0;border-radius:12px;background:rgba(255,255,255,.035);font-size:8px}
.ndl-day small{color:var(--ndl-text-3);font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndl-day strong{font-size:9px;margin-top:2px;direction:ltr;text-align:right}
.ndl-city-card--clock .ndl-city-time{font-size:47px}
.ndl-city-card--clock .ndl-city-weather{opacity:.84}
.ndl-city-card--weather .ndl-city-weather .ndl-temp{font-size:39px}
.ndl-city-card--weather .ndl-city-clock{opacity:.92}
.ndl-city-card[data-background="generic"] .ndl-city-card__bg{filter:saturate(.68) brightness(.82)}

@media(max-width:1280px){
  .ndl-hero--final{grid-template-columns:1fr;min-height:auto}
  .ndl-hero__visual{grid-template-columns:minmax(190px,.55fr) minmax(260px,1fr)}
  .ndl-hero__orb{max-width:280px;justify-self:center;width:100%}
  .ndl-hero--final .ndl-hero__market{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ndl-city-card{min-height:350px}
  .ndl-city-panel{width:55%}
}
@media(max-width:900px){
  .ndl-city-grid{grid-template-columns:1fr}
  .ndl-city-card{min-height:410px}
  .ndl-city-panel{width:51%}
}
@media(max-width:700px){
  .ndl-hero--final{padding:22px;gap:24px}
  .ndl-hero--final h2{font-size:30px}
  .ndl-hero__visual{grid-template-columns:1fr}
  .ndl-hero__orb{max-width:210px}
  .ndl-hero--final .ndl-hero__market{grid-template-columns:1fr}
  .ndl-city-card{aspect-ratio:auto;min-height:510px}
  .ndl-city-card__bg{object-position:35% center}
  .ndl-city-card::after{background:linear-gradient(0deg,rgba(3,12,22,.99) 0%,rgba(3,12,22,.94) 54%,rgba(3,12,22,.18) 78%,transparent 100%)}
  .ndl-city-panel{top:auto;width:100%;height:67%;padding:18px;gap:9px}
  .ndl-city-primary{grid-template-columns:1fr 1fr}
  .ndl-city-time,.ndl-city-card--clock .ndl-city-time{font-size:34px}
  .ndl-city-weather .ndl-temp,.ndl-city-card--weather .ndl-city-weather .ndl-temp{font-size:31px}
}
@media(min-width:701px){.ndl-city-card{min-height:0}}

/* ===== NDL V1.1 — identity restoration and refinement ===== */
:root{
  --ndl-home-tiffany:#2fb9ad;
  --ndl-home-copper:#c27a4e;
  --ndl-home-gold:#d8aa58;
}
body{
  background-color:#081525;
  background-image:
    linear-gradient(rgba(5,15,27,.68),rgba(5,15,27,.76)),
    url('../assets/backgrounds/nerkhche-dark-20260723.webp');
  background-size:cover;
  background-position:center top;
  background-attachment:fixed;
}
body::before{
  background:radial-gradient(circle at 50% 20%,transparent 0 28%,rgba(3,10,18,.16) 64%,rgba(3,10,18,.45) 100%);
  opacity:1;
  z-index:-1;
}
.ndl-app{position:relative;isolation:isolate}
.ndl-main{background:linear-gradient(180deg,rgba(5,15,24,.16),rgba(5,15,24,.28));}
.ndl-sidebar{
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg,rgba(5,15,22,.985),rgba(8,22,29,.97));
  border-left:1px solid rgba(194,122,78,.22);
  box-shadow:-12px 0 42px rgba(0,0,0,.18),inset -1px 0 rgba(47,185,173,.05);
}
.ndl-sidebar--dashboard::after{display:none}
.ndl-brand{min-height:72px;margin:0 1px 18px;padding:4px 5px 10px;border-bottom:1px solid rgba(194,122,78,.12)}
.ndl-brand__logo{width:62px;height:62px;filter:drop-shadow(0 10px 20px rgba(0,0,0,.35));}
.ndl-brand__name{font-size:18px;letter-spacing:-.02em}.ndl-brand__meta{font-size:9px;color:#b5c9c6}
.ndl-nav{gap:5px}
.ndl-nav__item{min-height:47px;padding:8px 10px;border-radius:15px}
.ndl-nav__item:hover{background:linear-gradient(90deg,rgba(47,185,173,.055),rgba(194,122,78,.035));border-color:rgba(194,122,78,.10)}
.ndl-nav__item.is-active{
  color:#e9fffc;
  border-color:rgba(47,185,173,.30);
  background:linear-gradient(90deg,rgba(47,185,173,.16),rgba(194,122,78,.075));
  box-shadow:inset -3px 0 var(--ndl-home-copper),0 8px 24px rgba(0,0,0,.12);
}
.ndl-nav__icon{width:27px;height:27px;object-fit:contain;filter:none;opacity:.78;transition:transform var(--ndl-motion-fast),opacity var(--ndl-motion-fast)}
.ndl-nav__item:hover .ndl-nav__icon,.ndl-nav__item.is-active .ndl-nav__icon{opacity:1;transform:translateY(-1px) scale(1.04);filter:none}
.ndl-sidebar-art{position:relative;z-index:1;margin-top:auto;padding-top:16px}
.ndl-sidebar-art__tile{height:142px;border-radius:20px;border:1px solid rgba(216,170,88,.28);background:
  linear-gradient(180deg,rgba(4,14,20,.02),rgba(4,14,20,.44)),
  url('../assets/patterns/sidebar-persian-tile.png') center/cover;
  box-shadow:inset 0 1px rgba(255,255,255,.05),0 16px 34px rgba(0,0,0,.28);
}
.ndl-sidebar-art__caption{display:flex;justify-content:space-between;align-items:flex-end;gap:8px;padding:9px 3px 0;color:#d9b06a}
.ndl-sidebar-art__caption span{font-size:10px}.ndl-sidebar-art__caption small{font-size:7px;color:var(--ndl-text-4);direction:ltr}
.ndl-card,.ndl-feed-row,.ndl-stat,.ndl-summary-card,.ndl-asset-card,.ndl-price-card{
  backdrop-filter:blur(15px);
  background:linear-gradient(180deg,rgba(13,29,36,.91),rgba(7,20,27,.95));
  border-color:rgba(194,122,78,.20);
}
.ndl-card:hover,.ndl-feed-row:hover,.ndl-stat:hover,.ndl-summary-card:hover,.ndl-asset-card:hover,.ndl-price-card:hover{border-color:rgba(47,185,173,.27)}
.ndl-hero--final{
  min-height:250px;
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);
  padding:24px 26px;
  gap:22px;
  border-color:rgba(194,122,78,.24);
  background:
    radial-gradient(circle at 82% 16%,rgba(47,185,173,.14),transparent 28%),
    linear-gradient(135deg,rgba(10,29,36,.95),rgba(6,18,27,.94));
}
.ndl-hero--final h2{font-size:38px;line-height:1.48;margin:10px 0 7px}.ndl-hero--final h2 span{display:inline;color:#8ee5dc}
.ndl-hero--final p{max-width:720px}.ndl-hero__trust{margin-top:12px}.ndl-hero__actions{margin-top:16px}
.ndl-hero__visual{grid-template-columns:90px minmax(0,1fr);gap:10px}
.ndl-hero__asset{width:112px;max-height:150px;object-fit:contain;opacity:.84;filter:drop-shadow(0 18px 28px rgba(0,0,0,.38));transform:translateX(8px)}
.ndl-hero--final .ndl-pulse-row{min-height:54px;padding:9px 11px;border-color:rgba(194,122,78,.16)}
.ndl-section-head{margin-top:24px}
.ndl-grid,.ndl-asset-grid,.ndl-summary-grid,.ndl-price-grid,.ndl-reorder-grid{gap:12px}
.ndl-card__head{padding:15px 16px}.ndl-card__body{padding:16px}.ndl-stat{min-height:116px;padding:14px}
.ndl-reorder-surface{position:relative}
.ndl-reorder-item{position:relative;touch-action:pan-y;transition:transform var(--ndl-motion-fast),opacity var(--ndl-motion-fast),border-color var(--ndl-motion-fast),box-shadow var(--ndl-motion-fast)}


.ndl-reorder-item.is-dragging{opacity:.66;transform:scale(.985) rotate(.2deg);border-color:rgba(47,185,173,.48)!important;box-shadow:0 24px 70px rgba(0,0,0,.38),0 0 0 2px rgba(47,185,173,.10)}
.ndl-is-dragging{cursor:grabbing!important;user-select:none}
.ndl-mobile-header img{width:48px;height:48px;filter:drop-shadow(0 8px 16px rgba(0,0,0,.34))}
@media(max-width:1180px){.ndl-hero--final{grid-template-columns:1fr}.ndl-hero__visual{grid-template-columns:82px 1fr}.ndl-sidebar-art__tile{height:110px}}
@media(max-width:700px){
  body{background-attachment:scroll;background-position:center top}
  .ndl-main{padding:18px 14px 78px}
  .ndl-hero--final{padding:18px;gap:18px;min-height:auto}.ndl-hero--final h2{font-size:27px;line-height:1.5}.ndl-hero--final p{font-size:11px}.ndl-hero__visual{grid-template-columns:1fr}.ndl-hero__asset{display:none}.ndl-hero--final .ndl-hero__market{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.ndl-hero--final .ndl-pulse-row{min-height:58px}
  .ndl-sidebar-art__tile{height:124px}
}
@media(max-width:430px){.ndl-hero--final .ndl-hero__market{grid-template-columns:1fr}.ndl-brand__logo{width:56px;height:56px}}

/* ===== NDL V1.2 — modular dashboard and configurable platform ===== */
body{
  background-image:
    linear-gradient(rgba(4,13,24,.34),rgba(4,13,24,.48)),
    url('../assets/backgrounds/nerkhche-dark-20260723.webp');
  background-size:cover;
  background-position:center top;
  background-attachment:fixed;
}
body::before{background:radial-gradient(circle at 50% 18%,transparent 0 24%,rgba(2,8,16,.08) 62%,rgba(2,8,16,.28) 100%)}
.ndl-main{background:linear-gradient(180deg,rgba(3,11,19,.05),rgba(3,11,19,.16))}
.ndl-sidebar{position:sticky;background:linear-gradient(180deg,rgba(4,14,21,.96),rgba(5,17,23,.93));isolation:isolate}
.ndl-sidebar::before{
  content:"";position:absolute;z-index:-1;inset:auto 0 0;height:58%;
  background:
    linear-gradient(0deg,rgba(4,15,21,.12),rgba(4,15,21,.38) 58%,transparent 100%),
    url('../assets/patterns/sidebar-persian-tile.png') center bottom/cover no-repeat;
  opacity:.72;pointer-events:none;
  -webkit-mask-image:linear-gradient(to top,#000 0 42%,rgba(0,0,0,.75) 63%,transparent 100%);
  mask-image:linear-gradient(to top,#000 0 42%,rgba(0,0,0,.75) 63%,transparent 100%);
}
.ndl-sidebar::after{content:"";position:absolute;z-index:-1;inset:auto 0 0;height:62%;background:linear-gradient(to top,rgba(5,16,22,.12),rgba(5,16,22,.58) 62%,rgba(5,16,22,.96) 100%);pointer-events:none}
.ndl-sidebar-art{display:none!important}.ndl-sidebar-signature{margin-top:auto;position:relative;z-index:1;padding:18px 8px 6px;color:#e2bb73;text-shadow:0 2px 12px rgba(0,0,0,.8)}.ndl-sidebar-signature span{display:block;font-size:11px;font-weight:600}.ndl-sidebar-signature small{display:block;margin-top:3px;font-size:7px;letter-spacing:.12em;color:#9bb0ae;direction:ltr}
.ndl-nav__icon{width:30px;height:30px;object-fit:contain;filter:none!important;opacity:.92;transform:none!important;filter:drop-shadow(0 6px 10px rgba(0,0,0,.32))!important}.ndl-nav__item:hover .ndl-nav__icon,.ndl-nav__item.is-active .ndl-nav__icon{opacity:1;transform:translateY(-1px) scale(1.06)!important}
.ndl-nav__item{background:linear-gradient(90deg,rgba(255,255,255,.015),transparent)}
.ndl-nav__item.is-active{background:linear-gradient(90deg,rgba(47,185,173,.19),rgba(194,122,78,.10) 75%,transparent);box-shadow:inset -3px 0 #c27a4e,0 11px 28px rgba(0,0,0,.15)}
.ndl-direct-drag>.ndl-draggable{cursor:grab;user-select:none}.ndl-direct-drag>.ndl-draggable:active{cursor:grabbing}.ndl-direct-drag>.ndl-draggable.is-dragging{opacity:.72;transform:scale(.985);z-index:12;box-shadow:0 28px 90px rgba(0,0,0,.48),0 0 0 2px rgba(57,213,202,.18)}
.ndl-is-dragging{cursor:grabbing!important;user-select:none}.ndl-is-dragging *{cursor:grabbing!important}

.ndl-hero--v12{min-height:270px;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);padding:28px;border:1px solid rgba(216,170,88,.28);background:radial-gradient(circle at 12% 10%,rgba(57,213,202,.14),transparent 32%),radial-gradient(circle at 82% 90%,rgba(194,122,78,.13),transparent 30%),linear-gradient(140deg,rgba(10,30,38,.96),rgba(5,16,25,.94));box-shadow:0 30px 90px rgba(0,0,0,.28),inset 0 1px rgba(255,255,255,.045)}
.ndl-hero--v12::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(115deg,transparent 0 43%,rgba(255,255,255,.035) 49%,transparent 56%);transform:translateX(-35%)}
.ndl-hero--v12:hover::after{transition:transform 900ms var(--ndl-ease);transform:translateX(35%)}
.ndl-hero--v12 h2{font-size:40px;line-height:1.45;margin:11px 0 8px}.ndl-hero--v12 h2 span{color:#98eee7}.ndl-hero--v12 p{max-width:720px;color:#b9cecd}.ndl-hero--v12 .ndl-hero__visual{grid-template-columns:104px 1fr;align-items:center;gap:12px}.ndl-hero--v12 .ndl-hero__asset{width:126px;max-height:170px;opacity:.95;filter:drop-shadow(0 22px 32px rgba(0,0,0,.44))}
.ndl-hero-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ndl-hero-quote{min-height:78px;padding:12px 13px;border:1px solid rgba(216,170,88,.17);border-radius:16px;background:linear-gradient(145deg,rgba(12,35,42,.76),rgba(7,22,29,.88));box-shadow:inset 0 1px rgba(255,255,255,.035);display:grid;gap:8px}.ndl-hero-quote>div:first-child{display:flex;justify-content:space-between;gap:8px}.ndl-hero-quote strong{font-size:12px}.ndl-hero-quote span{font-size:8px;color:var(--ndl-text-3)}.ndl-hero-quote__numbers{display:flex;justify-content:space-between;align-items:end;gap:10px;direction:ltr}.ndl-hero-quote__numbers b{font-size:16px;color:#f3fbfa}.ndl-hero-quote__numbers b small{font-size:8px;color:var(--ndl-text-3);font-weight:400}.ndl-hero-quote__numbers em{font-size:10px;font-style:normal;font-weight:700}

.ndl-dashboard-workspace{margin-top:26px}.ndl-widget-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px;margin-top:12px;align-items:start}.ndl-widget--small{grid-column:span 3}.ndl-widget--medium{grid-column:span 4}.ndl-widget--wide{grid-column:span 6}.ndl-widget--full{grid-column:1/-1}
.ndl-widget-card{--widget-accent:#39d5ca;position:relative;overflow:hidden;min-height:250px;border:1px solid rgba(194,122,78,.22);border-radius:25px;background:radial-gradient(circle at 90% 0,rgba(57,213,202,.10),transparent 34%),linear-gradient(165deg,rgba(14,34,40,.94),rgba(6,19,26,.96));box-shadow:0 16px 46px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.045);transition:transform var(--ndl-motion),border-color var(--ndl-motion),box-shadow var(--ndl-motion)}
.ndl-widget-card::before{content:"";position:absolute;top:0;right:22px;left:22px;height:1px;background:linear-gradient(90deg,transparent,var(--widget-accent),transparent);opacity:.72}.ndl-widget-card::after{content:"";position:absolute;inset:-30% auto auto -12%;width:150px;height:150px;border-radius:50%;background:var(--widget-accent);opacity:.035;filter:blur(20px);pointer-events:none}.ndl-widget-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--widget-accent) 38%,transparent);box-shadow:0 26px 70px rgba(0,0,0,.32),inset 0 1px rgba(255,255,255,.055)}
.ndl-widget-card[data-widget-type="price"]{--widget-accent:#d7a644}.ndl-widget-card[data-widget-type="stock"]{--widget-accent:#39d5ca}.ndl-widget-card[data-widget-type="weather-clock"]{--widget-accent:#4b8fdd}.ndl-widget-card[data-widget-type="news"]{--widget-accent:#c27a4e}.ndl-widget-card[data-widget-type="portfolio"]{--widget-accent:#6fd5a7}
.ndl-widget-card__head{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 17px;border-bottom:1px solid rgba(255,255,255,.055)}.ndl-widget-card__identity{display:flex;align-items:center;gap:11px;min-width:0}.ndl-widget-card__identity h3{margin:0;font-size:15px}.ndl-widget-card__identity p{margin:3px 0 0;font-size:9px;color:var(--ndl-text-3)}.ndl-widget-card__icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(145deg,rgba(57,213,202,.10),rgba(194,122,78,.08));border:1px solid rgba(216,170,88,.17);box-shadow:inset 0 1px rgba(255,255,255,.04)}.ndl-widget-card__icon img{width:31px;height:31px;object-fit:contain;filter:drop-shadow(0 7px 10px rgba(0,0,0,.35))}.ndl-widget-card__open{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;border:1px solid rgba(255,255,255,.07);color:var(--ndl-text-3);text-decoration:none}.ndl-widget-card__open:hover{color:var(--ndl-primary-soft);border-color:rgba(57,213,202,.25)}.ndl-widget-card__body{padding:16px 17px}
.ndl-price-widget{display:grid;gap:15px}.ndl-mini-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;color:#e9c77f}.ndl-mini-section-title span{font-size:11px;font-weight:700}.ndl-mini-section-title small{font-size:8px;color:var(--ndl-text-4)}.ndl-price-widget__rows{display:grid;gap:6px}.ndl-price-widget__row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:9px 10px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.035)}.ndl-price-widget__row>div:first-child,.ndl-widget-table__row>div:first-child{display:grid;gap:1px}.ndl-price-widget__row strong,.ndl-widget-table__row strong{font-size:10px}.ndl-price-widget__row span,.ndl-widget-table__row span{font-size:8px;color:var(--ndl-text-3)}.ndl-price-widget__row>div:last-child{display:grid;text-align:left;direction:ltr}.ndl-price-widget__row b{font-size:11px}.ndl-price-widget__row b small{font-size:7px;color:var(--ndl-text-4)}.ndl-price-widget__row em,.ndl-widget-table__row em{font-size:8px;font-style:normal;font-weight:700}
.ndl-widget-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.ndl-widget-metric{display:grid;gap:2px;padding:10px;border:1px solid rgba(255,255,255,.045);border-radius:13px;background:rgba(255,255,255,.02)}.ndl-widget-metric span{font-size:8px;color:var(--ndl-text-3)}.ndl-widget-metric strong{font-size:14px}.ndl-widget-metric small{font-size:8px;color:var(--ndl-text-3)}.ndl-widget-table{display:grid}.ndl-widget-table__row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:10px 2px;border-bottom:1px solid rgba(255,255,255,.055)}.ndl-widget-table__row:last-child{border-bottom:0}.ndl-widget-table__row b{font-size:9px;font-weight:500}
.ndl-weather-widget{position:relative;min-height:290px;margin:-16px -17px;border-radius:0 0 24px 24px;overflow:hidden}.ndl-weather-widget__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.ndl-weather-widget::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,11,19,.98),rgba(3,11,19,.70) 55%,rgba(3,11,19,.16))}.ndl-weather-widget__overlay{position:relative;z-index:1;min-height:290px;padding:18px;display:flex;flex-direction:column;justify-content:space-between}.ndl-weather-widget__top,.ndl-weather-widget__main{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.ndl-weather-widget__top>div:first-child{display:grid}.ndl-weather-widget__top strong{font-size:21px}.ndl-weather-widget__top span{font-size:9px;color:#c0d2d1}.ndl-weather-widget__time{font-size:27px;font-weight:700;direction:ltr}.ndl-weather-widget__main>div{display:grid}.ndl-weather-widget__main b{font-size:42px}.ndl-weather-widget__main span{font-size:10px}.ndl-weather-widget__main small{color:#cedcdb}.ndl-weather-widget__days{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.ndl-weather-widget__days>div{display:grid;gap:3px;padding:8px;border-radius:11px;background:rgba(5,17,24,.48);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.08)}.ndl-weather-widget__days span,.ndl-weather-widget__days small{font-size:8px}.ndl-weather-widget__days strong{font-size:9px}
.ndl-news-widget{display:grid;gap:8px}.ndl-news-widget article{padding:10px 11px;border:1px solid rgba(255,255,255,.045);border-radius:13px;background:rgba(255,255,255,.018)}.ndl-news-widget article>div{display:flex;justify-content:space-between;gap:8px;color:var(--ndl-text-3);font-size:8px}.ndl-news-widget h4{margin:5px 0 3px;font-size:11px}.ndl-news-widget p{margin:0;font-size:8px;color:var(--ndl-text-3);line-height:1.7}.ndl-portfolio-widget__value{display:grid;gap:3px;padding:15px;border-radius:16px;background:radial-gradient(circle at 88% 10%,rgba(105,214,165,.12),transparent 36%),rgba(255,255,255,.02);border:1px solid rgba(105,214,165,.10);margin-bottom:10px}.ndl-portfolio-widget__value span{font-size:9px;color:var(--ndl-text-3)}.ndl-portfolio-widget__value strong{font-size:25px}.ndl-portfolio-widget__value small{font-size:9px;color:var(--ndl-text-3)}

.ndl-manager-stack{display:grid;gap:26px}.ndl-manager-hero textarea{min-height:88px;resize:vertical}.ndl-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ndl-field{display:grid;gap:6px}.ndl-field>span{font-size:9px;color:var(--ndl-text-3)}.ndl-field--full{grid-column:1/-1}.ndl-hero-slot-manager{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:14px}.ndl-widget-catalog{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.ndl-widget-catalog article{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:14px;border:1px solid rgba(194,122,78,.18);border-radius:18px;background:linear-gradient(150deg,rgba(14,34,40,.88),rgba(6,19,26,.94))}.ndl-widget-catalog h3{margin:0;font-size:13px}.ndl-widget-catalog p{margin:4px 0 0;font-size:8px;color:var(--ndl-text-3)}.ndl-manager-list{display:grid;gap:12px;margin-top:12px}.ndl-manager-instance{border:1px solid rgba(194,122,78,.20);border-radius:21px;background:linear-gradient(155deg,rgba(14,34,40,.93),rgba(6,19,26,.96));box-shadow:0 14px 40px rgba(0,0,0,.19);overflow:hidden}.ndl-manager-instance__head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.055)}.ndl-manager-instance__body{padding:16px}.ndl-manager-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.ndl-inline-toggle{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--ndl-text-3)}.ndl-mini-btn{min-width:30px;height:30px;padding:0 8px;border:1px solid rgba(255,255,255,.08);border-radius:9px;background:rgba(255,255,255,.025);color:var(--ndl-text-2)}.ndl-mini-btn.is-danger{color:var(--ndl-danger);border-color:rgba(255,147,143,.16)}.ndl-mini-btn:disabled{opacity:.3;cursor:not-allowed}.ndl-check-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;margin-top:12px}.ndl-check-grid label,.ndl-check{padding:8px 9px;border:1px solid rgba(255,255,255,.05);border-radius:10px;background:rgba(255,255,255,.018);font-size:9px;color:var(--ndl-text-2)}.ndl-price-section-builder{display:grid;gap:10px;margin-top:12px}.ndl-price-section-builder>section{padding:12px;border:1px solid rgba(216,170,88,.12);border-radius:15px;background:rgba(216,170,88,.025)}.ndl-builder-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.ndl-builder-section-head>.ndl-input{max-width:260px}.ndl-builder-section-head>div{display:flex;gap:5px}

@media(max-width:1180px){.ndl-widget--small{grid-column:span 4}.ndl-widget--medium{grid-column:span 6}.ndl-widget--wide{grid-column:span 12}.ndl-widget-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-hero-slot-manager{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.ndl-hero--v12{grid-template-columns:1fr}.ndl-hero--v12 .ndl-hero__visual{grid-template-columns:90px 1fr}.ndl-widget--small,.ndl-widget--medium{grid-column:span 6}.ndl-check-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){body{background-attachment:scroll;background-position:center top}.ndl-sidebar::before{height:52%;opacity:.78}.ndl-hero--v12{padding:19px;gap:18px}.ndl-hero--v12 h2{font-size:28px}.ndl-hero--v12 .ndl-hero__visual{grid-template-columns:1fr}.ndl-hero--v12 .ndl-hero__asset{display:none}.ndl-hero-quotes{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-widget--small,.ndl-widget--medium,.ndl-widget--wide,.ndl-widget--full{grid-column:1/-1}.ndl-widget-card{min-height:auto}.ndl-widget-catalog{grid-template-columns:1fr}.ndl-form-grid,.ndl-hero-slot-manager{grid-template-columns:1fr}.ndl-check-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-manager-instance__head{align-items:flex-start;flex-direction:column}.ndl-weather-widget{min-height:330px}.ndl-weather-widget__overlay{min-height:330px}}
@media(max-width:430px){.ndl-hero-quotes{grid-template-columns:1fr}.ndl-check-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ndl-hero--v12:hover::after{transition:none}.ndl-widget-card,.ndl-draggable{transition:none!important}.ndl-widget-card:hover{transform:none}}
.ndl-manager-subsection{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.06)}.ndl-manager-subsection h3{margin:0 0 10px;font-size:12px;color:#e5c27b}.ndl-hero--no-visual .ndl-hero__visual{grid-template-columns:1fr}.ndl-hero--no-visual .ndl-hero-quotes{width:100%}
.ndl-selected-assets{display:grid;gap:5px;margin-top:9px}.ndl-selected-assets>div{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:7px 9px;border-radius:10px;background:rgba(0,0,0,.12);font-size:9px}.ndl-selected-assets>div>span:last-child{display:flex;gap:4px}
.ndl-direct-drag>.ndl-draggable{touch-action:pan-y}

/* ===== NDL V1.3 — signature shell, restraint, motion, light theme ===== */
html{color-scheme:dark}
html[data-theme="light"]{color-scheme:light}
html[data-theme="light"]{
  --ndl-bg-0:#ece3d2;--ndl-bg-1:#f5eedf;--ndl-bg-2:#e4d8c4;
  --ndl-surface-1:rgba(250,246,237,.91);--ndl-surface-2:rgba(245,238,226,.94);--ndl-surface-3:#eee3cf;
  --ndl-text-1:#172b2e;--ndl-text-2:#345053;--ndl-text-3:#657b79;--ndl-text-4:#879693;
  --ndl-primary:#168f89;--ndl-primary-soft:#0a716d;--ndl-primary-muted:rgba(22,143,137,.10);
  --ndl-copper:#9c583d;--ndl-copper-muted:rgba(156,88,61,.14);--ndl-gold:#a97520;
  --ndl-success:#217a58;--ndl-danger:#ad433f;--ndl-warning:#996119;
  --ndl-border:rgba(122,82,46,.18);--ndl-border-strong:rgba(122,82,46,.31);
  --ndl-focus:0 0 0 3px rgba(22,143,137,.13);
  --ndl-shadow-sm:0 10px 28px rgba(64,43,27,.10);--ndl-shadow-md:0 18px 48px rgba(64,43,27,.14);--ndl-shadow-lg:0 30px 90px rgba(64,43,27,.18)
}
body{
  background-color:var(--ndl-bg-0);
  background-image:linear-gradient(180deg,rgba(4,13,20,.30),rgba(4,13,20,.55)),url('../assets/backgrounds/nerkhche-dark-20260723.webp');
  background-position:center top;background-size:cover;background-attachment:fixed;background-repeat:no-repeat;
}
html[data-theme="light"] body{background-image:linear-gradient(180deg,rgba(250,246,238,.10),rgba(244,236,222,.32)),url('../assets/backgrounds/nerkhche-light-20260723.webp')}
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 50% 12%,transparent 0 28%,rgba(3,11,18,.08) 62%,rgba(3,11,18,.25) 100%);opacity:1}
html[data-theme="light"] body::before{background:radial-gradient(circle at 50% 16%,rgba(255,255,255,.04),rgba(105,74,42,.07) 72%,rgba(105,74,42,.11));opacity:1}

/* Signature sidebar: one continuous material object */
.ndl-sidebar{
  display:flex;flex-direction:column;padding:22px 17px 16px;
  background:linear-gradient(180deg,rgba(4,15,20,.985),rgba(4,15,20,.96));
  border-left:1px solid rgba(221,174,91,.13);box-shadow:-22px 0 70px rgba(0,0,0,.18);isolation:isolate
}
.ndl-sidebar::before{content:"";position:absolute;inset:0;z-index:-2;background:url('../assets/backgrounds/sidebar-material-dark.webp') center bottom/cover no-repeat;opacity:.72;mask-image:linear-gradient(to top,#000 0 56%,rgba(0,0,0,.58) 72%,transparent 96%);pointer-events:none}
.ndl-sidebar::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(4,15,20,.96) 0%,rgba(4,15,20,.86) 42%,rgba(4,15,20,.44) 72%,rgba(4,15,20,.18) 100%);pointer-events:none}
html[data-theme="light"] .ndl-sidebar{background:linear-gradient(180deg,rgba(239,231,216,.985),rgba(231,219,201,.96));border-left-color:rgba(132,89,40,.17);box-shadow:-18px 0 60px rgba(72,49,28,.10)}
html[data-theme="light"] .ndl-sidebar::before{background-image:url('../assets/backgrounds/sidebar-material-light.webp');opacity:.64}
html[data-theme="light"] .ndl-sidebar::after{background:linear-gradient(180deg,rgba(242,235,222,.97),rgba(240,231,216,.86) 47%,rgba(236,224,204,.52) 73%,rgba(236,224,204,.22))}
.ndl-sidebar--dashboard::after{height:auto;background:linear-gradient(180deg,rgba(4,15,20,.96),rgba(4,15,20,.86) 42%,rgba(4,15,20,.44) 72%,rgba(4,15,20,.18));opacity:1;mask-image:none}
html[data-theme="light"] .ndl-sidebar--dashboard::after{background:linear-gradient(180deg,rgba(242,235,222,.97),rgba(240,231,216,.86) 47%,rgba(236,224,204,.52) 73%,rgba(236,224,204,.22))}
.ndl-brand{gap:13px;min-height:70px;margin:0 3px 24px;padding:3px 4px 18px;border-bottom:1px solid rgba(218,171,87,.13)}
.ndl-brand__logo{width:58px;height:64px;filter:drop-shadow(0 14px 22px rgba(0,0,0,.38))}
.ndl-brand__name{font-size:18px;letter-spacing:-.02em}.ndl-brand__meta{font-size:9px;color:#93aaa8;letter-spacing:.19em}
html[data-theme="light"] .ndl-brand__meta{color:#6f817d}
.ndl-nav{gap:4px}.ndl-nav__item{position:relative;min-height:52px;padding:7px 8px 7px 10px;gap:12px;border:0;border-radius:13px;color:var(--ndl-text-2);background:transparent;overflow:hidden}
.ndl-nav__item::before{content:"";position:absolute;right:0;top:11px;bottom:11px;width:2px;border-radius:2px;background:linear-gradient(var(--ndl-gold),var(--ndl-copper));opacity:0;transform:scaleY(.2);transition:opacity 180ms,transform 220ms var(--ndl-ease)}
.ndl-nav__item::after{content:"";position:absolute;inset:4px;border-radius:12px;background:linear-gradient(90deg,rgba(57,213,202,.11),rgba(57,213,202,.015) 72%,transparent);opacity:0;transition:opacity 180ms}
.ndl-nav__item:hover{transform:none;color:var(--ndl-text-1);background:rgba(255,255,255,.018)}
.ndl-nav__item.is-active{color:var(--ndl-primary-soft);background:transparent;border:0}
.ndl-nav__item.is-active::before,.ndl-nav__item.is-active::after{opacity:1}.ndl-nav__item.is-active::before{transform:scaleY(1)}
.ndl-nav__icon-wrap{position:relative;z-index:1;display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:12px;background:linear-gradient(145deg,rgba(17,42,46,.76),rgba(6,20,26,.72));border:1px solid rgba(218,171,87,.12);box-shadow:inset 0 1px rgba(255,255,255,.035),0 8px 18px rgba(0,0,0,.16);transition:transform 180ms var(--ndl-ease),border-color 180ms,background 180ms}
html[data-theme="light"] .ndl-nav__icon-wrap{background:linear-gradient(145deg,rgba(250,245,234,.86),rgba(224,210,188,.76));box-shadow:inset 0 1px rgba(255,255,255,.75),0 7px 16px rgba(73,48,27,.08)}
.ndl-nav__item:hover .ndl-nav__icon-wrap{transform:translateY(-1px);border-color:rgba(218,171,87,.27)}.ndl-nav__item.is-active .ndl-nav__icon-wrap{border-color:rgba(57,213,202,.29);background:linear-gradient(145deg,rgba(23,59,61,.86),rgba(8,29,34,.80));box-shadow:inset 0 1px rgba(255,255,255,.05),0 9px 22px rgba(0,0,0,.23),0 0 22px rgba(57,213,202,.07)}
html[data-theme="light"] .ndl-nav__item.is-active .ndl-nav__icon-wrap{background:linear-gradient(145deg,rgba(224,247,241,.94),rgba(204,226,216,.88))}
.ndl-nav__icon{width:27px;height:27px;object-fit:contain;filter:none;opacity:.9}.ndl-nav__item.is-active .ndl-nav__icon{filter:none;opacity:1}.ndl-nav__label{position:relative;z-index:1;font-size:13px;font-weight:500}
.ndl-sidebar-footer{position:relative;z-index:1;margin-top:auto;display:grid;gap:14px;padding:16px 4px 2px}.ndl-sidebar-signature{margin:0;padding:0;color:#d9b36a;text-shadow:0 2px 12px rgba(0,0,0,.8)}.ndl-sidebar-signature span{font-size:10px}.ndl-sidebar-signature small{font-size:6px;color:#9fb2ae}
.ndl-theme-control{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border:1px solid rgba(218,171,87,.15);border-radius:13px;background:rgba(3,14,18,.38);backdrop-filter:blur(10px)}
html[data-theme="light"] .ndl-theme-control{background:rgba(245,237,223,.48)}
.ndl-theme-control button,.ndl-mobile-theme{border:0;background:transparent;color:var(--ndl-text-3);height:29px;border-radius:9px}.ndl-theme-control button:hover,.ndl-theme-control button.is-active{color:var(--ndl-primary-soft);background:rgba(57,213,202,.10)}

/* Page shell and visible Persian identity */
.ndl-main{padding:28px 30px 62px}.ndl-main__inner{position:relative}.ndl-topbar{padding:5px 3px 3px;margin-bottom:20px}.ndl-page-title{font-size:30px}.ndl-page-subtitle{font-size:11px;color:var(--ndl-text-3)}
.ndl-mobile-brand{display:flex;align-items:center;gap:8px}.ndl-mobile-brand img{width:41px;height:45px}.ndl-mobile-brand strong{font-size:15px}.ndl-mobile-theme{width:40px;border:1px solid var(--ndl-border);background:var(--ndl-surface-2)}

/* V1.3 hero */
.ndl-hero--v13{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(410px,.95fr);gap:28px;min-height:286px;padding:30px;border-radius:29px;border:1px solid rgba(218,171,87,.30);overflow:hidden;background:radial-gradient(circle at 10% 10%,rgba(57,213,202,.15),transparent 34%),radial-gradient(circle at 92% 88%,rgba(188,119,80,.15),transparent 33%),linear-gradient(143deg,rgba(7,26,33,.93),rgba(3,14,22,.90));box-shadow:0 34px 100px rgba(0,0,0,.31),inset 0 1px rgba(255,255,255,.055);backdrop-filter:blur(18px)}
.ndl-hero--v13::before{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 0 42%,rgba(255,255,255,.035) 49%,transparent 56%);pointer-events:none}.ndl-hero--v13::after{content:"";position:absolute;inset:auto -8% -52% 42%;height:100%;border-radius:50%;border:1px solid rgba(57,213,202,.08);box-shadow:0 0 0 40px rgba(57,213,202,.015),0 0 0 90px rgba(218,171,87,.012);pointer-events:none}
html[data-theme="light"] .ndl-hero--v13{background:radial-gradient(circle at 10% 8%,rgba(28,147,139,.13),transparent 35%),radial-gradient(circle at 94% 88%,rgba(157,88,58,.12),transparent 32%),linear-gradient(143deg,rgba(249,245,236,.94),rgba(235,225,208,.91));box-shadow:0 30px 80px rgba(73,49,28,.15),inset 0 1px rgba(255,255,255,.8)}
.ndl-hero--v13 .ndl-hero__copy,.ndl-hero--v13 .ndl-hero__visual{position:relative;z-index:1}.ndl-hero--v13 h2{font-size:39px;line-height:1.5;margin:10px 0 8px}.ndl-hero--v13 h2 span{color:#91eee6}.ndl-hero--v13 p{max-width:670px;color:var(--ndl-text-2);font-size:13px}.ndl-hero--v13 .ndl-hero__visual{display:grid;grid-template-columns:100px 1fr;align-items:center;gap:14px}.ndl-hero--v13 .ndl-hero__asset{width:120px;max-height:164px;opacity:.92;filter:drop-shadow(0 24px 34px rgba(0,0,0,.42))}.ndl-hero-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ndl-hero-quote{min-height:87px;padding:12px 13px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));backdrop-filter:blur(10px);box-shadow:inset 0 1px rgba(255,255,255,.035);transition:transform 180ms,border-color 180ms}.ndl-hero-quote:hover{transform:translateY(-2px);border-color:rgba(57,213,202,.22)}.ndl-hero-quote strong{font-size:11px}.ndl-hero-quote span{font-size:8px;color:var(--ndl-text-3)}.ndl-hero-quote__numbers b{font-size:13px;font-variant-numeric:tabular-nums}.ndl-hero-quote__numbers em{font-size:9px}

/* Premium widget surfaces with distinct grammars */
.ndl-dashboard-workspace{margin-top:31px}.ndl-widget-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:17px}.ndl-widget-card{position:relative;min-height:240px;border:1px solid rgba(218,171,87,.20);border-radius:25px;background:linear-gradient(155deg,rgba(12,34,40,.88),rgba(5,19,26,.93));box-shadow:0 18px 50px rgba(0,0,0,.20),inset 0 1px rgba(255,255,255,.04);overflow:hidden;backdrop-filter:blur(17px);transition:border-color 180ms,box-shadow 220ms,transform 180ms}
html[data-theme="light"] .ndl-widget-card{background:linear-gradient(155deg,rgba(250,246,237,.90),rgba(237,227,211,.93));box-shadow:0 18px 45px rgba(74,48,26,.10),inset 0 1px rgba(255,255,255,.82)}
.ndl-widget-card::before{content:"";position:absolute;right:0;top:0;left:0;height:2px;background:linear-gradient(90deg,transparent,var(--ndl-copper),var(--ndl-primary),transparent);opacity:.65}.ndl-widget-card::after{content:"";position:absolute;width:220px;height:220px;border-radius:50%;left:-120px;bottom:-150px;background:radial-gradient(circle,rgba(57,213,202,.09),transparent 67%);pointer-events:none}.ndl-widget-card:hover{transform:translateY(-2px);border-color:rgba(57,213,202,.27);box-shadow:0 24px 65px rgba(0,0,0,.26),inset 0 1px rgba(255,255,255,.045)}
.ndl-widget-card[data-widget-type="price"]{background:radial-gradient(circle at 92% 2%,rgba(218,171,87,.10),transparent 31%),linear-gradient(155deg,rgba(13,35,39,.91),rgba(7,20,25,.95))}.ndl-widget-card[data-widget-type="stock"]{background:radial-gradient(circle at 92% 0,rgba(23,107,214,.11),transparent 34%),linear-gradient(155deg,rgba(9,31,40,.92),rgba(5,18,25,.96))}.ndl-widget-card[data-widget-type="portfolio"]{background:radial-gradient(circle at 92% 0,rgba(188,119,80,.12),transparent 34%),linear-gradient(155deg,rgba(18,35,37,.92),rgba(6,19,25,.96))}.ndl-widget-card[data-widget-type="news"]{background:radial-gradient(circle at 92% 0,rgba(57,213,202,.08),transparent 34%),linear-gradient(155deg,rgba(10,31,37,.92),rgba(5,18,25,.96))}
html[data-theme="light"] .ndl-widget-card[data-widget-type]{background:radial-gradient(circle at 92% 0,rgba(21,143,137,.07),transparent 35%),linear-gradient(155deg,rgba(250,246,237,.92),rgba(237,227,211,.94))}
.ndl-widget-card__head{padding:16px 18px;border-bottom:1px solid rgba(218,171,87,.11)}.ndl-widget-card__icon{width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,rgba(20,48,51,.84),rgba(5,20,26,.78));border:1px solid rgba(218,171,87,.17)}html[data-theme="light"] .ndl-widget-card__icon{background:linear-gradient(145deg,#f6eddd,#dfcdb1)}.ndl-widget-card__icon img{width:31px;height:31px;filter:none}.ndl-widget-card__open{transition:transform 160ms,color 160ms,border-color 160ms}.ndl-widget-card__open:hover{transform:translate(-1px,-1px)}
.ndl-price-widget__row,.ndl-widget-table__row,.ndl-news-widget article{transition:background 160ms,border-color 160ms,transform 160ms}.ndl-price-widget__row:hover,.ndl-news-widget article:hover{background:rgba(57,213,202,.04);border-color:rgba(57,213,202,.12);transform:translateX(-1px)}
.ndl-price-widget__row{padding:10px 11px;border-radius:13px}.ndl-price-widget__row b,.ndl-widget-table__row b{font-variant-numeric:tabular-nums}.ndl-news-widget article.is-featured{padding:14px;border-color:rgba(218,171,87,.16);background:linear-gradient(145deg,rgba(218,171,87,.065),rgba(255,255,255,.018))}.ndl-news-widget article.is-featured h4{font-size:13px}.ndl-portfolio-widget__value{padding:18px;background:radial-gradient(circle at 88% 10%,rgba(105,214,165,.17),transparent 38%),linear-gradient(145deg,rgba(255,255,255,.035),rgba(255,255,255,.015))}

/* Direct drag with spatial continuity */
.ndl-direct-drag>.ndl-draggable{cursor:grab;user-select:none;touch-action:pan-y}.ndl-direct-drag>.ndl-draggable:active{cursor:grabbing}.ndl-drag-placeholder{min-height:180px;border:1px dashed rgba(57,213,202,.42);border-radius:25px;background:rgba(57,213,202,.045);box-shadow:inset 0 0 0 1px rgba(57,213,202,.05);animation:ndlDropPulse 1.1s ease-in-out infinite alternate}.ndl-drag-ghost{position:fixed!important;z-index:9999!important;pointer-events:none!important;margin:0!important;opacity:.96;transform-origin:center;box-shadow:0 34px 110px rgba(0,0,0,.48),0 0 0 1px rgba(57,213,202,.28)!important;will-change:transform}.ndl-is-dragging{cursor:grabbing!important;user-select:none}.ndl-is-dragging .ndl-widget-grid>.ndl-widget-card:not(.is-dragging){transition:filter 160ms}.ndl-is-dragging .ndl-widget-grid>.ndl-widget-card:not(.is-dragging){filter:saturate(.94)}@keyframes ndlDropPulse{to{background:rgba(57,213,202,.075);border-color:rgba(218,171,87,.42)}}

/* Simplified widget manager: content only */
.ndl-manager-stack{gap:20px}.ndl-manager-intro{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;border:1px solid var(--ndl-border);border-radius:20px;background:linear-gradient(145deg,rgba(12,34,40,.78),rgba(5,19,25,.84));backdrop-filter:blur(14px)}html[data-theme="light"] .ndl-manager-intro{background:rgba(248,242,231,.84)}.ndl-manager-intro h2{margin:0;font-size:18px}.ndl-manager-intro p{margin:5px 0 0;color:var(--ndl-text-3);font-size:10px}.ndl-manager-hero textarea,.ndl-manager-subsection,.ndl-builder-section-head,.ndl-price-section-builder{display:none!important}.ndl-hero-slot-manager{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.ndl-widget-catalog{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0}.ndl-widget-catalog article{grid-template-columns:44px 1fr;padding:13px;border-radius:18px;background:linear-gradient(145deg,rgba(12,34,40,.78),rgba(5,19,25,.86));min-height:112px}.ndl-widget-catalog article .ndl-btn{grid-column:1/-1;width:100%;min-height:34px;padding:6px 9px}.ndl-widget-catalog article .ndl-btn:disabled{opacity:.45;cursor:not-allowed}.ndl-manager-list{gap:14px;margin:0}.ndl-manager-instance{border-radius:22px;background:linear-gradient(150deg,rgba(13,35,40,.90),rgba(5,19,25,.94));box-shadow:0 16px 44px rgba(0,0,0,.17)}html[data-theme="light"] .ndl-manager-instance,html[data-theme="light"] .ndl-widget-catalog article{background:linear-gradient(150deg,rgba(249,244,234,.91),rgba(235,224,207,.94))}.ndl-manager-instance__head{padding:15px 17px}.ndl-manager-instance__body{padding:17px}.ndl-visibility-toggle{display:flex;align-items:center;gap:8px;font-size:9px;color:var(--ndl-text-3);cursor:pointer}.ndl-visibility-toggle input{position:absolute;opacity:0}.ndl-visibility-toggle span{position:relative;width:38px;height:22px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.08);transition:background 180ms}.ndl-visibility-toggle span::after{content:"";position:absolute;top:3px;right:3px;width:14px;height:14px;border-radius:50%;background:#8aa09e;transition:transform 180ms,background 180ms}.ndl-visibility-toggle input:checked+span{background:rgba(57,213,202,.20);border-color:rgba(57,213,202,.28)}.ndl-visibility-toggle input:checked+span::after{transform:translateX(-16px);background:var(--ndl-primary-soft)}.ndl-visibility-toggle b{font-size:9px;font-weight:500}.ndl-content-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ndl-content-groups fieldset{margin:0;padding:11px;border:1px solid rgba(218,171,87,.12);border-radius:15px;background:rgba(218,171,87,.025)}.ndl-content-groups legend{padding:0 7px;color:var(--ndl-gold);font-size:10px;font-weight:700}

/* Dark and light dropdowns: never browser-white */
.ndl-input,.ndl-select,select.ndl-input{background-color:#0a2026;color:#eef7f5;border-color:rgba(218,171,87,.19);color-scheme:dark}.ndl-input option,.ndl-select option,select.ndl-input option{background:#0a2026;color:#eef7f5}.ndl-input option:checked,.ndl-select option:checked{background:#174a49;color:#fff}.ndl-input:disabled{opacity:.55}.ndl-input:focus{background-color:#0c252b;border-color:rgba(57,213,202,.40)}
html[data-theme="light"] .ndl-input,html[data-theme="light"] .ndl-select,html[data-theme="light"] select.ndl-input{background-color:#f4ead9;color:#1b3032;border-color:rgba(122,82,46,.24);color-scheme:light}html[data-theme="light"] .ndl-input option,html[data-theme="light"] .ndl-select option{background:#f4ead9;color:#1b3032}html[data-theme="light"] .ndl-input option:checked{background:#cfe7df;color:#143a38}

/* Route-specific polish */
.ndl-price-grid{grid-template-columns:repeat(auto-fit,minmax(235px,1fr))}.ndl-feed-row:first-child{padding:20px;border:1px solid rgba(218,171,87,.15);border-radius:19px;background:linear-gradient(145deg,rgba(218,171,87,.055),rgba(255,255,255,.014))}.ndl-toolbar{backdrop-filter:blur(16px);background:rgba(8,25,30,.72)}html[data-theme="light"] .ndl-toolbar{background:rgba(248,242,231,.78)}

/* Responsive re-composition */
@media(max-width:1180px){.ndl-widget-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.ndl-hero--v13{grid-template-columns:1fr}.ndl-hero--v13 .ndl-hero__visual{grid-template-columns:92px 1fr}}
@media(max-width:900px){.ndl-main{padding:22px 20px 50px}.ndl-hero--v13 h2{font-size:34px}.ndl-widget--wide,.ndl-widget--medium{grid-column:span 6}.ndl-content-groups{grid-template-columns:1fr}}
@media(max-width:700px){body{background-attachment:scroll;background-size:auto 100vh}.ndl-main{padding:17px 14px 88px}.ndl-topbar{margin-bottom:14px}.ndl-page-title{font-size:24px}.ndl-hero--v13{min-height:auto;padding:20px;gap:18px;border-radius:23px}.ndl-hero--v13 h2{font-size:29px;line-height:1.45}.ndl-hero--v13 p{font-size:11px}.ndl-hero--v13 .ndl-hero__visual{display:block}.ndl-hero--v13 .ndl-hero__asset{display:none}.ndl-hero-quotes{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:6px}.ndl-hero-quote{min-width:165px;scroll-snap-align:start}.ndl-dashboard-workspace{margin-top:23px}.ndl-section-head{align-items:flex-start}.ndl-section-head p{max-width:250px}.ndl-widget-grid{gap:13px}.ndl-widget--small,.ndl-widget--medium,.ndl-widget--wide,.ndl-widget--full{grid-column:1/-1}.ndl-widget-card{border-radius:21px;min-height:auto}.ndl-widget-card:hover{transform:none}.ndl-widget-catalog{grid-template-columns:1fr 1fr}.ndl-manager-intro{align-items:flex-start;flex-direction:column}.ndl-hero-slot-manager{grid-template-columns:1fr 1fr}.ndl-sidebar::before{height:auto;opacity:.72}.ndl-mobile-header{height:64px}.ndl-price-grid{grid-template-columns:1fr}.ndl-drag-placeholder{min-height:150px}}
@media(max-width:430px){.ndl-widget-catalog,.ndl-hero-slot-manager{grid-template-columns:1fr}.ndl-hero-quotes{margin-inline:-4px}.ndl-hero__actions{display:grid;grid-template-columns:1fr 1fr}.ndl-hero__actions .ndl-btn{padding-inline:8px}.ndl-manager-instance__head{flex-direction:column;align-items:flex-start}.ndl-manager-actions{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.ndl-drag-placeholder{animation:none}.ndl-widget-card,.ndl-nav__item,.ndl-nav__icon-wrap,.ndl-hero-quote{transition:none!important}.ndl-widget-card:hover,.ndl-hero-quote:hover{transform:none}}
/* V1.3 sidebar cascade safety */
.ndl-sidebar::before{height:auto!important;top:0!important;bottom:0!important}
@media(max-width:960px){
  .ndl-app{grid-template-columns:minmax(0,1fr)!important}
  .ndl-sidebar{position:fixed!important;inset:0 0 0 auto!important;right:0!important;top:0!important;bottom:0!important;width:min(300px,86vw)!important;height:100dvh!important;transform:translateX(105%);z-index:var(--ndl-z-sidebar)}
  body.ndl-nav-open .ndl-sidebar{transform:translateX(0)}
  body.ndl-nav-open .ndl-sidebar-backdrop{display:block}
}

/* ===== V1.3 finish pass: component parity and material hierarchy ===== */
.ndl-card,.ndl-stat,.ndl-summary-card,.ndl-price-card,.ndl-feed-row,.ndl-list-row,.ndl-builder-row,.ndl-identity,.ndl-table-wrap{
  position:relative;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.ndl-card::before,.ndl-stat::before,.ndl-summary-card::before,.ndl-price-card::before{
  content:"";position:absolute;inset:0 12% auto;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.075),transparent);
}
.ndl-card{background:radial-gradient(circle at 100% 0,rgba(57,213,202,.045),transparent 34%),linear-gradient(155deg,rgba(12,31,37,.93),rgba(5,18,24,.96));box-shadow:0 18px 50px rgba(0,0,0,.17),inset 0 1px rgba(255,255,255,.035)}
.ndl-stat,.ndl-summary-card{background:linear-gradient(145deg,rgba(14,34,39,.76),rgba(5,19,25,.84));box-shadow:inset 0 1px rgba(255,255,255,.028)}
.ndl-price-card{background:radial-gradient(circle at 88% 4%,rgba(218,171,87,.07),transparent 36%),linear-gradient(155deg,rgba(12,32,38,.93),rgba(5,18,24,.96));box-shadow:0 16px 42px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.035)}
.ndl-price-card:hover,.ndl-stat:hover,.ndl-summary-card:hover{border-color:rgba(57,213,202,.22);transform:translateY(-1px)}
.ndl-stat,.ndl-summary-card,.ndl-price-card{transition:transform 170ms var(--ndl-ease),border-color 170ms,box-shadow 170ms}
.ndl-table-wrap{background:rgba(4,17,22,.72);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.ndl-table tbody tr{transition:background 140ms}.ndl-table tbody tr:hover{background:rgba(57,213,202,.035)}
.ndl-list-row,.ndl-builder-row,.ndl-identity{background:linear-gradient(145deg,rgba(255,255,255,.025),rgba(255,255,255,.012))}
.ndl-dialog{background:linear-gradient(155deg,#0d252a,#07191f);box-shadow:0 34px 100px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.04)}
.ndl-mobile-header{background:rgba(4,16,21,.88);border-bottom-color:rgba(218,171,87,.12);box-shadow:0 12px 34px rgba(0,0,0,.13)}

/* Hero readability in the light theme */
html[data-theme="light"] .ndl-hero--v13 h2 span{color:#087b76}
html[data-theme="light"] .ndl-hero--v13 p{color:#3f5858}
html[data-theme="light"] .ndl-hero-quote{
  background:linear-gradient(145deg,rgba(255,255,255,.64),rgba(230,218,198,.48));
  border-color:rgba(128,84,40,.15);box-shadow:inset 0 1px rgba(255,255,255,.78),0 8px 22px rgba(74,48,26,.06)
}
html[data-theme="light"] .ndl-hero-quote strong,html[data-theme="light"] .ndl-hero-quote__numbers b{color:#183235}
html[data-theme="light"] .ndl-hero-quote span,html[data-theme="light"] .ndl-hero-quote__numbers b small{color:#607774}

/* Complete light-theme parity for shared components */
html[data-theme="light"] .ndl-card{
  background:radial-gradient(circle at 100% 0,rgba(22,143,137,.055),transparent 34%),linear-gradient(155deg,rgba(252,248,240,.93),rgba(235,225,208,.95));
  box-shadow:0 18px 48px rgba(72,48,27,.10),inset 0 1px rgba(255,255,255,.88)
}
html[data-theme="light"] .ndl-stat,html[data-theme="light"] .ndl-summary-card{
  background:linear-gradient(145deg,rgba(251,247,239,.84),rgba(231,219,201,.82));box-shadow:inset 0 1px rgba(255,255,255,.82)
}
html[data-theme="light"] .ndl-price-card{
  background:radial-gradient(circle at 88% 4%,rgba(169,117,32,.075),transparent 36%),linear-gradient(155deg,rgba(252,248,240,.93),rgba(235,225,208,.95));
  box-shadow:0 16px 40px rgba(72,48,27,.09),inset 0 1px rgba(255,255,255,.86)
}
html[data-theme="light"] .ndl-feed-row,html[data-theme="light"] .ndl-feed-row:first-child{
  background:linear-gradient(155deg,rgba(252,248,240,.91),rgba(235,225,208,.92));box-shadow:0 12px 32px rgba(72,48,27,.07)
}
html[data-theme="light"] .ndl-table-wrap{background:rgba(248,242,231,.78)}
html[data-theme="light"] .ndl-table tbody tr:hover{background:rgba(22,143,137,.055)}
html[data-theme="light"] .ndl-list-row,html[data-theme="light"] .ndl-builder-row,html[data-theme="light"] .ndl-identity{
  background:linear-gradient(145deg,rgba(255,255,255,.55),rgba(230,218,198,.50))
}
html[data-theme="light"] .ndl-dialog{background:linear-gradient(155deg,#fbf6ec,#e9ddc9);box-shadow:0 34px 90px rgba(72,48,27,.22),inset 0 1px rgba(255,255,255,.9)}
html[data-theme="light"] .ndl-modal{background:rgba(58,42,26,.30)}
html[data-theme="light"] .ndl-donut::after{background:#f4ead9;color:var(--ndl-text-2)}
html[data-theme="light"] .ndl-bar{background:rgba(55,74,73,.10)}
html[data-theme="light"] .ndl-rule{border-color:rgba(122,82,46,.14);background:rgba(255,255,255,.30)}
html[data-theme="light"] .ndl-mobile-header{background:rgba(244,236,222,.89);border-bottom-color:rgba(122,82,46,.16);box-shadow:0 12px 32px rgba(72,48,27,.10)}
html[data-theme="light"] .ndl-widget-metric,html[data-theme="light"] .ndl-price-widget__row{
  background:rgba(255,255,255,.34);border-color:rgba(122,82,46,.11)
}
html[data-theme="light"] .ndl-widget-table__row{border-bottom-color:rgba(122,82,46,.12)}
html[data-theme="light"] .ndl-news-widget article.is-featured{background:linear-gradient(145deg,rgba(169,117,32,.08),rgba(255,255,255,.30))}
html[data-theme="light"] .ndl-portfolio-widget__value{background:radial-gradient(circle at 88% 10%,rgba(33,122,88,.11),transparent 38%),linear-gradient(145deg,rgba(255,255,255,.52),rgba(230,218,198,.36))}
html[data-theme="light"] .ndl-visibility-toggle span{background:rgba(46,72,70,.14);border-color:rgba(46,72,70,.10)}
html[data-theme="light"] .ndl-content-groups fieldset{background:rgba(169,117,32,.045);border-color:rgba(122,82,46,.15)}

/* Select controls use one NDL treatment in both themes */
select.ndl-input,select.ndl-select{
  appearance:none;-webkit-appearance:none;padding-left:36px;
  background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%);
  background-position:left 17px center,left 12px center;background-size:5px 5px,5px 5px;background-repeat:no-repeat
}
select.ndl-input::-ms-expand,select.ndl-select::-ms-expand{display:none}

/* Better editor density without exposing design controls */
.ndl-manager-instance__body:empty{display:none}.ndl-manager-instance__body .ndl-form-grid{align-items:end}
.ndl-manager-instance__body .ndl-field>span{font-weight:600;color:var(--ndl-text-2)}
.ndl-check-grid label,.ndl-check{border-radius:10px;transition:background 150ms,color 150ms}
.ndl-check-grid label:hover,.ndl-check:hover{background:rgba(57,213,202,.045);color:var(--ndl-text-1)}
html[data-theme="light"] .ndl-check-grid label:hover,html[data-theme="light"] .ndl-check:hover{background:rgba(22,143,137,.055)}

/* Mobile is a deliberate composition, not a compressed desktop */
@media(max-width:700px){
  .ndl-hero--v13 .ndl-hero-quotes{gap:8px;scrollbar-width:none}.ndl-hero--v13 .ndl-hero-quotes::-webkit-scrollbar{display:none}
  .ndl-hero-quote{min-width:176px;min-height:92px}
  .ndl-widget-card__head{padding:14px 15px}.ndl-widget-card__body{padding:15px}
  .ndl-widget-card__icon{width:41px;height:41px}.ndl-widget-card__icon img{width:29px;height:29px}
  .ndl-price-widget__row{min-height:54px}.ndl-widget-table__row{min-height:47px}
  .ndl-manager-list{gap:12px}.ndl-manager-instance__body{padding:14px}
  .ndl-content-groups fieldset{padding:10px}
}
@media(prefers-reduced-motion:reduce){
  .ndl-stat,.ndl-summary-card,.ndl-price-card,.ndl-table tbody tr{transition:none!important}
}

/* ========================================================================== */
/* NDL V1.4 — Senior visual refinement                                        */
/* ========================================================================== */
:root{
  --ndl-primary:#32cfc3;
  --ndl-primary-soft:#9ff2e9;
  --ndl-primary-ink:#0e7f79;
  --ndl-border:rgba(144,181,178,.13);
  --ndl-border-strong:rgba(58,207,195,.24);
  --ndl-card-h:366px;
}
html[data-theme="light"]{
  color-scheme:light;
  --ndl-bg-0:#ece5d8;--ndl-bg-1:#f3ecdf;--ndl-bg-2:#e4d9c8;
  --ndl-surface-1:rgba(251,248,242,.94);--ndl-surface-2:rgba(244,237,226,.96);--ndl-surface-3:rgba(255,255,255,.46);
  --ndl-text-1:#172b2d;--ndl-text-2:#344d4e;--ndl-text-3:#617575;--ndl-text-4:#84918f;
  --ndl-primary:#118a84;--ndl-primary-soft:#096b67;--ndl-primary-ink:#086762;
  --ndl-border:rgba(57,82,78,.13);--ndl-border-strong:rgba(17,138,132,.25);
  --ndl-shadow-sm:0 10px 30px rgba(67,50,33,.08);--ndl-shadow-md:0 18px 54px rgba(67,50,33,.12);--ndl-shadow-lg:0 34px 100px rgba(67,50,33,.16);
}

/* Main background: rich edges, quiet center */
body{
  background-image:
    radial-gradient(ellipse at 50% 18%,rgba(4,15,22,.08) 0 31%,rgba(4,15,22,.42) 72%,rgba(4,15,22,.68) 100%),
    url('../assets/backgrounds/nerkhche-dark-20260723.webp');
  background-position:center top;background-size:cover;background-attachment:fixed;
}
body::after{content:"";position:fixed;z-index:-1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(4,15,21,.18),transparent 21%,transparent 79%,rgba(4,15,21,.18))}
html[data-theme="light"] body{
  background-image:
    radial-gradient(ellipse at 50% 18%,rgba(250,247,240,.84) 0 34%,rgba(247,242,233,.70) 61%,rgba(236,226,210,.42) 100%),
    url('../assets/backgrounds/nerkhche-light-20260723.webp');
}
html[data-theme="light"] body::after{background:linear-gradient(90deg,rgba(238,229,214,.25),rgba(255,255,255,.20) 26%,rgba(255,255,255,.20) 74%,rgba(238,229,214,.25))}

/* Sidebar: separate architectural material */
.ndl-sidebar,.ndl-sidebar--dashboard{
  background:#07171c!important;border-left:1px solid rgba(49,207,195,.11);box-shadow:-28px 0 90px rgba(0,0,0,.24);
}
.ndl-sidebar::before,.ndl-sidebar--dashboard::before{
  inset:0!important;height:auto!important;opacity:1!important;mask-image:none!important;
  background:url('../assets/backgrounds/sidebar-v14-dark.webp') center bottom/cover no-repeat!important;
}
.ndl-sidebar::after,.ndl-sidebar--dashboard::after{
  inset:0!important;height:auto!important;opacity:1!important;mask-image:none!important;
  background:linear-gradient(180deg,rgba(4,16,21,.96) 0%,rgba(4,16,21,.88) 42%,rgba(4,16,21,.50) 70%,rgba(4,16,21,.14) 100%)!important;
}
html[data-theme="light"] .ndl-sidebar,html[data-theme="light"] .ndl-sidebar--dashboard{background:#ded3c1!important;border-left-color:rgba(17,112,107,.14);box-shadow:-24px 0 72px rgba(67,50,33,.12)}
html[data-theme="light"] .ndl-sidebar::before,html[data-theme="light"] .ndl-sidebar--dashboard::before{background-image:url('../assets/backgrounds/sidebar-v14-light.webp')!important}
html[data-theme="light"] .ndl-sidebar::after,html[data-theme="light"] .ndl-sidebar--dashboard::after{background:linear-gradient(180deg,rgba(232,224,210,.97),rgba(228,218,200,.88) 46%,rgba(224,211,190,.54) 72%,rgba(224,211,190,.18))!important}
.ndl-brand{margin-bottom:18px;border-bottom-color:rgba(49,207,195,.10)}
.ndl-brand__logo{width:62px;height:68px;object-fit:contain;filter:drop-shadow(0 12px 24px rgba(0,0,0,.28))}
html[data-theme="light"] .ndl-brand__logo{filter:drop-shadow(0 10px 18px rgba(72,49,28,.16))}
.ndl-nav{gap:3px}
.ndl-nav__item{min-height:48px;padding:6px 8px;border-radius:11px;gap:11px}
.ndl-nav__item::after{inset:3px 0;border-radius:11px;background:linear-gradient(90deg,rgba(49,207,195,.12),rgba(49,207,195,.02) 68%,transparent)}
.ndl-nav__item::before{background:var(--ndl-primary);box-shadow:0 0 18px rgba(49,207,195,.34)}
.ndl-nav__icon-wrap,.ndl-nav__item.is-active .ndl-nav__icon-wrap,html[data-theme="light"] .ndl-nav__icon-wrap,html[data-theme="light"] .ndl-nav__item.is-active .ndl-nav__icon-wrap{
  width:34px;height:34px;border:0;background:transparent;box-shadow:none;border-radius:0;
}
.ndl-nav__icon{width:28px;height:28px;opacity:.80;filter:saturate(.84) brightness(.9);transition:opacity 160ms,transform 180ms var(--ndl-ease),filter 160ms}
.ndl-nav__item:hover .ndl-nav__icon{opacity:1;transform:translateY(-1px);filter:saturate(1.08) brightness(1.08)}
.ndl-nav__item.is-active .ndl-nav__icon{opacity:1;filter:saturate(1.14) brightness(1.1);transform:scale(1.04)}
.ndl-nav__item.is-active{color:var(--ndl-primary-soft)}
.ndl-nav__label{font-size:12px}
.ndl-sidebar-footer{gap:10px;padding-top:12px}
.ndl-theme-control{border-color:rgba(49,207,195,.13);background:rgba(4,18,22,.34);padding:3px}
html[data-theme="light"] .ndl-theme-control{background:rgba(245,238,226,.46);border-color:rgba(17,112,107,.14)}
.ndl-sidebar-signature{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--ndl-primary-soft);text-shadow:none}
.ndl-sidebar-signature small{color:var(--ndl-text-4)}

/* Utility actions: quiet and aligned */
.ndl-topbar__actions{align-items:center}.ndl-topbar__actions .ndl-btn:not(.ndl-btn--primary){background:rgba(255,255,255,.018);border-color:var(--ndl-border);color:var(--ndl-text-3)}
.ndl-topbar__actions .ndl-btn:not(.ndl-btn--primary):hover{color:var(--ndl-primary-soft);border-color:rgba(49,207,195,.25);background:rgba(49,207,195,.045)}
.ndl-btn{box-shadow:none}.ndl-btn--primary{background:linear-gradient(180deg,#9af0e8,#35cfc4);border-color:rgba(49,207,195,.42);box-shadow:0 8px 24px rgba(49,207,195,.12)}
html[data-theme="light"] .ndl-btn--primary{background:linear-gradient(180deg,#32b7ae,#128a84);color:white}

/* Hero: clearer market values, reduced ornament */
.ndl-hero--v13{grid-template-columns:minmax(0,1fr) minmax(430px,.9fr);min-height:274px;padding:28px 30px;border-color:rgba(49,207,195,.18);background:radial-gradient(circle at 13% 10%,rgba(49,207,195,.14),transparent 35%),linear-gradient(145deg,rgba(8,29,35,.94),rgba(3,15,22,.94));box-shadow:0 30px 84px rgba(0,0,0,.25),inset 0 1px rgba(255,255,255,.045)}
.ndl-hero--v13::after{opacity:.42}.ndl-hero--v13 h2{font-size:40px;line-height:1.48;margin:9px 0 8px}.ndl-hero--v13 p{font-size:12px;line-height:2}.ndl-hero--v13 .ndl-hero__visual{grid-template-columns:86px 1fr;gap:12px}.ndl-hero--v13 .ndl-hero__asset{width:102px;max-height:150px;opacity:.82;transform:translateX(8px)}
.ndl-hero-quotes{gap:8px}.ndl-hero-quote{min-height:98px;padding:13px 14px;border-color:rgba(49,207,195,.10);background:linear-gradient(145deg,rgba(255,255,255,.038),rgba(255,255,255,.012))}
.ndl-hero-quote strong{font-size:11px}.ndl-hero-quote span{font-size:8px}.ndl-hero-quote__numbers{display:grid;gap:4px;margin-top:10px}.ndl-hero-quote__numbers b{font-size:18px;line-height:1.1;font-variant-numeric:tabular-nums}.ndl-hero-quote__numbers b small{font-size:8px;font-weight:500}.ndl-hero-quote__numbers em{font-size:9px;font-style:normal;font-weight:700}
html[data-theme="light"] .ndl-hero--v13{background:radial-gradient(circle at 12% 8%,rgba(17,138,132,.11),transparent 34%),linear-gradient(145deg,rgba(252,249,243,.97),rgba(235,225,210,.94));border-color:rgba(17,138,132,.18);box-shadow:0 24px 64px rgba(67,50,33,.11),inset 0 1px rgba(255,255,255,.90)}
html[data-theme="light"] .ndl-hero-quote{background:rgba(255,255,255,.52);border-color:rgba(17,112,107,.12)}

/* Flagship Prices */
.ndl-market-overview{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px 24px;border-radius:24px;background:linear-gradient(135deg,rgba(11,35,41,.86),rgba(6,22,28,.82));border:1px solid rgba(49,207,195,.12);box-shadow:0 18px 54px rgba(0,0,0,.14);backdrop-filter:blur(16px)}
.ndl-market-overview h2{font-size:24px;margin:7px 0 4px}.ndl-market-overview p{margin:0;color:var(--ndl-text-3);font-size:11px}.ndl-market-overview__stats{display:flex;gap:10px}.ndl-market-overview__stats>span{min-width:82px;padding:10px 12px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.045);text-align:center}.ndl-market-overview__stats b{display:block;font-size:18px}.ndl-market-overview__stats small{display:block;color:var(--ndl-text-3);font-size:8px;margin-top:2px}
html[data-theme="light"] .ndl-market-overview{background:linear-gradient(135deg,rgba(251,248,241,.94),rgba(233,223,208,.90));border-color:rgba(17,112,107,.12);box-shadow:0 16px 44px rgba(67,50,33,.08)}
html[data-theme="light"] .ndl-market-overview__stats>span{background:rgba(255,255,255,.42);border-color:rgba(17,112,107,.09)}
.ndl-toolbar--prices{padding:10px 12px;border-color:rgba(49,207,195,.10);background:rgba(6,23,28,.72)}
.ndl-section-head--market{align-items:flex-end}.ndl-live-status{display:flex;align-items:center;gap:8px;color:var(--ndl-text-3);font-size:9px}.ndl-live-status i{width:7px;height:7px;border-radius:50%;background:var(--ndl-success);box-shadow:0 0 0 5px rgba(105,214,165,.07)}.ndl-live-status b{font-weight:500;padding-right:8px;border-right:1px solid var(--ndl-border)}
.ndl-price-grid{grid-template-columns:repeat(auto-fit,minmax(255px,1fr));gap:14px;align-items:stretch}
.ndl-market-card{min-height:238px;padding:17px 17px 15px;border-color:rgba(49,207,195,.10);background:radial-gradient(circle at 100% 0,rgba(49,207,195,.08),transparent 36%),linear-gradient(155deg,rgba(12,35,41,.93),rgba(5,19,25,.96));box-shadow:0 15px 44px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.03);transition:transform 190ms var(--ndl-ease),border-color 160ms,box-shadow 190ms}
.ndl-market-card::before{inset:0 16% auto;background:linear-gradient(90deg,transparent,rgba(49,207,195,.15),transparent)}.ndl-market-card::after{display:none}.ndl-market-card:hover{transform:translateY(-3px);border-color:rgba(49,207,195,.26);box-shadow:0 22px 58px rgba(0,0,0,.22),0 0 0 1px rgba(49,207,195,.04)}
.ndl-market-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px}.ndl-market-card__identity{display:flex;align-items:center;gap:11px}.ndl-market-card__identity strong{display:block;font-size:13px}.ndl-market-card__identity span:not(.ndl-market-card__mark){display:block;color:var(--ndl-text-3);font-size:8px;margin-top:2px}.ndl-market-card__mark{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:linear-gradient(145deg,rgba(49,207,195,.14),rgba(49,207,195,.035));border:1px solid rgba(49,207,195,.16);color:var(--ndl-primary-soft);font-size:11px;font-weight:700;direction:ltr}.ndl-market-status{font-size:8px;color:var(--ndl-text-4)}
.ndl-market-card__value{display:flex;align-items:baseline;gap:6px;margin-top:24px}.ndl-market-card__value b{font-size:25px;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.025em}.ndl-market-card__value span{font-size:8px;color:var(--ndl-text-3)}
.ndl-market-card__chart{height:55px;margin:10px -2px 4px;color:var(--ndl-primary)}.ndl-market-card__chart svg{width:100%;height:100%;overflow:visible}.ndl-market-card__footer{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:8px;font-size:9px}.ndl-market-card__footer>span:first-child{font-weight:700}.ndl-market-card__footer small{text-align:left;color:var(--ndl-text-4);font-size:7px}
html[data-theme="light"] .ndl-market-card{background:radial-gradient(circle at 100% 0,rgba(17,138,132,.07),transparent 36%),linear-gradient(155deg,rgba(252,249,243,.95),rgba(235,225,210,.95));border-color:rgba(17,112,107,.11);box-shadow:0 13px 38px rgba(67,50,33,.08),inset 0 1px rgba(255,255,255,.88)}
html[data-theme="light"] .ndl-market-card__mark{background:rgba(17,138,132,.08);border-color:rgba(17,138,132,.15)}
.ndl-filter-empty{padding:30px;text-align:center;color:var(--ndl-text-3);border:1px dashed var(--ndl-border);border-radius:20px;margin-top:14px;background:rgba(255,255,255,.015)}

/* Dashboard grid: system controlled */
.ndl-widget-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:stretch}
.ndl-widget-card{min-height:var(--ndl-card-h);height:var(--ndl-card-h);border-color:rgba(49,207,195,.10);box-shadow:0 16px 48px rgba(0,0,0,.14),inset 0 1px rgba(255,255,255,.03)}
.ndl-widget-card[data-widget-type="price"],.ndl-widget-card[data-widget-type="stock"]{grid-column:1/-1;height:auto;min-height:var(--ndl-card-h)}
.ndl-widget-card[data-widget-type="news"],.ndl-widget-card[data-widget-type="portfolio"]{grid-column:span 6}
.ndl-dashboard-city-widget{grid-column:1/-1;min-width:0}.ndl-dashboard-city-widget .ndl-city-card{display:block;min-height:355px;text-decoration:none}.ndl-dashboard-city-widget .ndl-city-panel{width:45%}.ndl-dashboard-city-widget .ndl-forecast{grid-template-columns:repeat(5,1fr)}
.ndl-widget-card__head{min-height:72px;padding:15px 17px;border-bottom-color:rgba(49,207,195,.08)}.ndl-widget-card__body{padding:17px;overflow:auto}.ndl-widget-card__icon{background:rgba(49,207,195,.055);border-color:rgba(49,207,195,.12)}
html[data-theme="light"] .ndl-widget-card{background:linear-gradient(155deg,rgba(252,249,243,.95),rgba(235,225,210,.95));border-color:rgba(17,112,107,.10);box-shadow:0 14px 40px rgba(67,50,33,.08),inset 0 1px rgba(255,255,255,.88)}

/* Dedicated city card preserved across page and dashboard */
.ndl-city-card{border-color:rgba(49,207,195,.13);box-shadow:0 24px 64px rgba(0,0,0,.22)}.ndl-city-card::after{background:linear-gradient(270deg,rgba(3,15,25,.97) 0%,rgba(3,15,25,.88) 34%,rgba(3,15,25,.30) 61%,transparent 82%)}.ndl-city-panel{width:48%}.ndl-city-top h3{font-size:22px}.ndl-city-time{font-size:42px}.ndl-city-more{color:var(--ndl-primary-soft)}
html[data-theme="light"] .ndl-city-card::after{background:linear-gradient(270deg,rgba(236,241,235,.96) 0%,rgba(232,238,231,.86) 34%,rgba(226,232,226,.28) 61%,transparent 82%)}
html[data-theme="light"] .ndl-city-card .ndl-city-top h3,html[data-theme="light"] .ndl-city-card .ndl-city-time,html[data-theme="light"] .ndl-city-card .ndl-temp,html[data-theme="light"] .ndl-city-card .ndl-city-metric strong,html[data-theme="light"] .ndl-city-card .ndl-day strong{color:#173235;text-shadow:0 1px rgba(255,255,255,.5)}
html[data-theme="light"] .ndl-city-card .ndl-city-top span,html[data-theme="light"] .ndl-city-card .ndl-city-date,html[data-theme="light"] .ndl-city-card .ndl-condition,html[data-theme="light"] .ndl-city-card .ndl-city-metric label,html[data-theme="light"] .ndl-city-card .ndl-day{color:#4f6767}
html[data-theme="light"] .ndl-city-card .ndl-city-metric,html[data-theme="light"] .ndl-city-card .ndl-day{border-top-color:rgba(22,62,62,.13)}

/* Widget Manager: content only, progressive disclosure */
.ndl-manager-stack{gap:22px}.ndl-manager-section{display:grid;gap:12px}.ndl-manager-hero{border-color:rgba(49,207,195,.12)}.ndl-hero-slot-manager{gap:10px}.ndl-manager-intro{padding:20px 22px;border-color:rgba(49,207,195,.10);background:rgba(7,25,30,.72)}
.ndl-manager-instance{overflow:hidden;border-color:rgba(49,207,195,.09);background:linear-gradient(150deg,rgba(11,31,37,.88),rgba(5,19,25,.93))}.ndl-manager-instance__head{min-height:72px}.ndl-manager-details{border-top:1px solid rgba(49,207,195,.07)}.ndl-manager-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:11px 17px;color:var(--ndl-text-3);font-size:10px;cursor:pointer;background:rgba(49,207,195,.018)}.ndl-manager-details summary::-webkit-details-marker{display:none}.ndl-manager-details[open] summary{color:var(--ndl-primary-soft);background:rgba(49,207,195,.04)}.ndl-manager-details summary span{transition:transform 160ms}.ndl-manager-details[open] summary span{transform:rotate(180deg)}.ndl-manager-instance__body{padding:15px 17px 17px}.ndl-widget-catalog{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.ndl-widget-catalog article{min-height:102px;border-color:rgba(49,207,195,.08);background:rgba(8,27,32,.62)}
html[data-theme="light"] .ndl-manager-intro,html[data-theme="light"] .ndl-manager-instance,html[data-theme="light"] .ndl-widget-catalog article{background:rgba(249,245,237,.82);border-color:rgba(17,112,107,.10)}
html[data-theme="light"] .ndl-manager-details{border-top-color:rgba(17,112,107,.09)}html[data-theme="light"] .ndl-manager-details summary{background:rgba(17,138,132,.025)}

/* Custom selects: no native white popup */
.ndl-native-select{position:absolute!important;opacity:0!important;pointer-events:none!important;width:1px!important;height:1px!important;inset:auto!important}
.ndl-custom-select{position:relative;min-width:0}.ndl-custom-select__button{width:100%;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--ndl-border);border-radius:var(--ndl-radius-md);background:rgba(255,255,255,.022);color:var(--ndl-text-1);text-align:right}.ndl-custom-select__button i{width:7px;height:7px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg) translateY(-2px);opacity:.65}.ndl-custom-select.is-open .ndl-custom-select__button{border-color:rgba(49,207,195,.34);box-shadow:var(--ndl-focus)}
.ndl-custom-select__menu{position:absolute;z-index:80;top:calc(100% + 6px);right:0;left:0;display:none;max-height:270px;overflow:auto;padding:6px;border:1px solid rgba(49,207,195,.16);border-radius:15px;background:#0b2228;box-shadow:0 24px 70px rgba(0,0,0,.42)}.ndl-custom-select.is-open .ndl-custom-select__menu{display:grid}.ndl-custom-select__menu button{border:0;background:transparent;color:var(--ndl-text-2);text-align:right;padding:9px 10px;border-radius:9px}.ndl-custom-select__menu button:hover,.ndl-custom-select__menu button:focus,.ndl-custom-select__menu button[aria-selected="true"]{background:rgba(49,207,195,.10);color:var(--ndl-primary-soft);outline:none}
html[data-theme="light"] .ndl-custom-select__button{background:rgba(255,255,255,.48);border-color:rgba(17,112,107,.14);color:#1c3435}html[data-theme="light"] .ndl-custom-select__menu{background:#faf6ed;border-color:rgba(17,112,107,.15);box-shadow:0 20px 56px rgba(67,50,33,.18)}html[data-theme="light"] .ndl-custom-select__menu button{color:#344d4e}html[data-theme="light"] .ndl-custom-select__menu button:hover,html[data-theme="light"] .ndl-custom-select__menu button:focus,html[data-theme="light"] .ndl-custom-select__menu button[aria-selected="true"]{background:rgba(17,138,132,.09);color:#096b67}

/* Editorial / utility subtraction */
.ndl-card,.ndl-summary-card,.ndl-price-card,.ndl-feed-row{border-color:rgba(49,207,195,.09)}.ndl-card__head{border-bottom-color:rgba(49,207,195,.07)}.ndl-chip{border-color:rgba(49,207,195,.14);background:rgba(49,207,195,.055)}.ndl-tab.is-active{background:rgba(49,207,195,.10);border-color:rgba(49,207,195,.20)}
.ndl-feed-row:first-child{min-height:156px;padding:22px 24px;background:radial-gradient(circle at 100% 0,rgba(49,207,195,.07),transparent 40%),linear-gradient(145deg,rgba(13,35,41,.90),rgba(5,19,25,.94));border-color:rgba(49,207,195,.12)}.ndl-feed-row:first-child h4{font-size:18px}.ndl-feed-row:first-child p{font-size:11px;max-width:850px}.ndl-feed-row__side{border-right-color:rgba(49,207,195,.08)}
html[data-theme="light"] .ndl-feed-row:first-child{background:radial-gradient(circle at 100% 0,rgba(17,138,132,.07),transparent 40%),linear-gradient(145deg,rgba(252,249,243,.95),rgba(235,225,210,.94));border-color:rgba(17,112,107,.10)}

/* Drag motion on every eligible group */
.ndl-direct-drag>[data-ndl-item]{will-change:transform;transition:border-color 150ms,box-shadow 180ms,opacity 160ms,filter 160ms}.ndl-drag-placeholder{border-radius:22px;background:linear-gradient(145deg,rgba(49,207,195,.06),rgba(49,207,195,.025));border-color:rgba(49,207,195,.34);box-shadow:inset 0 0 0 1px rgba(49,207,195,.05)}.ndl-drag-ghost{opacity:.97;filter:saturate(1.06);box-shadow:0 38px 120px rgba(0,0,0,.52),0 0 0 1px rgba(49,207,195,.30)!important}.ndl-is-dragging .ndl-direct-drag>[data-ndl-item]:not(.is-dragging){filter:saturate(.92) brightness(.96)}

/* Responsive art direction */
@media(max-width:1180px){.ndl-widget-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.ndl-widget-card[data-widget-type="news"],.ndl-widget-card[data-widget-type="portfolio"]{grid-column:span 6}.ndl-hero--v13{grid-template-columns:1fr}.ndl-hero--v13 .ndl-hero__visual{grid-template-columns:80px 1fr}.ndl-market-card__footer{grid-template-columns:auto auto}.ndl-market-card__footer small{grid-column:1/-1;text-align:right}}
@media(max-width:900px){.ndl-widget-card[data-widget-type="news"],.ndl-widget-card[data-widget-type="portfolio"]{grid-column:1/-1;height:auto;min-height:330px}.ndl-dashboard-city-widget .ndl-city-panel{width:56%}.ndl-market-overview{align-items:flex-start;flex-direction:column}.ndl-market-overview__stats{width:100%}.ndl-market-overview__stats>span{flex:1}}
@media(max-width:700px){
  .ndl-main{padding:15px 13px 80px}.ndl-topbar{gap:10px}.ndl-topbar__actions{width:auto}.ndl-topbar__actions .ndl-btn{min-height:36px;padding:7px 10px;font-size:10px}
  .ndl-hero--v13{padding:18px;gap:14px;border-radius:21px}.ndl-hero--v13 h2{font-size:27px;line-height:1.42}.ndl-hero--v13 p{font-size:10px;line-height:1.8}.ndl-hero--v13 .ndl-hero__actions{margin-top:14px}.ndl-hero-quote{min-width:182px;min-height:102px}.ndl-hero-quote__numbers b{font-size:17px}
  .ndl-dashboard-workspace{margin-top:20px}.ndl-dashboard-workspace>.ndl-section-head{margin-bottom:9px}.ndl-dashboard-workspace>.ndl-section-head p{display:none}.ndl-widget-grid{gap:12px}.ndl-widget-card,.ndl-widget-card[data-widget-type="news"],.ndl-widget-card[data-widget-type="portfolio"],.ndl-widget-card[data-widget-type="price"],.ndl-widget-card[data-widget-type="stock"]{grid-column:1/-1;height:auto;min-height:0}.ndl-widget-card__body{max-height:none;overflow:visible}
  .ndl-dashboard-city-widget .ndl-city-card{min-height:430px}.ndl-dashboard-city-widget .ndl-city-panel{width:72%;padding:16px}.ndl-dashboard-city-widget .ndl-forecast{grid-template-columns:repeat(5,74px);overflow-x:auto}.ndl-dashboard-city-widget .ndl-city-card::after{background:linear-gradient(270deg,rgba(3,15,25,.97),rgba(3,15,25,.80) 60%,rgba(3,15,25,.14) 84%,transparent)}
  .ndl-market-overview{padding:18px;border-radius:20px}.ndl-market-overview h2{font-size:21px}.ndl-market-overview__stats{gap:7px}.ndl-market-overview__stats>span{min-width:0;padding:8px}.ndl-toolbar--prices{align-items:stretch}.ndl-toolbar--prices .ndl-tabs{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.ndl-toolbar--prices .ndl-tab{white-space:nowrap}.ndl-search{width:100%}.ndl-price-grid{grid-template-columns:1fr}.ndl-market-card{min-height:218px}.ndl-market-card__value b{font-size:24px}
  .ndl-widget-catalog{grid-template-columns:1fr}.ndl-manager-intro{padding:17px}.ndl-manager-instance__head{align-items:center}.ndl-manager-details summary{padding:11px 14px}.ndl-hero-slot-manager{grid-template-columns:1fr 1fr}
  body{background-attachment:scroll;background-size:auto 100vh}
}
@media(max-width:430px){.ndl-hero-slot-manager{grid-template-columns:1fr}.ndl-market-overview__stats>span small{font-size:7px}.ndl-city-panel{width:70%}.ndl-brand__logo{width:56px;height:62px}}
@media(prefers-reduced-motion:reduce){.ndl-direct-drag>[data-ndl-item],.ndl-market-card,.ndl-nav__icon,.ndl-manager-details summary span{transition:none!important}.ndl-drag-placeholder{animation:none!important}}
.ndl-page-card-stack{display:grid;gap:16px}.ndl-page-card-stack>.ndl-grid{margin:0}.ndl-manager-instance{overflow:visible}.ndl-manager-details{position:relative}.ndl-manager-details[open]{z-index:3}

/* V1.4 dashboard price composition: system-controlled paired sections */
.ndl-widget-card[data-widget-type="price"] .ndl-price-widget{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:start;
  gap:14px;
}
.ndl-widget-card[data-widget-type="price"] .ndl-price-widget>section{
  min-width:0;
  padding:12px;
  border:1px solid rgba(49,207,195,.07);
  border-radius:16px;
  background:rgba(255,255,255,.014);
}
html[data-theme="light"] .ndl-widget-card[data-widget-type="price"] .ndl-price-widget>section{
  border-color:rgba(17,112,107,.08);
  background:rgba(255,255,255,.32);
}
@media(max-width:700px){
  .ndl-widget-card[data-widget-type="price"] .ndl-price-widget{grid-template-columns:1fr}
  .ndl-widget-card[data-widget-type="price"] .ndl-price-widget>section{padding:10px}
}

/* V1.4 light-sidebar contrast correction */
html[data-theme="light"] .ndl-sidebar,html[data-theme="light"] .ndl-sidebar--dashboard{
  background:#cfd9cf!important;
  border-left-color:rgba(8,103,98,.18);
  box-shadow:-26px 0 74px rgba(48,63,55,.14);
}
html[data-theme="light"] .ndl-sidebar::after,html[data-theme="light"] .ndl-sidebar--dashboard::after{
  background:linear-gradient(180deg,rgba(220,228,218,.98) 0%,rgba(213,223,213,.92) 46%,rgba(192,208,196,.64) 73%,rgba(174,196,181,.28) 100%)!important;
}
html[data-theme="light"] .ndl-brand{border-bottom-color:rgba(8,103,98,.14)}
html[data-theme="light"] .ndl-brand__name{color:#173638}
html[data-theme="light"] .ndl-brand__meta{color:#536b68}
html[data-theme="light"] .ndl-nav__item{color:#314b4b}
html[data-theme="light"] .ndl-nav__label{font-weight:650;text-shadow:0 1px rgba(255,255,255,.38)}
html[data-theme="light"] .ndl-nav__icon{
  opacity:.98;
  filter:saturate(1.26) contrast(1.28) brightness(.82) drop-shadow(0 2px 3px rgba(41,61,52,.14));
}
html[data-theme="light"] .ndl-nav__item:hover .ndl-nav__icon,
html[data-theme="light"] .ndl-nav__item.is-active .ndl-nav__icon{
  filter:saturate(1.34) contrast(1.32) brightness(.78) drop-shadow(0 3px 5px rgba(23,88,81,.18));
}
html[data-theme="light"] .ndl-nav__item.is-active{
  color:#075f5b;
  background:linear-gradient(90deg,rgba(255,255,255,.42),rgba(18,138,132,.09));
}
html[data-theme="light"] .ndl-nav__item::after{background:linear-gradient(90deg,rgba(255,255,255,.34),rgba(17,138,132,.06) 70%,transparent)}
html[data-theme="light"] .ndl-theme-control{background:rgba(244,247,239,.62);border-color:rgba(8,103,98,.16);box-shadow:0 9px 24px rgba(46,68,58,.09)}
html[data-theme="light"] .ndl-sidebar-signature{color:#075f5b}
html[data-theme="light"] .ndl-sidebar-signature small{color:#526b67}

/* ===== NDL V1.5 design-freeze correction layer ===== */
:root{
  --ndl-v15-firuzeh:#48d9cf;
  --ndl-v15-firuzeh-strong:#76eee5;
  --ndl-v15-gold:#c8a25f;
  --ndl-v15-card:rgba(7,24,29,.92);
  --ndl-v15-card-soft:rgba(10,31,36,.78);
}
body{font-size:14px;line-height:1.75}
.ndl-page-subtitle,.ndl-card__subtitle,.ndl-help{font-size:12px;line-height:1.75}
.ndl-muted{font-size:12px}
.ndl-card,.ndl-widget-card,.ndl-summary-card,.ndl-market-card,.ndl-stock-card,.ndl-news-lead,.ndl-news-row{overflow:hidden}
.ndl-card__body,.ndl-widget-card__body{overflow:visible;max-height:none}
.ndl-card__title{font-size:17px}.ndl-card__subtitle{margin-top:5px}
.ndl-page-root{display:grid;gap:20px}
.ndl-section-head{align-items:end}.ndl-section-head h2{font-size:20px}.ndl-section-head p{font-size:12px;line-height:1.8}

/* Sidebar: one deliberate material and one coherent icon family */
.ndl-sidebar,.ndl-sidebar--dashboard{
  background:
    linear-gradient(180deg,rgba(5,20,24,.985) 0%,rgba(5,19,23,.985) 52%,rgba(7,29,32,.98) 100%),
    url('../assets/backgrounds/sidebar-v14-dark.webp') center bottom/cover no-repeat!important;
  border-left:1px solid rgba(72,217,207,.12);
  box-shadow:-24px 0 70px rgba(0,0,0,.18);
}
.ndl-sidebar::before{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(180deg,transparent,rgba(72,217,207,.035) 45%,rgba(72,217,207,.08));pointer-events:none}
.ndl-sidebar::after,.ndl-sidebar--dashboard::after{content:"";position:absolute;inset:auto 0 0;height:48%;background:url('../assets/patterns/persian-geometric.svg') center bottom/230px repeat;opacity:.08;mask-image:linear-gradient(0deg,#000 0%,rgba(0,0,0,.7) 35%,transparent 100%);pointer-events:none}
.ndl-brand{padding-bottom:17px;border-bottom:1px solid rgba(72,217,207,.08)}
.ndl-brand__logo{width:48px;height:48px}.ndl-brand__name{font-size:16px}.ndl-brand__meta{font-size:10px}
.ndl-nav{gap:5px}.ndl-nav__item{min-height:47px;border-radius:13px;border:0;padding:9px 10px;color:#a8bfbe}
.ndl-nav__item:hover{background:rgba(72,217,207,.045);color:#d9eeec;transform:none}
.ndl-nav__item.is-active{color:#e4fbf8;background:linear-gradient(90deg,rgba(72,217,207,.15),rgba(72,217,207,.045));box-shadow:inset -3px 0 var(--ndl-v15-firuzeh);border:0}
.ndl-nav__item.is-active::before{content:"";position:absolute;left:12px;width:4px;height:4px;border-radius:50%;background:var(--ndl-v15-gold)}
.ndl-nav__icon-wrap{width:28px;height:28px;display:grid;place-items:center;flex:none}
.ndl-nav__icon{width:24px;height:24px;opacity:.84;filter:none!important}
.ndl-nav__item:hover .ndl-nav__icon,.ndl-nav__item.is-active .ndl-nav__icon{opacity:1;filter:none!important}
.ndl-nav__label{font-size:12px;font-weight:600}
.ndl-sidebar-footer{position:relative;z-index:2;padding-top:13px;border-top:1px solid rgba(72,217,207,.08);background:linear-gradient(180deg,transparent,rgba(4,16,19,.5))}
.ndl-sidebar-signature{margin-top:10px}.ndl-sidebar-signature small{font-size:8px;letter-spacing:.12em;opacity:.62}

/* Hero: four stable cards and integrated art */
.ndl-hero--v15{grid-template-columns:minmax(0,.92fr) minmax(520px,1.08fr);min-height:330px;padding:30px;gap:26px;background:radial-gradient(circle at 78% 45%,rgba(72,217,207,.12),transparent 30%),linear-gradient(135deg,rgba(10,35,39,.98),rgba(5,20,25,.98))}
.ndl-hero--v15 .ndl-hero__copy{align-self:center}.ndl-hero--v15 h2{font-size:34px;line-height:1.55;margin:11px 0 9px}.ndl-hero--v15 p{font-size:13px;line-height:1.9}
.ndl-hero--v15 .ndl-hero__visual{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;gap:12px;min-width:0}
.ndl-hero--v15 .ndl-hero__asset{width:124px;max-height:230px;object-fit:contain;filter:drop-shadow(0 20px 34px rgba(0,0,0,.34));transform:translateX(-7px)}
.ndl-hero-quotes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
.ndl-hero-quote{min-width:0;min-height:112px;padding:14px;border:1px solid rgba(72,217,207,.11);border-radius:17px;background:linear-gradient(145deg,rgba(12,38,42,.80),rgba(7,24,29,.78));display:grid;align-content:space-between;gap:12px}
.ndl-hero-quote__identity{display:flex;align-items:center;gap:9px;min-width:0}.ndl-hero-quote__identity>div{min-width:0}.ndl-hero-quote__identity strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ndl-hero-quote__identity span:not(.ndl-asset-icon){font-size:10px;color:var(--ndl-text-3)}
.ndl-hero-quote__numbers{display:flex;justify-content:space-between;align-items:end;gap:8px}.ndl-hero-quote__numbers b{font-size:19px;line-height:1.25;font-variant-numeric:tabular-nums}.ndl-hero-quote__numbers b small{font-size:10px;color:var(--ndl-text-3);font-weight:500}.ndl-hero-quote__numbers em{font-size:11px;font-style:normal}

/* Shared identity */
.ndl-asset-icon{width:38px;height:38px;display:grid;place-items:center;flex:none;border-radius:12px;background:rgba(72,217,207,.045);border:1px solid rgba(72,217,207,.10);overflow:hidden}
.ndl-asset-icon img{width:31px;height:31px;object-fit:contain}.ndl-hero-quote .ndl-asset-icon{width:32px;height:32px;border-radius:10px}.ndl-hero-quote .ndl-asset-icon img{width:27px;height:27px}

/* Dashboard grid and content-aware cards */
.ndl-dashboard-workspace{margin-top:25px}.ndl-widget-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:16px;align-items:start}
.ndl-widget-card{height:auto!important;min-height:0!important;background:linear-gradient(155deg,rgba(10,31,36,.94),rgba(5,20,25,.96));border-color:rgba(72,217,207,.09);box-shadow:0 15px 44px rgba(0,0,0,.15)}
.ndl-widget-card[data-widget-type="price"],.ndl-widget-card[data-widget-type="stock"],.ndl-dashboard-city-widget{grid-column:1/-1}
.ndl-widget-card[data-widget-type="news"],.ndl-widget-card[data-widget-type="portfolio"]{grid-column:span 6}
.ndl-widget-card__head{min-height:68px;padding:15px 17px;border-bottom-color:rgba(72,217,207,.065)}
.ndl-widget-card__identity{min-width:0}.ndl-widget-card__identity>div{min-width:0}.ndl-widget-card__identity h3{font-size:15px}.ndl-widget-card__identity p{font-size:11px;white-space:normal}
.ndl-widget-card__body{padding:16px}.ndl-widget-card__open{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;text-decoration:none;border:1px solid rgba(72,217,207,.10);color:var(--ndl-v15-firuzeh)}
.ndl-price-widget__row{grid-template-columns:38px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:61px}.ndl-price-widget__row>div:first-of-type{min-width:0}.ndl-price-widget__row strong,.ndl-widget-table__row strong{font-size:12px}.ndl-price-widget__row span,.ndl-widget-table__row span{font-size:10px}.ndl-price-widget__row b{font-size:13px;font-variant-numeric:tabular-nums}.ndl-price-widget__row em{font-size:10px}
.ndl-widget-table__row{grid-template-columns:34px minmax(0,1fr) auto auto;gap:10px;min-height:58px}.ndl-stock-mini-icon{width:32px;height:32px}.ndl-stock-mini-icon img{width:32px;height:32px}
.ndl-portfolio-widget__value strong{overflow-wrap:anywhere}.ndl-widget-metric strong{overflow-wrap:anywhere}

/* Compact dashboard Weather / Clock */
.ndl-dashboard-city-widget .ndl-city-card--dashboard-compact{min-height:236px!important;height:auto;border-radius:24px}
.ndl-city-card--dashboard-compact::after{background:linear-gradient(270deg,rgba(3,16,25,.96) 0%,rgba(3,16,25,.84) 40%,rgba(3,16,25,.26) 70%,transparent 88%)}
.ndl-city-card--dashboard-compact .ndl-city-panel{width:54%;padding:18px 20px;justify-content:space-between}
.ndl-city-compact-main{display:flex;align-items:end;justify-content:space-between;gap:18px}.ndl-city-card--dashboard-compact .ndl-city-time{font-size:34px}.ndl-city-card--dashboard-compact .ndl-temp{font-size:32px}
.ndl-compact-forecast{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ndl-compact-forecast span{padding:8px 10px;border-top:1px solid rgba(255,255,255,.09);display:flex;align-items:center;justify-content:space-between;gap:8px}.ndl-compact-forecast small{font-size:10px;color:var(--ndl-text-3)}.ndl-compact-forecast b{font-size:11px}

/* Prices: identity, hierarchy, no mini chart */
.ndl-market-overview{min-height:0;padding:22px 24px}.ndl-market-overview h2{font-size:25px}.ndl-market-overview p{font-size:12px}.ndl-toolbar--prices{padding:10px 12px}
.ndl-price-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-top:14px;direction:rtl}
.ndl-market-card{min-height:218px!important;height:auto;padding:17px;display:grid;grid-template-rows:auto 1fr auto;gap:18px;background:radial-gradient(circle at 100% 0,rgba(72,217,207,.055),transparent 38%),linear-gradient(155deg,rgba(11,34,39,.94),rgba(5,21,26,.96));border-color:rgba(72,217,207,.10);box-shadow:0 13px 38px rgba(0,0,0,.13)}
.ndl-market-card::before{display:none!important}.ndl-market-card::after{opacity:.45}
.ndl-market-card__top{align-items:flex-start}.ndl-market-card__identity{gap:10px;min-width:0}.ndl-market-card__identity>div{min-width:0}.ndl-market-card__identity strong{font-size:13px}.ndl-market-card__identity>div>span{font-size:10px;color:var(--ndl-text-3)}
.ndl-data-meta{display:grid;justify-items:end;gap:3px;white-space:nowrap}.ndl-data-meta b{font-size:9px;font-weight:600}.ndl-data-meta time{font-size:9px;color:var(--ndl-text-4)}.is-open{color:var(--ndl-success)!important}.is-closed{color:var(--ndl-text-4)!important}
.ndl-market-card__value{align-self:center}.ndl-market-card__value b{font-size:28px;line-height:1.25;font-variant-numeric:tabular-nums;letter-spacing:-.02em;overflow-wrap:anywhere}.ndl-market-card__value span{font-size:11px;margin-right:6px;color:var(--ndl-text-3)}
.ndl-market-card__change{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid rgba(72,217,207,.065)}.ndl-market-card__change strong{font-size:13px}.ndl-market-card__change span{font-size:10px;color:currentColor;opacity:.82;text-align:left}
.ndl-market-card__chart,.ndl-market-card__footer{display:none!important}

/* Stock cards */
.ndl-stock-toolbar{display:flex;justify-content:space-between;align-items:end;gap:18px;padding:18px 20px;border:1px solid rgba(72,217,207,.09);border-radius:22px;background:rgba(8,27,32,.76)}.ndl-stock-toolbar h2{font-size:20px;margin:0}.ndl-stock-toolbar p{font-size:12px;color:var(--ndl-text-3);margin:3px 0 0}.ndl-stock-toolbar__controls{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.ndl-stock-toolbar .ndl-search{width:240px}
.ndl-stock-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;align-items:start}
.ndl-stock-card{min-width:0;min-height:262px;padding:16px;border:1px solid rgba(72,217,207,.10);border-radius:22px;background:linear-gradient(155deg,rgba(11,34,39,.94),rgba(5,21,26,.96));display:grid;gap:15px;box-shadow:0 13px 38px rgba(0,0,0,.13)}
.ndl-stock-card__head,.ndl-stock-card__identity,.ndl-stock-card__change,.ndl-stock-card footer{display:flex;align-items:center}.ndl-stock-card__head{justify-content:space-between;gap:10px}.ndl-stock-card__identity{gap:10px;min-width:0}.ndl-stock-card__identity>span{width:38px;height:38px;flex:none}.ndl-stock-card__identity img{width:38px;height:38px}.ndl-stock-card__identity>div{min-width:0}.ndl-stock-card__identity strong{display:block;font-size:14px}.ndl-stock-card__identity small{display:block;font-size:10px;color:var(--ndl-text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndl-icon-action{width:40px;height:40px;border-radius:12px;border:1px solid rgba(72,217,207,.10);background:rgba(255,255,255,.018);color:var(--ndl-text-4);font-size:17px}.ndl-icon-action.is-active{color:var(--ndl-v15-gold);background:rgba(200,162,95,.07);border-color:rgba(200,162,95,.18)}
.ndl-stock-card__value b{display:block;font-size:25px;line-height:1.25;font-variant-numeric:tabular-nums}.ndl-stock-card__value span{font-size:10px;color:var(--ndl-text-3)}.ndl-stock-card__change{justify-content:space-between;gap:10px}.ndl-stock-card__change strong{font-size:13px}.ndl-stock-card__change span{font-size:10px;opacity:.8}
.ndl-stock-card__metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.ndl-stock-card__metrics span{padding:9px;border-radius:12px;background:rgba(255,255,255,.018);border:1px solid rgba(72,217,207,.055);min-width:0}.ndl-stock-card__metrics small,.ndl-stock-card__metrics b{display:block}.ndl-stock-card__metrics small{font-size:9px;color:var(--ndl-text-3)}.ndl-stock-card__metrics b{font-size:10px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndl-stock-card footer{justify-content:space-between;gap:7px;padding-top:11px;border-top:1px solid rgba(72,217,207,.06);font-size:9px;color:var(--ndl-text-3)}.ndl-stock-card footer button{border:0;background:transparent;color:var(--ndl-text-4);padding:5px}.ndl-stock-card footer button:hover{color:var(--ndl-danger)}

/* Portfolio */
.ndl-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.ndl-summary-card{min-height:116px;padding:17px;background:rgba(9,29,34,.74);border-color:rgba(72,217,207,.08)}.ndl-summary-card span{font-size:11px}.ndl-summary-card strong{font-size:21px;line-height:1.4;overflow-wrap:anywhere}.ndl-summary-card small{font-size:10px}
.ndl-portfolio-feature{align-items:stretch}.ndl-portfolio-feature>.ndl-card{height:auto}.ndl-allocation{min-height:250px}.ndl-chart{min-height:220px;max-height:260px}
.ndl-holdings-grid{display:grid;gap:8px}.ndl-holding-row{display:grid;grid-template-columns:minmax(190px,1.2fr) minmax(150px,1fr) 120px 40px;align-items:center;gap:15px;min-height:72px;padding:11px 13px;border:1px solid rgba(72,217,207,.07);border-radius:15px;background:rgba(255,255,255,.014)}.ndl-holding-identity{display:flex;align-items:center;gap:10px;min-width:0}.ndl-holding-identity>div{min-width:0}.ndl-holding-identity strong,.ndl-holding-identity small,.ndl-holding-row>div>small,.ndl-holding-row>div>b{display:block}.ndl-holding-identity strong{font-size:12px}.ndl-holding-identity small,.ndl-holding-row>div>small{font-size:10px;color:var(--ndl-text-3)}.ndl-holding-row>div>b{font-size:12px;margin-top:3px;overflow-wrap:anywhere}.ndl-holding-row>a{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;border:1px solid rgba(72,217,207,.09);text-decoration:none;color:var(--ndl-v15-firuzeh)}

/* Editorial news */
.ndl-news-editorial{display:grid;gap:13px}.ndl-news-feed{display:grid;gap:10px;margin-top:0}.ndl-news-lead{position:relative;min-height:220px;padding:27px;border:1px solid rgba(72,217,207,.12);border-radius:25px;background:radial-gradient(circle at 100% 0,rgba(72,217,207,.09),transparent 38%),linear-gradient(145deg,rgba(13,38,43,.94),rgba(5,20,25,.96));display:grid;align-content:center}.ndl-news-lead__meta,.ndl-news-row__meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.ndl-news-lead__meta span,.ndl-news-row__meta span{color:var(--ndl-v15-firuzeh);font-size:10px}.ndl-news-lead__meta b,.ndl-news-row__meta b{font-size:10px}.ndl-news-lead__meta time,.ndl-news-row__meta time{font-size:10px;color:var(--ndl-text-3)}.ndl-news-lead h3{font-size:23px;line-height:1.8;margin:12px 0 5px;max-width:900px}.ndl-news-lead p{font-size:13px;color:var(--ndl-text-3);margin:0;max-width:850px}.ndl-bookmark{position:absolute;left:18px;top:18px;width:42px;height:42px;border:1px solid rgba(72,217,207,.10);border-radius:12px;background:rgba(255,255,255,.025);color:var(--ndl-text-3);font-size:18px}.ndl-bookmark.is-saved{color:var(--ndl-v15-gold);border-color:rgba(200,162,95,.20)}
.ndl-news-list{display:grid;gap:9px}.ndl-news-row{position:relative;min-height:118px;padding:17px 18px 17px 68px;border:1px solid rgba(72,217,207,.08);border-radius:18px;background:rgba(8,27,32,.70)}.ndl-news-row h4{font-size:15px;line-height:1.8;margin:7px 0 2px}.ndl-news-row p{font-size:11px;color:var(--ndl-text-3);margin:0}.ndl-news-row .ndl-bookmark{top:50%;left:14px;transform:translateY(-50%)}.ndl-feed-more{display:flex;justify-content:center;padding-top:2px}

/* Cities: cinematic desktop, progressive mobile */
.ndl-city-grid{gap:16px;margin-top:14px}.ndl-city-card{min-height:310px}.ndl-city-panel{width:49%;padding:22px}.ndl-city-top span,.ndl-city-date,.ndl-condition{font-size:11px}.ndl-city-metric label,.ndl-day{font-size:10px}.ndl-city-metric strong,.ndl-day strong{font-size:11px}.ndl-day small{display:block;color:var(--ndl-text-3);font-size:9px;margin-top:2px}.ndl-city-expand{display:none;margin:14px auto 0}

/* Widget manager */
.ndl-manager-stack{gap:18px}.ndl-manager-intro{padding:18px 20px}.ndl-manager-intro h2{font-size:21px}.ndl-manager-intro p{font-size:12px}.ndl-manager-list{gap:8px}.ndl-manager-instance{border-radius:17px}.ndl-manager-instance__head{min-height:64px;padding:11px 14px}.ndl-manager-instance__head .ndl-widget-card__icon{width:34px;height:34px}.ndl-manager-instance__head .ndl-widget-card__icon img{width:24px;height:24px}.ndl-manager-instance__head h3{font-size:13px}.ndl-manager-instance__head p{font-size:10px}.ndl-manager-details summary{font-size:11px}.ndl-manager-instance__body{padding:13px 15px}.ndl-widget-catalog{grid-template-columns:repeat(5,minmax(0,1fr))}.ndl-widget-catalog article{min-height:118px;padding:12px;display:grid;grid-template-columns:36px 1fr;align-items:start}.ndl-widget-catalog article .ndl-btn{grid-column:1/-1;width:100%}.ndl-hero-slot-manager{grid-template-columns:repeat(4,minmax(0,1fr))}

/* Telegram */
.ndl-telegram-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ndl-telegram-connection{grid-column:1/-1}.ndl-telegram-builder,.ndl-telegram-preview{min-height:100%}.ndl-telegram-automation{grid-column:1/-1}.ndl-builder-list{display:grid;gap:7px}.ndl-builder-row{grid-template-columns:38px minmax(0,1fr) 36px;min-height:54px}.ndl-builder-row strong{font-size:12px}.ndl-builder-add{margin-top:14px}.ndl-message-preview{max-width:430px;margin:auto;padding:18px;border-radius:18px 18px 6px 18px;background:linear-gradient(150deg,#143a3c,#0b292d);box-shadow:0 16px 44px rgba(0,0,0,.22)}.ndl-message-preview__brand{display:flex;align-items:center;gap:9px}.ndl-message-preview__brand img{width:34px;height:34px;object-fit:contain}.ndl-message-preview,.ndl-message-preview *{color:#eaf2f1}.ndl-message-preview__brand strong{color:#eaf2f1}.ndl-message-preview p{font-size:12px;color:#9fb6b3}.ndl-message-preview [data-telegram-preview]{display:grid;gap:7px}.ndl-message-preview [data-telegram-preview] span{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.07);font-size:11px;color:#eaf2f1}.ndl-message-preview time{display:block;font-size:9px;color:#7f9a97;margin-top:12px}.ndl-automation-card{height:auto}

/* Profile: fixed content, no drag */
.ndl-profile-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ndl-profile-overview{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:22px;border:1px solid rgba(72,217,207,.10);border-radius:24px;background:linear-gradient(145deg,rgba(12,35,40,.90),rgba(6,22,27,.94))}.ndl-profile-avatar{width:70px;height:70px;display:grid;place-items:center;border-radius:22px;background:linear-gradient(145deg,rgba(72,217,207,.18),rgba(72,217,207,.05));border:1px solid rgba(72,217,207,.22);font-size:27px;color:var(--ndl-v15-firuzeh)}.ndl-profile-overview h2{font-size:25px;margin:4px 0}.ndl-profile-overview p{font-size:12px;color:var(--ndl-text-3);margin:0;direction:ltr;text-align:right}.ndl-security-badge{display:grid;gap:2px;padding:12px 15px;border-radius:15px;background:rgba(105,214,165,.055);border:1px solid rgba(105,214,165,.13)}.ndl-security-badge b{font-size:11px}.ndl-security-badge span{font-size:11px;color:var(--ndl-success)}.ndl-security-badge small{font-size:9px;color:var(--ndl-text-3)}.ndl-profile-section{height:auto}.ndl-compact-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:end}.ndl-compact-form--3{grid-template-columns:repeat(3,minmax(0,1fr)) auto}.ndl-compact-form .ndl-form-message{grid-column:1/-1}.ndl-security-details summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid rgba(72,217,207,.09);border-radius:13px;color:var(--ndl-v15-firuzeh);font-size:12px}.ndl-security-details[open] summary{margin-bottom:14px}.ndl-password-rules{grid-column:1/-1}.ndl-preference-list{display:grid;gap:8px}.ndl-preference-list label{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid rgba(72,217,207,.07);border-radius:13px}.ndl-preference-list b,.ndl-preference-list small{display:block}.ndl-preference-list b{font-size:12px}.ndl-preference-list small{font-size:10px;color:var(--ndl-text-3)}

/* Light theme: deliberate surfaces and retained image depth */
html[data-theme="light"]{color-scheme:light;--ndl-text-1:#173235;--ndl-text-2:#2f4c4d;--ndl-text-3:#5c7473;--ndl-text-4:#738987;--ndl-border:rgba(16,112,106,.14);--ndl-surface-1:rgba(255,253,248,.94);--ndl-surface-2:rgba(247,242,233,.96)}
html[data-theme="light"] body{background:linear-gradient(rgba(247,243,234,.86),rgba(247,243,234,.86)),url('../assets/backgrounds/nerkhche-light-20260723.webp') center top/cover fixed;color:#173235}
html[data-theme="light"] body::after{content:"";position:fixed;inset:0;background:radial-gradient(ellipse at center,rgba(249,247,241,.97) 0%,rgba(249,247,241,.90) 46%,rgba(249,247,241,.68) 68%,rgba(249,247,241,.18) 100%);pointer-events:none;z-index:-1}
html[data-theme="light"] .ndl-sidebar,html[data-theme="light"] .ndl-sidebar--dashboard{background:linear-gradient(180deg,#e8ede5 0%,#dfe8df 55%,#d5e2d8 100%)!important;border-left-color:rgba(16,112,106,.15);box-shadow:-22px 0 60px rgba(45,65,57,.10)}
html[data-theme="light"] .ndl-sidebar::before{background:linear-gradient(180deg,transparent,rgba(17,138,132,.04),rgba(17,138,132,.08))}html[data-theme="light"] .ndl-sidebar::after{opacity:.055}
html[data-theme="light"] .ndl-nav__item{color:#375453}html[data-theme="light"] .ndl-nav__item.is-active{color:#075f5b;background:linear-gradient(90deg,rgba(17,138,132,.13),rgba(255,255,255,.25));box-shadow:inset -3px 0 #138b84}html[data-theme="light"] .ndl-nav__icon{opacity:.92;filter:none!important}
html[data-theme="light"] .ndl-card,html[data-theme="light"] .ndl-widget-card,html[data-theme="light"] .ndl-market-card,html[data-theme="light"] .ndl-stock-card,html[data-theme="light"] .ndl-news-lead,html[data-theme="light"] .ndl-news-row,html[data-theme="light"] .ndl-summary-card{background:linear-gradient(155deg,rgba(255,253,248,.96),rgba(238,231,219,.94));border-color:rgba(16,112,106,.12);box-shadow:0 13px 34px rgba(74,57,39,.08)}
html[data-theme="light"] .ndl-hero--v15{background:radial-gradient(circle at 78% 45%,rgba(17,138,132,.10),transparent 30%),linear-gradient(135deg,rgba(255,253,248,.97),rgba(233,227,216,.96));border-color:rgba(16,112,106,.13)}
html[data-theme="light"] .ndl-hero-quote{background:rgba(255,255,255,.48);border-color:rgba(16,112,106,.11)}
html[data-theme="light"] .ndl-stock-toolbar,html[data-theme="light"] .ndl-manager-intro,html[data-theme="light"] .ndl-profile-overview{background:rgba(250,247,239,.87);border-color:rgba(16,112,106,.12)}
html[data-theme="light"] .ndl-stock-card__metrics span,html[data-theme="light"] .ndl-holding-row,html[data-theme="light"] .ndl-preference-list label{background:rgba(255,255,255,.45);border-color:rgba(16,112,106,.09)}
html[data-theme="light"] .ndl-city-card::after{background:linear-gradient(270deg,rgba(13,35,42,.94) 0%,rgba(13,35,42,.80) 36%,rgba(13,35,42,.20) 68%,transparent 87%)}
html[data-theme="light"] .ndl-city-card .ndl-city-top h3,html[data-theme="light"] .ndl-city-card .ndl-city-time,html[data-theme="light"] .ndl-city-card .ndl-temp,html[data-theme="light"] .ndl-city-card .ndl-city-metric strong,html[data-theme="light"] .ndl-city-card .ndl-day strong{color:#f2fbfa;text-shadow:0 1px 3px rgba(0,0,0,.35)}
html[data-theme="light"] .ndl-city-card .ndl-city-top span,html[data-theme="light"] .ndl-city-card .ndl-city-date,html[data-theme="light"] .ndl-city-card .ndl-condition,html[data-theme="light"] .ndl-city-card .ndl-city-metric label,html[data-theme="light"] .ndl-city-card .ndl-day,html[data-theme="light"] .ndl-city-card .ndl-day small{color:#c7dbd9}
html[data-theme="light"] .ndl-input{background:rgba(255,255,255,.55);color:#173235;border-color:rgba(16,112,106,.15)}

@media(max-width:1220px){
  .ndl-hero--v15{grid-template-columns:1fr}.ndl-hero--v15 .ndl-hero__visual{grid-template-columns:96px minmax(0,1fr)}
  .ndl-price-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ndl-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ndl-widget-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}.ndl-hero-slot-manager{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ndl-compact-form--3{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-compact-form--3 .ndl-btn{grid-column:1/-1;justify-self:start}
}
@media(max-width:900px){
  .ndl-widget-card[data-widget-type="news"],.ndl-widget-card[data-widget-type="portfolio"]{grid-column:1/-1}
  .ndl-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-stock-toolbar{align-items:stretch;flex-direction:column}.ndl-stock-toolbar__controls{justify-content:flex-start}.ndl-stock-toolbar .ndl-search{width:100%}
  .ndl-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-telegram-layout,.ndl-profile-layout{grid-template-columns:1fr}.ndl-telegram-layout>*{grid-column:1}.ndl-profile-overview{grid-template-columns:auto 1fr}.ndl-security-badge{grid-column:1/-1}.ndl-compact-form,.ndl-compact-form--3{grid-template-columns:1fr}.ndl-compact-form .ndl-btn,.ndl-compact-form--3 .ndl-btn{width:100%}
  .ndl-holding-row{grid-template-columns:minmax(170px,1.2fr) minmax(130px,1fr) 100px 40px}
}
@media(max-width:700px){
  body{font-size:13px}.ndl-page-root{gap:15px}.ndl-topbar{margin-bottom:14px}.ndl-page-title{font-size:23px}.ndl-page-subtitle{font-size:11px}.ndl-topbar__actions{width:100%}.ndl-topbar__actions>*{flex:1}
  .ndl-hero--v15{padding:18px;min-height:0;gap:15px;border-radius:22px}.ndl-hero--v15 h2{font-size:25px;line-height:1.5}.ndl-hero--v15 p{font-size:11px}.ndl-hero--v15 .ndl-hero__visual{display:block}.ndl-hero--v15 .ndl-hero__asset{position:absolute;left:8px;top:16px;width:74px;opacity:.32;pointer-events:none}.ndl-hero-quotes{position:relative;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ndl-hero-quote{min-width:0!important;min-height:105px!important;padding:11px;gap:8px}.ndl-hero-quote__identity{gap:7px}.ndl-hero-quote__identity strong{font-size:10px}.ndl-hero-quote__identity span:not(.ndl-asset-icon){font-size:8px}.ndl-hero-quote__numbers{display:grid;gap:2px}.ndl-hero-quote__numbers b{font-size:15px;white-space:normal;overflow-wrap:anywhere}.ndl-hero-quote__numbers em{font-size:9px}
  .ndl-widget-grid{gap:11px}.ndl-widget-card,.ndl-widget-card[data-widget-type="news"],.ndl-widget-card[data-widget-type="portfolio"],.ndl-widget-card[data-widget-type="price"],.ndl-widget-card[data-widget-type="stock"]{grid-column:1/-1;height:auto!important;min-height:0!important}.ndl-widget-card__body{overflow:visible!important}.ndl-widget-card__head{min-height:62px;padding:12px}.ndl-widget-card__body{padding:12px}
  .ndl-dashboard-city-widget .ndl-city-card--dashboard-compact{min-height:245px!important}.ndl-city-card--dashboard-compact .ndl-city-panel{width:76%;padding:14px}.ndl-city-compact-main{gap:10px}.ndl-city-card--dashboard-compact .ndl-city-time{font-size:27px}.ndl-city-card--dashboard-compact .ndl-temp{font-size:27px}.ndl-compact-forecast{grid-template-columns:repeat(3,1fr)}.ndl-compact-forecast span{display:grid;padding:6px}.ndl-compact-forecast b{font-size:9px}
  .ndl-price-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ndl-market-card{min-height:190px!important;padding:13px;gap:12px;border-radius:17px}.ndl-market-card__top{display:grid;gap:8px}.ndl-data-meta{justify-items:start;grid-template-columns:auto auto;gap:7px}.ndl-market-card__value b{font-size:20px}.ndl-market-card__change{display:grid;gap:2px}.ndl-market-card__change span{font-size:9px;text-align:right}.ndl-asset-icon{width:34px;height:34px}.ndl-asset-icon img{width:28px;height:28px}.ndl-market-card__identity strong{font-size:11px}.ndl-market-card__identity>div>span{font-size:9px}
  .ndl-stock-grid{grid-template-columns:1fr}.ndl-stock-card{min-height:0}.ndl-stock-toolbar__controls{display:grid;grid-template-columns:1fr}.ndl-stock-toolbar__controls .ndl-tabs{overflow-x:auto;flex-wrap:nowrap}.ndl-stock-toolbar__controls .ndl-tab{white-space:nowrap}
  .ndl-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.ndl-summary-card{min-height:103px;padding:13px}.ndl-summary-card strong{font-size:17px}
  .ndl-holding-row{grid-template-columns:minmax(0,1fr) auto;gap:10px}.ndl-holding-row>div:nth-child(2),.ndl-holding-row>div:nth-child(3){grid-column:auto}.ndl-holding-row>a{grid-column:2;grid-row:1}.ndl-holding-identity{grid-column:1}.ndl-holding-row>div:nth-child(2){grid-column:1}.ndl-holding-row>div:nth-child(3){grid-column:2}
  .ndl-news-lead{min-height:200px;padding:20px 18px}.ndl-news-lead h3{font-size:19px;padding-left:32px}.ndl-news-lead p{font-size:11px}.ndl-news-row{padding:15px 15px 15px 58px}.ndl-news-row h4{font-size:13px}.ndl-news-row p{font-size:10px}
  .ndl-city-grid{grid-template-columns:1fr}.ndl-city-card{min-height:270px}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured){min-height:112px;height:112px}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel{width:70%;padding:12px}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary,.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-metrics,.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-forecast{display:none}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-top{height:100%;align-items:center}.ndl-city-expand{display:flex}.ndl-city-panel{width:73%;padding:15px}.ndl-city-time{font-size:31px}.ndl-temp{font-size:31px}
  .ndl-widget-catalog{grid-template-columns:1fr}.ndl-hero-slot-manager{grid-template-columns:1fr 1fr}.ndl-manager-instance__head{gap:8px}.ndl-manager-instance__head .ndl-widget-card__identity p{display:none}.ndl-manager-actions{gap:5px}.ndl-visibility-toggle b{display:none}
  .ndl-profile-overview{grid-template-columns:auto 1fr;padding:17px}.ndl-profile-avatar{width:56px;height:56px;border-radius:17px}.ndl-profile-overview h2{font-size:21px}
  .ndl-telegram-layout{gap:11px}.ndl-message-preview{padding:14px}.ndl-telegram-automation{grid-template-columns:1fr}
}
@media(max-width:430px){
  .ndl-price-grid{grid-template-columns:1fr 1fr}.ndl-market-card{padding:11px}.ndl-market-card__identity{align-items:center}.ndl-market-card__identity .ndl-asset-icon{width:30px;height:30px}.ndl-market-card__identity .ndl-asset-icon img{width:25px;height:25px}.ndl-market-card__value b{font-size:18px}.ndl-market-card__value span{display:block;margin:2px 0 0}.ndl-market-card__change strong{font-size:11px}
  .ndl-hero-slot-manager{grid-template-columns:1fr}.ndl-hero-quote__identity .ndl-asset-icon{display:none}.ndl-hero-quote__numbers b{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.ndl-market-card,.ndl-stock-card,.ndl-news-row,.ndl-news-lead,.ndl-widget-card{transition:none!important}}

/* ===== NDL V1.5 final release corrections ===== */
/* Calm dedicated sidebar material: no cracked/pasted visual language. */
.ndl-sidebar,.ndl-sidebar--dashboard{
  background:linear-gradient(180deg,rgba(5,23,28,.98),rgba(3,18,23,.995))!important;
  border-left-color:rgba(72,217,207,.10)!important;
}
.ndl-sidebar::before,.ndl-sidebar--dashboard::before{
  inset:0!important;
  height:auto!important;
  background:url('../assets/backgrounds/sidebar-material-dark.webp') center bottom/cover no-repeat!important;
  opacity:.78!important;
  -webkit-mask-image:none!important;
  mask-image:none!important;
}
.ndl-sidebar::after,.ndl-sidebar--dashboard::after{
  inset:auto 0 0!important;
  height:46%!important;
  background:linear-gradient(0deg,rgba(52,206,195,.055),transparent 80%),url('../assets/patterns/persian-geometric.svg') center bottom/210px repeat!important;
  opacity:.055!important;
  -webkit-mask-image:linear-gradient(0deg,#000 0%,rgba(0,0,0,.65) 42%,transparent 100%)!important;
  mask-image:linear-gradient(0deg,#000 0%,rgba(0,0,0,.65) 42%,transparent 100%)!important;
}
html[data-theme="light"] .ndl-sidebar,html[data-theme="light"] .ndl-sidebar--dashboard{
  background:linear-gradient(180deg,rgba(243,238,228,.985),rgba(233,226,213,.995))!important;
  border-left-color:rgba(16,112,106,.12)!important;
}
html[data-theme="light"] .ndl-sidebar::before,html[data-theme="light"] .ndl-sidebar--dashboard::before{
  background-image:url('../assets/backgrounds/sidebar-material-light.webp')!important;
  opacity:.70!important;
}
html[data-theme="light"] .ndl-sidebar::after,html[data-theme="light"] .ndl-sidebar--dashboard::after{opacity:.045!important}

/* Dashboard city is a compact feature, never the full cinematic aspect ratio. */
.ndl-dashboard-city-widget .ndl-city-card--dashboard-compact{
  aspect-ratio:auto!important;
  height:236px!important;
  min-height:236px!important;
  max-height:236px!important;
}
@media(max-width:700px){
  .ndl-dashboard-city-widget .ndl-city-card--dashboard-compact{
    aspect-ratio:auto!important;
    height:245px!important;
    min-height:245px!important;
    max-height:245px!important;
  }
}

/* === NDL V1.5.1 design-freeze corrections === */
body[data-page="dashboard"],body[data-page="dashboard"] .ndl-main,body[data-page="dashboard"] .ndl-dashboard-workspace{background-color:transparent!important}
body[data-page="dashboard"] .ndl-dashboard-workspace::before,body[data-page="dashboard"] .ndl-widget-grid::before{display:none!important}
.ndl-dashboard-workspace{isolation:isolate}
.ndl-dashboard-city-widget{grid-column:span 6!important;min-width:0}
.ndl-dashboard-city-widget .ndl-city-card--dashboard-compact{min-height:210px!important;height:210px;border-radius:22px}
.ndl-city-card--dashboard-compact .ndl-city-panel{width:64%;padding:15px 16px}
.ndl-city-card--dashboard-compact .ndl-city-time{font-size:27px}.ndl-city-card--dashboard-compact .ndl-temp{font-size:28px}
.ndl-city-card--dashboard-compact .ndl-city-top h3{font-size:17px}
.ndl-city-card--dashboard-compact .ndl-city-top span,.ndl-city-card--dashboard-compact .ndl-city-date,.ndl-city-card--dashboard-compact .ndl-condition{font-size:10px}
.ndl-city-context{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#c8d8d6;border-top:1px solid rgba(255,255,255,.08);padding-top:8px}.ndl-city-context b{color:#f0faf8;font-size:10px}
.ndl-compact-forecast{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ndl-compact-forecast span{padding:6px 8px!important}
.ndl-city-card[data-time-phase]::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;transition:background 900ms ease,opacity 900ms ease}
.ndl-city-card[data-time-phase="dawn"]::before{background:linear-gradient(120deg,rgba(38,105,126,.24),rgba(230,162,95,.12))}
.ndl-city-card[data-time-phase="day"]::before{background:linear-gradient(120deg,rgba(35,160,168,.06),transparent 58%)}
.ndl-city-card[data-time-phase="afternoon"]::before{background:linear-gradient(120deg,rgba(46,150,158,.08),rgba(214,175,89,.08))}
.ndl-city-card[data-time-phase="dusk"]::before{background:linear-gradient(120deg,rgba(226,135,77,.18),rgba(24,55,98,.20))}
.ndl-city-card[data-time-phase="night"]::before{background:linear-gradient(120deg,rgba(2,16,39,.34),rgba(5,37,64,.18));mix-blend-mode:multiply}
.ndl-price-grid{direction:rtl}.ndl-price-card{direction:rtl;min-height:132px;padding:14px}.ndl-market-card__value{margin-top:14px!important}
.ndl-asset-icon img{width:100%;height:100%;object-fit:cover;image-rendering:auto}.ndl-market-card__identity .ndl-asset-icon{width:44px;height:44px;border-radius:13px;background:rgba(8,28,31,.75)}
.ndl-data-meta b,.ndl-stock-card footer .is-open,.ndl-stock-card footer .is-closed{font-size:10px;font-weight:600;padding:3px 7px;border-radius:999px}
.ndl-data-meta .is-open,.ndl-stock-card footer .is-open{color:#7be1bc;background:rgba(72,190,137,.08)}.ndl-data-meta .is-closed,.ndl-stock-card footer .is-closed{color:#f1b29f;background:rgba(188,90,72,.09)}
.ndl-stock-card__metrics span{background:transparent;border:0;border-radius:0;padding:5px 7px;border-right:1px solid rgba(72,217,207,.07)}.ndl-stock-card__metrics span:last-child{border-right:0}
.ndl-portfolio-feature .ndl-card__body{min-height:280px;display:grid;align-items:center}
.ndl-news-lead,.ndl-news-row{cursor:pointer}.ndl-news-lead p,.ndl-news-row p{max-height:3.6em;overflow:hidden;transition:max-height 180ms ease}.ndl-news-lead.is-expanded p,.ndl-news-row.is-expanded p{max-height:12em}
.ndl-news-list .ndl-news-row:nth-child(n+4){display:none}.ndl-news-list.is-expanded .ndl-news-row{display:grid}
.ndl-city-card .ndl-forecast{grid-template-columns:repeat(5,minmax(0,1fr))}.ndl-city-card .ndl-day{min-width:0}
.ndl-hero-returning-copy{max-width:460px}
html[data-theme="light"] .ndl-dashboard-workspace{background:transparent!important}
html[data-theme="light"] .ndl-card,html[data-theme="light"] .ndl-widget-card,html[data-theme="light"] .ndl-price-card{box-shadow:0 15px 36px rgba(52,72,64,.075)}
.ndl-theme-control button{min-width:36px;min-height:36px}
.ndl-visibility-toggle input{position:absolute;opacity:0}.ndl-visibility-toggle input:focus-visible+span{outline:2px solid var(--ndl-primary);outline-offset:3px}
@media(max-width:960px) and (min-width:701px){.ndl-dashboard-city-widget{grid-column:span 6!important}.ndl-price-grid,.ndl-stock-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
.ndl-dashboard-city-widget{grid-column:1/-1!important}.ndl-dashboard-city-widget .ndl-city-card--dashboard-compact{height:198px;min-height:198px!important}.ndl-city-card--dashboard-compact .ndl-city-panel{width:72%;padding:13px}.ndl-city-card--dashboard-compact .ndl-city-time,.ndl-city-card--dashboard-compact .ndl-temp{font-size:25px}
.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured){height:128px;min-height:128px}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary{display:flex}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-clock .ndl-city-date,.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-weather-symbol{display:none}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time,.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp{font-size:20px}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-condition{font-size:9px}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-top{height:auto}.ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel{justify-content:space-between}
.ndl-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-price-card{min-height:126px;padding:12px}.ndl-market-card__identity .ndl-asset-icon{width:38px;height:38px}}
@media(max-width:420px){.ndl-price-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ndl-city-card::before{transition:none!important}}


/* ===== NDL V1.5.2 — release hardening layer ===== */
html,body{max-width:100%;overflow-x:clip}
body.ndl-is-dragging{overflow:hidden;touch-action:none}
.ndl-main,.ndl-main__inner,.ndl-page-root,.ndl-widget-grid,.ndl-city-grid{min-width:0}
.ndl-btn,.ndl-tab,.ndl-bookmark,.ndl-city-more,.ndl-remove,.ndl-switch,.ndl-custom-select__button{min-width:40px;min-height:40px}
.ndl-switch{position:relative;width:46px;height:26px;min-height:40px;border:0;background:transparent;padding:7px 0}
.ndl-switch::before{content:"";position:absolute;inset:7px 0;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid var(--ndl-border)}
.ndl-switch::after{content:"";position:absolute;top:10px;right:4px;width:20px;height:20px;border-radius:50%;background:var(--ndl-text-3);transition:transform var(--ndl-motion-fast),background var(--ndl-motion-fast)}
.ndl-switch.is-on::before{background:rgba(72,217,207,.22);border-color:rgba(72,217,207,.4)}
.ndl-switch.is-on::after{transform:translateX(-18px);background:var(--ndl-primary)}
.ndl-switch:focus-visible,.ndl-news-row:focus-visible,.ndl-news-lead:focus-visible,.ndl-custom-select__button:focus-visible{outline:2px solid var(--ndl-primary);outline-offset:3px}
.ndl-news-detail{margin-top:12px;padding:12px 14px;border-radius:13px;background:rgba(72,217,207,.055);border:1px solid rgba(72,217,207,.10)}
.ndl-news-detail p{margin:0!important;display:block!important;-webkit-line-clamp:unset!important;overflow:visible!important}
.ndl-news-row.is-expanded,.ndl-news-lead.is-expanded{border-color:rgba(72,217,207,.32);background:linear-gradient(155deg,rgba(12,38,42,.95),rgba(7,24,29,.97))}
.ndl-feed-more [hidden]{display:none}
.ndl-price-grid>*:last-child:nth-child(4n+1){grid-column:4}
.ndl-price-grid>*:last-child:nth-child(4n+2){grid-column:3}
.ndl-price-grid>*:last-child:nth-child(4n+3){grid-column:2}
.ndl-city-card,.ndl-city-panel,.ndl-city-primary,.ndl-city-compact-main,.ndl-city-metrics,.ndl-forecast,.ndl-compact-forecast{min-width:0}
.ndl-city-time,.ndl-temp,.ndl-condition,.ndl-city-date,.ndl-city-top h3,.ndl-city-top span{overflow-wrap:anywhere}
.ndl-city-card[data-time-state="dawn"]::before{background:linear-gradient(180deg,rgba(231,155,112,.13),rgba(35,82,105,.18) 52%,rgba(2,9,14,.48))}
.ndl-city-card[data-time-state="day"]::before{background:linear-gradient(180deg,rgba(79,174,210,.06),rgba(2,9,14,.18) 72%,rgba(2,9,14,.42))}
.ndl-city-card[data-time-state="afternoon"]::before{background:linear-gradient(180deg,rgba(214,176,100,.10),rgba(2,9,14,.20) 68%,rgba(2,9,14,.46))}
.ndl-city-card[data-time-state="dusk"]::before{background:linear-gradient(180deg,rgba(211,112,88,.16),rgba(56,39,86,.20) 58%,rgba(2,9,14,.55))}
.ndl-city-card[data-time-state="night"]::before{background:linear-gradient(180deg,rgba(8,31,65,.24),rgba(1,8,18,.48) 62%,rgba(1,6,14,.72))}
html[data-theme="light"] body,html[data-theme="light"] .ndl-main{background-color:#eee9df;background-image:url('../assets/backgrounds/nerkhche-light-20260723.webp');background-size:cover;background-position:center top;background-attachment:fixed}
html[data-theme="light"] .ndl-main{background-image:none!important;background-color:transparent!important}
@media(max-width:1180px){.ndl-price-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ndl-price-grid>*:last-child{grid-column:auto!important}.ndl-city-card{aspect-ratio:auto;min-height:360px}.ndl-city-panel{width:min(62%,560px)}}
@media(max-width:900px){.ndl-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ndl-city-grid{grid-template-columns:1fr}.ndl-city-card{min-height:390px}.ndl-city-panel{width:58%;padding:20px}.ndl-dashboard-city-widget .ndl-city-card--dashboard-compact{min-height:270px!important}.ndl-city-card--dashboard-compact .ndl-city-panel{width:62%}}
@media(max-width:700px){.ndl-price-grid{grid-template-columns:1fr}.ndl-city-card{min-height:430px}.ndl-city-panel{position:absolute;inset:auto 0 0;width:100%!important;height:auto;max-height:78%;padding:16px;overflow:auto;overscroll-behavior:contain}.ndl-city-primary,.ndl-city-compact-main{grid-template-columns:1fr;display:grid;align-items:start;gap:10px}.ndl-city-weather{justify-content:flex-start;text-align:right}.ndl-city-weather .ndl-temp,.ndl-city-weather .ndl-condition{text-align:right}.ndl-city-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.ndl-forecast{grid-template-columns:repeat(5,minmax(58px,1fr));overflow-x:auto;padding-bottom:4px}.ndl-dashboard-city-widget .ndl-city-card--dashboard-compact{min-height:400px!important}.ndl-city-card--dashboard-compact .ndl-city-panel{height:auto;max-height:72%}.ndl-compact-forecast{grid-template-columns:repeat(3,minmax(0,1fr))}.ndl-widget-card[data-widget-type="news"],.ndl-widget-card[data-widget-type="portfolio"]{grid-column:1/-1}}
@media(max-width:420px){.ndl-city-card{min-height:410px}.ndl-city-time,.ndl-city-card--clock .ndl-city-time{font-size:30px}.ndl-temp,.ndl-city-card--weather .ndl-city-weather .ndl-temp{font-size:28px}.ndl-city-top h3{font-size:20px}.ndl-city-metrics{gap:3px}.ndl-city-metric{padding-inline:2px}.ndl-compact-forecast span{padding:7px 5px}.ndl-widget-card__body{padding:13px}}

/* ===== CODEX final hardening pass ===== */
.ndl-news-lead,.ndl-news-row{cursor:default}
.ndl-news-toggle{appearance:none;width:100%;border:0;background:transparent;color:inherit;text-align:inherit;font:inherit;padding:0;display:grid;gap:0;cursor:pointer}
.ndl-news-row .ndl-news-toggle{padding-inline-end:0}
.ndl-news-title{display:block;font-weight:800;color:var(--ndl-text-1);line-height:1.8;overflow-wrap:anywhere}
.ndl-news-title--lead{font-size:23px;margin:12px 0 5px;max-width:900px}
.ndl-news-title--row{font-size:15px;margin:7px 0 2px}
.ndl-news-summary{display:block;color:var(--ndl-text-3);line-height:1.9;max-height:3.6em;overflow:hidden;transition:max-height 180ms ease;overflow-wrap:anywhere}
.ndl-news-lead .ndl-news-summary{font-size:13px;max-width:850px}
.ndl-news-row .ndl-news-summary{font-size:11px}
.ndl-news-lead.is-expanded .ndl-news-summary,.ndl-news-row.is-expanded .ndl-news-summary{max-height:18em}
.ndl-news-toggle:focus-visible,.ndl-bookmark:focus-visible,.ndl-tab:focus-visible,.ndl-btn:focus-visible,.ndl-remove:focus-visible,.ndl-city-more:focus-visible,.ndl-icon-action:focus-visible{outline:2px solid var(--ndl-primary);outline-offset:3px}
.ndl-news-list .ndl-news-row:nth-child(n+4){display:grid}
.ndl-news-list .ndl-news-row[hidden],.ndl-news-feed [hidden]{display:none!important}
.ndl-tab[aria-pressed="true"]{border-color:rgba(72,217,207,.36)}
.ndl-custom-select__menu [role="option"]{min-height:40px}
.ndl-feed-row__side .ndl-btn,.ndl-theme-control button,.ndl-mobile-theme,.ndl-icon-action,.ndl-stock-card footer button,.ndl-holding-row>a{min-width:40px;min-height:40px}
.ndl-preference-list label,.ndl-visibility-toggle{min-height:44px}
.ndl-btn{min-height:40px!important}
.ndl-market-card__top,.ndl-market-card__identity,.ndl-market-card__value,.ndl-market-card__change{min-width:0}
.ndl-market-card__identity strong,.ndl-market-card__identity span,.ndl-market-card__value b,.ndl-market-card__change span{overflow-wrap:anywhere}
[dir="rtl"] .ndl-price-grid,.ndl-price-grid{direction:rtl}
@media(min-width:1181px){.ndl-price-grid>*:last-child:nth-child(4n+1){grid-column:4}.ndl-price-grid>*:last-child:nth-child(4n+2){grid-column:3}.ndl-price-grid>*:last-child:nth-child(4n+3){grid-column:2}}
@media(max-width:700px){.ndl-news-title--lead{font-size:19px;padding-left:32px}.ndl-news-title--row{font-size:13px}.ndl-news-lead .ndl-news-summary{font-size:11px}.ndl-news-row .ndl-news-summary{font-size:10px}.ndl-news-toggle{min-height:40px}}


/* ===== NDL V1.5.2.1 — price identity cleanup ===== */
.ndl-asset-icon{
  width:40px;height:40px;display:grid;place-items:center;flex:none;
  padding:0;border:0;border-radius:10px;background:transparent;
  box-shadow:none;overflow:visible;
}
.ndl-asset-icon img.ndl-asset-icon__image{
  display:block;width:27px;height:27px;object-fit:contain;
  border-radius:0;box-shadow:none;filter:none;
}
.ndl-asset-icon img.ndl-asset-icon__image--flag{
  width:34px;height:27px;object-fit:contain;border-radius:5px;
  box-shadow:0 0 0 1px rgba(255,255,255,.13);
}
html[data-theme="light"] .ndl-asset-icon img.ndl-asset-icon__image--flag{
  box-shadow:0 0 0 1px rgba(20,50,54,.16);
}
.ndl-asset-icon img.ndl-asset-icon__image--crypto{width:29px;height:29px}
.ndl-asset-icon img.ndl-asset-icon__image--commodity{width:29px;height:29px}
.ndl-market-card__identity-copy,.ndl-hero-quote__copy{
  min-width:0;display:grid;align-content:center;gap:3px;
}
.ndl-market-card__identity-copy strong,.ndl-hero-quote__copy strong{
  display:block;margin:0;line-height:1.45;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;
}
.ndl-market-card__identity-copy span,.ndl-hero-quote__copy span{
  display:block;margin:0;line-height:1.45;white-space:nowrap;
  overflow:hidden;text-overflow:ellipsis;
}
.ndl-price-widget__row{
  grid-template-columns:40px minmax(0,1fr) minmax(132px,max-content);
  column-gap:12px;row-gap:0;align-items:center;
}
.ndl-price-widget__identity{
  min-width:0;display:grid;align-content:center;gap:3px;
}
.ndl-price-widget__identity strong{
  display:block;margin:0;font-size:12px;line-height:1.45;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ndl-price-widget__identity span{
  display:block;margin:0;font-size:9px;line-height:1.45;color:var(--ndl-text-3);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ndl-price-widget__quote{
  min-width:132px;display:grid;justify-items:start;align-content:center;gap:4px;
  direction:ltr;text-align:left;
}
.ndl-price-widget__value{
  display:flex;align-items:baseline;justify-content:flex-start;gap:5px;
  min-width:0;white-space:nowrap;
}
.ndl-price-widget__value b{
  margin:0;font-size:13px;line-height:1.25;font-variant-numeric:tabular-nums;
  letter-spacing:0;
}
.ndl-price-widget__value small{
  margin:0;font-size:8px;line-height:1.25;color:var(--ndl-text-4);
  direction:rtl;unicode-bidi:isolate;
}
.ndl-price-widget__quote em{
  margin:0;font-size:10px;line-height:1.25;font-style:normal;font-weight:700;
}
.ndl-widget-card[data-widget-type="price"] .ndl-price-widget__row{
  min-height:66px;padding:10px 12px;
}
@media(max-width:700px){
  .ndl-price-widget__row{
    grid-template-columns:36px minmax(0,1fr) minmax(106px,max-content);
    column-gap:8px;
  }
  .ndl-price-widget__quote{min-width:106px}
  .ndl-price-widget__identity strong{font-size:11px}
  .ndl-price-widget__identity span{font-size:8px}
  .ndl-price-widget__value b{font-size:12px}
  .ndl-price-widget__value small{font-size:7px}
  .ndl-asset-icon{width:36px;height:36px}
  .ndl-asset-icon img.ndl-asset-icon__image--flag{width:31px;height:24px}
}

/* Remove legacy glossy icon containers from every asset context. */
.ndl-market-card__identity .ndl-asset-icon,
.ndl-price-widget__row .ndl-asset-icon,
.ndl-hero-quote__identity .ndl-asset-icon,
.ndl-holding-identity .ndl-asset-icon,
.ndl-widget-table__row .ndl-asset-icon,
.ndl-builder-row .ndl-asset-icon{
  background:transparent;border:0;box-shadow:none;overflow:visible;
}
.ndl-market-card__identity .ndl-asset-icon img.ndl-asset-icon__image--commodity,
.ndl-price-widget__row .ndl-asset-icon img.ndl-asset-icon__image--commodity,
.ndl-hero-quote__identity .ndl-asset-icon img.ndl-asset-icon__image--commodity{
  width:31px;height:31px;
}
.ndl-asset-icon img.ndl-asset-icon__image--stock{width:28px;height:28px;object-fit:contain}

/* NDL News line-list layout */
.ndl-news-table{display:grid;gap:7px}
.ndl-news-line{border:1px solid rgba(72,217,207,.08);border-radius:14px;background:rgba(8,27,32,.56);overflow:hidden}
.ndl-news-line[hidden]{display:none!important}
.ndl-news-line__link{display:grid;grid-template-columns:42px 1fr 34px;gap:12px;align-items:center;padding:12px 14px;color:inherit;text-decoration:none}
.ndl-news-line__num{font-variant-numeric:tabular-nums;color:var(--ndl-text-3);font-size:11px;text-align:center}
.ndl-news-line__main{display:grid;gap:4px;min-width:0}
.ndl-news-line__meta{display:flex;gap:9px;align-items:center;flex-wrap:wrap;font-size:10px;color:var(--ndl-text-3)}
.ndl-news-line__meta b{color:var(--ndl-v15-firuzeh);font-weight:800}
.ndl-news-line__meta em{font-style:normal}
.ndl-news-line__main strong{font-size:14px;line-height:1.7;color:var(--ndl-text-1);overflow-wrap:anywhere}
.ndl-news-line__main small{font-size:10px;line-height:1.8;color:var(--ndl-text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ndl-news-line__open{font-size:15px;color:var(--ndl-v15-gold);text-align:center}
.ndl-news-line:hover{background:rgba(57,213,202,.045);border-color:rgba(57,213,202,.18)}
html[data-theme="light"] .ndl-news-line{background:rgba(255,253,248,.82);border-color:rgba(43,83,80,.14)}
@media(max-width:700px){
  .ndl-news-line__link{grid-template-columns:30px 1fr 24px;padding:11px 10px;gap:8px}
  .ndl-news-line__main strong{font-size:12px}
  .ndl-news-line__main small{display:none}
}

/* V1.6.2 city page card fit fix: no overflow, no squeezed forecasts */
.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact){
  min-height: 380px;
  overflow: hidden;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-panel{
  width: min(56%, 520px);
  padding: 20px 22px;
  gap: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-width: 0;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-primary{
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-time{
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 1;
  white-space: nowrap;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-date{
  font-size: 10px;
  line-height: 1.45;
  margin-top: 4px;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-weather{
  justify-content: flex-start;
  text-align: right;
  gap: 8px;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-weather .ndl-temp{
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1;
  text-align: right;
  white-space: nowrap;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-weather .ndl-condition{
  font-size: 10px;
  line-height: 1.3;
  text-align: right;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-metrics{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-metric{
  min-width: 0;
  padding: 6px 4px;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-metric label,
.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-metric strong{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-forecast{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  min-width: 0;
  overflow: visible;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-day{
  min-width: 0;
  padding: 6px 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-day span,
.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-day small,
.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-day strong{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-day span{
  font-size: 9px;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-day small{
  font-size: 8px;
  margin-top: 2px;
}

.ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-day strong{
  font-size: 9px;
  margin-top: 3px;
}

@media(max-width: 900px){
  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact){
    min-height: 410px;
  }

  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-panel{
    width: 62%;
  }
}

@media(max-width: 700px){
  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact){
    min-height: 430px;
  }

  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-panel{
    width: 100% !important;
    max-height: 76%;
    padding: 15px;
    overflow: hidden;
  }

  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-forecast{
    grid-template-columns: repeat(5, minmax(54px, 1fr));
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 3px;
  }
}

@media(max-width: 430px){
  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact){
    min-height: 420px;
  }

  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-time{
    font-size: 29px;
  }

  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-weather .ndl-temp{
    font-size: 27px;
  }

  .ndl-city-grid .ndl-city-card:not(.ndl-city-card--dashboard-compact) .ndl-city-metrics{
    gap: 3px;
  }
}

/* V1.6.2 cities page visual cleanup: remove cache label + fix card spacing */
body[data-page="weather"] [data-source],
body[data-page="weather"] .ndl-source,
body[data-page="weather"] .ndl-source-badge,
body[data-page="weather"] .ndl-data-source,
body[data-page="weather"] .ndl-cache-badge,
body[data-page="weather"] .ndl-stale-badge,
body[data-page="weather"] .ndl-section-head .ndl-chip,
body[data-page="weather"] .ndl-section-head [class*="cache"],
body[data-page="weather"] .ndl-section-head [class*="source"],
body[data-page="weather"] .ndl-section-head [class*="stale"]{
  display: none !important;
}

body[data-page="weather"] .ndl-city-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px !important;
  align-items: stretch;
  margin-top: 22px;
  overflow: visible;
}

body[data-page="weather"] .ndl-city-card{
  position: relative;
  margin: 0 !important;
  min-height: 420px !important;
  height: auto !important;
  isolation: isolate;
  z-index: 0;
}

body[data-page="weather"] .ndl-city-card:hover{
  z-index: 2;
}

body[data-page="weather"] .ndl-city-panel{
  width: min(58%, 540px) !important;
  padding: 22px !important;
  overflow: hidden !important;
}

body[data-page="weather"] .ndl-forecast{
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 6px !important;
  overflow: hidden !important;
}

body[data-page="weather"] .ndl-day{
  min-width: 0 !important;
  padding: 7px 5px !important;
}

@media(max-width: 900px){
  body[data-page="weather"] .ndl-city-grid{
    grid-template-columns: 1fr;
    gap: 22px !important;
  }

  body[data-page="weather"] .ndl-city-card{
    min-height: 430px !important;
  }

  body[data-page="weather"] .ndl-city-panel{
    width: 64% !important;
  }
}

@media(max-width: 700px){
  body[data-page="weather"] .ndl-city-grid{
    gap: 18px !important;
  }

  body[data-page="weather"] .ndl-city-card{
    min-height: 450px !important;
  }

  body[data-page="weather"] .ndl-city-panel{
    width: 100% !important;
    max-height: 78% !important;
    inset: auto 0 0 0 !important;
  }

  body[data-page="weather"] .ndl-forecast{
    grid-template-columns: repeat(5, minmax(62px, 1fr)) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }
}

/* V1.6.2 cities page overlap final override */
body[data-page="weather"] main,
body[data-page="weather"] .ndl-page,
body[data-page="weather"] .ndl-page-content{
  overflow: visible !important;
}

body[data-page="weather"] .ndl-city-grid{
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 32px !important;
  row-gap: 34px !important;
  align-items: start !important;
  overflow: visible !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-city-card{
  display: block !important;
  position: relative !important;
  min-height: 440px !important;
  height: 440px !important;
  margin: 0 !important;
  transform: none !important;
  overflow: hidden !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-city-card.is-featured{
  min-height: 440px !important;
  height: 440px !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-city-panel{
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 58% !important;
  height: 100% !important;
  padding: 20px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-city-primary{
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-city-time{
  font-size: 34px !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-temp{
  font-size: 32px !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-forecast{
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 5px !important;
  overflow: hidden !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-day{
  min-width: 0 !important;
  padding: 6px 4px !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-day span,
body[data-page="weather"] .ndl-city-grid .ndl-day small,
body[data-page="weather"] .ndl-city-grid .ndl-day strong{
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-city-grid .ndl-day small{
  display: none !important;
}

@media(max-width: 900px){
  body[data-page="weather"] .ndl-city-grid{
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  body[data-page="weather"] .ndl-city-grid .ndl-city-card,
  body[data-page="weather"] .ndl-city-grid .ndl-city-card.is-featured{
    min-height: 440px !important;
    height: 440px !important;
  }

  body[data-page="weather"] .ndl-city-grid .ndl-city-panel{
    width: 64% !important;
  }
}

@media(max-width: 700px){
  body[data-page="weather"] .ndl-city-grid .ndl-city-card,
  body[data-page="weather"] .ndl-city-grid .ndl-city-card.is-featured{
    min-height: 460px !important;
    height: 460px !important;
  }

  body[data-page="weather"] .ndl-city-grid .ndl-city-panel{
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: 78% !important;
  }

  body[data-page="weather"] .ndl-city-grid .ndl-forecast{
    grid-template-columns: repeat(5, minmax(58px, 1fr)) !important;
    overflow-x: auto !important;
  }
}

/* APPROVED city/weather card correction: original style, 2-column grid, 3-day forecast */
body[data-page="weather"] .ndl-city-grid,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  overflow: visible !important;
}

body[data-page="weather"] .ndl-city-grid:not(.is-expanded),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded){
  max-height: none !important;
}

body[data-page="weather"] .ndl-city-card,
body[data-page="weather"] .ndl-city-card.is-featured,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
  display: block !important;
  position: relative !important;
  min-height: 360px !important;
  height: 360px !important;
  margin: 0 !important;
  transform: none !important;
  overflow: hidden !important;
  border-radius: 28px !important;
}

body[data-page="weather"] .ndl-city-card > img,
body[data-page="weather"] .ndl-city-bg,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card > img,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-bg{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 42% center !important;
}

body[data-page="weather"] .ndl-city-panel,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel{
  position: absolute !important;
  inset: 0 0 0 auto !important;
  width: 46% !important;
  height: 100% !important;
  padding: 18px !important;
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  grid-template-areas:
    "city clock"
    "weather weather"
    "metrics metrics"
    "forecast forecast" !important;
  grid-template-rows: auto 1fr auto auto !important;
  gap: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: linear-gradient(90deg, rgba(3,12,20,.08), rgba(3,12,20,.72) 28%, rgba(3,12,20,.92) 100%) !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-page="weather"] [data-ndl-handle],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] [data-ndl-handle],
body[data-page="weather"] .ndl-city-expand,
.ndl-city-expand{
  display: none !important;
}

body[data-page="weather"] .ndl-city-top,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top{
  grid-area: city !important;
  height: auto !important;
  min-height: 0 !important;
  display: grid !important;
  gap: 3px !important;
  align-self: start !important;
}

body[data-page="weather"] .ndl-city-top h3,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top h3{
  font-size: 24px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
}

body[data-page="weather"] .ndl-city-top span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top span{
  font-size: 10px !important;
  opacity: .88 !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-city-primary,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary{
  display: contents !important;
}

body[data-page="weather"] .ndl-city-clock,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-clock{
  grid-area: clock !important;
  display: grid !important;
  gap: 3px !important;
  justify-self: start !important;
  align-self: start !important;
  text-align: left !important;
}

body[data-page="weather"] .ndl-city-time,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time{
  font-size: 24px !important;
  line-height: 1 !important;
  direction: ltr !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-city-date,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-date{
  display: none !important;
}

body[data-page="weather"] .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-weather{
  grid-area: weather !important;
  display: grid !important;
  grid-template-columns: auto auto 1fr !important;
  align-items: center !important;
  justify-content: start !important;
  gap: 8px !important;
  text-align: right !important;
}

body[data-page="weather"] .ndl-temp,
body[data-page="weather"] .ndl-city-card--weather .ndl-city-weather .ndl-temp,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp{
  font-size: 32px !important;
  line-height: 1 !important;
  text-align: right !important;
}

body[data-page="weather"] .ndl-weather-symbol,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-weather-symbol{
  display: inline-block !important;
  font-size: 25px !important;
}

body[data-page="weather"] .ndl-condition,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-condition{
  font-size: 10px !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-city-metrics,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-metrics{
  grid-area: metrics !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
}

body[data-page="weather"] .ndl-city-metric,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric{
  min-width: 0 !important;
  padding: 7px 5px !important;
}

body[data-page="weather"] .ndl-city-metric label,
body[data-page="weather"] .ndl-city-metric strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric label,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric strong{
  font-size: 9px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-forecast,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-forecast,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-forecast,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-forecast{
  grid-area: forecast !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  overflow: hidden !important;
}

body[data-page="weather"] .ndl-forecast .ndl-day:nth-child(n+4),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-forecast .ndl-day:nth-child(n+4){
  display: none !important;
}

body[data-page="weather"] .ndl-day,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day{
  min-width: 0 !important;
  padding: 7px 5px !important;
}

body[data-page="weather"] .ndl-day small,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day small{
  display: none !important;
}

body[data-page="weather"] .ndl-day span,
body[data-page="weather"] .ndl-day strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day strong{
  display: block !important;
  font-size: 10px !important;
  line-height: 1.35 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-provider-state,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-provider-state{
  display: none !important;
}

@media(max-width: 900px){
  body[data-page="weather"] .ndl-city-grid,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]{
    grid-template-columns: 1fr !important;
  }

  body[data-page="weather"] .ndl-city-card,
  body[data-page="weather"] .ndl-city-card.is-featured,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
    height: 380px !important;
    min-height: 380px !important;
  }

  body[data-page="weather"] .ndl-city-panel,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel{
    width: 50% !important;
  }
}

@media(max-width: 640px){
  body[data-page="weather"] .ndl-city-card,
  body[data-page="weather"] .ndl-city-card.is-featured,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
    height: 430px !important;
    min-height: 430px !important;
  }

  body[data-page="weather"] .ndl-city-panel,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel{
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: auto !important;
    min-height: 58% !important;
  }
}

/* APPROVED: reduce weather city cards by ~20%, keep current layout/style */
body[data-page="weather"] .ndl-city-card,
body[data-page="weather"] .ndl-city-card.is-featured,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
  height: 288px !important;
  min-height: 288px !important;
}

body[data-page="weather"] .ndl-city-grid,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]{
  gap: 20px !important;
}

body[data-page="weather"] .ndl-city-panel,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel{
  width: 48% !important;
  padding: 14px !important;
  gap: 7px !important;
}

body[data-page="weather"] .ndl-city-top h3,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top h3{
  font-size: 21px !important;
}

body[data-page="weather"] .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-time{
  font-size: 22px !important;
}

body[data-page="weather"] .ndl-temp,
body[data-page="weather"] .ndl-city-card--weather .ndl-city-weather .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-temp{
  font-size: 28px !important;
}

body[data-page="weather"] .ndl-weather-symbol,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-weather-symbol{
  font-size: 22px !important;
}

body[data-page="weather"] .ndl-city-metric,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric{
  padding: 5px 4px !important;
}

body[data-page="weather"] .ndl-day,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day{
  padding: 5px 4px !important;
}

body[data-page="weather"] .ndl-condition,
body[data-page="weather"] .ndl-city-top span,
body[data-page="weather"] .ndl-city-metric label,
body[data-page="weather"] .ndl-city-metric strong,
body[data-page="weather"] .ndl-day span,
body[data-page="weather"] .ndl-day strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-condition,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric label,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day strong{
  font-size: 9px !important;
  line-height: 1.25 !important;
}

@media(max-width: 900px){
  body[data-page="weather"] .ndl-city-card,
  body[data-page="weather"] .ndl-city-card.is-featured,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
    height: 344px !important;
    min-height: 344px !important;
  }
}

@media(max-width: 640px){
  body[data-page="weather"] .ndl-city-card,
  body[data-page="weather"] .ndl-city-card.is-featured,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
    height: 384px !important;
    min-height: 384px !important;
  }
}

/* APPROVED: add back ~10% city card size after successful reduction */
body[data-page="weather"] .ndl-city-card,
body[data-page="weather"] .ndl-city-card.is-featured,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
  height: 317px !important;
  min-height: 317px !important;
}

body[data-page="weather"] .ndl-city-panel,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel{
  padding: 15px !important;
  gap: 8px !important;
}

body[data-page="weather"] .ndl-city-top h3,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top h3{
  font-size: 22px !important;
}

body[data-page="weather"] .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-time{
  font-size: 23px !important;
}

body[data-page="weather"] .ndl-temp,
body[data-page="weather"] .ndl-city-card--weather .ndl-city-weather .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-temp{
  font-size: 30px !important;
}

body[data-page="weather"] .ndl-weather-symbol,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-weather-symbol{
  font-size: 24px !important;
}

@media(max-width: 900px){
  body[data-page="weather"] .ndl-city-card,
  body[data-page="weather"] .ndl-city-card.is-featured,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
    height: 378px !important;
    min-height: 378px !important;
  }
}

@media(max-width: 640px){
  body[data-page="weather"] .ndl-city-card,
  body[data-page="weather"] .ndl-city-card.is-featured,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
  body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
    height: 422px !important;
    min-height: 422px !important;
  }
}

/* APPROVED: fix city card top/weather overlap without changing card style */
body[data-page="weather"] .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel{
  grid-template-areas:
    "city clock"
    "weather weather"
    "metrics metrics"
    "forecast forecast" !important;
  grid-template-rows: auto minmax(58px, 1fr) auto auto !important;
  align-content: stretch !important;
}

body[data-page="weather"] .ndl-city-primary,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary{
  display: contents !important;
}

body[data-page="weather"] .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-weather{
  grid-area: weather !important;
  align-self: center !important;
  justify-self: start !important;
  margin: 4px 0 0 !important;
  display: grid !important;
  grid-template-columns: auto auto 1fr !important;
  gap: 8px !important;
  align-items: center !important;
  min-height: 58px !important;
  transform: none !important;
}

body[data-page="weather"] .ndl-city-clock,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-clock{
  grid-area: clock !important;
  position: relative !important;
  z-index: 3 !important;
}

body[data-page="weather"] .ndl-city-top,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top{
  grid-area: city !important;
  position: relative !important;
  z-index: 3 !important;
}

body[data-page="weather"] .ndl-temp,
body[data-page="weather"] .ndl-city-card--weather .ndl-city-weather .ndl-temp,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp{
  font-size: 27px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-weather-symbol,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-weather-symbol{
  font-size: 21px !important;
  line-height: 1 !important;
}

/* remove the turquoise drag dots inside city cards */
body[data-page="weather"] .ndl-city-grid [data-ndl-handle],
body[data-page="weather"] .ndl-city-grid .ndl-drag-handle,
body[data-page="weather"] .ndl-city-grid .ndl-reorder-handle,
body[data-page="weather"] .ndl-city-grid .ndl-card-handle,
body[data-page="weather"] .ndl-city-grid .ndl-grab-handle,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] [data-ndl-handle],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-drag-handle,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-reorder-handle,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-card-handle,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-grab-handle{
  display: none !important;
}

/* APPROVED: final city-card collision fix, no redesign */
body[data-page="weather"] .ndl-city-card,
body[data-page="weather"] .ndl-city-card.is-featured,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
  height: 317px !important;
  min-height: 317px !important;
}

body[data-page="weather"] .ndl-city-panel,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel{
  position: absolute !important;
  inset: 0 0 0 auto !important;
  width: 48% !important;
  height: 100% !important;
  padding: 14px !important;
  display: block !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border: 0 !important;
  box-shadow: none !important;
  background: linear-gradient(90deg, rgba(3,12,20,.04), rgba(3,12,20,.72) 30%, rgba(3,12,20,.94) 100%) !important;
}

body[data-page="weather"] .ndl-city-top,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top{
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: 82px !important;
  height: auto !important;
  min-height: 0 !important;
  z-index: 4 !important;
  display: block !important;
  text-align: right !important;
}

body[data-page="weather"] .ndl-city-top h3,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top h3{
  font-size: 22px !important;
  line-height: 1.1 !important;
  margin: 0 0 4px !important;
}

body[data-page="weather"] .ndl-city-top span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top span{
  display: block !important;
  font-size: 9px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-page="weather"] .ndl-city-primary,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary{
  display: block !important;
  position: static !important;
}

body[data-page="weather"] .ndl-city-clock,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-clock{
  position: absolute !important;
  top: 15px !important;
  left: 14px !important;
  z-index: 5 !important;
  display: block !important;
  text-align: left !important;
}

body[data-page="weather"] .ndl-city-time,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time{
  font-size: 22px !important;
  line-height: 1 !important;
  direction: ltr !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-city-date,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-date{
  display: none !important;
}

body[data-page="weather"] .ndl-city-weather,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-weather{
  position: absolute !important;
  top: 78px !important;
  right: 14px !important;
  left: 14px !important;
  z-index: 3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  text-align: right !important;
  margin: 0 !important;
  min-height: 36px !important;
  transform: none !important;
}

body[data-page="weather"] .ndl-temp,
body[data-page="weather"] .ndl-city-card--weather .ndl-city-weather .ndl-temp,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp{
  font-size: 28px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body[data-page="weather"] .ndl-weather-symbol,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-weather-symbol{
  font-size: 22px !important;
  line-height: 1 !important;
}

body[data-page="weather"] .ndl-condition,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-condition{
  font-size: 9px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

body[data-page="weather"] .ndl-city-metrics,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-metrics{
  position: absolute !important;
  right: 14px !important;
  left: 14px !important;
  bottom: 64px !important;
  z-index: 3 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  margin: 0 !important;
}

body[data-page="weather"] .ndl-city-metric,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric{
  min-width: 0 !important;
  padding: 5px 4px !important;
}

body[data-page="weather"] .ndl-city-metric label,
body[data-page="weather"] .ndl-city-metric strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric label,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric strong{
  font-size: 9px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-page="weather"] .ndl-forecast,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-forecast,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-forecast,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-forecast{
  position: absolute !important;
  right: 14px !important;
  left: 14px !important;
  bottom: 14px !important;
  z-index: 3 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 6px !important;
  overflow: hidden !important;
  margin: 0 !important;
}

body[data-page="weather"] .ndl-forecast .ndl-day:nth-child(n+4),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-forecast .ndl-day:nth-child(n+4){
  display: none !important;
}

body[data-page="weather"] .ndl-day,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day{
  min-width: 0 !important;
  padding: 5px 4px !important;
}

body[data-page="weather"] .ndl-day small,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day small{
  display: none !important;
}

body[data-page="weather"] .ndl-day span,
body[data-page="weather"] .ndl-day strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day strong{
  display: block !important;
  font-size: 9px !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

@media(max-width: 900px){
  body[data-page="weather"] .ndl-city-grid,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]{
    grid-template-columns: 1fr !important;
  }

  body[data-page="weather"] .ndl-city-panel,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel{
    width: 52% !important;
  }
}

@media(max-width: 640px){
  body[data-page="weather"] .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card{
    height: 390px !important;
    min-height: 390px !important;
  }

  body[data-page="weather"] .ndl-city-panel,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel{
    inset: auto 0 0 0 !important;
    width: 100% !important;
    height: 62% !important;
  }
}

/* APPROVED: remove city-card ellipsis drag handles */
body[data-page="weather"] .ndl-city-card [data-ndl-handle],
body[data-page="weather"] .ndl-city-card .ndl-drag-handle,
body[data-page="weather"] .ndl-city-card .ndl-reorder-handle,
body[data-page="weather"] .ndl-city-card .ndl-card-handle,
body[data-page="weather"] .ndl-city-card .ndl-grab-handle,
body[data-page="weather"] .ndl-city-card [aria-label*="drag"],
body[data-page="weather"] .ndl-city-card [aria-label*="reorder"],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card [data-ndl-handle],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card .ndl-drag-handle,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card .ndl-reorder-handle,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card .ndl-card-handle,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card .ndl-grab-handle{
  display: none !important;
}

/* APPROVED: final city card text sizing + remove ellipsis handle */
body[data-page="weather"] .ndl-city-card [data-ndl-handle],
body[data-page="weather"] .ndl-city-card [class*="drag"],
body[data-page="weather"] .ndl-city-card [class*="reorder"],
body[data-page="weather"] .ndl-city-card [class*="handle"],
body[data-page="weather"] .ndl-city-card [class*="grip"],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card [data-ndl-handle],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card [class*="drag"],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card [class*="reorder"],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card [class*="handle"],
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card [class*="grip"]{
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body[data-page="weather"] .ndl-city-top h3,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top h3{
  font-size: 25px !important;
  line-height: 1.08 !important;
}

body[data-page="weather"] .ndl-city-time,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time{
  font-size: 25px !important;
  line-height: 1 !important;
}

body[data-page="weather"] .ndl-city-weather,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-weather{
  top: 72px !important;
  min-height: 48px !important;
  gap: 10px !important;
}

body[data-page="weather"] .ndl-temp,
body[data-page="weather"] .ndl-city-card--weather .ndl-city-weather .ndl-temp,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp{
  font-size: 33px !important;
  line-height: 1 !important;
}

body[data-page="weather"] .ndl-weather-symbol,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-weather-symbol{
  font-size: 25px !important;
}

body[data-page="weather"] .ndl-condition,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-condition{
  font-size: 10px !important;
}

body[data-page="weather"] .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metrics{
  bottom: 68px !important;
}

body[data-page="weather"] .ndl-city-metric label,
body[data-page="weather"] .ndl-city-metric strong,
body[data-page="weather"] .ndl-day span,
body[data-page="weather"] .ndl-day strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric label,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day strong{
  font-size: 10px !important;
}

/* FINAL WEATHER CARD FIX: all cards like Tehran, no featured/non-featured mismatch */
body[data-page="weather"] .ndl-city-grid,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
  overflow:visible!important;
}

body[data-page="weather"] .ndl-city-grid:not(.is-expanded),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded){
  max-height:none!important;
  height:auto!important;
}

body[data-page="weather"] .ndl-city-card,
body[data-page="weather"] .ndl-city-card.is-featured,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured){
  grid-column:auto!important;
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:317px!important;
  min-height:317px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  transform:none!important;
  border-radius:28px!important;
  border:1px solid rgba(57,213,202,.12)!important;
  box-shadow:0 18px 46px rgba(0,0,0,.26)!important;
}

body[data-page="weather"] .ndl-city-card > img,
body[data-page="weather"] .ndl-city-bg,
body[data-page="weather"] .ndl-city-card__bg,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card > img,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-bg,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card__bg{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  object-position:42% center!important;
}

body[data-page="weather"] .ndl-city-panel,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-city-panel,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-city-panel,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-city-panel,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-panel{
  position:absolute!important;
  inset:0 0 0 auto!important;
  width:48%!important;
  height:100%!important;
  padding:14px!important;
  display:block!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  border:0!important;
  box-shadow:none!important;
  background:linear-gradient(90deg,rgba(3,12,20,.04),rgba(3,12,20,.72) 30%,rgba(3,12,20,.94) 100%)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}

body[data-page="weather"] .ndl-city-top,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-city-top,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-city-top,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-top,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-city-top,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-city-top,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-top{
  position:absolute!important;
  top:14px!important;
  right:14px!important;
  left:90px!important;
  height:auto!important;
  min-height:0!important;
  display:block!important;
  text-align:right!important;
  z-index:4!important;
}

body[data-page="weather"] .ndl-city-top h3,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top h3{
  font-size:25px!important;
  line-height:1.08!important;
  margin:0 0 4px!important;
  font-weight:800!important;
}

body[data-page="weather"] .ndl-city-top span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-top span{
  display:block!important;
  font-size:10px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  opacity:.9!important;
}

body[data-page="weather"] .ndl-city-primary,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-city-primary,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-city-primary,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-city-primary,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-primary{
  display:block!important;
  position:static!important;
}

body[data-page="weather"] .ndl-city-clock,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-city-clock,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-city-clock,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-clock,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-clock,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-city-clock,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-city-clock,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-clock{
  position:absolute!important;
  top:14px!important;
  left:14px!important;
  display:block!important;
  text-align:left!important;
  z-index:5!important;
}

body[data-page="weather"] .ndl-city-time,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-city-time,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-city-time,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-city-time,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-time{
  font-size:27px!important;
  line-height:1!important;
  direction:ltr!important;
  white-space:nowrap!important;
  font-weight:800!important;
}

body[data-page="weather"] .ndl-city-date,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-date{
  display:none!important;
}

body[data-page="weather"] .ndl-city-weather,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-city-weather,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-city-weather,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-city-weather,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-weather{
  position:absolute!important;
  top:70px!important;
  right:14px!important;
  left:14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  min-height:48px!important;
  margin:0!important;
  transform:none!important;
  z-index:3!important;
}

body[data-page="weather"] .ndl-temp,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-temp,
body[data-page="weather"] .ndl-city-card--weather .ndl-city-weather .ndl-temp,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-temp,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-temp,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-temp{
  font-size:35px!important;
  line-height:1!important;
  white-space:nowrap!important;
  text-align:right!important;
  font-weight:800!important;
}

body[data-page="weather"] .ndl-weather-symbol,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-weather-symbol{
  display:inline-block!important;
  font-size:26px!important;
  line-height:1!important;
}

body[data-page="weather"] .ndl-condition,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-condition{
  font-size:10px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
}

body[data-page="weather"] .ndl-city-metrics,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-city-metrics,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-city-metrics,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-city-metrics,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-city-metrics{
  position:absolute!important;
  right:14px!important;
  left:14px!important;
  bottom:72px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
  margin:0!important;
  z-index:3!important;
}

body[data-page="weather"] .ndl-city-metric,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric{
  min-width:0!important;
  padding:5px 4px!important;
}

body[data-page="weather"] .ndl-city-metric label,
body[data-page="weather"] .ndl-city-metric strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric label,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-metric strong{
  font-size:10px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body[data-page="weather"] .ndl-forecast,
body[data-page="weather"] .ndl-city-card.is-featured .ndl-forecast,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card .ndl-forecast,
body[data-page="weather"] .ndl-city-grid:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-forecast,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-forecast,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card.is-featured .ndl-forecast,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card .ndl-forecast,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"]:not(.is-expanded) .ndl-city-card:not(.is-featured) .ndl-forecast{
  position:absolute!important;
  right:14px!important;
  left:14px!important;
  bottom:14px!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
  overflow:hidden!important;
  margin:0!important;
  z-index:3!important;
}

body[data-page="weather"] .ndl-forecast .ndl-day:nth-child(n+4),
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-forecast .ndl-day:nth-child(n+4){
  display:none!important;
}

body[data-page="weather"] .ndl-day,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day{
  min-width:0!important;
  padding:5px 4px!important;
}

body[data-page="weather"] .ndl-day small,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day small{
  display:none!important;
}

body[data-page="weather"] .ndl-day span,
body[data-page="weather"] .ndl-day strong,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day span,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-day strong{
  display:block!important;
  font-size:10px!important;
  line-height:1.25!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

body[data-page="weather"] .ndl-city-more,
body[data-page="weather"] .ndl-provider-state,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-more,
.ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-provider-state{
  display:none!important;
}

@media(max-width:900px){
  body[data-page="weather"] .ndl-city-grid,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"]{
    grid-template-columns:1fr!important;
  }

  body[data-page="weather"] .ndl-city-panel,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel{
    width:52%!important;
  }
}

@media(max-width:640px){
  body[data-page="weather"] .ndl-city-card,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-card{
    height:390px!important;
    min-height:390px!important;
  }

  body[data-page="weather"] .ndl-city-panel,
  .ndl-city-grid[data-ndl-storage="ndl.order.cities"] .ndl-city-panel{
    inset:auto 0 0 0!important;
    width:100%!important;
    height:62%!important;
  }
}

/* NDL FIX: keep all selected city cards visible */
.ndl-city-grid,
.ndl-city-grid.is-expanded {
  max-height: none !important;
  overflow: visible !important;
}
.ndl-city-grid .ndl-city-card,
.ndl-city-grid:not(.is-expanded) .ndl-city-card,
.ndl-city-grid:not(.is-expanded) .ndl-city-card:nth-child(n),
.ndl-city-grid .ndl-city-card[hidden] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.ndl-city-expand {
  display: none !important;
}

/* --- telegram page: link-code, day-picker, inline forms (added for real bot wiring) --- */
.ndl-link-code{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:14px 16px;border:1px dashed var(--ndl-border);border-radius:var(--ndl-radius-md);background:rgba(57,213,202,.05);margin-top:12px}
.ndl-link-code__digits{font-size:22px;font-weight:700;letter-spacing:.12em;direction:ltr;color:var(--ndl-primary-soft)}
.ndl-link-code__meta{display:flex;flex-direction:column;gap:2px;font-size:10px;color:var(--ndl-text-3)}
.ndl-day-picker{display:flex;gap:6px;flex-wrap:wrap}
.ndl-day-picker button{min-height:36px;padding:0 10px;border-radius:10px;border:1px solid var(--ndl-border);background:rgba(255,255,255,.02);color:var(--ndl-text-3);font-size:11px;cursor:pointer;transition:background var(--ndl-motion-fast),color var(--ndl-motion-fast),border-color var(--ndl-motion-fast)}
.ndl-day-picker button.is-on{background:rgba(57,213,202,.16);border-color:rgba(57,213,202,.4);color:var(--ndl-primary-soft)}
.ndl-inline-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;align-items:end;margin-top:12px}
.ndl-inline-form label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:var(--ndl-text-3)}
.ndl-inline-form__actions{display:flex;align-items:end}
.ndl-list-row__meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ndl-future-card{border-style:dashed;opacity:.75}
.ndl-future-card .ndl-card__subtitle{margin-top:2px}

/* --- stock widget search (shared by dashboard stock widget + telegram price-set builder) --- */
.ndl-stock-widget-search{position:relative;margin-top:10px}
.ndl-stock-widget-search input[type="search"]{width:100%;min-height:40px;padding:0 14px;border-radius:10px;border:1px solid var(--ndl-border);background:rgba(255,255,255,.02);color:var(--ndl-text-1);font-family:inherit;font-size:12.5px}
.ndl-stock-widget-search input[type="search"]::placeholder{color:var(--ndl-text-4)}
.ndl-stock-widget-search input[type="search"]:focus{outline:none;border-color:var(--ndl-primary);box-shadow:0 0 0 3px rgba(57,213,202,.12)}
.ndl-stock-widget-search-results{position:absolute;z-index:5;top:calc(100% + 6px);right:0;left:0;background:var(--ndl-surface-2);border:1px solid var(--ndl-border);border-radius:12px;padding:6px;box-shadow:0 12px 28px rgba(0,0,0,.28);max-height:260px;overflow:auto}
.ndl-stock-widget-search-message{padding:10px 12px;font-size:11.5px;color:var(--ndl-text-3)}
.ndl-stock-widget-search-result{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:9px 12px;border:none;border-radius:8px;background:transparent;color:var(--ndl-text-1);font-family:inherit;text-align:right;cursor:pointer;transition:background var(--ndl-motion-fast)}
.ndl-stock-widget-search-result:hover,.ndl-stock-widget-search-result:focus-visible{background:rgba(57,213,202,.1)}
.ndl-stock-widget-search-result strong{font-size:12.5px}
.ndl-stock-widget-search-result span{font-size:10.5px;color:var(--ndl-text-3)}
.ndl-stock-widget-remove{border:none;background:transparent;color:var(--ndl-text-4);cursor:pointer;font-size:13px;padding:2px 6px;margin-inline-start:6px}
.ndl-stock-widget-remove:hover{color:var(--ndl-danger)}
