/* DOVYR Operations Experience — Quiet Aggression; isolated to Operations. */
.operations-shell.ops2-enabled {
  --ops2-bg:#0a0c0e;--ops2-surface:#101316;--ops2-border:rgba(242,240,233,.095);
  --ops2-muted:#90979d;--ops2-text:#f2f0e9;--ops2-positive:#90bcaa;
  --ops2-negative:#d7a2a0;--ops2-acid:#d8ff3e;
}
.operations-shell.ops2-enabled .ops-content > .ops-titlebar,
.operations-shell.ops2-enabled .ops-content > .ops-filters,
.operations-shell.ops2-enabled .ops-content > .ops-kpis,
.operations-shell.ops2-enabled .ops-content > .ops-workspace {display:none!important}
.operations-shell .ops2-view {max-width:1500px;margin:0 auto;min-height:calc(100dvh - 155px);color:var(--ops2-text)}
.operations-shell .ops2-view * {box-sizing:border-box}
.operations-shell .ops2-layout {animation:ops2-enter .27s cubic-bezier(.2,.7,.2,1) both}
@keyframes ops2-enter {from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.operations-shell .ops2-eyebrow {display:block;color:var(--ops2-muted);font-size:10px;font-weight:620;letter-spacing:.14em}
.operations-shell .ops2-heading {display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:12px 0 34px}
.operations-shell .ops2-heading h1 {font-size:clamp(32px,3vw,49px);font-weight:570;line-height:1.15;letter-spacing:-.055em;color:var(--ops2-text);margin:12px 0 10px}
.operations-shell .ops2-heading p {color:var(--ops2-muted);font-size:13px;margin:0;line-height:1.5}
.operations-shell .ops2-period {font-weight:360;color:#7c858a}
.operations-shell .ops2-controls{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.operations-shell .ops2-label{font-size:11px!important;color:var(--ops2-muted);margin:0!important}
.operations-shell .ops2-controls select,.operations-shell .ops2-action{height:38px;border:1px solid rgba(242,240,233,.15);border-radius:7px;background:#121619;color:var(--ops2-text);font-size:12px;letter-spacing:0;outline:none;padding:0 13px;cursor:pointer}
.operations-shell .ops2-action {white-space:nowrap;background:#e8e9e4;color:#111416;font-weight:650;border-color:transparent;transition:background .2s ease,transform .2s ease}
.operations-shell .ops2-action:hover{background:#f6f7f2;transform:translateY(-1px)}
.operations-shell .ops2-muted-action{background:#15191c;color:var(--ops2-text);border:1px solid var(--ops2-border)}
.operations-shell .ops2-overview{display:grid;grid-template-columns:minmax(220px,1.8fr) repeat(2,minmax(130px,1fr));gap:0;padding:0 0 28px;margin:0 0 27px;border-bottom:1px solid var(--ops2-border)}
.operations-shell .ops2-overview>div{padding:6px 26px;border-left:1px solid var(--ops2-border);min-width:0}
.operations-shell .ops2-overview>div:first-child{padding-left:0;border:0}
.operations-shell .ops2-overview span{display:block;color:var(--ops2-muted);font-size:10px;letter-spacing:.11em;font-weight:600;margin-bottom:12px}
.operations-shell .ops2-overview strong{display:block;color:var(--ops2-text);font-size:clamp(20px,2vw,29px);font-weight:520;letter-spacing:-.04em;line-height:1.25;overflow-wrap:anywhere}
.operations-shell .ops2-value.ops2-positive{color:var(--ops2-positive)!important}
.operations-shell .ops2-value.ops2-negative{color:var(--ops2-negative)!important}
.operations-shell .ops2-value.ops2-mixed,.operations-shell .ops2-value.ops2-zero{color:#c2c8c9!important}
.operations-shell .ops2-calendar-surface{border:1px solid var(--ops2-border);border-radius:12px;background:var(--ops2-surface);overflow:hidden}
.operations-shell .ops2-calendar-top{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:23px 26px;border-bottom:1px solid var(--ops2-border)}
.operations-shell .ops2-calendar-top h2{font-weight:530;font-size:23px;letter-spacing:-.03em;margin:8px 0 0;color:var(--ops2-text)}
.operations-shell .ops2-month-nav{display:flex;align-items:center;gap:6px}
.operations-shell .ops2-month-nav button,.operations-shell .ops2-day-back button{border:1px solid rgba(242,240,233,.13);border-radius:6px;background:#181c1f;color:#c4c9ca;font-size:12px;padding:9px 12px;cursor:pointer;transition:background .2s ease,color .2s ease}
.operations-shell .ops2-month-nav button:hover,.operations-shell .ops2-day-back button:hover{background:#24292b;color:#fff}
.operations-shell .ops2-body{display:grid;grid-template-columns:minmax(0,1fr) 248px}
.operations-shell .ops2-grid-panel{min-width:0;padding:21px 24px 24px}
.operations-shell .ops2-weekdays,.operations-shell .ops2-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.operations-shell .ops2-weekdays{margin:0 0 8px}
.operations-shell .ops2-weekdays span{text-align:center;color:#737d82;font-size:9px;font-weight:700;letter-spacing:.1em;padding:5px 0}
.operations-shell .ops2-date,.operations-shell .ops2-blank{min-width:0;min-height:86px;border-radius:7px}
.operations-shell .ops2-date{display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:6px;text-align:left;padding:12px 10px;background:#15191c;border:1px solid rgba(242,240,233,.055);color:var(--ops2-text);cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.operations-shell .ops2-date:hover,.operations-shell .ops2-date:focus-visible{background:#202629;border-color:rgba(242,240,233,.27);transform:translateY(-1px);outline:0}
.operations-shell .ops2-date.is-selected{border-color:rgba(216,255,62,.55)}
.operations-shell .ops2-date-number{font-size:13px;font-weight:550;line-height:1}
.operations-shell .ops2-date-amount{font-size:11px;line-height:1.3;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}
.operations-shell .ops2-date-foot{font-size:9px;color:var(--ops2-muted);line-height:1.1}
.operations-shell .ops2-date.ops2-positive .ops2-date-amount{color:var(--ops2-positive)}
.operations-shell .ops2-date.ops2-negative .ops2-date-amount{color:var(--ops2-negative)}
.operations-shell .ops2-date.ops2-zero .ops2-date-amount{color:#b3bbbd}
.operations-shell .ops2-date.ops2-empty{background:transparent;color:#838b90}
.operations-shell .ops2-date.ops2-empty .ops2-date-amount{color:#3d4549}
.operations-shell .ops2-date.ops2-empty:hover{background:#171c20}
.operations-shell .ops2-key{display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin-top:20px}
.operations-shell .ops2-key span{display:flex;align-items:center;gap:6px;color:#939a9e;font-size:10px}
.operations-shell .ops2-key i{display:block;height:5px;width:5px;border-radius:50%;background:#4f595e}
.operations-shell .ops2-key i.positive{background:var(--ops2-positive)}
.operations-shell .ops2-key i.negative{background:var(--ops2-negative)}
.operations-shell .ops2-key i.zero{background:#bac1c3}
.operations-shell .ops2-weeks{border-left:1px solid var(--ops2-border);padding:22px 20px 20px}
.operations-shell .ops2-aside-head{display:flex;flex-direction:column;gap:6px;padding-bottom:16px;border-bottom:1px solid var(--ops2-border)}
.operations-shell .ops2-aside-head>span{font-size:10px;letter-spacing:.11em;color:#c6cbcb;font-weight:700}
.operations-shell .ops2-aside-head small{font-size:10px;color:var(--ops2-muted)}
.operations-shell .ops2-week{border-bottom:1px solid rgba(242,240,233,.06);padding:16px 0;display:flex;flex-direction:column;gap:8px}
.operations-shell .ops2-week>span{font-size:10px;letter-spacing:.09em;color:#d4d8d6;font-weight:600}
.operations-shell .ops2-week>span small{display:block;margin-top:4px;font-size:10px;letter-spacing:0;color:var(--ops2-muted);font-weight:400}
.operations-shell .ops2-week>strong{font-size:15px;color:var(--ops2-text);font-weight:550;line-height:1.4;overflow-wrap:anywhere}
.operations-shell .ops2-week>small{font-size:10px;color:var(--ops2-muted)}
.operations-shell .ops2-footnote{font-size:11px;color:var(--ops2-muted);padding-top:18px;line-height:1.7}
.operations-shell .ops2-warning{font-size:11px;color:#d7a2a0;margin-top:18px}
.operations-shell .ops2-latest{margin-top:18px;border:0;background:none;color:var(--ops2-text);font-size:12px;cursor:pointer;padding:8px 0}
.operations-shell .ops2-day-back{display:flex;align-items:center;gap:10px;color:#7d868b;font-size:12px;margin:0 0 29px}
.operations-shell .ops2-day-back button{border:0;background:transparent;padding:5px 0;color:#bfc6c9}
.operations-shell .ops2-day-back strong{font-weight:550;color:var(--ops2-text)}
.operations-shell .ops2-day-list{background:#101417;border:1px solid var(--ops2-border);border-radius:12px;overflow:hidden}
.operations-shell .ops2-day-list>header{padding:26px 25px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--ops2-border)}
.operations-shell .ops2-day-list h2{font-size:20px;letter-spacing:-.03em;color:var(--ops2-text);font-weight:540;margin:8px 0 0}
.operations-shell .ops2-day-list h2 small{font-size:12px;color:var(--ops2-muted);margin-left:12px;font-weight:400;letter-spacing:0}
.operations-shell .ops2-find{display:flex;align-items:center;gap:8px;color:var(--ops2-muted);font-size:11px}
.operations-shell .ops2-find input{min-width:170px;height:36px;background:#171d20;border:1px solid rgba(242,240,233,.13);border-radius:7px;color:var(--ops2-text);padding:0 12px;font-size:12px;outline:none}
.operations-shell .ops2-find input:focus{border-color:#879194}
.operations-shell .ops2-list-head,.operations-shell .ops2-trade{display:grid;grid-template-columns:70px minmax(120px,1.3fr) minmax(140px,1.3fr) minmax(90px,.8fr) minmax(135px,1fr) 25px;gap:14px;align-items:center;padding:0 25px}
.operations-shell .ops2-list-head{height:42px;border-bottom:1px solid var(--ops2-border);color:var(--ops2-muted);font-size:10px;letter-spacing:.08em;font-weight:650}
.operations-shell .ops2-trade{width:100%;text-align:left;min-height:77px;border:0;border-bottom:1px solid rgba(242,240,233,.075);background:transparent;color:#bfc6c9;font-size:12px;cursor:pointer;transition:background .17s ease}
.operations-shell .ops2-trade:last-child{border:0}
.operations-shell .ops2-trade:hover,.operations-shell .ops2-trade:focus-visible{background:#1a2024;outline:none}
.operations-shell .ops2-trade-title{display:flex;flex-direction:column;gap:6px}
.operations-shell .ops2-trade-title strong{font-size:14px;color:var(--ops2-text);font-weight:590}
.operations-shell .ops2-trade-title small,.operations-shell .ops2-trade .ops2-value small{display:block;font-size:11px;color:var(--ops2-muted);margin-top:4px}
.operations-shell .ops2-trade>.ops2-value{text-align:left;color:var(--ops2-text);font-weight:550;line-height:1.5}
.operations-shell .ops2-no-trades{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:220px;text-align:center;padding:30px;color:var(--ops2-text)}
.operations-shell .ops2-no-trades strong{font-size:14px;font-weight:520}
.operations-shell .ops2-no-trades p{font-size:12px;color:var(--ops2-muted);margin-top:8px}
/* Existing native detail panel is moved, not cloned; original edit/screenshots stay bound. */
.operations-shell .ops2-drawer{position:fixed;z-index:400;inset:0;pointer-events:none;opacity:0;transition:opacity .23s ease}
.operations-shell .ops2-drawer.open{pointer-events:auto;opacity:1}
.operations-shell .ops2-drawer-backdrop{position:absolute;inset:0;border:0;background:rgba(0,0,0,.55);cursor:pointer;width:100%;height:100%}
.operations-shell .ops2-drawer-panel{position:absolute;inset:12px 12px 12px auto;width:min(600px,calc(100vw - 24px));background:#101518;border:1px solid rgba(242,240,233,.15);border-radius:12px;box-shadow:-18px 0 70px rgba(0,0,0,.48);overflow:auto;transform:translateX(22px);transition:transform .28s cubic-bezier(.2,.7,.2,1)}
.operations-shell .ops2-drawer.open .ops2-drawer-panel{transform:translateX(0)}
.operations-shell .ops2-drawer-close{position:absolute;right:15px;top:15px;width:27px;height:27px;border:1px solid rgba(242,240,233,.15);background:#181e22;border-radius:6px;color:var(--ops2-text);font-size:18px;z-index:3;cursor:pointer}
.operations-shell .ops2-drawer-content{height:100%;padding:16px 14px}
.operations-shell .ops2-drawer .trade-detail{display:block!important;min-height:0!important;width:100%;border:0!important;box-shadow:none!important;background:transparent!important;padding:10px 4px!important;overflow:visible!important}
.operations-shell .ops2-drawer .trade-detail.expanded{position:fixed!important;inset:12px!important;z-index:460!important;width:auto!important;max-width:none!important;height:calc(100dvh - 24px)!important;padding:30px!important;background:#101518!important;box-shadow:0 30px 100px rgba(0,0,0,.8)!important;overflow:auto!important}
.operations-shell .ops2-drawer .trade-detail.collapsed{display:none!important}
.operations-shell .ops2-drawer .detail-head{padding-right:40px}
.operations-shell .ops2-drawer .detail-title h2{font-size:26px!important}
.operations-shell .ops2-drawer .trade-chart{height:290px!important}
.operations-shell .ops2-drawer .uploaded-chart{object-fit:contain!important}
.operations-shell .ops2-drawer .detail-head span,.operations-shell .ops2-drawer .detail-tabs button{font-size:11px!important}
.operations-shell .ops2-drawer .detail-title p,.operations-shell .ops2-drawer .setup-context p,.operations-shell .ops2-drawer .trade-note-text{font-size:12px!important}
@media(max-width:1150px){.operations-shell .ops2-body{grid-template-columns:minmax(0,1fr)}.operations-shell .ops2-weeks{border-left:0;border-top:1px solid var(--ops2-border);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.operations-shell .ops2-aside-head{grid-column:1/-1}.operations-shell .ops2-week{padding:10px 0}.operations-shell .ops2-list-head,.operations-shell .ops2-trade{grid-template-columns:60px minmax(90px,1fr) minmax(90px,1fr) minmax(85px,1fr) minmax(105px,1fr) 18px;gap:10px}}
@media(max-width:760px){.operations-shell .ops2-heading{align-items:flex-start;flex-direction:column}.operations-shell .ops2-controls{justify-content:flex-start}.operations-shell .ops2-overview{grid-template-columns:1fr 1fr}.operations-shell .ops2-overview>div{padding:12px;border-left:0}.operations-shell .ops2-overview>div:first-child{grid-column:1/-1;border-bottom:1px solid var(--ops2-border)}.operations-shell .ops2-grid-panel{padding:12px}.operations-shell .ops2-date{min-height:67px;padding:6px}.operations-shell .ops2-date-foot{display:none}.operations-shell .ops2-date-amount{font-size:9px}.operations-shell .ops2-weeks{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-shell .ops2-day-list>header{align-items:flex-start;flex-direction:column}.operations-shell .ops2-day-list{overflow-x:auto}.operations-shell .ops2-list-head,.operations-shell .ops2-trade{min-width:620px}}
@media(prefers-reduced-motion:reduce){.operations-shell .ops2-layout,.operations-shell .ops2-drawer,.operations-shell .ops2-drawer-panel,.operations-shell .ops2-action,.operations-shell .ops2-date{animation:none!important;transition:none!important}}

.operations-shell .ops2-drawer .close-detail{display:none!important}
