
/* OPS Gate Business Theme Alignment - 2026-06-29 */
.ops-business-page,
.ops-project-timeline-admin,
.ops-clients,
.ops-announcements-hub{
  max-width:1540px;
  margin:0 auto;
  padding:.25rem .25rem 1.4rem;
  color:#0f172a;
}
.ops-business-hero,
.ops-timeline-hero,
.ops-business-panel,
.ops-timeline-panel,
.ops-business-stat,
.ops-timeline-stat,
.ops-module-panel,
.ops-people-stat{
  background:rgba(255,255,255,.98)!important;
  border:1px solid rgba(203,213,225,.88)!important;
  box-shadow:0 14px 34px rgba(15,23,42,.07)!important;
  border-radius:18px!important;
}
.ops-business-hero,
.ops-timeline-hero{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  padding:1.15rem 1.25rem;
  margin-bottom:1rem;
}
.ops-business-eyebrow,
.ops-timeline-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:#eef4ff;
  color:#1d4ed8;
  border-radius:999px;
  padding:.36rem .72rem;
  font-size:.75rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.05em;
  margin-bottom:.55rem;
}
.ops-business-hero h2,.ops-timeline-hero h2{margin:0;font-weight:950;font-size:clamp(1.5rem,2.7vw,2.2rem)}
.ops-business-hero p,.ops-timeline-hero p{margin:.35rem 0 0;color:#64748b;max-width:920px}
.ops-business-stat,.ops-timeline-stat,.ops-people-stat{padding:1rem;min-height:110px}
.ops-business-stat i,.ops-timeline-stat i,.ops-people-stat i{color:#2563eb;font-size:1.18rem}
.ops-business-stat span,.ops-timeline-stat span,.ops-people-stat span{display:block;color:#64748b;font-weight:800;font-size:.85rem;margin-top:.35rem}
.ops-business-stat strong,.ops-timeline-stat strong,.ops-people-stat strong{display:block;font-size:2rem;line-height:1.1;font-weight:950;color:#0f172a;margin-top:.2rem}
.ops-business-panel,.ops-timeline-panel{padding:1.12rem;min-width:0}
.ops-business-table-wrap,.ops-timeline-table-wrap{border:1px solid rgba(203,213,225,.88);border-radius:16px;overflow:auto;background:#fff}
.ops-business-table th,.ops-timeline-table th,.ops-module-panel table th{background:#f8fafc;color:#475569;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}
.ops-business-table td,.ops-timeline-table td,.ops-module-panel table td{vertical-align:middle;color:#0f172a}
.ops-business-actions,.ops-timeline-actions{display:inline-flex;gap:.35rem;justify-content:flex-end;white-space:nowrap}
.ops-business-actions .btn,.ops-timeline-actions .btn{display:inline-grid;place-items:center;min-width:32px;width:32px;height:32px;padding:.25rem}
.ops-module-panel .card-header{background:rgba(248,250,252,.95);border-bottom:1px solid rgba(203,213,225,.88);border-radius:18px 18px 0 0!important;padding:1rem 1.15rem}
.ops-module-panel .table-responsive{border-radius:0 0 18px 18px}
.ops-project-timeline-btn{border-color:#93c5fd!important;color:#2563eb!important;background:#eff6ff!important}
.ops-project-timeline-btn:hover{background:#2563eb!important;color:#fff!important;border-color:#2563eb!important}
.ops-timeline-progress{height:10px;border-radius:999px;background:#e2e8f0;overflow:hidden;min-width:110px}
.ops-timeline-progress > span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#0ea5e9)}
.ops-timeline-pill{display:inline-flex;align-items:center;gap:.3rem;border-radius:999px;padding:.28rem .58rem;font-size:.76rem;font-weight:900;background:#f8fafc;border:1px solid rgba(203,213,225,.88);color:#475569}
.ops-timeline-pill.is-done{background:#dcfce7;color:#166534;border-color:#bbf7d0}.ops-timeline-pill.is-risk{background:#fef3c7;color:#92400e;border-color:#fde68a}.ops-timeline-pill.is-blocked{background:#fee2e2;color:#991b1b;border-color:#fecaca}.ops-timeline-pill.is-progress{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe}
.ops-timeline-list{position:relative;padding-left:1.35rem}.ops-timeline-list:before{content:"";position:absolute;left:.55rem;top:.25rem;bottom:.25rem;width:2px;background:linear-gradient(#2563eb,#e2e8f0)}
.ops-timeline-node{position:relative;background:#fff;border:1px solid rgba(203,213,225,.9);border-radius:18px;padding:1rem;margin-bottom:.9rem;box-shadow:0 12px 28px rgba(15,23,42,.06);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.ops-timeline-node:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(15,23,42,.1)}
.ops-timeline-node:before{content:"";position:absolute;left:-1.15rem;top:1.15rem;width:14px;height:14px;border-radius:999px;background:#2563eb;border:3px solid #fff;box-shadow:0 0 0 2px #bfdbfe}
html[data-ops-theme="dark"] .ops-business-page,html[data-ops-theme="dark"] .ops-project-timeline-admin,html[data-ops-theme="dark"] .ops-clients,html[data-ops-theme="dark"] .ops-announcements-hub{color:#e2e8f0}
html[data-ops-theme="dark"] .ops-business-hero,html[data-ops-theme="dark"] .ops-timeline-hero,html[data-ops-theme="dark"] .ops-business-panel,html[data-ops-theme="dark"] .ops-timeline-panel,html[data-ops-theme="dark"] .ops-business-stat,html[data-ops-theme="dark"] .ops-timeline-stat,html[data-ops-theme="dark"] .ops-module-panel,html[data-ops-theme="dark"] .ops-people-stat,html[data-ops-theme="dark"] .ops-timeline-node{background:rgba(15,23,42,.95)!important;border-color:rgba(71,85,105,.86)!important;box-shadow:0 18px 42px rgba(2,6,23,.42)!important}
html[data-ops-theme="dark"] .ops-business-hero h2,html[data-ops-theme="dark"] .ops-timeline-hero h2,html[data-ops-theme="dark"] .ops-business-stat strong,html[data-ops-theme="dark"] .ops-timeline-stat strong,html[data-ops-theme="dark"] .ops-module-panel table td,html[data-ops-theme="dark"] .ops-timeline-table td{color:#f8fafc}
html[data-ops-theme="dark"] .ops-business-hero p,html[data-ops-theme="dark"] .ops-timeline-hero p,html[data-ops-theme="dark"] .ops-business-stat span,html[data-ops-theme="dark"] .ops-timeline-stat span{color:#cbd5e1}
html[data-ops-theme="dark"] .ops-business-table-wrap,html[data-ops-theme="dark"] .ops-timeline-table-wrap{background:#0f172a;border-color:rgba(71,85,105,.86)}
html[data-ops-theme="dark"] .ops-business-table th,html[data-ops-theme="dark"] .ops-timeline-table th,html[data-ops-theme="dark"] .ops-module-panel table th{background:#111827;color:#cbd5e1}
@media(max-width:767px){.ops-business-page,.ops-project-timeline-admin,.ops-clients,.ops-announcements-hub{padding:0}.ops-business-hero,.ops-timeline-hero,.ops-business-panel,.ops-timeline-panel{padding:1rem;border-radius:16px}}


/* Project timeline type layouts */
.ops-timeline-visual-shell{background:#fff;border:1px solid rgba(203,213,225,.88);border-radius:20px;padding:1.15rem;min-height:260px;overflow:auto;position:relative}
.ops-timeline-type-switch{max-width:100%;overflow:auto}.ops-timeline-type-switch .btn{white-space:nowrap}
.ops-timeline-hover-detail{display:none;position:absolute;z-index:8;max-width:360px;background:#0f172a;color:#fff;border-radius:16px;padding:.85rem;box-shadow:0 22px 52px rgba(15,23,42,.24);font-size:.82rem;line-height:1.55}.ops-timeline-node:hover .ops-timeline-hover-detail,.ops-timeline-h-node:hover .ops-timeline-hover-detail,.ops-timeline-month-item:hover .ops-timeline-hover-detail,.ops-timeline-gantt-row:hover .ops-timeline-hover-detail,.ops-timeline-stage-card:hover .ops-timeline-hover-detail{display:block}
/* Horizontal timeline: fixed-column scroll layout to avoid overlapping task labels */
.ops-timeline-horizontal{--node-width:230px;--timeline-count:1;position:relative;display:grid;grid-template-rows:minmax(124px,auto) 44px minmax(124px,auto);grid-auto-columns:var(--node-width);grid-auto-flow:column;align-items:center;min-height:360px;min-width:max(760px,calc(var(--timeline-count) * var(--node-width)));padding:1rem 1rem 1.25rem;overflow:visible}
.ops-timeline-horizontal-line{grid-row:2;align-self:center;height:8px;border-radius:999px;background:linear-gradient(90deg,#4f46e5,#0ea5e9,#22c55e);box-shadow:0 12px 30px rgba(37,99,235,.2);z-index:1;margin:0 16px}
.ops-timeline-h-node{position:relative;grid-row:1;border:0;background:transparent;width:calc(var(--node-width) - 26px);min-width:0;max-width:none;text-align:center;color:#0f172a;justify-self:center;align-self:end;padding:.25rem .2rem;white-space:normal;z-index:2;cursor:pointer}
.ops-timeline-h-node.is-bottom{grid-row:3;align-self:start}
.ops-timeline-h-node .dot{display:block;width:30px;height:30px;margin:0 auto .4rem;border-radius:999px;background:#fff;border:7px solid #2563eb;box-shadow:0 0 0 4px #dbeafe}
.ops-timeline-h-node strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.92rem;line-height:1.18;font-weight:950;min-height:2.2em;word-break:break-word}
.ops-timeline-h-node small,.ops-timeline-h-node em{display:block}.ops-timeline-h-node small{color:#475569;margin-top:.2rem}.ops-timeline-h-node em{font-style:normal;font-weight:900;color:#2563eb;margin-top:.1rem}
.ops-timeline-h-node:before{content:"";position:absolute;left:50%;width:2px;height:34px;background:#cbd5e1;transform:translateX(-50%);z-index:-1}.ops-timeline-h-node.is-top:before{top:calc(100% + 5px)}.ops-timeline-h-node.is-bottom:before{bottom:calc(100% + 5px)}
.ops-timeline-h-node:hover strong{color:#1d4ed8}.ops-timeline-h-node:hover .dot{box-shadow:0 0 0 6px #bfdbfe}
.ops-timeline-monthly{min-width:820px}.ops-timeline-month-row{display:grid;grid-template-columns:repeat(12,1fr);background:#0f172a;color:#fff;border-radius:14px;overflow:hidden}.ops-timeline-month-row span{text-align:center;padding:.8rem .3rem;font-weight:900;font-size:.78rem;border-inline-end:1px solid rgba(255,255,255,.18)}.ops-timeline-month-items{display:grid;grid-template-columns:repeat(12,1fr);gap:.75rem;padding:1.1rem 0}.ops-timeline-month-item{grid-column:calc(var(--m) + 1);background:#fff;border:1px solid #dbe7f6;border-radius:16px;padding:.8rem;box-shadow:0 12px 28px rgba(15,23,42,.06);position:relative}.ops-timeline-month-item strong,.ops-timeline-month-item small{display:block}
.ops-timeline-gantt{min-width:860px}.ops-timeline-gantt-head,.ops-timeline-gantt-row{display:grid;grid-template-columns:230px 1fr;gap:1rem;align-items:center}.ops-timeline-gantt-head{font-size:.76rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;color:#64748b;padding:.5rem 0;border-bottom:1px solid #e2e8f0}.ops-timeline-gantt-row{position:relative;padding:.55rem 0;border-bottom:1px solid #e2e8f0}.ops-timeline-gantt-row small{display:block;color:#64748b}.ops-timeline-gantt .bar-wrap{position:relative;height:32px;background:repeating-linear-gradient(90deg,#f8fafc,#f8fafc 90px,#e2e8f0 91px);border-radius:999px;overflow:hidden}.ops-timeline-gantt .bar{position:absolute;top:5px;bottom:5px;border-radius:999px;background:linear-gradient(90deg,#2563eb,#0ea5e9);color:#fff;font-weight:900;font-size:.72rem;display:flex;align-items:center;justify-content:center}.ops-timeline-gantt .bar.is-done{background:#16a34a}.ops-timeline-gantt .bar.is-risk{background:#f59e0b}.ops-timeline-gantt .bar.is-blocked{background:#ef4444}
.ops-timeline-stages{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;position:relative}.ops-timeline-stage-card{position:relative;background:#fff;border:1px solid #dbe7f6;border-radius:22px;padding:1rem;box-shadow:0 14px 32px rgba(15,23,42,.08)}.ops-timeline-stage-card:after{content:"";position:absolute;right:-18px;top:50%;transform:translateY(-50%);width:0;height:0;border-top:18px solid transparent;border-bottom:18px solid transparent;border-left:18px solid #dbeafe}.ops-timeline-stage-card:last-child:after{display:none}.ops-timeline-stage-card span{display:inline-flex;background:#eef2ff;color:#3730a3;border-radius:999px;padding:.35rem .65rem;font-size:.75rem;font-weight:900}.ops-timeline-stage-card h5{font-weight:950;margin:.7rem 0 .35rem}.ops-timeline-stage-card p{color:#64748b;min-height:42px}
html[data-ops-theme="dark"] .ops-timeline-visual-shell,html[data-ops-theme="dark"] .ops-timeline-month-item,html[data-ops-theme="dark"] .ops-timeline-stage-card{background:rgba(15,23,42,.95);border-color:rgba(71,85,105,.86);color:#f8fafc}html[data-ops-theme="dark"] .ops-timeline-h-node{color:#f8fafc}html[data-ops-theme="dark"] .ops-timeline-gantt .bar-wrap{background:#111827}
@media(max-width:767px){.ops-timeline-horizontal{--node-width:210px;min-width:max(720px,calc(var(--timeline-count) * var(--node-width)))}.ops-timeline-visual-shell{padding:.9rem}.ops-timeline-gantt{min-width:720px}}


/* OPS Gate Project Timeline Interaction + Horizontal Alignment Fix - 2026-06-29 */
.ops-timeline-visual-shell{overflow:auto;scrollbar-width:thin;}
.ops-timeline-node{display:block;width:100%;text-align:start;}
.ops-timeline-click-hint{display:inline-flex;align-items:center;gap:.28rem;margin-top:.55rem;font-size:.72rem;font-weight:900;color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:999px;padding:.24rem .52rem;}
.ops-timeline-horizontal{--node-width:250px;--timeline-count:1;position:relative;display:flex!important;gap:1.15rem;align-items:stretch;min-height:390px;min-width:max(820px,calc(var(--timeline-count) * var(--node-width) + (var(--timeline-count) - 1) * 1.15rem));padding:1.25rem 1.25rem 1.35rem;overflow:visible;}
.ops-timeline-horizontal::before{content:"";position:absolute;left:calc(var(--node-width) / 2 + 1.25rem);right:calc(var(--node-width) / 2 + 1.25rem);top:50%;height:8px;border-radius:999px;background:linear-gradient(90deg,#4f46e5,#0ea5e9,#22c55e);box-shadow:0 12px 30px rgba(37,99,235,.20);transform:translateY(-50%);z-index:1;}
.ops-timeline-horizontal-line{display:none!important;}
.ops-timeline-h-col{position:relative;flex:0 0 var(--node-width);width:var(--node-width);min-height:350px;display:grid;grid-template-rows:1fr 38px 1fr;justify-items:center;align-items:center;z-index:2;}
.ops-timeline-h-dot{grid-row:2;display:block;width:34px;height:34px;border-radius:999px;background:#fff;border:8px solid #2563eb;box-shadow:0 0 0 5px #dbeafe,0 12px 24px rgba(37,99,235,.18);z-index:3;}
.ops-timeline-h-col::after{content:"";position:absolute;left:50%;width:2px;height:58px;background:linear-gradient(#cbd5e1,#94a3b8);transform:translateX(-50%);z-index:1;}
.ops-timeline-h-col.is-top::after{top:calc(50% - 58px);}
.ops-timeline-h-col.is-bottom::after{top:50%;}
.ops-timeline-h-node{position:relative!important;grid-column:auto!important;left:auto!important;top:auto!important;transform:none!important;margin:0!important;width:calc(var(--node-width) - 18px);min-height:126px;border:1px solid rgba(203,213,225,.95);border-radius:18px;background:#fff;padding:.85rem .8rem;text-align:center;box-shadow:0 14px 34px rgba(15,23,42,.08);cursor:pointer;z-index:4;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;}
.ops-timeline-h-col.is-top .ops-timeline-h-node{grid-row:1;align-self:end;margin-bottom:1rem!important;}
.ops-timeline-h-col.is-bottom .ops-timeline-h-node{grid-row:3;align-self:start;margin-top:1rem!important;}
.ops-timeline-h-node .dot,.ops-timeline-h-node:before{display:none!important;}
.ops-timeline-h-node:hover{transform:translateY(-3px)!important;box-shadow:0 22px 48px rgba(15,23,42,.14);border-color:#93c5fd;}
.ops-timeline-h-node strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:.95rem;line-height:1.22;font-weight:950;min-height:2.35em;color:#0f172a;word-break:break-word;}
.ops-timeline-h-node small,.ops-timeline-h-node em{display:block}.ops-timeline-h-node small{color:#64748b;margin-top:.32rem}.ops-timeline-h-node em{font-style:normal;font-weight:950;color:#2563eb;margin-top:.15rem}
.ops-timeline-hover-detail{pointer-events:none;display:block;opacity:0;visibility:hidden;position:absolute;z-index:30;inset:auto auto calc(100% + 10px) 50%;transform:translateX(-50%) translateY(6px);max-width:380px;min-width:270px;background:#0f172a;color:#fff;border-radius:16px;padding:.9rem;box-shadow:0 24px 56px rgba(15,23,42,.28);font-size:.82rem;line-height:1.55;text-align:start;transition:opacity .16s ease,visibility .16s ease,transform .16s ease;}
.ops-timeline-h-col.is-top .ops-timeline-hover-detail{bottom:calc(100% + 10px);top:auto;}
.ops-timeline-h-col.is-bottom .ops-timeline-hover-detail{top:calc(100% + 10px);bottom:auto;}
.ops-timeline-node:hover .ops-timeline-hover-detail,.ops-timeline-h-node:hover .ops-timeline-hover-detail,.ops-timeline-month-item:hover .ops-timeline-hover-detail,.ops-timeline-gantt-row:hover .ops-timeline-hover-detail,.ops-timeline-stage-card:hover .ops-timeline-hover-detail{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0);}
.ops-timeline-detail-modal .modal-body{background:linear-gradient(180deg,#f8fafc,#fff);}
.ops-timeline-detail-head{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem;}
.ops-timeline-detail-head h3{margin:0;font-weight:950;color:#0f172a;}.ops-timeline-detail-head p{margin:.25rem 0 0;color:#64748b;}
.ops-timeline-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;}
.ops-timeline-detail-section{background:#fff;border:1px solid rgba(203,213,225,.9);border-radius:16px;padding:.85rem;box-shadow:0 10px 24px rgba(15,23,42,.05);}
.ops-timeline-detail-label{display:flex;align-items:center;gap:.4rem;font-size:.76rem;font-weight:950;text-transform:uppercase;letter-spacing:.04em;color:#475569;margin-bottom:.35rem;}.ops-timeline-detail-value{color:#0f172a;line-height:1.65;white-space:normal;}
html[data-ops-theme="dark"] .ops-timeline-h-node,html[data-ops-theme="dark"] .ops-timeline-detail-section{background:#0f172a;border-color:rgba(71,85,105,.86);}html[data-ops-theme="dark"] .ops-timeline-h-node strong,html[data-ops-theme="dark"] .ops-timeline-detail-head h3,html[data-ops-theme="dark"] .ops-timeline-detail-value{color:#f8fafc;}html[data-ops-theme="dark"] .ops-timeline-detail-modal .modal-body{background:#111827;}
@media(max-width:767px){.ops-timeline-horizontal{--node-width:225px;min-width:max(760px,calc(var(--timeline-count) * var(--node-width) + (var(--timeline-count) - 1) * 1rem));}.ops-timeline-detail-grid{grid-template-columns:1fr;}.ops-timeline-hover-detail{display:none!important;}}


/* Timeline overflow + monthly readability hotfix - 2026-06-29
   Keeps hover details visible by using a viewport-level hover portal, and gives
   monthly roadmap cards enough room with horizontal scrolling where needed. */
.ops-timeline-visual-shell{
  position:relative!important;
  overflow:auto!important;
  overflow-y:visible!important;
  padding:1.35rem!important;
}
.ops-timeline-panel,
.ops-project-timeline-admin,
.ops-business-page{
  overflow:visible!important;
}
.ops-timeline-hover-detail{
  display:none!important;
}
.ops-timeline-hover-portal{
  position:fixed;
  z-index:2147483000;
  width:min(460px,calc(100vw - 28px));
  max-height:min(72vh,520px);
  overflow:auto;
  background:#0f172a;
  color:#fff;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:1rem 1.05rem;
  box-shadow:0 28px 76px rgba(15,23,42,.42);
  font-size:.88rem;
  line-height:1.65;
  text-align:start;
  pointer-events:none;
}
.ops-timeline-hover-portal div + div{margin-top:.35rem}
.ops-timeline-hover-portal strong{color:#e0f2fe}
.ops-timeline-monthly{
  min-width:1180px!important;
  width:max-content;
  padding:1rem .25rem 1.6rem;
}
.ops-timeline-month-row{
  min-width:1180px;
  border-radius:18px!important;
}
.ops-timeline-month-row span{
  min-width:96px;
  padding:1rem .55rem!important;
  font-size:.84rem!important;
}
.ops-timeline-month-items{
  min-width:1180px;
  gap:1rem!important;
  padding:1.35rem .15rem 1.85rem!important;
  align-items:start;
}
.ops-timeline-month-item{
  min-width:190px;
  padding:1rem!important;
  border-radius:18px!important;
  line-height:1.45;
}
.ops-timeline-month-item strong{
  display:block;
  font-size:.95rem;
  line-height:1.28;
  margin-bottom:.35rem;
  white-space:normal;
  word-break:break-word;
}
.ops-timeline-month-item small{
  display:block;
  line-height:1.45;
  color:#64748b;
}
.ops-timeline-month-item .ops-timeline-click-hint{
  margin-top:.65rem;
}
.ops-timeline-horizontal,
.ops-timeline-gantt,
.ops-timeline-stages{
  overflow:visible!important;
}
@media(max-width:767px){
  .ops-timeline-hover-portal{display:none!important}
  .ops-timeline-monthly,.ops-timeline-month-row,.ops-timeline-month-items{min-width:980px!important}
  .ops-timeline-month-item{min-width:170px}
}


/* Project Timeline password, full-width panels, and compact monthly view - 2026-06-29 */
.ops-timeline-fullwidth-layout > .col-12 { width: 100%; }
.ops-project-timeline-admin .ops-timeline-panel { width: 100%; }
.ops-timeline-password-settings { background: #f8fafc; border: 1px solid #dbe7f6; border-radius: 18px; padding: 1rem; }
.ops-timeline-password-settings .input-group .form-control { min-height: 46px; }
.ops-timeline-visual-shell, .ops-timeline-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; overflow-y: visible; }
.ops-timeline-visual-shell .monthly { min-width: 920px !important; width: max-content; padding: .85rem .2rem 1.2rem !important; }
.ops-timeline-visual-shell .month-row { min-width: 920px !important; }
.ops-timeline-visual-shell .month-row span { min-width: 74px !important; padding: .75rem .35rem !important; font-size: .78rem !important; }
.ops-timeline-visual-shell .month-items { min-width: 920px !important; gap: .65rem !important; padding: 1rem .1rem 1.25rem !important; }
.ops-timeline-visual-shell .month-item { min-width: 145px !important; padding: .75rem !important; border-radius: 15px !important; }
.ops-timeline-visual-shell .month-item strong { font-size: .84rem !important; line-height: 1.25 !important; }
@media (max-width: 767px) {
  .ops-timeline-visual-shell .monthly,
  .ops-timeline-visual-shell .month-row,
  .ops-timeline-visual-shell .month-items { min-width: 860px !important; }
}


/* Project Timeline admin tabs + compact monthly/live width - 2026-06-29 */
.ops-timeline-admin-tabs{display:flex;flex-wrap:nowrap;gap:.65rem;overflow-x:auto;padding:.75rem;background:rgba(255,255,255,.92);border:1px solid rgba(203,213,225,.88);border-radius:22px;box-shadow:0 16px 38px rgba(15,23,42,.07);scrollbar-width:thin;}
.ops-timeline-admin-tabs .nav-link{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;white-space:nowrap;border-radius:16px;color:#334155;font-weight:900;padding:.72rem 1rem;}
.ops-timeline-admin-tabs .nav-link.active{background:#2563eb;color:#fff;box-shadow:0 12px 28px rgba(37,99,235,.22);}
.ops-timeline-admin-tab-content{width:100%;}.ops-timeline-admin-tab-content>.tab-pane{width:100%;}.ops-project-timeline-admin .ops-timeline-panel{width:100%;}.ops-timeline-visual-shell,.ops-timeline-table-wrap{width:100%;max-width:100%;overflow-x:auto;overflow-y:visible;}
.ops-timeline-visual-shell .ops-timeline-monthly,.ops-timeline-monthly{min-width:780px!important;width:max-content;padding:.65rem .15rem 1rem!important;}
.ops-timeline-visual-shell .ops-timeline-month-row,.ops-timeline-month-row{min-width:780px!important;border-radius:14px!important;}
.ops-timeline-visual-shell .ops-timeline-month-row span,.ops-timeline-month-row span{min-width:60px!important;padding:.62rem .25rem!important;font-size:.72rem!important;}
.ops-timeline-visual-shell .ops-timeline-month-items,.ops-timeline-month-items{min-width:780px!important;gap:.5rem!important;padding:.8rem .05rem 1rem!important;align-items:start;}
.ops-timeline-visual-shell .ops-timeline-month-item,.ops-timeline-month-item{min-width:118px!important;padding:.62rem!important;border-radius:13px!important;line-height:1.32;}
.ops-timeline-visual-shell .ops-timeline-month-item strong,.ops-timeline-month-item strong{font-size:.78rem!important;line-height:1.18!important;margin-bottom:.2rem!important;}
.ops-timeline-visual-shell .ops-timeline-month-item small,.ops-timeline-month-item small{font-size:.72rem!important;line-height:1.2!important;}
.ops-timeline-visual-shell .ops-timeline-click-hint{font-size:.68rem;padding:4px 7px;margin-top:.45rem;}
html[data-ops-theme="dark"] .ops-timeline-admin-tabs{background:#0f172a;border-color:rgba(71,85,105,.86)}html[data-ops-theme="dark"] .ops-timeline-admin-tabs .nav-link{color:#cbd5e1}html[data-ops-theme="dark"] .ops-timeline-admin-tabs .nav-link.active{color:#fff}
@media(max-width:767px){.ops-timeline-admin-tabs{padding:.55rem;gap:.45rem}.ops-timeline-admin-tabs .nav-link{padding:.62rem .8rem;font-size:.86rem}.ops-timeline-visual-shell .ops-timeline-monthly,.ops-timeline-visual-shell .ops-timeline-month-row,.ops-timeline-visual-shell .ops-timeline-month-items,.ops-timeline-monthly,.ops-timeline-month-row,.ops-timeline-month-items{min-width:720px!important}.ops-timeline-month-item{min-width:108px!important}}


/* Project Timeline monthly compact columns + borders/coloring - 2026-06-29 */
.ops-timeline-visual-shell .ops-timeline-monthly,.ops-timeline-monthly{min-width:640px!important;width:max-content!important;padding:.55rem .08rem .85rem!important;}
.ops-timeline-visual-shell .ops-timeline-month-row,.ops-timeline-month-row{min-width:640px!important;display:grid!important;grid-template-columns:repeat(12,minmax(48px,1fr))!important;border:1px solid #bfdbfe!important;border-radius:14px 14px 0 0!important;background:#f8fafc!important;color:#0f172a!important;overflow:hidden!important;}
.ops-timeline-visual-shell .ops-timeline-month-row span,.ops-timeline-month-row span{min-width:0!important;padding:.48rem .18rem!important;font-size:.68rem!important;font-weight:950!important;border-inline-end:1px solid #bfdbfe!important;text-align:center!important;}
.ops-timeline-month-row span:nth-child(odd){background:#eff6ff!important;color:#1d4ed8!important;}
.ops-timeline-month-row span:nth-child(even){background:#ecfeff!important;color:#0369a1!important;}
.ops-timeline-visual-shell .ops-timeline-month-items,.ops-timeline-month-items{min-width:640px!important;display:grid!important;grid-template-columns:repeat(12,minmax(48px,1fr))!important;gap:.38rem!important;padding:.65rem .38rem .85rem!important;border:1px solid #dbeafe!important;border-top:0!important;border-radius:0 0 14px 14px!important;background:linear-gradient(180deg,#ffffff,#f8fafc)!important;align-items:start!important;}
.ops-timeline-visual-shell .ops-timeline-month-item,.ops-timeline-month-item{min-width:0!important;width:100%!important;padding:.48rem!important;border-radius:10px!important;border:1px solid #cbd5e1!important;border-inline-start:4px solid #3b82f6!important;background:#fff!important;box-shadow:0 8px 18px rgba(15,23,42,.06)!important;line-height:1.22!important;}
.ops-timeline-visual-shell .ops-timeline-month-item strong,.ops-timeline-month-item strong{font-size:.7rem!important;line-height:1.15!important;margin-bottom:.18rem!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.ops-timeline-visual-shell .ops-timeline-month-item small,.ops-timeline-month-item small{font-size:.64rem!important;line-height:1.15!important;color:#64748b!important;}
.ops-timeline-visual-shell .ops-timeline-month-item .ops-timeline-click-hint,.ops-timeline-month-item .ops-timeline-click-hint{font-size:.62rem!important;padding:3px 5px!important;margin-top:.3rem!important;}
.ops-timeline-month-item.is-done{background:#f0fdf4!important;border-color:#bbf7d0!important;border-inline-start-color:#16a34a!important;}
.ops-timeline-month-item.is-blocked{background:#fef2f2!important;border-color:#fecaca!important;border-inline-start-color:#dc2626!important;}
.ops-timeline-month-item.is-risk{background:#fffbeb!important;border-color:#fde68a!important;border-inline-start-color:#d97706!important;}
.ops-timeline-month-item.is-progress{background:#eff6ff!important;border-color:#bfdbfe!important;border-inline-start-color:#2563eb!important;}
html[data-ops-theme="dark"] .ops-timeline-month-row{border-color:rgba(96,165,250,.45)!important;background:#0f172a!important;}
html[data-ops-theme="dark"] .ops-timeline-month-row span:nth-child(odd){background:#172554!important;color:#bfdbfe!important;}
html[data-ops-theme="dark"] .ops-timeline-month-row span:nth-child(even){background:#083344!important;color:#a5f3fc!important;}
html[data-ops-theme="dark"] .ops-timeline-month-items{background:linear-gradient(180deg,#0f172a,#111827)!important;border-color:rgba(96,165,250,.35)!important;}
@media(max-width:767px){.ops-timeline-visual-shell .ops-timeline-monthly,.ops-timeline-visual-shell .ops-timeline-month-row,.ops-timeline-visual-shell .ops-timeline-month-items,.ops-timeline-monthly,.ops-timeline-month-row,.ops-timeline-month-items{min-width:620px!important}.ops-timeline-month-row,.ops-timeline-month-items{grid-template-columns:repeat(12,minmax(46px,1fr))!important}}
