:root {
  --navy-950: #071522;
  --navy-900: #0b2033;
  --navy-800: #102d47;
  --navy-700: #17435f;
  --ink: #172433;
  --muted: #657184;
  --line: #d9d8cf;
  --paper: #fffdf7;
  --cream: #f8f3e8;
  --cream-2: #eee7d8;
  --sky: #42b8df;
  --sky-deep: #087da9;
  --gold: #d8b65f;
  --gold-soft: #f4df9e;
  --emerald: #148963;
  --emerald-2: #27ad7c;
  --danger: #b83c49;
  --shadow: 0 14px 36px rgba(27, 42, 54, .10);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: #ebe9e2;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  background:
    radial-gradient(circle at 8% -10%, rgba(66, 184, 223, .16), transparent 30%),
    radial-gradient(circle at 92% 4%, rgba(216, 182, 95, .18), transparent 26%),
    linear-gradient(180deg, #f7f4ed 0, #eeede8 55%, #e8e8e5 100%);
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(11, 32, 51, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 32, 51, .035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

::selection { color: #fff; background: var(--sky-deep); }

.od-header {
  height: 76px;
  padding: 0 max(20px, calc((100vw - 1480px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(115deg, var(--navy-950), var(--navy-800) 58%, #113a52);
  border-bottom: 1px solid rgba(216, 182, 95, .58);
  box-shadow: 0 9px 28px rgba(4, 18, 30, .22);
  position: sticky;
  top: 0;
  z-index: 30;
}

.od-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px;
  height: 2px;
  opacity: .75;
  background: linear-gradient(90deg, transparent, var(--gold), var(--sky), transparent);
}

.od-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  text-decoration: none;
  letter-spacing: .02em;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .22));
}

.od-brand::before {
  content: "";
  width: 31px;
  height: 31px;
  margin-right: 4px;
  border: 2px solid var(--gold);
  border-radius: 9px 2px 9px 2px;
  background:
    linear-gradient(135deg, transparent 42%, rgba(255,255,255,.95) 43% 48%, transparent 49%),
    linear-gradient(135deg, var(--sky-deep), var(--navy-900));
  box-shadow: inset 0 0 0 4px rgba(7, 21, 34, .75), 0 0 0 1px rgba(255,255,255,.2);
  transform: rotate(-4deg);
}

.od-brand span,
.od-brand b {
  font-size: 25px;
  line-height: 1;
  font-weight: 950;
}

.od-brand span { color: var(--gold-soft); }
.od-brand b { color: #fff; }

.od-header-user {
  display: flex;
  align-items: center;
  gap: 13px;
}

.od-header-user span {
  font-size: 14px;
  font-weight: 850;
  color: #eaf5fa;
}

.od-header-user a {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255,255,255,.07);
  transition: .2s ease;
}

.od-header-user a:hover {
  color: var(--navy-950);
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.od-shell {
  width: min(1480px, calc(100% - 28px));
  min-height: calc(100vh - 142px);
  margin: 24px auto;
}

.od-footer {
  padding: 24px 16px 30px;
  color: #7a7d7d;
  font-size: 12px;
  text-align: center;
  letter-spacing: .04em;
}

/* Login and registration */
.od-auth-card {
  width: min(560px, 100%);
  margin: 52px auto;
  padding: 38px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 253, 247, .97);
  border: 1px solid rgba(216, 182, 95, .7);
  border-radius: 26px;
  box-shadow: 0 28px 76px rgba(10, 31, 49, .18);
}

.od-auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--navy-800), var(--sky), var(--gold), var(--navy-800));
}

.od-auth-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  right: -105px;
  top: -105px;
  border-radius: 50%;
  border: 34px solid rgba(66, 184, 223, .08);
}

.od-auth-card h1 {
  margin: 6px 0 8px;
  color: var(--navy-900);
  font-size: clamp(28px, 5vw, 35px);
  letter-spacing: -.04em;
}

.od-auth-card > p { color: var(--muted); line-height: 1.65; }

.od-eyebrow,
.od-page-head > div > span,
.od-card small {
  color: var(--sky-deep);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .14em;
}

.od-text-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--sky-deep);
  font-weight: 850;
  text-decoration: none;
}

.od-text-link:hover { color: var(--navy-900); text-decoration: underline; }

/* Forms */
.od-form-stack,
.od-form-grid { display: grid; gap: 14px; }
.od-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.od-form-grid .full { grid-column: 1 / -1; }
.od-form-stack.narrow { max-width: 620px; }

.od-form-stack label,
.od-form-grid label {
  display: grid;
  gap: 7px;
  color: #293746;
  font-size: 13px;
  font-weight: 850;
}

.od-check {
  display: flex !important;
  grid-template-columns: auto 1fr !important;
  align-items: flex-start;
  color: var(--muted) !important;
  line-height: 1.55;
}

.od-check input { width: auto; margin-top: 4px; }

input,
select,
textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: #fffefb;
  border: 1px solid #c8c7bf;
  border-radius: 11px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input:hover,
select:hover,
textarea:hover { border-color: #9cb6c4; }

input:focus,
select:focus,
textarea:focus {
  background: #fff;
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 4px rgba(66, 184, 223, .15);
}

textarea { min-height: 92px; resize: vertical; }

button,
.od-primary,
.od-danger {
  padding: 11px 15px;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  font-weight: 900;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}

button:hover,
.od-primary:hover,
.od-danger:hover { transform: translateY(-1px); }

button:active,
.od-primary:active,
.od-danger:active { transform: translateY(0); }

.od-primary {
  color: #fff;
  background: linear-gradient(135deg, #0c6f82, var(--emerald) 55%, var(--emerald-2));
  box-shadow: 0 8px 18px rgba(20, 137, 99, .22);
}

.od-primary:hover { filter: brightness(1.06); box-shadow: 0 10px 22px rgba(20, 137, 99, .3); }

.od-danger {
  color: var(--danger);
  background: #fff1f1;
  border: 1px solid #e8b9bd;
}

.od-form-stack .od-primary,
.od-form-grid .od-primary { min-height: 47px; }

/* Notices */
.od-notice {
  padding: 14px 16px;
  margin: 0 0 17px;
  border-radius: 13px;
  border-left: 5px solid;
  line-height: 1.58;
  box-shadow: 0 6px 16px rgba(25, 39, 50, .05);
}

.od-notice.error { color: #8d2732; background: #fff0f1; border-color: var(--danger); }
.od-notice.warning { color: #69500d; background: #fff8dc; border-color: var(--gold); }
.od-notice.success { color: #176044; background: #eaf8f1; border-color: var(--emerald); }
.od-notice.info { color: #14546f; background: #eaf7fb; border-color: var(--sky); }

.od-slot-summary,
.od-bank-box {
  display: grid;
  gap: 9px;
  margin: 19px 0;
  padding: 18px;
  color: #edf7fb;
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  border: 1px solid rgba(216, 182, 95, .52);
  border-radius: 15px;
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.od-slot-summary b { color: var(--gold-soft); }
.od-bank-box strong { color: var(--gold-soft); font-size: 23px; letter-spacing: .03em; }
.od-bank-box span { color: #bbd9e5; }

/* Main layout and navigation */
.od-app-layout {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  gap: 22px;
}

.od-sidebar {
  height: max-content;
  padding: 18px;
  color: #fff;
  position: sticky;
  top: 100px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(66,184,223,.16), transparent 36%),
    linear-gradient(165deg, var(--navy-800), var(--navy-950));
  border: 1px solid rgba(216, 182, 95, .36);
  border-radius: 20px;
  box-shadow: 0 20px 42px rgba(7, 21, 34, .22);
}

.od-sidebar.admin {
  background:
    radial-gradient(circle at 100% 0, rgba(216,182,95,.13), transparent 34%),
    linear-gradient(165deg, #303843, #161c23);
}

.od-member-mini {
  display: grid;
  gap: 4px;
  padding: 11px 10px 18px;
  margin-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.od-member-mini b { color: #fff; font-size: 19px; }
.od-member-mini span { color: #afc6d3; font-size: 12px; }

.od-member-mini em {
  width: max-content;
  margin-top: 8px;
  padding: 5px 9px;
  color: #d9f4ff;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 950;
  letter-spacing: .06em;
}

.od-member-mini .status-active { color: #d9fff0; background: rgba(20,137,99,.55); }
.od-member-mini .status-pending { color: #fff1b5; background: rgba(143,107,22,.62); }

.od-sidebar nav { display: grid; gap: 5px; }

.od-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 11px 12px;
  color: #d8e5ec;
  border: 1px solid transparent;
  border-radius: 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 820;
  transition: .18s ease;
}

.od-sidebar nav a::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border: 2px solid #6b91a6;
  border-radius: 50%;
}

.od-sidebar nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.08);
}

.od-sidebar nav a.active {
  color: var(--navy-950);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: #f6dda0;
  box-shadow: 0 8px 17px rgba(0,0,0,.18);
}

.od-sidebar nav a.active::before {
  background: var(--navy-800);
  border-color: var(--navy-800);
  box-shadow: 0 0 0 3px rgba(16,45,71,.13);
}

.od-content { min-width: 0; }

.od-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 3px 0 18px;
  padding: 0 2px;
}

.od-page-head h1 {
  margin: 4px 0 0;
  color: var(--navy-900);
  font-size: clamp(25px, 3vw, 31px);
  letter-spacing: -.045em;
}

.od-page-head form { display: flex; gap: 8px; min-width: 320px; }

/* Cards */
.od-card {
  margin-bottom: 17px;
  padding: 21px;
  position: relative;
  background: rgba(255, 253, 247, .97);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.od-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 18px 0 0 18px;
  background: linear-gradient(var(--sky), var(--gold));
  opacity: .72;
}

.od-card h2 { margin: 0 0 14px; color: var(--navy-900); font-size: 20px; }
.od-card p { color: var(--muted); line-height: 1.65; }

.od-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.od-card-head h2 { margin: 4px 0 0; }
.od-card-head a { color: var(--sky-deep); font-weight: 850; }

.od-metrics {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
  margin-bottom: 17px;
}

.od-metrics article {
  min-height: 112px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #fffefb, #f7f2e7);
  border: 1px solid #ddd8c9;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(31, 43, 51, .075);
}

.od-metrics article::after {
  content: "";
  width: 45px;
  height: 45px;
  position: absolute;
  top: -20px;
  right: -20px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 13px rgba(66,184,223,.09);
}

.od-metrics article:nth-child(2n)::after { background: var(--gold); box-shadow: 0 0 0 13px rgba(216,182,95,.1); }
.od-metrics article:nth-child(3n)::after { background: var(--emerald); box-shadow: 0 0 0 13px rgba(20,137,99,.08); }
.od-metrics span { color: var(--muted); font-size: 11px; font-weight: 850; }
.od-metrics b { color: var(--navy-900); font-size: 20px; line-height: 1.3; }

.od-rule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.od-rule-grid div {
  min-height: 112px;
  padding: 16px;
  display: grid;
  align-content: center;
  gap: 7px;
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  border: 1px solid rgba(216,182,95,.45);
  border-radius: 14px;
  box-shadow: inset 0 1px rgba(255,255,255,.07);
}

.od-rule-grid small { color: #a8d9eb; }
.od-rule-grid b { color: #fff; font-size: 21px; }
.od-rule-grid span { color: var(--gold-soft); font-size: 12px; }

.od-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.od-link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }

.od-link-grid > div {
  padding: 15px;
  display: grid;
  gap: 9px;
  background: #f7f3e9;
  border: 1px solid #ddd6c6;
  border-radius: 13px;
}

.od-link-grid span { color: var(--navy-900); font-weight: 950; }
.od-link-grid button { color: #fff; background: linear-gradient(135deg, var(--navy-700), var(--sky-deep)); }

.od-used {
  min-height: 44px;
  display: grid;
  place-items: center;
  color: #737978;
  background: #e9e7e0;
  border: 1px dashed #bcb9ae;
  border-radius: 10px;
}

.od-empty {
  padding: 38px 20px;
  color: var(--muted);
  text-align: center;
  background: rgba(255,253,247,.75);
  border: 1px dashed #9fa9ad;
  border-radius: 15px;
}

.od-balance-pill {
  min-width: 190px;
  padding: 11px 18px;
  display: grid;
  color: #fff;
  background: linear-gradient(135deg, var(--navy-900), #14516d);
  border: 1px solid var(--gold);
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(7,21,34,.18);
}

.od-balance-pill span { color: #bce3f0; font-size: 11px; }
.od-balance-pill b { color: var(--gold-soft); font-size: 22px; }

.od-profile { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 0; }
.od-profile div { padding: 14px; border-bottom: 1px solid var(--line); }
.od-profile dt { color: var(--muted); font-size: 11px; font-weight: 850; }
.od-profile dd { margin: 6px 0 0; color: var(--navy-900); font-weight: 950; }

/* Tables */
.od-table-wrap {
  overflow: auto;
  border: 1px solid #dfded7;
  border-radius: 13px;
  background: #fffefb;
  scrollbar-color: #879aa6 #edf0ef;
  scrollbar-width: thin;
}

.od-table-wrap table { width: 100%; min-width: 760px; border-collapse: collapse; }

.od-table-wrap th,
.od-table-wrap td {
  padding: 12px 11px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #e7e5df;
}

.od-table-wrap th {
  color: #eaf6fa;
  background: var(--navy-800);
  font-size: 11px;
  letter-spacing: .03em;
  position: sticky;
  top: 0;
  z-index: 1;
}

.od-table-wrap tr:nth-child(even) td { background: #faf8f2; }
.od-table-wrap tr:hover td { background: #eef8fa; }
.od-table-wrap td small { display: block; margin-top: 4px; color: #798283; }
.od-table-wrap .plus { color: #087a50; font-weight: 950; }
.od-table-wrap .minus { color: #b33443; font-weight: 950; }

.od-inline { display: flex; align-items: center; gap: 7px; }
.od-inline input, .od-inline select { min-width: 108px; padding: 8px; }
.od-inline button { color: #fff; background: var(--navy-700); }

.approval {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  gap: 20px;
  align-items: center;
}

.approval h2 span { color: var(--muted); font-size: 14px; }
.od-approval-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }

/* Binary tree */
.od-tree-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(66,184,223,.16), transparent 35%),
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    var(--navy-950);
  background-size: auto, 32px 32px, 32px 32px, auto;
  border: 1px solid rgba(216,182,95,.62);
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(7,21,34,.25);
}

.od-tree-tools {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 8;
  display: flex;
  gap: 7px;
}

.od-tree-tools button {
  color: var(--navy-900);
  background: #fffdf7;
  border: 1px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
}

.od-tree-canvas { height: 680px; overflow: hidden; cursor: grab; touch-action: none; }
.od-tree-canvas:active { cursor: grabbing; }
.od-tree-stage { position: absolute; transform-origin: 0 0; }
.od-tree-lines { position: absolute; inset: 0; overflow: visible; }
.od-tree-lines path { fill: none; stroke-width: 3; filter: drop-shadow(0 0 3px rgba(0,0,0,.6)); }
.od-tree-lines path.left { stroke: var(--sky); }
.od-tree-lines path.right { stroke: #d99bd9; }

.od-tree-node {
  width: 190px;
  min-height: 92px;
  padding: 10px;
  position: absolute;
  display: grid;
  gap: 4px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #173b54, #0e283d);
  border: 2px solid var(--sky);
  border-radius: 14px;
  box-shadow: 0 12px 25px rgba(0,0,0,.45), inset 0 1px rgba(255,255,255,.09);
}

.od-tree-node.avatar {
  background: linear-gradient(145deg, #594918, #30270d);
  border-color: var(--gold);
}

.od-tree-node.complete { box-shadow: 0 0 0 3px rgba(39,173,124,.48), 0 12px 25px rgba(0,0,0,.45); }
.od-tree-node small { color: #a9e5f7 !important; font-size: 10px; }
.od-tree-node.avatar small { color: #f5dc88 !important; }
.od-tree-node strong { color: #fff !important; -webkit-text-fill-color: #fff !important; font-size: 17px; font-weight: 950; text-shadow: 0 1px 3px #000; }
.od-tree-node span { color: #d0e4ed; font-size: 12px; }
.od-tree-node em { color: #9fb7c5; font-size: 10px; font-style: normal; }

/* Admin distinction */
.od-admin .od-header { background: linear-gradient(115deg, #151b22, #343e49 62%, #293a44); }
.od-admin .od-header::after { background: linear-gradient(90deg, transparent, #aeb6bc, var(--gold), transparent); }
.od-admin .od-page-head > div > span { color: #697781; }
.od-admin .od-card::before { background: linear-gradient(#667782, var(--gold)); }

@media (max-width: 1200px) {
  .od-metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  body { padding-bottom: 82px; }
  .od-app-layout { display: block; }
  .od-content { width: 100%; }

  .od-sidebar,
  .od-sidebar.admin {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    width: 100%;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -10px 30px rgba(7,21,34,.28);
  }

  .od-member-mini { display: none; }

  .od-sidebar nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .od-sidebar nav::-webkit-scrollbar { display: none; }

  .od-sidebar nav a {
    flex: 0 0 auto;
    min-height: 49px;
    padding: 9px 12px;
    justify-content: center;
    white-space: nowrap;
    font-size: 12px;
  }

  .od-sidebar nav a::before { width: 5px; height: 5px; }
  .od-two-col, .approval { grid-template-columns: 1fr; }
  .od-rule-grid { grid-template-columns: repeat(2, 1fr); }
  .od-link-grid { grid-template-columns: 1fr; }
  .od-tree-canvas { height: 570px; }
  .od-footer { padding-bottom: 18px; }
}

@media (max-width: 620px) {
  body::before { background-size: 30px 30px; }
  .od-shell { width: min(calc(100% - 16px), 1480px); margin: 13px auto; }
  .od-header { height: 64px; padding: 0 13px; }
  .od-brand::before { width: 26px; height: 26px; border-radius: 7px 2px 7px 2px; }
  .od-brand span, .od-brand b { font-size: 20px; }
  .od-header-user { gap: 7px; }
  .od-header-user span { display: none; }
  .od-header-user a { padding: 7px 10px; }
  .od-auth-card { margin: 20px auto; padding: 25px 20px; border-radius: 21px; }
  .od-form-grid { grid-template-columns: 1fr; }
  .od-form-grid .full { grid-column: auto; }
  .od-page-head { align-items: flex-start; flex-direction: column; }
  .od-page-head form { width: 100%; min-width: 0; }
  .od-balance-pill { width: 100%; }
  .od-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .od-metrics article { min-height: 104px; padding: 14px; }
  .od-metrics b { font-size: 17px; overflow-wrap: anywhere; }
  .od-rule-grid, .od-profile { grid-template-columns: 1fr; }
  .od-card { padding: 16px; border-radius: 15px; }
  .od-card-head { align-items: flex-start; flex-direction: column; }
  .od-approval-actions { grid-template-columns: 1fr; }
  .od-tree-canvas { height: 510px; }
  .od-tree-tools { right: 9px; top: 9px; }
  .od-tree-tools button { padding: 9px 11px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
