.oc-nav-icon { width: 16px; height: 16px; position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.oc-nav-icon:before, .oc-nav-icon:after { content: ""; position: absolute; display: block; box-sizing: border-box; }
.oc-icon-home:before { border: 1.5px solid; height: 10px; width: 11px; border-radius: 2px; bottom: 1px; }
.oc-icon-home:after { border-left: 1.5px solid; border-top: 1.5px solid; width: 10px; height: 10px; top: 2px; transform: rotate(45deg); }
.oc-icon-building:before { border: 1.5px solid; height: 14px; width: 12px; border-radius: 2px; }
.oc-icon-building:after { width: 2px; height: 2px; background: currentColor; margin: -5px 4px 0 0; box-shadow: 4px 0, 0 4px, 4px 4px; }
.oc-icon-people:before { border: 1.5px solid; width: 7px; height: 7px; border-radius: 50%; top: 0; }
.oc-icon-people:after { width: 13px; height: 6px; border: 1.5px solid; border-radius: 7px 7px 2px 2px; bottom: 0; }
.oc-icon-layers:before { width: 11px; height: 11px; border: 1.5px solid; transform: rotate(45deg); top: 0; border-radius: 2px; }
.oc-icon-layers:after { width: 11px; height: 11px; border-bottom: 1.5px solid; border-right: 1.5px solid; transform: rotate(45deg); bottom: 1px; }
.oc-icon-link:before { border: 1.5px solid; border-radius: 4px; width: 12px; height: 6px; transform: rotate(-45deg) translateX(3px); }
.oc-icon-link:after { border: 1.5px solid; border-radius: 4px; width: 12px; height: 6px; transform: rotate(-45deg) translateX(-3px); }
.oc-icon-code:before, .oc-icon-code:after { width: 7px; height: 7px; border: 1.5px solid; border-right: 0; border-bottom: 0; }
.oc-icon-code:before { left: 0; transform: rotate(-45deg); }.oc-icon-code:after { right: 0; transform: rotate(135deg); }

:root {
  --tblr-primary: #353a53;
  --tblr-primary-rgb: 53, 58, 83;
  --tblr-link-color: var(--oc-accent);
  --tblr-font-sans-serif: var(--oc-font);
}

body { color: var(--oc-ink); background: var(--oc-surface); font-size: 1rem; }
h1, h2 { color: var(--oc-ink); letter-spacing: -.04em; }
h1 { font-size: clamp(2rem, 4vw, 3.05rem); font-weight: 540; line-height: 1.08; margin: 0 0 .6rem; }
h2 { font-size: 1.26rem; font-weight: 550; }
p { line-height: 1.55; }
.oc-layout { display: grid; min-height: 100vh; grid-template-columns: 236px minmax(0, 1fr); }
.oc-rail {
  align-self: start;
  background: #f0f0ee;
  border-right: 1px solid var(--oc-border);
  display: flex;
  flex-direction: column;
  gap: 2.3rem;
  min-height: 100vh;
  padding: 1.4rem 1.0rem;
  position: sticky;
  top: 0;
}
.oc-rail .oc-brand { margin: .15rem 0 0 .72rem; }
.oc-rail .oc-eyebrow { margin: 0 0 .6rem .76rem; }
.oc-nav { display: grid; gap: .2rem; }
.oc-nav a, .oc-rail-link {
  align-items: center;
  border-radius: .65rem;
  color: var(--oc-secondary);
  display: flex;
  font-weight: 490;
  gap: .68rem;
  min-height: 44px;
  padding: .48rem .75rem;
  text-decoration: none;
}
.oc-nav a:hover, .oc-rail-link:hover { color: var(--oc-ink); background: #e6e7eb; }
.oc-nav a[aria-current="page"] { background: #e1e5f1; color: #293e72; font-weight: 610; }
.oc-nav .oc-mobile-reference { display: none; }
.oc-rail-footer { border-top: 1px solid var(--oc-border); margin-top: auto; padding-top: .45rem; }
.oc-rail-link { font-size: .91rem; }

.oc-topbar {
  align-items: center;
  background: var(--oc-paper);
  border-bottom: 1px solid var(--oc-border);
  display: flex;
  gap: .8rem;
  justify-content: space-between;
  min-height: 74px;
  padding: .55rem clamp(1rem, 4vw, 3rem);
}
.oc-tenant { display: flex; flex-wrap: wrap; align-items: center; font-weight: 560; gap: .55rem; min-width: 0; overflow-wrap: anywhere; }
.badge { border-radius: 50px; font-size: .78rem; font-weight: 550; letter-spacing: 0; }
.badge.bg-azure-lt { color: #33558d !important; background: #e9eefb !important; }
.badge.bg-green-lt { color: #256045 !important; background: #e5f1e8 !important; }
.badge.bg-orange-lt { color: #84461e !important; background: #f8ede2 !important; }
.oc-account { position: relative; flex: 0 0 auto; }
.oc-account summary {
  align-items: center;
  border: 1px solid var(--oc-border);
  border-radius: 100px;
  cursor: pointer;
  display: flex;
  gap: .62rem;
  list-style: none;
  min-height: 44px;
  padding: .32rem .75rem .32rem .35rem;
}
.oc-account summary::-webkit-details-marker { display: none; }
.oc-account summary:hover { background: var(--oc-lavender); }
.oc-account .avatar { border-radius: 50%; background: #e9edf9; color: #354b84; font-weight: 600; }
.oc-account-name { display: grid; text-align: left; max-width: 15rem; line-height: 1.2; }
.oc-account-name strong { font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-account-name small { color: var(--oc-secondary); font-size: .79rem; }
.oc-chevron, .oc-task::after {
  border-bottom: 1.5px solid;
  border-right: 1.5px solid;
  height: 7px;
  width: 7px;
}
.oc-chevron { transform: rotate(45deg); margin-left: .25rem; }
.oc-account-menu {
  background: var(--oc-paper);
  border: 1px solid var(--oc-border);
  border-radius: .8rem;
  box-shadow: var(--oc-shadow);
  min-width: 11rem;
  padding: .35rem;
  position: absolute;
  right: 0;
  top: calc(100% + .4rem);
  z-index: 5;
}
.oc-account-menu .dropdown-item { border-radius: .45rem; display: block; min-height: 44px; text-align: left; }

.oc-content { padding: clamp(1.2rem, 3.25vw, 2.6rem) clamp(1rem, 4vw, 3rem) 3rem; max-width: 90rem; margin-inline: auto; }
.oc-hero {
  align-items: center;
  border: 1px solid #4d526d;
  border-radius: 1.3rem;
  box-shadow: var(--oc-shadow);
  display: flex;
  isolation: isolate;
  margin-bottom: 1.55rem;
  min-height: 190px;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  position: relative;
}
.oc-hero h1 { color: #fff; margin-block: .45rem .5rem; font-size: clamp(2.05rem, 4.1vw, 3.35rem); }
.oc-hero p { margin: 0; color: #e1e5f3; }
.oc-hero .oc-eyebrow { color: #d5dcf0; }
.oc-hero-art {
  align-items: center;
  aspect-ratio: 1;
  border: 1px solid #bac7fb6e;
  border-radius: 50%;
  box-shadow: 0 0 0 30px #afc0f01f, 0 0 0 59px #a3b4e81b, 0 0 0 92px #9eb3f010;
  display: grid;
  justify-items: center;
  pointer-events: none;
  position: absolute;
}
.oc-hero-art {
  background: radial-gradient(circle, #b5c6ff34, transparent 70%);
  opacity: .82;
  right: clamp(3.25rem, 12%, 8rem);
  top: 50%;
  transform: translateY(-50%);
  width: 8.7rem;
  z-index: -1;
}
.oc-hero-art i {
  aspect-ratio: 1;
  background: #e0e8ff;
  border-radius: 50%;
  box-shadow: 0 0 20px #b8c9ff8a;
  width: 12%;
}
.oc-hero-art::before {
  aspect-ratio: 1;
  border: 1px solid #cad5ff8c;
  border-radius: 50%;
  content: "";
  position: absolute;
  width: 57%;
}

.oc-overview { display: grid; gap: 1.15rem; grid-template-columns: minmax(0, 1.36fr) minmax(0, 1fr); align-items: start; }
.oc-content .card, .oc-worklist, .oc-status-panel {
  background: var(--oc-paper);
  border: 1px solid var(--oc-border);
  border-radius: 1rem;
  box-shadow: 0 8px 26px -22px #252b5855;
  min-width: 0;
}
.oc-panel-heading { border-bottom: 1px solid var(--oc-border); padding: 1.12rem 1.26rem; }
.oc-panel-heading h2 { margin: 0; }
.oc-task-list { list-style: none; margin: 0; padding: .35rem 1.25rem; }
.oc-task-list li + li { border-top: 1px solid var(--oc-border); }
.oc-task {
  align-items: center;
  color: var(--oc-ink);
  display: grid;
  gap: .72rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 70px;
  padding: .7rem .25rem;
  text-decoration: none;
}
.oc-task:hover { color: var(--oc-accent); text-decoration: none; }
.oc-task strong { display: block; font-weight: 560; }
.oc-task small { color: var(--oc-secondary); display: block; font-size: .89rem; line-height: 1.4; }
.oc-task::after { color: var(--oc-accent); content: ""; margin-right: .2rem; transform: rotate(-45deg); }
.oc-tile-icon {
  align-items: center;
  background: var(--oc-lavender);
  border-radius: .75rem;
  color: #36569d;
  display: grid;
  height: 2.55rem;
  justify-items: center;
  width: 2.55rem;
}
.oc-status-list { margin: 0; padding: .45rem 1.25rem; }
.oc-status-list div { align-items: baseline; display: flex; gap: .4rem 1rem; flex-wrap: wrap; justify-content: space-between; padding: .56rem 0; }
.oc-status-list div + div { border-top: 1px solid var(--oc-border); }
.oc-status-list dt { color: var(--oc-secondary); font-weight: 450; }
.oc-status-list dd { margin: 0; font-weight: 550; overflow-wrap: anywhere; }
.oc-status-list a, .oc-panel-footer a { text-underline-offset: .18em; }
.oc-panel-footer { border-top: 1px solid var(--oc-border); padding: .75rem 1.25rem; }

.oc-page-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.oc-page-heading p, .oc-page-intro { color: var(--oc-secondary); margin: 0; }
.oc-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.oc-back { display: inline-block; color: var(--oc-accent); font-size: .9rem; font-weight: 550; margin-bottom: .75rem; }
.oc-facts { display: flex; flex-wrap: wrap; gap: 1.2rem 3.5rem; margin: 0; }
.oc-facts dt { color: var(--oc-secondary); font-size: .9rem; font-weight: 450; }
.oc-facts dd { margin: .28rem 0 0; font-weight: 560; }
.oc-empty { margin: 0; padding: 1.55rem; color: var(--oc-secondary); }
.oc-empty strong { color: var(--oc-ink); }
.oc-empty p { margin: .35rem 0; }
.oc-list-row { display: flex; justify-content: space-between; gap: 1rem; }
.oc-panels { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.oc-key { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .85rem; overflow-wrap: anywhere; }
.oc-content .card-header, .oc-content .table, .oc-content .list-group { --tblr-border-color: var(--oc-border); }
.oc-content .card-title { font-size: 1.19rem; letter-spacing: -.02em; }
.oc-card-header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; }
.oc-content .table-responsive { position: relative; }
.oc-content .table-responsive:focus-visible, .oc-content .btn:focus-visible { outline: 2px solid var(--oc-focus); outline-offset: 2px; }
.oc-content .table th { color: #4e5568; font-size: .78rem; }
.oc-content .table td { overflow-wrap: anywhere; }
.oc-form-page { max-width: 46rem; }
.oc-form-card { max-width: 46rem; margin-top: 1.4rem; }
.oc-form-card .card-body { padding: clamp(1rem, 3vw, 2rem); }
.oc-form-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.35rem; padding-top: 1.1rem; border-top: 1px solid var(--oc-border); }
.form-label { font-size: .95rem; }
.form-hint { color: var(--oc-secondary); font-size: .88rem; }
.form-select, .form-control { min-height: 44px; border-radius: .6rem; }
.form-select:focus-visible, .form-control:focus-visible { outline: 2px solid var(--oc-focus); outline-offset: 2px; }
.oc-field { margin: 0 0 1.05rem; min-width: 0; }
.oc-field:last-child { margin-bottom: 0; }
.oc-field .form-hint { margin: .38rem 0 0; }
.oc-field .errorlist {
  color: #9b2632;
  list-style: none;
  margin: .4rem 0 0;
  padding: 0;
}
.oc-field :is(.form-control, .form-select)[aria-invalid="true"] { border-color: #b64250; }
.oc-form-errors {
  background: #fcf0f1;
  border: 1px solid #dbb0b7;
  border-left: 4px solid #a93a48;
  border-radius: .65rem;
  color: #692c34;
  margin-bottom: 1.25rem;
  padding: .85rem 1rem;
}
.oc-form-errors h2 { font-size: 1.05rem; margin-bottom: .3rem; }
.oc-form-errors ul { margin: 0; padding-inline-start: 1.2rem; }
.oc-form-errors a { color: inherit; text-decoration: underline; text-underline-offset: .16em; }
.oc-form-errors:focus, .oc-field-group:focus, .oc-choice input:focus-visible {
  outline: 2px solid var(--oc-focus);
  outline-offset: 3px;
}
.oc-field-columns {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin-bottom: 1.05rem;
}
.oc-field-columns .oc-field { margin: 0; }
.oc-field-group { border: 0; padding: 0; }
.oc-field-group legend {
  color: var(--oc-ink);
  float: none;
  font-size: 1.18rem;
  font-weight: 550;
  letter-spacing: -.02em;
  margin: 0;
  width: auto;
}
.oc-permissions { border-top: 1px solid var(--oc-border); margin: 1.15rem 0; padding-top: 1.05rem; }
.oc-choices { display: grid; gap: .5rem; margin-top: .8rem; }
.oc-choice {
  align-items: start;
  background: var(--oc-paper);
  border: 1px solid #d7dbe5;
  border-radius: .7rem;
  color: var(--oc-ink);
  cursor: pointer;
  display: grid;
  gap: .7rem;
  grid-template-columns: auto minmax(0, 1fr);
  padding: .7rem .85rem;
}
.oc-choice input {
  accent-color: #353a53;
  height: 1.2rem;
  margin: .15rem 0 0;
  width: 1.2rem;
}
.oc-choice strong, .oc-choice small { display: block; }
.oc-choice strong { font-weight: 550; }
.oc-choice small { color: var(--oc-secondary); font-size: .89rem; line-height: 1.45; }
.oc-choice:has(input:checked) { background: #eef0fb; border-color: #8e9bbd; }
.oc-choice:has(input:disabled) { background: #f1f1ee; border-color: var(--oc-border); cursor: default; }
.oc-choice:hover:not(:has(input:disabled)) { border-color: #657aa7; }
.oc-credential-note {
  background: #f1f2f8;
  border-radius: .65rem;
  color: var(--oc-secondary);
  font-size: .91rem;
  margin: 0 0 1rem;
  padding: .7rem .85rem;
}
.oc-form-card .input-group .form-control { min-width: 0; }
.btn { border-radius: 100px; min-height: 42px; padding-inline: 1.05rem; }
.btn-sm { min-height: 34px; padding-inline: .72rem; }
.btn-primary { --tblr-btn-bg: #353a53; --tblr-btn-border-color: #353a53; --tblr-btn-hover-bg: #272c40; --tblr-btn-hover-border-color: #272c40; }
.btn-outline-secondary { --tblr-btn-color: #41465b; --tblr-btn-border-color: #9ca1af; }
.input-group .btn { border-color: #8e94a7; }

.oc-entry-header {
  align-items: center;
  border-bottom: 1px solid var(--oc-border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 77px;
  padding: .85rem 5%;
}
.oc-entry-header > a:last-child { color: var(--oc-secondary); font-size: .93rem; text-underline-offset: .18em; }
body.oc-auth {
  background: #f5f9f9 url("brand/financial-wave.svg") right bottom / max(69rem, 90vw) auto no-repeat;
  min-height: 100vh;
}
.oc-entry-header { background: #f8fbfb; }
.oc-auth-layout { margin: clamp(2rem, 12vh, 8rem) auto; max-width: 30rem; width: 90%; }
.oc-auth-card { border: 1px solid #d4e1e5; border-radius: 1.25rem; background: #fff; box-shadow: 0 20px 65px -35px #193a5866; }
.oc-auth-card .btn-primary { --tblr-btn-bg: #255ec1; --tblr-btn-border-color: #255ec1; --tblr-btn-hover-bg: #194896; --tblr-btn-hover-border-color: #194896; border-radius: .45rem; }
.oc-auth-card .card-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.4rem, 4vw, 3rem); }
.oc-auth-card h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.oc-auth-card p { color: var(--oc-secondary); margin-bottom: 1.25rem; }
.oc-auth-card .btn { min-height: 46px; }
.oc-auth-link { display: block; align-self: start; margin-top: .9rem; text-underline-offset: .18em; }

@media (max-width: 1000px) {
  .oc-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .oc-rail { padding-inline: .7rem; }
  .oc-overview { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .oc-layout { display: block; }
  .oc-rail { position: relative; min-height: auto; gap: .7rem; padding: .85rem 1rem; border-right: 0; border-bottom: 1px solid var(--oc-border); }
  .oc-rail .oc-brand { margin: 0; }
  .oc-rail .oc-eyebrow, .oc-rail-footer { display: none; }
  .oc-nav { display: flex; flex-wrap: wrap; gap: .2rem; }
  .oc-nav a { min-height: 36px; padding: .34rem .57rem; font-size: .88rem; gap: .35rem; }
  .oc-nav .oc-mobile-reference { display: flex; }
  .oc-topbar { min-height: 60px; }
  .oc-account-name { max-width: 7rem; }
  .oc-account-name small { font-size: .72rem; white-space: normal; }
  .oc-hero { min-height: 155px; }
  .oc-hero-art { opacity: .48; right: -2.9rem; }
  .oc-auth-card .card-body { padding: clamp(1.3rem, 6vw, 2.5rem); }
}
