/* @migrated */
.mn{ padding: 20px 32px 48px; min-width: 0; }
.bar{ position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); background: rgba(7, 9, 14, 0.8); display: flex; align-items: center; gap: 8px; padding: 12px 0 16px; margin-bottom: 20px; border-bottom: 1px solid var(--bd); overflow-x: auto; }
.bar button{ height: 32px; padding: 0 12px; font-size: 12px; font-weight: 600; border-radius: 6px; border: 1px solid var(--bd); background: var(--surface-card); color: var(--tx); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: all 0.2s; }
.bar button:hover{ border-color: var(--tx); color: var(--tx-bold); }
.bar button.on{ background: var(--info-bg); border-color: var(--info); color: var(--info); box-shadow: 0 0 12px var(--bd-glow); }
.pn{ --a: hsl(var(--h) 65% var(--aL)); --ab: hsl(var(--h) var(--abS) var(--abL)); }
.bn{ display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, var(--surface) 0%, var(--surface-card) 100%); border: 1px solid var(--bd); border-left: 4px solid var(--a); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 20px; box-shadow: var(--sh); position: relative; overflow: hidden; }
.bn .ic{ width: 44px; height: 44px; border-radius: 10px; font-size: 22px; background: var(--ab); border: 1px solid var(--a); display: grid; place-items: center; flex-shrink: 0; }
.bt{ flex: 1 1 300px; }
.bt h2{ font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--tx-bold); letter-spacing: -0.02em; }
.bt p{ font-size: 13px; color: var(--mu); margin-top: 4px; line-height: 1.4; }
.bp{ flex: 0 1 200px; }
.bp small{ font-size: 11px; color: var(--mu); font-family: var(--font-display); }
.pg{ height: 4px; background: var(--bd); border-radius: 99px; overflow: hidden; margin-bottom: 6px; }
.pg b{ display: block; height: 100%; background: var(--a); border-radius: 99px; transition: width 0.3s; }
.lay{ display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
@media(min-width: 1280px){
.lay.r{ grid-template-columns: minmax(0, 1fr) 360px; }
.rail{ position: sticky; top: 68px; max-height: calc(100vh - 90px); overflow-y: auto; }
}
.gr, .cg{ display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); gap:12px; align-items:start; }
.gr > .cd, .cg > .cd{ margin:0; min-width:0; }
.cd{ background: var(--surface-card); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--bd); border-radius: var(--radius); padding: 16px; box-shadow: var(--sh); transition: border-color 0.2s ease, transform 0.2s ease; position: relative; }
.cd:hover{ border-color: rgba(255, 255, 255, 0.16); }
.cd.dn{ border-color: var(--bull-bd); background: linear-gradient(to bottom right, var(--surface-card), var(--bull-bg)); }
.hd{ display: flex; align-items: center; gap: 12px; }
.hd .ic{ width: 34px; height: 34px; border-radius: 8px; background: var(--ab); border: 1px solid var(--a); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; }
.ti{ flex: 1; min-width: 0; }
.ti h3{ font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--tx-bold); display: flex; align-items: center; gap: 6px; }
.ti small{ font-size: 11px; color: var(--mu); }
.kc{ font-size: 10px; font-weight: 700; background: var(--bull-bg); color: var(--bull); border: 1px solid var(--bull-bd); border-radius: 4px; padding: 1px 5px; }
.ac{ display: flex; gap: 4px; }
.ac button{ width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--bd); background: transparent; color: var(--mu); display: grid; place-items: center; cursor: pointer; transition: all 0.15s; font-size: 12px; }
.ac button:hover{ color: var(--tx-bold); border-color: var(--tx); }
.sm{ font-size: 12.5px; color: var(--mu); margin: 8px 0; line-height: 1.45; }
.tg{ display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.tg span, .tgb button{ font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 4px; border: 1px solid var(--bd); background: rgba(255, 255, 255, 0.02); color: var(--mu); cursor: pointer; }
.tgb{ display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tgb button.on{ background: var(--info); border-color: var(--info); color: #fff; }
.q .bd, .q .tg{ display: none !important; }
.bd{ margin-top: 12px; display: flex; flex-direction: column; gap: 8px; border-top: 1px dashed var(--bd); padding-top: 12px; }
.bd h4{ font-family: var(--font-display); font-size: 12.5px; font-weight: 700; color: var(--tx-bold); margin-top: 4px; }
.bd p{ font-size: 12px; color: var(--tx); line-height: 1.4; }
.bx{ font-size: 12px; padding: 8px 12px; border-radius: 6px; border-left: 3px solid; background: rgba(255, 255, 255, 0.015); border-color: var(--bd); }
.bx b{ font-weight: 700; margin-right: 4px; }
.bx.m{ border-color: var(--a); background: var(--ab); }
.bx.x{ border-color: var(--info); background: var(--info-bg); }
.bx.u{ border-color: var(--bull); background: var(--bull-bg); color: var(--tx-bold); }
.bx.d{ border-color: var(--bear); background: var(--bear-bg); color: var(--tx-bold); }
.bx.r{ border-color: var(--warn); background: var(--warn-bg); color: var(--tx-bold); }
.bx.w{ border-color: var(--mu); background: transparent; }
.pair{ display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px; }
.fl{ display: flex; align-items: center; gap: 6px; overflow-x: auto; padding: 4px 0 8px; -webkit-overflow-scrolling: touch;}
.fl::-webkit-scrollbar{ height: 3px; }
.nd{ flex: 0 0 auto; white-space: nowrap; font-size: 11px; font-weight: 600; padding: 6px 10px; border-radius: 6px; background: var(--surface); border: 1px solid var(--bd); color: var(--tx); box-shadow: 0 2px 4px rgba(0,0,0,0.15); }
.nd.s{ border-color: var(--a); background: var(--ab); color: var(--tx-bold); }
.nd.g{ border-color: var(--bull-bd); background: var(--bull-bg); color: var(--bull); }
.nd.b{ border-color: var(--bear-bd); background: var(--bear-bg); color: var(--bear); }
.ar{ flex: 0 0 auto; color: var(--mu); font-size: 10px; padding: 0 2px; }
.fl.v{ flex-direction: column; align-items: stretch; }
.fl.v .ar{ transform: rotate(90deg); align-self: center; height: 16px; }
.bd ol{ list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 4px; }
.bd li{ counter-increment: s; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.bd li::before{ content: counter(s); flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--bd); color: var(--tx-bold); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.tks{ display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 6px; }
.tk{ display: flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid var(--bd); border-radius: 6px; background: rgba(255, 255, 255, 0.015); cursor: pointer; font-size: 12px; transition: all 0.15s; }
.tk:hover{ background: var(--surface-hover); }
.tk input[type=checkbox]{ appearance: none; -webkit-appearance: none; width: 16px; height: 16px; border: 1px solid var(--mu); border-radius: 4px; background: transparent; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.tk input[type=checkbox]:checked{ background: var(--bull); border-color: var(--bull); }
.tk input[type=checkbox]:checked::after{ content: "✓"; color: #fff; font-size: 10px; font-weight: 800; }
.tk:has(input:checked){ border-color: var(--bull-bd); background: var(--bull-bg); }
.tk:has(input:checked) span{ color: var(--mu); text-decoration: line-through; }
.ts{ overflow-x: auto; border: 1px solid var(--bd); border-radius: 8px; }
table{ border-collapse: collapse; width: 100%; font-size: 11.5px; }
table.w{ min-width: 0; }
th, td{ padding: 6px 10px; text-align: left; }
th{ background: rgba(255, 255, 255, 0.03); color: var(--tx-bold); font-weight: 700; border-bottom: 1px solid var(--bd); }
td{ border-top: 1px solid var(--bd); color: var(--tx); }
tr:hover td{ background: var(--surface-hover); }
.lk{ display: flex; flex-wrap: wrap; gap: 6px; }
.lb{ height: 26px; padding: 0 10px; font-size: 11px; font-weight: 600; border-radius: 6px; border: 1px solid var(--info-bd); background: var(--info-bg); color: var(--info); display: inline-flex; align-items: center; gap: 4px; text-decoration: none; }
.lb:hover{ background: var(--info); color: #fff; }
.lb.off{ opacity: 0.5; pointer-events: none; }
.sc{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px; }
.sr{ border: 1px solid var(--bd); border-radius: 6px; padding: 8px; background: rgba(255, 255, 255, 0.015); display: flex; flex-direction: column; gap: 4px; }
.sr b{ font-size: 12px; color: var(--tx-bold); }
.sr small{ color: var(--mu); font-size: 10px; }
.sr select{ height: 28px; border: 1px solid var(--bd); border-radius: 4px; background: var(--surface); color: var(--tx); font-size: 11px; padding: 0 6px; outline: none; }
.ed textarea, .ov textarea{ width: 100%; font-family: monospace; font-size: 12px; border-radius: 6px; border: 1px solid var(--bd); background: var(--surface); color: var(--tx); padding: 8px; }
.ov{ position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); display: grid; place-items: center; z-index: 99; padding: 16px; }
.ov > div{ width: 100%; max-width: 580px; background: var(--surface); border: 1px solid var(--bd); border-radius: var(--radius); padding: 20px; box-shadow: var(--sh); }
.bt h2, .ti h3{ color:#121a2e; }
.bar{ background:rgba(243,245,250,.94); border-bottom:1px solid #e4e8f1; }
.bar button{ background:#fff; border-color:#e4e8f1; color:#53617b; border-radius:9px; }
.bar button.on{ background:#e9edff; border-color:#cbd5ff; color:#2948c7; box-shadow:none; }
.bn{ background:linear-gradient(110deg,#fff,#f7f8fd); border:1px solid #e4e8f1; border-left:4px solid var(--a); border-radius:16px; box-shadow:0 4px 18px rgba(18,26,46,.045); }
.bn .ic, .hd .ic{ background:#eef1ff; border:1px solid #d9e0ff; color:#3b5bdb; }
.cd{ background:#fff; border:1px solid #e4e8f1; border-radius:15px; box-shadow:0 2px 10px rgba(18,26,46,.035); backdrop-filter:none; }
.cd:hover{ border-color:#c8d2f5; box-shadow:0 7px 20px rgba(18,26,46,.07); }
.cd.dn{ background:linear-gradient(135deg,#fff,#f0faf5); border-color:#b8e8d1; }
.ti small, .sm, .bp small{ color:#75819a; }
.ac button{ color:#66708a; border-color:#e4e8f1; background:#fff; }
.ac button:hover{ color:#3b5bdb; border-color:#b9c7ff; background:#f6f8ff; }
.tg span, .tgb button{ background:#f6f8fc; border-color:#e4e8f1; color:#66708a; border-radius:6px; }
.tgb button.on{ background:#3b5bdb; border-color:#3b5bdb; color:#fff; }
.bd{ border-top-color:#e8ebf2; }
.bx{ background:#f7f8fc; border-color:#dfe4ee; color:#34405a; border-radius:9px; }
.bx.m{ background:#eef1ff; border-color:#3b5bdb; }
.bx.x{ background:#edf6ff; border-color:#2795d2; }
.bx.u{ background:#e8f7ef; border-color:#0f9d63; color:#174c38; }
.bx.d{ background:#fff0ee; border-color:#d64333; color:#7b2d26; }
.bx.r{ background:#fff7e7; border-color:#d69b36; color:#684b17; }
.bx.w{ background:#f6f8fc; border-color:#9aa6bb; }
.nd{ background:#f6f8fc; border-color:#e4e8f1; color:#53617b; box-shadow:none; }
.nd.s{ background:#e9edff; border-color:#cbd5ff; color:#2948c7; }
.nd.g{ background:#e5f7ef; border-color:#b8e8d1; color:#0f8052; }
.nd.b{ background:#fdeceb; border-color:#f3c5c0; color:#bd392d; }
.tk, .sr{ background:#f8f9fc; border-color:#e4e8f1; border-radius:9px; }
.tk:hover{ background:#f1f4fb; }
.ts{ border-color:#e4e8f1; border-radius:10px; }
th{ background:#f2f4f9; color:#25314a; }
td{ color:#53617b; border-color:#e8ebf2; }
tr:hover td{ background:#f8f9fc; }
.lb{ background:#eef2ff; border-color:#d5ddff; color:#3554c8; border-radius:8px; }
.lb:hover{ background:#3b5bdb; color:#fff; }
.pg{ background:#e8ebf2; }
.pg b{ background:#3b5bdb; }
.ov{ background:rgba(18,26,46,.35); }
.ov > div{ background:#fff; border-color:#e4e8f1; }
.ed textarea, .ov textarea{ background:#f8f9fc; color:#25314a; border-color:#e4e8f1; }
.ts, .fl{ }
.ts::-webkit-scrollbar-track, .fl::-webkit-scrollbar-track{ background:#eef1f6; border-radius:99px; }
.ts::-webkit-scrollbar-thumb, .fl::-webkit-scrollbar-thumb{ background:#b8c3d6; border:2px solid #eef1f6; border-radius:99px; }
.ts::-webkit-scrollbar-thumb:hover, .fl::-webkit-scrollbar-thumb:hover{ background:#8d9bb3; border-color:#eef1f6; }
.hd .ic, .bn .ic{ display:grid; place-items:center; }
.hd .ic, .bn .ic{ font-family:var(--font); font-size:15px; }
@media(min-width:1180px){
.gr, .cg{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(min-width:1900px){
.gr, .cg{ grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:1100px){
.mn{ padding:16px; }
}
@media(max-width: 900px){
.mn{ padding: 14px; }
}
.gr, .cg{ min-width:0; }
.gr > .cd, .cg > .cd{ min-width:0; }
.cd, .bd, .ts{ min-width:0; max-width:100%; }
.ts{ overflow:visible !important; }
.ts table, .ts table.w{
  width:100%; min-width:0 !important; max-width:100%;
  table-layout:fixed; border-collapse:collapse;
}
.ts th, .ts td{
  min-width:0; white-space:normal; overflow-wrap:anywhere;
  word-break:normal; hyphens:auto; padding:7px 8px;
}
.ts th{ font-size:10.5px; line-height:1.3; }
.ts td{ font-size:10.5px; line-height:1.35; }
.fl{
  width:100%; max-width:100%; overflow:visible !important;
  flex-wrap:wrap; white-space:normal; row-gap:6px;
}
.nd{ white-space:normal; max-width:100%; overflow-wrap:anywhere; }
.fl .ar{ flex:0 0 auto; }
.pair{ min-width:0; }
.tks{ min-width:0; }
.flow-path{
  width: 100%;
  margin: 8px 0 2px;
  padding: 11px 12px 12px;
  border: 1px solid #e5eaf3;
  border-radius: 11px;
  background: linear-gradient(180deg, #f8faff 0%, #ffffff 100%);
}
.flow-caption{
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px 2px;
  color: #77839b;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .11em;
}
.flow-caption-dot{
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #6680e8;
  box-shadow: 0 0 0 3px #e8edff;
}
.flow-steps{ display: flex; flex-direction: column; gap: 8px; }
.flow-step{
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: stretch;
  column-gap: 10px;
  min-width: 0;
}
.flow-step:not(:last-child)::after{
  content: "";
  position: absolute;
  z-index: 0;
  left: 13px;
  top: 29px;
  bottom: -9px;
  width: 2px;
  background: #dce3f2;
}
.flow-marker{
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #d9e1f0;
  border-radius: 50%;
  background: #fff;
  color: #68758f;
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.flow-node{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
  min-height: 42px;
  padding: 7px 10px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #fff;
}
.flow-stage{
  color: #8994a9;
  font-size: 8px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .08em;
}
.flow-text{
  color: #34415c;
  font-size: 11.5px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.flow-step.start .flow-marker{
  color: #2948c7;
  border-color: #aebfff;
  background: #e9edff;
}
.flow-step.start .flow-node{
  border-color: #cbd5ff;
  background: #f1f3ff;
}
.flow-step.start .flow-stage{ color: #4862cf; }
.flow-step.bull .flow-marker{
  color: #08784c;
  border-color: #9cdbbd;
  background: #e2f7ec;
}
.flow-step.bull .flow-node{
  border-color: #a9e1c4;
  background: #eaf8f0;
}
.flow-step.bull .flow-stage, .flow-step.bull .flow-text{ color: #08784c; }
.flow-step.bear .flow-marker{
  color: #b83228;
  border-color: #efb6b0;
  background: #fde9e7;
}
.flow-step.bear .flow-node{
  border-color: #f0c0bb;
  background: #fff0ee;
}
.flow-step.bear .flow-stage, .flow-step.bear .flow-text{ color: #ad3027; }
.flow-step.neutral .flow-node{ border-color: #d8e2ef; }
@media(max-width: 520px){
.flow-path{ padding: 9px; }
.flow-step{ grid-template-columns: 25px minmax(0,1fr); column-gap: 8px; }
.flow-marker{ width: 25px; height: 25px; }
.flow-step:not(:last-child)::after{ left: 12px; top: 26px; }
.flow-node{ min-height: 40px; padding: 7px 9px; }
}
.nx, .nx *, .nx-ov label, .nx-ov input, .nx-ov select, .nx-ov textarea{box-sizing:border-box}
.nx-btn, .nx-ov input, .nx-ov select, .nx-ov textarea{font:inherit}
.nx-ov h3, .nx-ov h4, .nx-ov p{margin:0 0 6px}
.nx-chip{padding:2px 8px;border-radius:99px;background:var(--nx-info-bg);color:var(--nx-info);font-weight:600;font-size:11px}
.nx-chip.on{background:var(--nx-bull-bg);color:var(--nx-bull)}
.nx-btn{display:inline-flex;gap:4px;align-items:center;border:1px solid var(--nx-border);background:var(--nx-surface);border-radius:var(--nx-radius);padding:4px 10px;cursor:pointer;color:var(--nx-text);font-size:12px}
.nx-btn.pri{background:var(--nx-accent);color:var(--nx-on-accent);border-color:var(--nx-accent)}
.nx-link{background:none;border:0;padding:0;color:var(--nx-accent);text-decoration:underline;cursor:pointer;font:inherit;font-size:11px}
.nx-i{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.nx-has{display:inline-flex;gap:4px;align-items:center;font-size:11px;color:var(--nx-bull)}
.nx-has[hidden]{display:none}
.nx-topic.is-sel .nx-btn{border-color:var(--nx-accent)}
article.cd:has(.nx-topic.is-sel){outline:2px solid var(--nx-accent);outline-offset:-2px}
.nx{margin:8px 0;padding:8px 10px;border:1px dashed var(--nx-border);border-radius:var(--nx-radius-lg);background:var(--nx-surface-2);font-size:12px}
.nx-obs span{font-weight:700;min-width:26px}
.nx-obs em{flex:1;font-style:normal}
.nx-ov label{display:block;font-size:12px;margin:6px 0}
.nx-ov input:not([type=radio]):not([type=checkbox]), .nx-ov select, .nx-ov textarea{width:100%;padding:6px;border:1px solid var(--nx-border);border-radius:var(--nx-radius)}
.nx-msgs{color:var(--nx-warn);font-size:12px;margin:6px 0}
.nx-err{color:var(--nx-bear);font-size:12px}
.nx-row{display:flex;gap:var(--nx-gap);align-items:center;flex-wrap:wrap}
.nx-row b{flex:1;min-width:140px}
.nx-topic{display:flex;gap:var(--nx-gap);align-items:center;flex-wrap:wrap;margin:8px 0}
.nx-topic .nx-btn{margin-left:auto}
.nx-obs{display:flex;gap:var(--nx-gap);align-items:center;padding:4px 0;border-top:1px solid var(--nx-border)}
.nx-ov>div{max-width:680px;width:94vw;max-height:90vh;overflow:auto}
.nx-g{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--nx-gap)}
.nx-acts{display:flex;gap:var(--nx-gap);margin-top:10px;flex-wrap:wrap;align-items:center}
@media(min-width:1280px) and (max-width:1699px){
.lay.r{grid-template-columns:minmax(0,1fr)}
.rail{position:static;max-height:none;overflow:visible}
}
.ui-i{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex:none;vertical-align:-.14em;display:inline-block}
.ui-i.up{color:#0f9d63}
.ui-i.dn{color:#d64333}
.ui-i.fill{fill:#f5b301;stroke:#d99a00}
.ui-i.ok{color:#0f9d63}
.hd .ic .ui-i{width:18px;height:18px}
.bn .ic .ui-i{width:22px;height:22px}
.bar button .ui-i{width:14px;height:14px}
.ac button .ui-i{width:15px;height:15px}
.bx b{display:inline-flex;align-items:center;gap:5px}
.bx b .ui-i{width:13px;height:13px}
.lb .ui-i{width:12px;height:12px}
.flow-marker .ui-i{width:13px;height:13px;stroke-width:2.4}
section.pn>h3 .ui-i{width:15px;height:15px;margin-right:4px}
.uidot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:5px;vertical-align:1px;background:#9aa6bb}
.uidot.g{background:#0f9d63}
.uidot.r{background:#d64333}
.uidot.n{background:#9aa6bb}

/* ui-tweaks: banner shows a percentage instead of a progress bar */
.bp{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}
.bp .pct{font-family:var(--font-display);font-size:30px;line-height:1;font-weight:800;letter-spacing:-.03em;color:var(--a)}
.bp small{font-size:11px;color:#75819a}

/* flow */
.stp{font-size:11px;font-weight:800;letter-spacing:.04em;color:var(--a)}
.nx-toast{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:100;padding:8px 14px;border-radius:10px;background:#121a2e;color:#fff;font-size:12px}

/* ===== Filter toolbar: professional grouped pill bar ===== */
.bar{ top:12px; gap:4px; padding:6px; margin:0 0 22px; border:1px solid #e4e8f1; border-radius:14px; background:rgba(255,255,255,.92); box-shadow:0 1px 2px rgba(18,26,46,.04),0 6px 18px rgba(18,26,46,.06); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.bar button{ height:36px; padding:0 14px; gap:7px; border:1px solid transparent; border-radius:10px; background:transparent; color:#53617b; font-size:12.5px; font-weight:600; letter-spacing:0; transition:background .15s,color .15s,border-color .15s,box-shadow .15s; }
.bar button:hover{ background:#f1f4fb; border-color:transparent; color:#121a2e; }
.bar button:active{ transform:translateY(1px); }
.bar button:focus-visible{ outline:2px solid #3b5bdb; outline-offset:1px; }
.bar button.on,.bar button[aria-pressed="true"]{ background:#e9edff; border-color:#cbd5ff; color:#2948c7; box-shadow:inset 0 0 0 1px rgba(59,91,219,.06); }
.bar button.on:hover{ background:#dfe5ff; }
.bar button[data-a="reset"]:hover{ background:#fdeceb; color:#d64333; }
.bar button .ui-i{ width:15px; height:15px; }
.bar-sep{ flex:0 0 1px; align-self:center; width:1px; height:20px; margin:0 6px; background:#e4e8f1; }
.bar [hidden]{ display:none !important; }
.bar.is-edit .bar-sep{ display:none; }
@media(max-width:900px){ .mn{ padding:14px 14px 40px; } .bar{ top:8px; } }

/* ===== Filter bar open/close handle (same style as the sidebar arrow, but horizontal at the top) ===== */
.bar-wrap{ position:sticky; top:12px; z-index:10; margin:0 0 36px; }
.bar-wrap .bar{ position:relative; top:auto; margin:0; }
.bar-toggle{ position:absolute; left:50%; bottom:-22px; transform:translateX(-50%); z-index:2; width:56px; height:22px; padding:0; display:grid; place-items:center; border:1px solid var(--bd); border-top:0; border-radius:0 0 10px 10px; background:#fff; color:#66708a; cursor:pointer; box-shadow:0 4px 10px rgba(18,26,46,.08); }
.bar-toggle:hover{ color:#3b5bdb; border-color:#b9c7ff; }
.bar-toggle:focus-visible{ outline:2px solid #3b5bdb; outline-offset:1px; }
.bar-toggle svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; transition:transform .15s; }
.bar-wrap.is-shut{ top:0; height:0; margin:-20px 0 30px; }
.bar-wrap.is-shut .bar{ display:none; }
.bar-wrap.is-shut .bar-toggle{ top:0; bottom:auto; }
.bar-wrap.is-shut .bar-toggle svg{ transform:rotate(180deg); }
@media(max-width:900px){ .bar-wrap{ top:8px; } .bar-wrap.is-shut{ margin-top:-14px; } }

/* ===== Live date & time (filter bar, right side) ===== */
.bar-wrap{ container-type:inline-size; }
.bar-clock{ margin-left:auto; flex:0 0 auto; display:flex; align-items:center; gap:10px; height:36px; padding:0 14px 0 12px; border-radius:10px; border:1px solid #dbe2ff; background:linear-gradient(135deg,#f6f8ff,#ebefff); color:#2948c7; white-space:nowrap; user-select:none; }
.bc-dot{ width:8px; height:8px; border-radius:50%; background:#0f9d63; box-shadow:0 0 0 0 rgba(15,157,99,.5); animation:bcPulse 2s ease-out infinite; flex:0 0 auto; }
@keyframes bcPulse{ 0%{ box-shadow:0 0 0 0 rgba(15,157,99,.45); } 70%,100%{ box-shadow:0 0 0 7px rgba(15,157,99,0); } }
.bc-date{ font-size:11.5px; font-weight:600; color:#66708a; letter-spacing:0; }
.bc-sep{ width:1px; height:16px; background:#cfd8f6; }
.bc-time{ display:inline-flex; align-items:baseline; gap:4px; font-family:var(--font-display); font-size:15px; font-weight:800; letter-spacing:.01em; color:#2948c7; font-variant-numeric:tabular-nums; }
.bc-time small{ font-size:10px; font-weight:700; color:#66708a; letter-spacing:.04em; }
.bc-time small:empty{ display:none; }
@container (max-width:900px){ .bc-date,.bc-sep{ display:none; } }
@media(prefers-reduced-motion:reduce){ .bc-dot{ animation:none; } }
@container (max-width:1020px){
  .bar button{ padding:0 9px; gap:5px; font-size:12px; }
  .bar-sep{ display:none; }
  .bar-clock{ padding:0 10px; gap:7px; }
  .bar{ flex-wrap:wrap; row-gap:4px; overflow:visible; }
}

/* ===== Clock is a button: click to browse saved days ===== */
.bar-clock{ cursor:pointer; transition:border-color .15s,box-shadow .15s,background .15s; }
.bar-clock:hover{ border-color:#b9c7ff; box-shadow:0 2px 10px rgba(59,91,219,.15); }
.bar-clock:focus-visible{ outline:2px solid #3b5bdb; outline-offset:2px; }
.bar-clock[aria-expanded="true"]{ border-color:#3b5bdb; background:#e9edff; }
.bc-cal{ width:15px; height:15px; fill:none; stroke:#66708a; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex:0 0 auto; }
.bar-clock:hover .bc-cal{ stroke:#3b5bdb; }
.bc-view{ padding:2px 8px; border-radius:99px; background:#fff3d6; color:#8a5a00; font-size:11px; font-weight:700; }
.bc-view[hidden]{ display:none; }
.bar-clock.is-past{ border-color:#f1d28a; background:linear-gradient(135deg,#fffaf0,#fff3d6); }
@container (max-width:900px){ .bc-view{ display:none; } }

/* ===== Calendar popover ===== */
.dh{ position:fixed; z-index:70; max-height:calc(100vh - 90px); display:flex; flex-direction:column; background:#fff; border:1px solid #e4e8f1; border-radius:16px; box-shadow:0 18px 50px rgba(18,26,46,.22); padding:12px; color:#121a2e; font-size:13px; }
.dh-head{ display:flex; align-items:center; gap:6px; margin-bottom:8px; }
.dh-head b{ flex:1; text-align:center; font-size:14px; }
.dh-nav,.dh-today{ border:1px solid #e4e8f1; background:#fff; border-radius:9px; height:30px; cursor:pointer; color:#53617b; font:inherit; }
.dh-nav{ width:30px; font-size:18px; line-height:1; }
.dh-today{ padding:0 10px; font-size:12px; font-weight:600; }
.dh-nav:hover,.dh-today:hover{ background:#f1f4fb; color:#2948c7; border-color:#cbd5ff; }
.dh-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:3px; text-align:center; }
.dh-grid i{ font-style:normal; font-size:10.5px; font-weight:700; color:#8a94ab; padding:2px 0 4px; }
.dh-d{ position:relative; height:34px; border:1px solid transparent; border-radius:10px; background:transparent; cursor:pointer; font:inherit; font-size:12.5px; color:#2a3550; }
.dh-d:hover{ background:#f1f4fb; }
.dh-d.is-today{ border-color:#cbd5ff; font-weight:800; color:#2948c7; }
.dh-d.is-sel{ background:#3b5bdb; border-color:#3b5bdb; color:#fff; }
.dh-d.has::after{ content:""; position:absolute; left:50%; bottom:3px; width:5px; height:5px; margin-left:-2.5px; border-radius:50%; background:#3b5bdb; }
.dh-d.has.done::after{ background:#0f9d63; }
.dh-d.is-sel.has::after{ background:#fff; }
.dh-sum{ display:flex; justify-content:space-between; align-items:baseline; gap:8px; margin:10px 2px 6px; padding-top:10px; border-top:1px solid #eef1f7; }
.dh-sum b{ font-size:13px; } .dh-sum span{ color:#66708a; font-size:11.5px; white-space:nowrap; }
.dh-list{ list-style:none; margin:0; padding:0; overflow:auto; min-height:48px; max-height:260px; display:flex; flex-direction:column; gap:6px; }
.dh-none{ padding:14px 8px; text-align:center; color:#8a94ab; }
.dh-it{ width:100%; text-align:left; display:block; padding:8px 10px; border:1px solid #e4e8f1; border-radius:10px; background:#fafbfe; cursor:pointer; font:inherit; color:inherit; }
.dh-it:hover{ border-color:#b9c7ff; background:#f4f6ff; }
.dh-it-h{ display:flex; justify-content:space-between; gap:8px; align-items:center; } .dh-it-h b{ font-size:12.5px; }
.dh-it small{ display:block; color:#8a94ab; font-size:11px; margin-top:1px; }
.dh-it-n{ display:block; margin-top:4px; color:#3d4963; font-size:12px; line-height:1.4; }
.dh-it-n.is-empty{ color:#8a94ab; font-style:italic; }
.dh-foot{ margin-top:8px; text-align:center; color:#8a94ab; font-size:11px; }

/* ===== Premium Focus button (Execution Matrix cards) ===== */
.fx-btn{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 11px 0 9px;border-radius:999px;border:1px solid #d9e0ff;background:linear-gradient(180deg,#fff,#f3f5ff);color:#2f49b8;font:600 11.5px/1 var(--font);letter-spacing:.01em;cursor:pointer;box-shadow:0 1px 2px rgba(59,91,219,.08),inset 0 1px 0 #fff;transition:background .18s,color .18s,border-color .18s,box-shadow .18s,transform .18s}
.fx-btn svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.fx-btn circle{fill:currentColor;stroke:none}
.fx-btn:hover{background:linear-gradient(135deg,#4a6af0,#3b5bdb);border-color:#3b5bdb;color:#fff;box-shadow:0 4px 12px rgba(59,91,219,.28);transform:translateY(-1px)}
.fx-btn:hover svg{transform:scale(1.12)}
.fx-btn:active{transform:translateY(0);box-shadow:0 1px 3px rgba(59,91,219,.25)}
.fx-btn:focus-visible{outline:2px solid #3b5bdb;outline-offset:2px}
