@font-face {
  font-family: Muller;
  src: url("/static/oasis/intro/fonts/muller-regular.efd160ca3dbd.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Muller;
  src: url("/static/oasis/intro/fonts/muller-extrabold.4b267650e01f.otf") format("opentype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --ink: #192943;
  --muted: #576984;
  --line: #dce3ec;
  --blue: #2859cd;
  --paper: #f4f6f9;
  --navy: #162853;
  --white: #fff;
  --green: #126a54;
  --radius: 17px;
  font-family: Muller,"Helvetica Neue",Arial,sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
}

button,input,select {
  font: inherit;
}

a {
  color: var(--blue);
}

button,a,input,select,summary {
  touch-action: manipulation;
}

button,summary {
  cursor: pointer;
}

button {
  color: inherit;
}

button:disabled {
  cursor: default;
  opacity: .5;
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible {
  outline: 3px solid #729bff;
  outline-offset: 3px;
}

[hidden] {
  display: none!important;
}

.topbar {
  background: white;
  border-bottom: 1px solid var(--line);
}

.top-inner {
  max-width: 1536px;
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 0 clamp(18px,4vw,64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -1.7px;
  color: var(--navy);
  text-decoration: none;
}

.brand-ring {
  width: 24px;
  height: 24px;
  border: 6px solid var(--blue);
  border-radius: 50%;
}

.product {
  font-size: 14px;
  color: var(--muted);
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

nav {
  display: flex;
  gap: 6px;
  align-self: stretch;
  align-items: center;
  margin-left: auto;
}

nav a {
  padding: 10px 15px;
  text-decoration: none;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

nav a:hover {
  background: #f3f5f9;
}

nav a[aria-current=page] {
  color: #244eb1;
  background: #eaf0fe;
}

.local {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 18px;
  font-size: 12px;
  white-space: nowrap;
  color: #536479;
}

.local i {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  background: #28836c;
}

.account-menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.account-menu a {
  text-decoration: none;
}

.login-page {
  min-height: 90vh;
  display: grid;
  place-items: center;
}

.login-card {
  width: min(410px, 100%);
  padding: 34px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.login-card h1 {
  font-size: 34px;
  margin: 28px 0;
}

.login-card form {
  display: grid;
  gap: 17px;
}

main {
  max-width: 1536px;
  margin: auto;
  padding: clamp(28px,4vw,60px) clamp(18px,4vw,64px) 75px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 28px;
}

h1,h2,h3,p {
  margin: 0;
}

h1 {
  font-size: clamp(34px,4.1vw,58px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -.032em;
}

h2 {
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: -.035em;
}

h3 {
  font-size: 18px;
  letter-spacing: -.025em;
}

.page-head p,.upload-card p,.muted,.format-help p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.48;
}

.page-head p {
  margin-top: 10px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-height: 41px;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 9px;
  white-space: nowrap;
}

.btn-primary {
  color: white;
  background: var(--blue);
}

.btn-primary:hover {
  background: #204db7;
}

.btn-white {
  background: white;
  color: #193d8e;
}

.btn-white:hover {
  background: #e9f0ff;
}

.btn-outline {
  background: white;
  border-color: #bdcde1;
  color: #263d5c;
}

.btn-outline:hover {
  border-color: #6987b3;
  background: #f7faff;
}

.link-btn {
  background: none;
  border: 0;
  padding: 3px 0;
  color: var(--blue);
  font-weight: 700;
  font-size: 14px;
}

.link-btn:hover {
  text-decoration: underline;
}

.upload-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.upload-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: end;
  gap: 18px 15px;
  padding: 28px 30px;
  min-height: 190px;
  border-radius: var(--radius);
  overflow: hidden;
}

.upload-card h2 {
  font-size: 29px;
  margin-bottom: 5px;
}

.upload-card .document-icon {
  grid-column: 1/-1;
  align-self: start;
}

.upload-card .btn {
  align-self: end;
}

.own-card {
  background: linear-gradient(115deg,#192e60,#254795);
  color: white;
}

.own-card p {
  color: #d6e2ff;
  overflow-wrap: anywhere;
}

.rival-card {
  background: #e4ecf7;
  border: 1px solid #d7e1ef;
}

.rival-card p {
  color: #4b607d;
}

.document-icon {
  display: block;
  width: 25px;
  height: 31px;
  border: 2px solid currentColor;
  border-radius: 5px;
  position: relative;
  color: #aec7ff;
}

.document-icon:before,.document-icon:after {
  content: "";
  position: absolute;
  left: 5px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.document-icon:before {
  width: 12px;
  top: 11px;
}

.document-icon:after {
  width: 8px;
  top: 17px;
}

.double {
  color: #4d6d9a;
  box-shadow: 4px -4px 0 -1px #e4ecf7,5px -5px 0 0 #809aba;
}

.format-help {
  padding: 19px 2px;
  color: #344d70;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}

.format-help summary,.file-notes summary {
  font-weight: 700;
  font-size: 14px;
}

.format-help p {
  max-width: 800px;
  margin-top: 9px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 28px 0 14px;
}

.panel,.file-list,.summary-card,.topic-row {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.file-list {
  overflow: hidden;
}

.file-record {
  padding: 18px 22px;
  border-top: 1px solid var(--line);
}

.file-record:first-child {
  border-top: 0;
}

.file-line {
  display: flex;
  align-items: center;
  gap: 14px;
}

.file-line .file-info {
  min-width: 0;
  flex: 1;
}

.file-info strong,.file-info small {
  display: block;
  overflow-wrap: anywhere;
}

.file-info small,.file-size {
  color: var(--muted);
  font-size: 13px;
}

.file-info small {
  margin-top: 4px;
}

.file-line button {
  font-size: 13px;
}

.file-line button+button {
  margin-left: 6px;
}

.file-notes {
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.file-notes li {
  margin-block: 5px;
  line-height: 1.38;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin: 0 0 20px;
}

.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 17px 20px;
}

.metric strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.055em;
  font-variant-numeric: tabular-nums;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.metric.focus {
  background: #e8efff;
  border-color: #d2dfff;
  color: #2347a0;
}

.filters {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  align-items: end;
}

label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

input:not([type=file]),select {
  background: white;
  color: var(--ink);
  border: 1px solid #cbd5e2;
  border-radius: 8px;
  min-height: 40px;
  padding: 9px 11px;
  font-size: 14px;
  font-weight: 400;
  min-width: 0;
  max-width: 100%;
}

.search-label {
  flex: 1 0 190px;
}

.filters label:not(.search-label) {
  min-width: 150px;
}

.table-wrap {
  overflow-x: auto;
}

.compare-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}

.compare-table th {
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--muted);
  background: #f7f9fc;
  text-align: left;
  vertical-align: bottom;
  padding: 13px 15px;
  min-width: 115px;
  max-width: 230px;
  overflow-wrap: anywhere;
}

.compare-table td {
  border-top: 1px solid #e8edf3;
  padding: 14px 15px;
  vertical-align: top;
}

.compare-table th:first-child,.compare-table td:first-child {
  min-width: 200px;
  max-width: 365px;
  padding-left: 20px;
}

.compare-table th:last-child,.compare-table td:last-child {
  min-width: 180px;
}

.compare-table tbody tr:hover {
  background: #fafcff;
}

.position-name,.members summary {
  font-weight: 700;
  line-height: 1.35;
  font-size: 15px;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.position-link {
  font-size: 12px;
  text-decoration: none;
  color: #536f98;
  overflow-wrap: anywhere;
}

.position-link:hover {
  text-decoration: underline;
}

.topic-label,.cell-note {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.35;
}

.members li {
  margin-block: 5px;
}

.members ul {
  padding-left: 18px;
  max-height: 220px;
  overflow: auto;
}

.own-price,.price-amount,.target {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-weight: 700;
}

.own-price {
  background: #edf2fe;
  border: 1px solid #dce6fe;
  border-radius: 6px;
  color: #244aa4;
  padding: 5px 8px;
}

.own-price:hover {
  background: #dce7ff;
}

.pencil {
  font-size: 12px;
  margin-left: 3px;
}

.best-price {
  color: var(--green);
}

.apply {
  display: block;
  margin-top: 6px;
}

.target {
  color: #174ba7;
}

.delta {
  color: #6f4916;
}

.pill {
  display: inline-block;
  border-radius: 6px;
  padding: 4px 8px;
  background: #edf1f6;
  color: #475b77;
  font-size: 12px;
  line-height: 1.3;
}

.pill.good {
  background: #e2f3ea;
  color: #176447;
}

.edit-form {
  width: 138px;
}

.edit-form input {
  width: 100%;
  min-height: 33px;
  padding: 5px 7px;
}

.edit-form div {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.edit-form .link-btn {
  font-size: 12px;
}

.restore {
  font-size: 12px;
  margin-top: 4px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.pagination .btn {
  min-height: 30px;
  padding: 5px 11px;
  font-size: 13px;
  margin-left: 5px;
}

.empty {
  text-align: center;
  padding: 46px 20px;
}

.empty p {
  margin: 6px auto 16px;
  color: var(--muted);
  font-size: 14px;
  max-width: 470px;
  line-height: 1.5;
}

.summary-filter {
  margin: -3px 0 19px;
}

.summary-filter label {
  max-width: 310px;
}

.summary-board {
  display: grid;
  grid-template-columns: minmax(280px,.85fr) minmax(320px,1.3fr);
  gap: 17px;
}

.summary-hero {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 205px;
}

.summary-hero h2 {
  font-size: 19px;
  font-weight: 400;
  color: #dbe6ff;
  overflow-wrap: anywhere;
}

.summary-hero strong {
  display: block;
  font-size: clamp(48px,5.6vw,78px);
  letter-spacing: -.065em;
  line-height: 1.08;
  margin-top: 12px;
}

.summary-hero small {
  font-size: 14px;
  color: #dbe6ff;
}

.donut {
  flex-shrink: 0;
  width: clamp(82px,10vw,146px);
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
}

.donut:after {
  content: "";
  position: absolute;
  inset: 20%;
  background: var(--navy);
  border-radius: 50%;
}

.summary-card {
  padding: 22px;
}

.summary-card h2,.section-title h2 {
  font-size: 23px;
}

.legend-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.legend-list li {
  display: grid;
  grid-template-columns: 12px 1fr auto 58px;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.legend-list li span:nth-child(2) {
  overflow-wrap: anywhere;
}

.legend-list li strong,.legend-list li small {
  font-variant-numeric: tabular-nums;
}

.legend-list li small {
  color: var(--muted);
  text-align: right;
  font-size: 13px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.topic-row {
  padding: 18px 21px;
}

.topic-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.topic-heading button {
  font-size: 16px;
  text-align: left;
  overflow-wrap: anywhere;
}

.topic-heading strong {
  font-size: 17px;
}

.stack {
  display: flex;
  overflow: hidden;
  height: 10px;
  border-radius: 5px;
  background: #e8edf2;
  margin: 13px 0;
}

.stack span {
  display: block;
  height: 100%;
}

.topic-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 15px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.topic-legend span {
  overflow-wrap: anywhere;
}

.topic-legend i {
  margin-right: 5px;
  width: 8px;
  height: 8px;
}

.summary-note {
  margin: 16px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  max-width: 900px;
}

dialog {
  max-width: min(480px,calc(100vw - 32px));
  width: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 17px;
  color: var(--ink);
  box-shadow: 0 20px 80px #18274926;
}

dialog::backdrop {
  background: #14233e66;
}

.dialog-head,.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dialog-head {
  margin-bottom: 22px;
}

.dialog-actions {
  justify-content: flex-end;
  margin-top: 18px;
}

.close {
  width: 30px;
  height: 30px;
  border: 0;
  background: #edf1f7;
  border-radius: 50%;
  font-size: 23px;
  line-height: 1;
}

.file-picker {
  position: relative;
  border: 1.5px dashed #a3b6d1;
  background: #f5f8fe;
  padding: 20px;
  justify-items: center;
  border-radius: 10px;
  margin-top: 17px;
  cursor: pointer;
}

.file-picker input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-picker:focus-within,.file-picker.over {
  outline: 2px solid var(--blue);
}

.file-picker strong {
  overflow-wrap: anywhere;
  text-align: center;
  color: var(--blue);
  font-size: 15px;
}

.file-picker>span:last-child {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}

.pick-icon {
  font-size: 24px;
  color: var(--blue);
}

.notice,.error {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
}

.notice {
  color: var(--muted);
}

.error {
  color: #9b322c;
}

.toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  z-index: 5;
  max-width: min(650px,92vw);
  border-radius: 11px;
  background: #182b4d;
  color: white;
  padding: 13px 20px;
  box-shadow: 0 7px 28px #16285333;
  font-size: 14px;
}

.toast.error-toast {
  background: #83372f;
}

@media(max-width:920px) {
  .local {
    display: none;
  }
  .upload-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px;
  }
  .upload-card .btn {
    align-self: flex-start;
  }
  .summary-board {
    grid-template-columns: 1fr 1.15fr;
  }
  .file-line {
    flex-wrap: wrap;
  }
}

@media(max-width:680px) {
  .top-inner {
    flex-wrap: wrap;
    gap: 10px 15px;
    padding-top: 14px;
    min-height: 0;
  }
  .brand {
    font-size: 24px;
  }
  .brand-ring {
    width: 21px;
    height: 21px;
    border-width: 5px;
  }
  .product {
    font-size: 12px;
    padding-left: 14px;
  }
  nav {
    flex-basis: 100%;
    margin: 0;
    padding-bottom: 8px;
    gap: 2px;
  }
  nav a {
    font-size: 13px;
    padding: 9px 12px;
  }
  .page-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 20px;
  }
  .page-head p {
    font-size: 14px;
  }
  .upload-card {
    padding: 19px;
    min-height: 180px;
    gap: 13px;
  }
  .upload-card h2 {
    font-size: 23px;
  }
  .upload-card p {
    font-size: 13px;
  }
  .upload-card .btn {
    font-size: 12px;
    padding: 8px 10px;
    white-space: normal;
  }
  .upload-cards {
    gap: 9px;
  }
  .file-record {
    padding: 15px;
  }
  .file-line {
    gap: 9px;
  }
  .file-info {
    min-width: 65%!important;
  }
  .file-size {
    font-size: 12px;
  }
  .metrics {
    gap: 6px;
  }
  .metric {
    padding: 12px 8px;
  }
  .metric strong {
    font-size: 27px;
  }
  .metric span {
    font-size: 11px;
  }
  .filters {
    padding: 13px;
    gap: 10px;
  }
  .filters label:not(.search-label) {
    min-width: 0;
    flex: 1;
  }
  .search-label {
    flex-basis: 100%;
  }
  .summary-board,.topic-grid {
    grid-template-columns: 1fr;
  }
  .summary-hero {
    min-height: 156px;
    padding: 22px;
  }
  .donut {
    width: 100px;
  }
  .summary-card {
    padding: 18px;
  }
  .section-title {
    align-items: center;
  }
  .pagination {
    padding: 12px;
  }
  .pagination .btn {
    font-size: 12px;
  }
}

@media(max-width:370px) {
  .upload-cards {
    grid-template-columns: 1fr;
  }
  .upload-card {
    min-height: 145px;
  }
  .product {
    font-size: 11px;
  }
  .file-line .btn {
    font-size: 12px;
  }
}
