@font-face {
  font-family: Inter;
  src: local("Inter");
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: local("Sora");
  font-display: swap;
}
:root {
  font-family: Inter, system-ui, sans-serif;
  color: #202735;
  background: #eef1f6;
  font-size: 14px;
  --blue: #3a9bff;
  --ink: #0b0e13;
  --muted: #5b6472;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #3a9bff;
}
a {
  color: #1761a6;
}
h1,
h2,
h3,
.wordmark {
  font-family: Sora, Inter, system-ui, sans-serif;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.1px;
  line-height: 1.2;
  margin: 8px 0 12px;
}
h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
  margin: 0;
}
h3 {
  font-size: 15px;
  margin: 0 0 8px;
}
p {
  line-height: 1.65;
  margin: 8px 0;
}
small,
.muted {
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5b6472;
  font-weight: 650;
}
.shell {
  display: grid;
  grid-template-columns: 224px 1fr;
  min-height: 100dvh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  background: var(--ink);
  color: #b5bdc9;
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
}
.wordmark {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -1px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wordmark span {
  color: var(--blue);
}
.workspace-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 8px 0 40px 11px;
  color: #8993a3;
}
.nav {
  display: grid;
  gap: 5px;
}
.nav button {
  display: flex;
  align-items: center;
  gap: 13px;
  background: none;
  color: #aab3c2;
  border: 0;
  text-align: left;
  border-radius: 8px;
  padding: 13px 12px;
  font-size: 13px;
}
.nav button.active {
  background: #3a9bff20;
  color: #77baff;
}
.nav button:hover {
  background: #ffffff0c;
  color: white;
}
.nav svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}
.sidebar footer {
  margin-top: auto;
  border-top: 1px solid #252c37;
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  border-radius: 50%;
  background: #dfebfa;
  color: #235f96;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.avatar.abbas {
  background: #fae7e0;
  color: #9c4c34;
}
.avatar.ali {
  background: #e4e9e4;
  color: #4e7358;
}
.main {
  min-width: 0;
  padding: 0 38px 48px;
  max-width: 1680px;
}
.topbar {
  height: 79px;
  border-bottom: 1px solid #dce1e8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #717b89;
  font-size: 12px;
}
.topbar-actions,
.row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar button {
  border: 1px solid #d8dfe8;
  background: #fff;
  border-radius: 7px;
  padding: 8px 12px;
}
.badge {
  border-radius: 5px;
  font-size: 10px;
  letter-spacing: 0.6px;
  padding: 5px 8px;
  background: #fff1dc;
  color: #825c18;
  white-space: nowrap;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 26px;
}
.page-heading p {
  color: #5b6472;
  font-size: 13px;
}
.primary {
  border: 0;
  background: var(--ink);
  color: white;
  border-radius: 7px;
  padding: 11px 16px;
  font-weight: 550;
}
.secondary {
  border: 1px solid #d8dfe8;
  border-radius: 7px;
  background: white;
  padding: 10px 14px;
  color: #263240;
}
.primary:hover {
  background: #263240;
}
.panel {
  background: white;
  border: 1px solid #e0e5ec;
  border-radius: 12px;
  overflow: hidden;
}
.panel-head {
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #edf0f5;
}
.office {
  height: 360px;
  position: relative;
  background: #f5f7fa;
}
.office canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.office-hint {
  position: absolute;
  top: 18px;
  left: 22px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #7a8595;
  text-transform: uppercase;
}
.office-note {
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 10px;
  color: #8a93a0;
}
.team-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 18px 22px;
  gap: 12px;
  border-top: 1px solid #edf0f5;
}
.person {
  display: flex;
  gap: 10px;
  align-items: center;
}
.person strong {
  font-size: 12px;
}
.person p {
  font-size: 11px;
  margin: 4px 0;
  color: #6f7a88;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #b4bdc8;
  border-radius: 100%;
  margin-right: 5px;
}
.dot.working {
  background: #379264;
}
.dot.paused {
  background: #ff9b60;
}
.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 24px;
}
.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.metric {
  border-left: 2px solid #d8e2ee;
  padding-left: 15px;
}
.metric strong {
  display: block;
  font-size: 27px;
  font-weight: 500;
  margin: 7px 0 0;
}
.metric span {
  font-size: 11px;
  color: #6e7988;
}
.empty {
  padding: 35px 24px;
  text-align: center;
  color: #778191;
  font-size: 13px;
  line-height: 1.7;
}
.empty strong {
  display: block;
  color: #384555;
  margin-bottom: 5px;
}
.item-row {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #edf0f5;
  padding: 17px 23px;
  background: white;
  display: flex;
  align-items: center;
  gap: 13px;
  color: inherit;
}
.item-row:hover {
  background: #f6f9fc;
}
.item-row:last-child {
  border-bottom: 0;
}
.item-text {
  flex: 1;
  min-width: 0;
}
.item-text strong {
  display: block;
  font-weight: 550;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.item-text small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
}
.check {
  width: 18px;
  height: 18px;
  border: 1px solid #cad3df;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: white;
  flex-shrink: 0;
}
.check.done {
  background: #3a9bff;
  border-color: #3a9bff;
}
.tag {
  background: #eef4fb;
  color: #517092;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 10px;
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.toolbar input {
  flex: 1;
  min-width: 160px;
}
.toolbar input,
.toolbar select,
input,
select,
textarea {
  border: 1px solid #d7dfe9;
  border-radius: 7px;
  background: white;
  color: inherit;
  padding: 11px 12px;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.idea-card {
  padding: 22px;
  background: white;
  border: 1px solid #dfe5ec;
  border-radius: 10px;
  text-align: left;
  color: inherit;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.idea-card p {
  font-size: 12px;
  color: #6b7788;
  margin: 0;
  flex: 1;
  overflow-wrap: anywhere;
}
.idea-card strong {
  font-size: 15px;
  overflow-wrap: anywhere;
}
.board {
  display: grid;
  grid-template-columns: repeat(6, minmax(190px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 15px;
}
.lane {
  background: #e7ecf2;
  border-radius: 8px;
  padding: 12px;
  min-height: 280px;
}
.lane h3 {
  font-size: 12px;
  margin: 4px 4px 18px;
  display: flex;
  justify-content: space-between;
}
.lane .idea-card {
  min-height: 120px;
  width: 100%;
  padding: 15px;
  margin-bottom: 10px;
}
.notice {
  background: #f5f8fc;
  border: 1px solid #dbe6f3;
  color: #4c6380;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin: 16px 0;
}
.danger {
  color: #b84d43;
}
.login {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-brand {
  background: var(--ink);
  color: white;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.login-brand h1 {
  font-size: 48px;
  line-height: 1.15;
  max-width: 460px;
  font-weight: 550;
}
.login-brand p {
  max-width: 390px;
  color: #a7b3c5;
}
.login-form {
  padding: 50px;
  display: grid;
  place-items: center;
}
.login-form form {
  width: 100%;
  max-width: 350px;
}
.login-form h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 15px 0;
  font-size: 12px;
}
form button[type="submit"] {
  margin-top: 10px;
}
.login-form button {
  width: 100%;
}
.demo-switch {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}
.demo-switch button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 12px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-grid .panel {
  padding: 25px;
}
.settings-grid p {
  font-size: 13px;
  color: #66758a;
}
.settings-grid button {
  margin: 8px 6px 8px 0;
}
dialog {
  border: 1px solid #dbe2ed;
  border-radius: 14px;
  padding: 0;
  width: min(620px, calc(100vw - 28px));
  max-height: 90dvh;
  box-shadow: 0 30px 100px #0b0e1330;
  color: #263240;
}
dialog::backdrop {
  background: #0b0e1370;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e9f0;
  padding: 22px 26px;
}
.dialog-head button {
  background: none;
  border: 0;
  color: #68788b;
  font-size: 22px;
}
.dialog-body {
  padding: 5px 26px 26px;
}
.dialog-body .row > * {
  flex: 1;
}
.dialog-body h3 {
  margin-top: 20px;
}
.dialog-body .body {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #5b6472;
}
.comment {
  border-top: 1px solid #e7ecf2;
  padding: 15px 0;
  overflow-wrap: anywhere;
}
.comment p {
  white-space: pre-wrap;
  font-size: 13px;
  margin-bottom: 0;
}
.comment small {
  font-size: 11px;
}
.comment-form {
  display: flex;
  gap: 8px;
  margin: 15px 0;
}
.comment-form input {
  flex: 1;
  min-width: 0;
}
.actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}
.error {
  color: #b34537;
  font-size: 12px;
  line-height: 1.6;
  min-height: 20px;
  margin: 10px 0;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #1d2c40;
  color: white;
  padding: 13px 20px;
  border-radius: 8px;
  z-index: 10;
  display: none;
  font-size: 13px;
  max-width: 90vw;
}
.notification {
  border-bottom: 1px solid #e5eaf1;
  padding: 18px 24px;
}
.notification.unread {
  background: #f1f7ff;
}
.notification p {
  font-size: 13px;
  margin: 0 0 5px;
}
iframe {
  border: 0;
  width: 100%;
  height: 65dvh;
  border-radius: 10px;
}
.mobile-brand {
  display: none;
}
code {
  word-break: break-all;
  background: #eef2f7;
  padding: 3px 5px;
  font-size: 11px;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.token-output {
  padding: 10px;
  background: #eff4fa;
  word-break: break-all;
}
.footer-note {
  font-size: 11px;
  color: #8792a0;
  margin: 22px 0;
}
@media (min-width: 1700px) {
  .main {
    margin: auto;
    width: 100%;
  }
  .office {
    height: 440px;
  }
}
@media (max-width: 1100px) {
  .shell {
    grid-template-columns: 185px 1fr;
  }
  .sidebar {
    padding: 28px 12px;
  }
  .main {
    padding: 0 24px 32px;
  }
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .office {
    height: 300px;
  }
  .team-strip {
    padding: 15px;
    gap: 10px;
  }
  .person .avatar {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .person p {
    font-size: 10px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    z-index: 3;
    width: 100%;
    height: 70px;
    padding: 5px 4px 8px;
    background: #0b0e13;
  }
  .sidebar > .wordmark,
  .sidebar > .workspace-label,
  .sidebar > footer {
    display: none;
  }
  .nav {
    display: flex;
    overflow-x: auto;
    justify-content: space-around;
    height: 100%;
  }
  .nav button {
    flex-direction: column;
    gap: 5px;
    padding: 7px 9px;
    font-size: 9px;
    min-width: 52px;
    border-radius: 6px;
  }
  .nav button:nth-child(5),
  .nav button:nth-child(6) {
    display: none;
  }
  .main {
    padding: 0 18px 100px;
  }
  .topbar {
    height: 65px;
  }
  .breadcrumb {
    display: none;
  }
  .mobile-brand {
    display: block;
    font-size: 19px;
    color: #15263c;
    font-weight: 650;
  }
  .topbar-actions {
    gap: 6px;
  }
  .topbar-actions button {
    padding: 7px;
    font-size: 10px;
  }
  .page-heading {
    margin: 24px 0 22px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .page-heading .primary {
    padding: 10px 12px;
    font-size: 11px;
  }
  .office {
    height: 260px;
  }
  .panel-head {
    padding: 18px;
  }
  .team-strip {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .person p {
    font-size: 11px;
  }
  .card-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .metric strong {
    font-size: 23px;
  }
  .metric span {
    font-size: 10px;
  }
  .overview-grid {
    gap: 18px;
    margin-top: 18px;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-brand {
    min-height: 240px;
    padding: 30px;
  }
  .login-brand h1 {
    font-size: 30px;
    margin-top: 30px;
  }
  .login-brand p {
    display: none;
  }
  .login-form {
    padding: 32px 24px;
  }
  .board {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .lane {
    min-height: 100px;
  }
  .lane .idea-card {
    min-height: 95px;
  }
  .row {
    flex-wrap: wrap;
  }
  .dialog-body .row > * {
    flex-basis: 100%;
  }
  .badge {
    font-size: 9px;
  }
  .topbar .badge {
    display: none;
  }
  .office-note {
    font-size: 9px;
  }
  .toolbar select {
    max-width: 140px;
  }
  .dialog-body {
    padding: 5px 18px 20px;
  }
  .dialog-head {
    padding: 18px;
  }
  .metric-row {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
.attachments .attachment {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
  margin-block: .75rem;
  overflow-wrap: anywhere;
}
.attachments img {
  display: block;
  flex-basis: 100%;
  width: min(100%, 24rem);
  max-height: 16rem;
  object-fit: contain;
  object-position: left;
}
