@font-face {
  font-family: "Sans Hebrew";
  src: url("upthyme-regular.11544c36c3b7.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Sans Hebrew";
  src: url("upthyme-bold.27a6a1f1070e.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  font-family: "Sans Hebrew", Arial, sans-serif;
  color: #3f4648;
  background: #f5f5f5;
  font-synthesis: none;
  --navy: #002c76;
  --border: #e5e7eb;
  --muted: #6b7280;
  --gold: #d3c594;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
p {
  line-height: 1.6;
}
input,
select {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 11px 13px;
  color: #3f4648;
  min-height: 42px;
}
input:focus,
select:focus {
  border-color: var(--navy);
}
.muted {
  color: var(--muted);
  font-size: 14px;
}
.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #18181b;
  color: #fff;
  padding: 11px 18px;
  border-radius: 6px;
  font-size: 14px;
  min-height: 42px;
}
.primary:hover {
  background: #303034;
}
.outline {
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 6px;
  color: #3f4648;
  font-size: 13px;
  min-height: 40px;
}
.outline:hover {
  background: #f4f4f5;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
/* Separate site, using the platform's white navbar and compact navigation rail. */
#workspace {
  min-height: 100vh;
}
.platform-header {
  height: 72px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 2px 5px #00000015;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 10;
}
.platform-logo img {
  display: block;
  width: 169px;
  height: auto;
}
.platform-account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #27272a;
}
.internal-badge {
  font-size: 11px;
  color: #8c7d46;
  background: #faf7ed;
  border-radius: 5px;
  padding: 6px 9px;
  margin-right: 10px;
}
.account-avatar {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #4586b2;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
aside {
  width: 80px;
  background: #fff;
  border-right: 1px solid var(--border);
  position: fixed;
  top: 72px;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 28px 12px;
  z-index: 5;
}
.nav-active {
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #eff5ff;
  border-radius: 14px;
  width: 48px;
  height: 48px;
}
.nav-active svg,
.sidebar-bottom svg {
  width: 24px;
  height: 24px;
}
.sidebar-bottom {
  margin-top: auto;
}
.sidebar-bottom button {
  display: grid;
  place-items: center;
  background: none;
  color: #687078;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.sidebar-bottom button:hover {
  background: #f5f5f5;
}
main {
  margin-left: 80px;
  padding: 100px 30px 30px;
  max-width: 1700px;
}
header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
}
h1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 8px 0;
  color: #3f4648;
}
header .muted {
  margin: 0;
  font-size: 14px;
}
.eyebrow {
  font-size: 12px;
  color: #6b7280;
  margin: 0;
}
.month-control label {
  display: block;
  font-size: 13px;
  color: #505759;
  margin-bottom: 7px;
}
.month-control input {
  min-width: 175px;
}
.summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px #0000000d;
}
.summary article {
  background: #f9fafb;
  border-radius: 9px;
  padding: 20px;
}
.summary article span {
  display: block;
  color: #6b7280;
  font-size: 13px;
}
.summary strong {
  font-size: 28px;
  display: block;
  margin: 12px 0 7px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #3f4648;
}
.summary small {
  font-size: 11px;
  color: #6b7280;
}
.accounts {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 3px #0000000d;
  overflow: hidden;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 22px;
  margin-right: auto;
  align-self: stretch;
}
.tabs button {
  position: relative;
  background: none;
  font-size: 14px;
  color: #505759;
  padding: 11px 0;
}
.tabs button.selected {
  color: var(--navy);
  font-weight: 700;
}
.tabs button.selected::after {
  content: "";
  height: 2px;
  background: var(--navy);
  position: absolute;
  bottom: -17px;
  left: 0;
  right: 0;
}
.tabs button span {
  font-size: 11px;
  background: #f3f4f6;
  border-radius: 4px;
  padding: 2px 5px;
  margin-left: 4px;
}
.toolbar input {
  font-size: 13px;
  width: 220px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
th {
  background: #f9fafb;
  font-weight: 400;
  text-align: left;
  color: #505759;
  padding: 16px;
  border-bottom: 1px solid #f0f1f3;
}
th span {
  display: block;
  font-size: 9px;
  letter-spacing: 0.5px;
  margin-top: 5px;
  color: #8b939c;
}
td {
  padding: 17px 16px;
  border-bottom: 1px solid #f0f1f3;
}
.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
td.num {
  font-size: 14px;
}
.account-name {
  background: none;
  color: var(--navy);
  font-weight: 400;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  text-align: left;
  font-size: 13px;
}
.avatar {
  background: #eff5ff;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  font-size: 11px;
}
.chevron {
  font-size: 10px;
  color: #8b939c;
}
.account-id {
  font-size: 9px;
  color: #8b939c;
  letter-spacing: 0.3px;
}
.hide {
  background: none;
  color: #6b7280;
  font-size: 12px;
  padding: 6px;
}
.hide:hover {
  color: var(--navy);
  text-decoration: underline;
}
.client-export {
  background: #eff5ff;
  color: var(--navy);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11px;
  margin-right: 8px;
}
.client-export:hover {
  background: #dfeaff;
}
.planner-detail > td {
  padding: 8px 24px 22px 64px;
  background: #fafafa;
}
.planner-detail table {
  background: #fff;
  border: 1px solid var(--border);
}
.planner-detail th,
.planner-detail td {
  padding: 12px 15px;
  font-size: 12px;
}
.planner-detail .note {
  color: #6b7280;
  font-size: 11px;
  margin: 12px 0 0;
}
.badge {
  font-size: 10px;
  border-radius: 4px;
  background: #f3f4f6;
  color: #6b7280;
  margin-left: 7px;
  padding: 3px 5px;
}
.table-footer {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  font-size: 11px;
  color: #6b7280;
}
#status {
  padding: 30px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
}
#error {
  color: #92400e;
  padding: 12px 24px;
  margin: 0;
  background: #fffbeb;
  font-size: 13px;
}
.definitions {
  font-size: 12px;
  color: #6b7280;
  margin-top: 22px;
}
.definitions summary {
  cursor: pointer;
}
.definitions div {
  max-width: 900px;
  color: #505759;
  margin-top: 15px;
}
.definitions p {
  margin-bottom: 10px;
}
footer {
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: #8b939c;
  font-size: 10px;
}
.select-cell {
  width: 44px;
  padding-left: 20px;
  padding-right: 8px;
}
.select-cell input {
  width: 16px;
  height: 16px;
  min-height: 0;
  padding: 0;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.bulk-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #eff5ff;
  padding: 12px 24px;
  border-bottom: 1px solid #dce7f7;
  font-size: 13px;
  color: var(--navy);
}
.bulk-bar #selection-count {
  font-weight: 700;
}
.bulk-bar .outline {
  border-color: #ccd9ed;
  color: var(--navy);
}
.clear-selection {
  background: none;
  color: #6b7280;
  font-size: 12px;
}
/* Centered modal follows the platform's dialog and input styling. */
dialog {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  max-width: 480px;
  width: 90%;
  color: #3f4648;
  box-shadow: 0 20px 50px #0002;
}
dialog::backdrop {
  background: #0006;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
dialog h2 {
  font-size: 20px;
  margin: 0;
  font-weight: 700;
}
dialog p {
  font-size: 13px;
}
dialog label {
  display: block;
  font-size: 13px;
  margin: 22px 0 8px;
}
dialog select {
  width: 100%;
  font-size: 14px;
}
dialog .primary {
  width: 100%;
  margin-top: 15px;
}
#export-close {
  background: none;
  color: #6b7280;
  font-size: 25px;
}
#export-error {
  color: #92400e;
}
/* Password entry uses the same real brand assets, served locally. */
.login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #fff;
}
.login-card {
  width: 360px;
  max-width: 85%;
  margin: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 180px;
  height: auto;
}
.brand span {
  font-size: 10px;
  color: #8c7d46;
  background: #faf7ed;
  letter-spacing: 0.5px;
  padding: 5px 7px;
  border-radius: 5px;
}
.login-card .brand {
  margin-bottom: 60px;
}
.login-card .eyebrow {
  font-size: 11px;
  color: #6b7280;
}
.login-card h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-top: 12px;
}
.login-card label {
  display: block;
  font-size: 14px;
  margin: 30px 0 9px;
}
.login-card input {
  width: 100%;
  height: 46px;
}
.login-card button {
  width: 100%;
  margin-top: 18px;
}
.login-art {
  background: #eff5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--navy);
}
.login-brand-panel {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px #002c7608;
}
.login-brand-panel img {
  width: 235px;
  max-width: 100%;
  height: auto;
}
.login-art p {
  font-size: 28px;
  text-align: center;
  line-height: 1.4;
  margin-top: 35px;
}
.login-art > span {
  font-size: 11px;
  letter-spacing: 1px;
  color: #65789a;
}
#login-error {
  color: #92400e;
  font-size: 13px;
}
@media (max-width: 1100px) {
  main {
    padding-left: 22px;
    padding-right: 22px;
  }
  .toolbar {
    padding: 16px;
  }
  .toolbar input {
    width: 180px;
  }
  th,
  td {
    padding: 14px 12px;
  }
  .account-name {
    gap: 8px;
  }
  .summary {
    gap: 12px;
    padding: 18px;
  }
}
@media (max-width: 720px) {
  .platform-header {
    height: 64px;
    padding: 0 18px;
  }
  .platform-logo img {
    width: 142px;
  }
  .platform-account {
    font-size: 12px;
    gap: 8px;
  }
  .account-avatar {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .internal-badge {
    display: none;
  }
  aside {
    width: 60px;
    top: 64px;
    padding: 20px 6px;
  }
  .nav-active {
    width: 42px;
    height: 42px;
  }
  main {
    margin-left: 60px;
    padding: 85px 16px 24px;
  }
  header {
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
  }
  h1 {
    font-size: 23px;
  }
  header .muted {
    font-size: 12px;
  }
  .month-control {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .month-control label {
    margin: 0;
    font-size: 12px;
  }
  .month-control input {
    min-width: 0;
    font-size: 13px;
    padding: 8px 10px;
  }
  .summary {
    gap: 8px;
    padding: 12px;
  }
  .summary article {
    padding: 13px 10px;
  }
  .summary article span {
    font-size: 11px;
  }
  .summary strong {
    font-size: 23px;
  }
  .summary small {
    font-size: 10px;
  }
  .toolbar {
    gap: 10px;
  }
  .toolbar input {
    width: 100%;
    order: 3;
  }
  .tabs {
    gap: 14px;
  }
  .tabs button {
    font-size: 13px;
  }
  .tabs button.selected::after {
    bottom: -6px;
  }
  .toolbar .outline {
    font-size: 11px;
    padding: 8px 10px;
  }
  table {
    min-width: 650px;
  }
  .planner-detail > td {
    padding-left: 20px;
  }
  .bulk-bar {
    padding: 12px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .bulk-bar .outline {
    font-size: 12px;
  }
  .table-footer {
    gap: 12px;
    padding: 14px;
    font-size: 10px;
  }
  footer {
    flex-direction: column;
    gap: 5px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-art {
    display: none;
  }
  .login-card {
    margin: 65px auto;
  }
}
.login-card .field-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 6px 0 0;
}
