/* ORICC_COCKPIT_V1_5_1 */

/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --orix-bg:#0b1320;
  --orix-card:#111c2d;
  --orix-card2:#152238;
  --orix-border:#293a59;

  --orix-text:#eef4ff;
  --orix-muted:#9aabc4;

  --orix-green:#45da91;
  --orix-amber:#ffb347;
  --orix-red:#ff676d;
  --orix-blue:#68b7ff;
  --orix-orange:#ff824f;
}

/* =========================================================
   IMPORTANT
   Restore original Summary dashboard
   ========================================================= */

.oricc-source-hidden,
.oricc-source-block {
  display:revert !important;
}

/* =========================================================
   GENERIC ADDITIVE ENHANCEMENTS
   ========================================================= */

.orix-addon {
  margin-top:12px;
}

.orix-human-box {
  padding:12px 14px;

  border:1px solid rgba(104,183,255,.18);
  border-radius:14px;

  background:
    linear-gradient(
      135deg,
      rgba(104,183,255,.07),
      rgba(255,130,79,.035)
    );
}

.orix-human-label {
  margin:0 0 5px;

  color:#83a9d4;

  font-size:10px;
  font-weight:800;

  text-transform:uppercase;
  letter-spacing:.07em;
}

.orix-human-title {
  margin:0;

  color:var(--orix-text);

  font-size:16px;
  font-weight:800;

  line-height:1.25;
}

.orix-human-copy {
  margin:6px 0 0;

  color:var(--orix-muted);

  font-size:12px;
  line-height:1.5;
}

/* =========================================================
   AUTOMATIK, HUMAN MODE
   ========================================================= */

.orix-automatik-human {
  margin:10px 0 14px;
}

.orix-automatik-state {
  display:flex;
  align-items:center;
  gap:9px;

  margin-bottom:11px;
}

.orix-state-dot {
  width:11px;
  height:11px;

  flex:0 0 auto;

  border-radius:50%;
}

.orix-state-dot.good {
  background:var(--orix-green);
  box-shadow:0 0 11px rgba(69,218,145,.4);
}

.orix-state-dot.warn {
  background:var(--orix-amber);
  box-shadow:0 0 11px rgba(255,179,71,.35);
}

.orix-state-dot.bad {
  background:var(--orix-red);
  box-shadow:0 0 11px rgba(255,103,109,.35);
}

.orix-state-dot.info {
  background:var(--orix-blue);
}

.orix-automatik-grid {
  display:grid;

  grid-template-columns:
    repeat(3,minmax(0,1fr));

  gap:9px;
}

.orix-automatik-mini {
  padding:10px 11px;

  border:1px solid rgba(255,255,255,.065);
  border-radius:11px;

  background:rgba(255,255,255,.025);
}

.orix-automatik-mini strong {
  display:block;

  margin-bottom:4px;

  color:#dfe8f5;

  font-size:10.5px;
}

.orix-automatik-mini span {
  color:#8797ad;

  font-size:10px;
  line-height:1.4;
}

.orix-tech-note {
  margin-top:9px;

  padding:8px 10px;

  border-left:2px solid rgba(255,179,71,.45);

  color:#8a98ab;

  font-size:9.5px;
  line-height:1.4;
}

/* =========================================================
   TODAY
   ========================================================= */

#orix-today-feed {
  max-height:275px;

  overflow-y:auto;
  overscroll-behavior:contain;

  padding-right:5px;
}

#orix-today-feed::-webkit-scrollbar,
.orix-roadmap-list::-webkit-scrollbar,
#orix-schema-scroll::-webkit-scrollbar {
  width:7px;
}

#orix-today-feed::-webkit-scrollbar-thumb,
.orix-roadmap-list::-webkit-scrollbar-thumb,
#orix-schema-scroll::-webkit-scrollbar-thumb {
  background:#344b70;
  border-radius:999px;
}

.orix-today-item {
  display:flex;
  gap:9px;

  margin-bottom:7px;

  padding:9px 10px;

  border:1px solid rgba(255,255,255,.065);
  border-radius:11px;

  background:rgba(255,255,255,.023);
}

.orix-today-icon {
  width:22px;
  height:22px;

  flex:0 0 auto;

  display:grid;
  place-items:center;

  border-radius:50%;

  color:var(--orix-blue);
  background:rgba(104,183,255,.1);

  font-size:9px;
  font-weight:900;
}

.orix-today-item.work
.orix-today-icon {
  color:var(--orix-green);
  background:rgba(69,218,145,.1);
}

.orix-today-item.alert
.orix-today-icon {
  color:var(--orix-red);
  background:rgba(255,103,109,.1);
}

.orix-today-main {
  flex:1;
  min-width:0;
}

.orix-today-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:10px;
}

.orix-today-title {
  color:#eaf0f8;

  font-size:10.5px;
  font-weight:760;
}

.orix-today-time {
  color:#69798e;

  font-size:8px;
  white-space:nowrap;
}

.orix-today-detail {
  margin-top:3px;

  color:#78889d;

  font-size:9px;
  line-height:1.35;
}

.orix-today-simple {
  margin-top:5px;

  color:#9baabc;

  font-size:9px;
  line-height:1.4;
}

.orix-today-simple strong {
  color:#cdd6e1;
}

/* =========================================================
   ATTENTION / ALERTS
   Original cards preserved
   ========================================================= */

.orix-dismissible {
  position:relative !important;

  padding-right:42px !important;
}

.orix-dismiss-x {
  position:absolute;

  top:8px;
  right:8px;

  z-index:100;

  width:25px;
  height:25px;

  display:grid;
  place-items:center;

  border:1px solid rgba(255,255,255,.12);
  border-radius:8px;

  background:rgba(15,24,40,.94);

  color:#8594a7;

  cursor:pointer;

  font-size:16px;
  line-height:1;
}

.orix-dismiss-x:hover {
  color:#fff;

  border-color:rgba(255,103,109,.4);

  background:rgba(255,103,109,.14);
}

.orix-alert-explain {
  margin-top:8px;

  padding:8px 10px;

  border:1px solid rgba(255,179,71,.12);
  border-radius:9px;

  background:rgba(255,179,71,.045);

  color:#96a5b8;

  font-size:9.5px;
  line-height:1.45;
}

.orix-alert-explain strong {
  color:#ffd08a;
}

.orix-restore {
  display:flex;
  align-items:center;
  justify-content:flex-end;

  gap:8px;

  margin-top:8px;

  color:#718097;

  font-size:8.5px;
}

.orix-restore button {
  border:0;

  padding:0;

  color:#df925f;

  background:transparent;

  cursor:pointer;

  font-size:8.5px;
}

/* =========================================================
   ROADMAP
   ========================================================= */

#orix-roadmap {
  margin-top:14px;

  padding-top:12px;

  border-top:1px solid rgba(255,255,255,.065);
}

.orix-roadmap-head {
  display:flex;
  align-items:center;
  justify-content:space-between;

  margin-bottom:9px;
}

.orix-roadmap-head strong {
  color:#edf2f8;

  font-size:11.5px;
}

.orix-roadmap-head span {
  color:#728198;

  font-size:7.8px;

  letter-spacing:.08em;
  text-transform:uppercase;
}

.orix-roadmap-list {
  max-height:205px;

  overflow-y:auto;

  display:grid;
  gap:6px;

  padding-right:4px;
}

.orix-roadmap-row {
  display:grid;

  grid-template-columns:
    18px 1fr auto;

  gap:8px;

  padding:8px 9px;

  border:1px solid rgba(255,255,255,.055);
  border-radius:10px;

  background:rgba(255,255,255,.021);
}

.orix-roadmap-number {
  width:18px;
  height:18px;

  display:grid;
  place-items:center;

  border-radius:50%;

  color:#7a889c;
  background:rgba(255,255,255,.055);

  font-size:7.5px;
  font-weight:900;
}

.orix-roadmap-row.current
.orix-roadmap-number {
  color:var(--orix-amber);
  background:rgba(255,179,71,.11);
}

.orix-roadmap-row.done
.orix-roadmap-number {
  color:var(--orix-green);
  background:rgba(69,218,145,.1);
}

.orix-roadmap-title {
  color:#dce4ee;

  font-size:9.8px;
  font-weight:760;
}

.orix-roadmap-copy {
  margin-top:2px;

  color:#748398;

  font-size:8.5px;
  line-height:1.35;
}

.orix-roadmap-status {
  height:max-content;

  padding:3px 6px;

  border-radius:999px;

  color:#7b899b;

  background:rgba(255,255,255,.04);

  font-size:7px;
}

/* =========================================================
   ORI ESQUEMA SIDEBAR
   ========================================================= */

[data-orix-schema-tab] {
  width:calc(100% - 16px);

  display:flex;
  align-items:center;

  gap:10px;

  margin:3px 8px;
  padding:11px 13px;

  border:0;
  border-radius:10px;

  background:transparent;

  color:#aab5c3;

  cursor:pointer;

  text-align:left;
  font:inherit;
}

[data-orix-schema-tab]:hover,
[data-orix-schema-tab].active {
  color:#fff;

  background:
    rgba(255,130,79,.12);
}

.orix-live-pill {
  margin-left:auto;

  padding:3px 6px;

  border-radius:999px;

  color:var(--orix-green);

  background:
    rgba(69,218,145,.09);

  font-size:7px;
  font-weight:900;
}

/* =========================================================
   ORI ESQUEMA
   Bigger typography + masonry layout
   ========================================================= */

#orix-schema {
  position:fixed;

  inset:0;

  z-index:999999;

  display:none;

  padding:20px;

  background:
    rgba(4,9,16,.65);

  backdrop-filter:
    blur(8px);
}

#orix-schema.open {
  display:block;
}

.orix-schema-shell {
  width:min(
    1260px,
    calc(100vw - 40px)
  );

  height:
    calc(100vh - 40px);

  margin:0 auto;

  display:grid;

  grid-template-rows:
    auto 1fr;

  overflow:hidden;

  border:1px solid #2c4064;
  border-radius:22px;

  background:
    radial-gradient(
      circle at 18% -8%,
      rgba(255,130,79,.11),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #101a2b,
      #0a121f
    );

  box-shadow:
    0 24px 70px
    rgba(0,0,0,.48);
}

.orix-schema-header {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;

  gap:20px;

  padding:20px 24px 17px;

  border-bottom:
    1px solid rgba(255,255,255,.07);
}

.orix-schema-title {
  margin:0;

  color:#f4f7fb;

  font-size:28px;
  line-height:1.1;

  font-weight:850;
}

.orix-schema-subtitle {
  max-width:790px;

  margin:7px 0 0;

  color:#9aaac0;

  font-size:13px;
  line-height:1.5;
}

.orix-schema-close {
  padding:9px 13px;

  border:1px solid rgba(255,255,255,.11);
  border-radius:10px;

  background:rgba(255,255,255,.035);

  color:#adb9c8;

  cursor:pointer;

  font-size:12px;
  font-weight:700;
}

#orix-schema-scroll {
  overflow-y:auto;

  padding:19px 24px 32px;
}

.orix-schema-intro {
  display:grid;

  grid-template-columns:
    1.35fr .65fr;

  gap:13px;

  margin-bottom:14px;
}

.orix-schema-box {
  padding:16px 18px;

  border:1px solid rgba(255,255,255,.07);
  border-radius:15px;

  background:rgba(255,255,255,.026);
}

.orix-schema-box h3 {
  margin:0 0 7px;

  color:#f1f5fa;

  font-size:16px;
}

.orix-schema-box p {
  margin:0;

  color:#97a6ba;

  font-size:13px;
  line-height:1.52;
}

.orix-schema-live {
  display:grid;

  grid-template-columns:
    repeat(4,minmax(0,1fr));

  gap:10px;

  margin-bottom:15px;
}

.orix-schema-live-card {
  padding:13px 15px;

  border:1px solid rgba(255,255,255,.065);
  border-radius:13px;

  background:rgba(255,255,255,.024);
}

.orix-schema-live-card strong {
  display:block;

  margin-bottom:5px;

  color:#8197b5;

  font-size:10px;

  text-transform:uppercase;
  letter-spacing:.07em;
}

.orix-schema-live-card span {
  display:block;

  color:#f0f4f8;

  font-size:19px;
  font-weight:850;
}

.orix-schema-live-card small {
  display:block;

  margin-top:5px;

  color:#8391a4;

  font-size:10.5px;
  line-height:1.4;
}

/* masonry solves the big empty gaps */

.orix-layer-grid {
  column-count:2;
  column-gap:14px;
}

.orix-layer {
  width:100%;

  display:inline-block;

  break-inside:avoid;

  margin:0 0 14px;

  overflow:hidden;

  border:1px solid rgba(255,255,255,.075);
  border-radius:16px;

  background:
    rgba(255,255,255,.026);
}

.orix-layer-head {
  display:flex;
  align-items:center;

  gap:11px;

  padding:14px 15px;

  border-bottom:
    1px solid rgba(255,255,255,.055);
}

.orix-layer-icon {
  width:35px;
  height:35px;

  flex:0 0 auto;

  display:grid;
  place-items:center;

  border-radius:11px;

  color:var(--orix-orange);

  background:
    rgba(255,130,79,.105);

  font-size:15px;
}

.orix-layer-head strong {
  display:block;

  color:#eef3f8;

  font-size:15px;
  line-height:1.2;
}

.orix-layer-head small {
  display:block;

  margin-top:3px;

  color:#718198;

  font-size:10.5px;
}

.orix-layer-body {
  padding:7px 15px 12px;
}

.orix-component {
  position:relative;

  padding:
    10px 0 10px 16px;

  border-bottom:
    1px solid rgba(255,255,255,.045);
}

.orix-component:last-child {
  border-bottom:0;
}

.orix-component::before {
  content:"";

  position:absolute;

  top:16px;
  left:0;

  width:6px;
  height:6px;

  border-radius:50%;

  background:#617187;
}

.orix-component.live::before {
  background:var(--orix-green);
}

.orix-component.warn::before {
  background:var(--orix-amber);
}

.orix-component.plan::before {
  background:#a58eff;
}

.orix-component-top {
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:8px;
}

.orix-component-name {
  color:#dce5ef;

  font-size:12.5px;
  font-weight:760;
}

.orix-component-badge {
  padding:3px 6px;

  border-radius:999px;

  color:#8190a4;

  background:
    rgba(255,255,255,.045);

  font-size:7.5px;
  white-space:nowrap;
}

.orix-component.live
.orix-component-badge {
  color:var(--orix-green);

  background:
    rgba(69,218,145,.07);
}

.orix-component.warn
.orix-component-badge {
  color:var(--orix-amber);

  background:
    rgba(255,179,71,.075);
}

.orix-component.plan
.orix-component-badge {
  color:#b9aaff;

  background:
    rgba(185,170,255,.075);
}

.orix-component-copy {
  margin-top:4px;

  color:#8493a7;

  font-size:11px;
  line-height:1.45;
}

.orix-schema-flow {
  margin-top:2px;

  padding:13px 15px;

  border:1px solid rgba(255,255,255,.06);
  border-radius:13px;

  background:rgba(0,0,0,.14);

  color:#8392a5;

  text-align:center;

  font-size:11px;
  line-height:1.5;
}

.orix-schema-flow strong {
  color:#efaa7b;
}

@media(max-width:900px) {

  .orix-layer-grid {
    column-count:1;
  }

  .orix-schema-live,
  .orix-automatik-grid {
    grid-template-columns:
      1fr 1fr;
  }

  .orix-schema-intro {
    grid-template-columns:1fr;
  }
}
