:root {
  --ink: #1d1823;
  --muted: #7a7580;
  --line: #e5e3e9;
  --paper: #f6f4f8;
  --green: #c6aaed;
  --deep: #282034;
  --purple: #6e5a9e;
  --orange: #ac642f;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #8870aa;
  outline-offset: 3px;
}
.sidebar {
  width: 244px;
  position: fixed;
  inset: 0 auto 0 0;
  background: #1e1727;
  color: #d8d5dd;
  padding: 36px 20px 20px;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.brand {
  color: #efe9f7;
  font-size: 58px;
  font-weight: 850;
  letter-spacing: -5px;
  line-height: 0.85;
  padding: 0 14px 32px;
}
.brand > span {
  font-size: 15px;
  letter-spacing: 0;
  vertical-align: top;
  position: relative;
  top: 5px;
  margin-left: 6px;
}
.brand small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 3px;
  margin-top: 15px;
}
.team-switch {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px solid #403a49;
  border-radius: 9px;
  padding: 12px 10px;
  margin: 4px 0 25px;
  font-size: 12px;
  font-weight: 600;
}
.team-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #3e354b;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}
.team-switch small {
  display: block;
  font-size: 10px;
  color: #9a93a3;
  margin-top: 4px;
  font-weight: 400;
}
.live-dot {
  background: var(--green);
  width: 6px;
  height: 6px;
  border-radius: 100%;
  margin-left: auto;
}
.nav-caption {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: #928a9c;
  padding-left: 13px;
  margin: 0 0 10px;
}
.sidebar nav {
  display: grid;
  gap: 5px;
  margin-bottom: 31px;
}
.sidebar nav a {
  padding: 12px 13px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  color: #beb8c6;
}
.sidebar nav a > span {
  width: 18px;
  font-size: 16px;
  text-align: center;
}
.sidebar nav a:hover {
  background: #322b3c;
}
.sidebar nav a.active {
  background: var(--green);
  color: #292135;
  font-weight: 650;
}
.sidebar nav b {
  font-size: 10px;
  border-radius: 4px;
  padding: 2px 5px;
  background: #756a8433;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 16px 12px 0;
}
.small-label {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #938b9e;
}
.sidebar-bottom p {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 450;
  margin: 10px 0 26px;
  color: #d9d3e2;
}
.profile {
  border-top: 1px solid #3c3446;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  background: #4c425b;
  color: #e4dcf0;
  display: grid;
  place-items: center;
}
.profile small {
  display: block;
  font-size: 9px;
  color: #9f98a8;
  margin-top: 4px;
}
.workspace {
  margin-left: 244px;
  min-height: 100vh;
}
.topbar {
  height: 74px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  font-size: 11px;
  background: #fbfafd;
}
.breadcrumb {
  color: #9f9ba5;
  margin-right: 9px;
}
.top-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}
.mode {
  font-size: 10px;
  color: #5f5272;
  display: flex;
  align-items: center;
  gap: 7px;
}
.mode:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8c72b1;
}
.quiet {
  border: 0;
  background: transparent;
  color: #7b7584;
  font-size: 19px;
  padding: 6px 9px;
}
.notice {
  margin: 20px 42px 0;
  padding: 13px 17px;
  border-radius: 7px;
  background: #f8edd8;
  border: 1px solid #e7d2a9;
  font-size: 12px;
}
.notice[hidden] {
  display: none;
}
main {
  padding: 36px 42px 44px;
  max-width: 1580px;
  margin: auto;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #766f80;
  font-weight: 650;
  margin: 0 0 12px;
}
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
h1 {
  font-size: 31px;
  line-height: 1.2;
  font-weight: 570;
  letter-spacing: -1.2px;
  margin: 0 0 10px;
}
h2 {
  font-size: 17px;
  font-weight: 620;
  letter-spacing: -0.3px;
  margin: 0;
}
h3 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  line-height: 1.4;
}
p {
  line-height: 1.6;
}
.sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.button {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 11px 15px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.button.primary {
  background: var(--deep);
  color: #f1edf6;
  border-color: var(--deep);
}
.button.soft {
  background: #ede8f4;
  border-color: #e0d8ea;
  color: #483660;
}
.button.danger {
  color: #a34f49;
}
.button:hover {
  filter: brightness(0.96);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  margin-bottom: 27px;
  overflow: hidden;
}
.stat {
  padding: 21px 23px;
  position: relative;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat-label {
  font-size: 10px;
  color: #777081;
  display: flex;
  justify-content: space-between;
}
.stat-value {
  font-size: 31px;
  font-weight: 540;
  letter-spacing: -1px;
  display: block;
  margin: 9px 0 6px;
}
.stat small {
  font-size: 9px;
  color: #95909d;
}
.stat-icon {
  font-size: 14px;
  color: #90879d;
}
.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 24px;
  align-items: start;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 6px 0 17px;
}
.text-link {
  font-size: 10px;
  color: #736685;
  background: none;
  border: 0;
  padding: 3px;
  cursor: pointer;
}
.count {
  display: inline-grid;
  place-items: center;
  font-size: 10px;
  min-width: 20px;
  height: 20px;
  background: #e8e4ee;
  color: #665d73;
  border-radius: 5px;
  margin-left: 7px;
  vertical-align: middle;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 21px;
  margin-bottom: 12px;
}
.proposal-card {
  border-left: 3px solid #a594bc;
}
.card-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 9px;
  color: #857d91;
  margin-bottom: 13px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 4px;
  font-size: 9px;
  line-height: 1.3;
  white-space: nowrap;
  background: #ede9f2;
  color: #645a73;
}
.tag.purple {
  background: #f0ecf7;
  color: #7c639e;
}
.tag.orange {
  background: #fbf0e2;
  color: #a27238;
}
.tag.red {
  background: #fcebea;
  color: #a65653;
}
.tag.green {
  background: #ede6f6;
  color: #664f87;
}
.card p {
  color: #7c7685;
  font-size: 11px;
  margin: 0 0 17px;
  max-width: 650px;
}
.card-bottom {
  border-top: 1px solid #ece9f1;
  padding-top: 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #8c8497;
}
.card-bottom .button {
  padding: 8px 12px;
  font-size: 10px;
}
.mini-avatar {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 100%;
  background: #eae5f1;
  color: #685780;
  font-size: 9px;
  margin-right: 5px;
}
.route-card {
  background: #ebe6f2;
  border: 1px solid #ddd6e7;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 18px;
}
.route-card .eyebrow {
  font-size: 8px;
  color: #746785;
}
.route-card h2 {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 520;
  margin: 8px 0 9px;
  max-width: 230px;
}
.route-card p {
  font-size: 11px;
  color: #7c6e90;
  margin: 0 0 20px;
}
.route-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 8px;
  color: #6d5c86;
}
.route-steps b {
  background: #fff9;
  padding: 8px;
  border-radius: 5px;
  font-weight: 500;
}
.route-steps b.current {
  background: #362849;
  color: white;
}
.source-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.source-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px 17px;
  border-bottom: 1px solid #ece9f1;
}
.source-row:last-child {
  border: 0;
}
.source-mark {
  border: 1px solid #e4dfec;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #7c6d90;
}
.source-row strong {
  font-size: 10px;
  font-weight: 550;
  display: block;
}
.source-row small {
  font-size: 9px;
  color: #988ea5;
  display: block;
  margin-top: 4px;
}
.source-row .tag {
  margin-left: auto;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition: border 0.15s;
}
.project-card:hover {
  border-color: #917faa;
}
.project-card .client-mark {
  width: 37px;
  height: 37px;
  background: #ece8f1;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  color: #746885;
}
.project-card h3 {
  font-size: 14px;
  margin-bottom: 4px;
}
.project-card .sub {
  font-size: 10px;
}
.progress-track {
  height: 4px;
  background: #ede9f2;
  border-radius: 8px;
  overflow: hidden;
  margin: 21px 0 10px;
}
.progress-track span {
  height: 100%;
  display: block;
  background: #a994c7;
}
.progress-track .p0 {
  width: 0;
}
.progress-track .p25 {
  width: 25%;
}
.progress-track .p50 {
  width: 50%;
}
.progress-track .p75 {
  width: 75%;
}
.progress-track .p100 {
  width: 100%;
}
.project-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #877c97;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 11px;
}
th {
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.4px;
  color: #867e91;
  background: #fbf9fd;
  padding: 14px 17px;
}
td {
  padding: 16px 17px;
  border-top: 1px solid #ebe7f0;
  color: #6c617c;
}
td strong {
  color: #342b40;
  font-size: 11px;
  font-weight: 550;
}
td small {
  display: block;
  font-size: 9px;
  margin-top: 5px;
  color: #8f859c;
}
.task-title {
  min-width: 260px;
}
select,
input,
textarea {
  border: 1px solid #dbd5e3;
  border-radius: 6px;
  background: #fff;
  padding: 9px 10px;
  color: #372e43;
  font-size: 12px;
  max-width: 100%;
}
select {
  font-size: 10px;
}
textarea {
  min-height: 85px;
  resize: vertical;
  line-height: 1.6;
  width: 100%;
}
label {
  display: block;
  font-size: 10px;
  color: #6c607d;
  margin: 15px 0 7px;
}
input {
  width: 100%;
}
select#project-filter {
  max-width: 230px;
  min-width: 165px;
}
.filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter {
  border: 1px solid var(--line);
  background: white;
  border-radius: 5px;
  padding: 7px 11px;
  color: #827791;
  font-size: 10px;
}
.filter.selected {
  background: #e4deed;
  border-color: #cdc1dd;
  color: #4e396c;
}
.empty {
  padding: 40px 25px;
  border: 1px dashed #d8d2e1;
  background: #faf8fc;
  border-radius: 10px;
  color: #7f7192;
  text-align: center;
  font-size: 12px;
  line-height: 1.8;
}
.empty h3 {
  color: #534666;
}
.timeline {
  display: grid;
  gap: 0;
}
.event {
  display: flex;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #eae6f0;
  font-size: 11px;
}
.event-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a394b9;
  margin-top: 5px;
  flex-shrink: 0;
}
.event small {
  display: block;
  color: #9389a0;
  font-size: 9px;
  margin-top: 5px;
}
.event .time {
  margin-left: auto;
  white-space: nowrap;
  color: #8a8099;
  font-size: 9px;
}
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.library-grid .card {
  margin: 0;
  padding: 27px;
}
.skill-symbol {
  font-size: 24px;
  color: #786593;
  margin-bottom: 20px;
}
.library-grid ul {
  padding-left: 16px;
  font-size: 11px;
  line-height: 2;
  color: #7d6e91;
}
.guide {
  max-width: 780px;
}
.guide p {
  font-size: 13px;
  color: #746886;
}
.guide .card {
  padding: 26px;
}
.guide h3 {
  font-size: 17px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 0 42px 24px;
  font-size: 9px;
  color: #9d94aa;
}
footer span {
  font-size: 8px;
  letter-spacing: 1px;
}
dialog {
  border: 0;
  border-left: 1px solid var(--line);
  background: #f9f7fb;
  color: var(--ink);
  padding: 0;
  width: 670px;
  max-width: 96vw;
  max-height: 100vh;
  height: 100vh;
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  box-shadow: -15px 0 65px #2a223520;
}
dialog::backdrop {
  background: #211c294d;
  backdrop-filter: blur(2px);
}
.drawer-top {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f9f7fbee;
  backdrop-filter: blur(8px);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 1.4px;
  color: #887c99;
}
#drawer-content {
  padding: 27px 30px 36px;
}
#drawer-content h1 {
  font-size: 27px;
}
#drawer-content h2 {
  font-size: 14px;
  margin: 25px 0 12px;
}
#drawer-content .card {
  padding: 18px;
}
#drawer-content p {
  font-size: 12px;
  color: #7b708b;
}
.detail-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #ece7f2;
  border-radius: 8px;
  padding: 18px;
  margin: 22px 0;
}
.detail-facts dt {
  font-size: 9px;
  color: #8c809c;
  margin-bottom: 5px;
}
.detail-facts dd {
  margin: 0;
  font-size: 11px;
  color: #534369;
}
.evidence {
  font-size: 11px;
  color: #796b8c;
  border-left: 2px solid #bbaccf;
  padding: 0 0 0 13px;
  margin: 16px 0;
}
.evidence a {
  display: block;
  color: #5c4b73;
  font-size: 10px;
  margin-top: 8px;
  text-decoration: underline;
}
.task-preview {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 12px;
}
.task-preview small {
  display: block;
  color: #867a98;
  font-size: 10px;
  line-height: 1.7;
  margin-top: 6px;
}
.decision-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.warning {
  font-size: 11px;
  line-height: 1.7;
  background: #fcf0df;
  border: 1px solid #ead6b7;
  color: #957443;
  border-radius: 7px;
  padding: 13px;
}
.source-editor {
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 7px;
  margin: 12px 0;
}
.inline-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.drawer-note {
  font-size: 10px !important;
  color: #8b809a !important;
}
.login {
  max-width: 500px;
  margin: 50px auto;
  text-align: center;
}
.login h1 {
  font-size: 31px;
}
.login p {
  color: #796d8b;
  margin: 20px 0;
}
.muted {
  color: #897e99;
}
.section-space {
  margin-top: 32px;
}
@media (min-width: 1600px) {
  main {
    padding-top: 45px;
  }
  .card {
    padding: 25px;
  }
  .project-card {
    padding: 25px;
  }
}
@media (max-width: 1150px) {
  .sidebar {
    width: 210px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .workspace {
    margin-left: 210px;
  }
  main {
    padding: 30px 27px;
  }
  .topbar {
    padding: 0 27px;
  }
  .two-columns {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr);
    gap: 18px;
  }
  .project-grid {
    gap: 10px;
  }
  .project-card {
    padding: 15px;
  }
  .stats .stat {
    padding: 17px;
  }
  h1 {
    font-size: 27px;
  }
}
@media (max-width: 900px) {
  .two-columns {
    grid-template-columns: 1fr;
  }
  .two-columns > section:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .sidebar {
    width: 190px;
  }
  .workspace {
    margin-left: 190px;
  }
  .sidebar nav a {
    font-size: 11px;
    padding: 11px 9px;
    gap: 7px;
  }
  .team-switch {
    padding: 10px 7px;
  }
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-head {
    align-items: flex-start;
  }
  h1 {
    font-size: 25px;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stat:nth-child(4) {
    border-top: 1px solid var(--line);
  }
  .library-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .sidebar {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 17px 16px 0;
    display: block;
  }
  .brand {
    font-size: 37px;
    padding: 0;
    display: block;
    margin-bottom: 19px;
  }
  .brand small {
    display: inline-block;
    margin: 0 0 0 20px;
    vertical-align: middle;
    font-size: 8px;
    letter-spacing: 2px;
  }
  .brand > span {
    font-size: 10px;
  }
  .team-switch,
  .nav-caption,
  .sidebar-bottom {
    display: none;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    gap: 7px;
    margin: 0;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .sidebar nav a {
    white-space: nowrap;
    padding: 9px 10px;
    font-size: 10px;
  }
  .sidebar nav a > span {
    display: none;
  }
  .workspace {
    margin: 0;
  }
  .topbar {
    height: 56px;
    padding: 0 20px;
    font-size: 10px;
  }
  main {
    padding: 25px 20px;
  }
  .page-head {
    display: block;
    margin-bottom: 22px;
  }
  .page-head .button,
  .page-head select {
    margin-top: 14px;
  }
  h1 {
    font-size: 27px;
  }
  .sub {
    font-size: 11px;
  }
  .stats {
    margin-bottom: 24px;
  }
  .stat-value {
    font-size: 27px;
  }
  .two-columns > section:last-child {
    display: block;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    padding: 20px;
  }
  .two-columns {
    gap: 16px;
  }
  .route-card h2 {
    max-width: none;
  }
  .route-card {
    margin-bottom: 20px;
  }
  .card {
    padding: 18px;
  }
  .card-bottom {
    gap: 8px;
  }
  .card-bottom > span {
    font-size: 8px;
  }
  footer {
    padding: 0 20px 24px;
    display: block;
    line-height: 1.8;
  }
  footer span {
    display: block;
    margin-top: 8px;
  }
  .notice {
    margin: 15px 20px;
  }
  #drawer-content {
    padding: 22px;
  }
  .drawer-top {
    padding: 0 22px;
  }
  dialog {
    max-width: 100vw;
    width: 100vw;
  }
  .inline-fields {
    grid-template-columns: 1fr;
  }
  .detail-facts {
    gap: 16px;
  }
}

.work-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 11px;
}
.project-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding: 0 0 18px;
}
.board-column {
  border-radius: 12px;
  background: #ece9f1;
  padding: 14px;
  min-height: 290px;
}
.board-column .section-top {
  margin: 2px 0 18px;
}
.board-column h2 {
  font-size: 12px;
}
.board-column .project-card {
  width: 100%;
  padding: 19px 15px;
  margin-bottom: 12px;
}
.board-column .project-card h3 {
  font-size: 14px;
  line-height: 1.5;
}
.board-column .project-foot {
  flex-wrap: wrap;
  gap: 9px;
}
.board-empty {
  font-size: 11px;
  color: var(--muted);
  padding: 12px 0;
  line-height: 1.7;
}
.attention-overview {
  margin: 0 0 32px;
}
.attention-list {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
  overflow: hidden;
}
.attention-row {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}
.attention-row:last-child {
  border-bottom: 0;
}
.attention-row strong {
  font-size: 12px;
}
.attention-row small {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.attention-row .button {
  margin-left: auto;
  flex-shrink: 0;
}
.attention-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7945e;
  flex-shrink: 0;
}
.search-form {
  display: flex;
  gap: 10px;
  max-width: 650px;
  margin: 0 0 24px;
}
.search-form input {
  min-width: 0;
}
.client-card {
  display: flex;
  align-items: center;
  gap: 20px;
}
.client-card .client-mark {
  margin: 0;
  flex-shrink: 0;
}
.client-card .button {
  margin-left: auto;
}
.client-card h3 {
  margin: 0;
}
.client-card p {
  margin: 7px 0 0;
}
.blocked-note {
  color: var(--orange);
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 700px) {
  .attention-row {
    padding: 14px 12px;
    gap: 9px;
  }
  .attention-row .button {
    padding: 8px;
    font-size: 9px;
  }
  .client-card {
    flex-wrap: wrap;
    gap: 14px;
  }
  .client-card .button {
    margin-left: 0;
  }
  .project-board {
    grid-template-columns: repeat(5, 240px);
  }
}
@media (max-height: 850px) and (min-width: 961px) {
  .sidebar {
    padding-top: 24px;
    overflow-y: auto;
  }
  .brand {
    padding-bottom: 22px;
  }
  .team-switch {
    margin-bottom: 18px;
  }
  .sidebar-bottom p {
    display: none;
  }
}

/* Preparation: readable evidence and decisions, with the TAP purple accent. */
.prep-intro { display:grid; grid-template-columns:1.4fr 1fr; gap:36px; padding:34px; border:1px solid #e1d7f2; background:#eee7fa; border-radius:18px; margin:24px 0 28px; }
.prep-intro h2 { font-size:29px; line-height:1.15; margin:10px 0 16px; letter-spacing:-.6px; }
.prep-intro p { max-width:620px; line-height:1.7; }
.prep-intro ol { display:grid; gap:14px; align-content:center; padding-left:28px; color:#614080; font-weight:650; }
.prep-projects { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.prep-project h2 { font-size:23px; margin:12px 0; }
.prep-project .eyebrow { margin-top:24px; }
.prep-project p { line-height:1.65; }
.prep-facts,.prep-summary { display:flex; flex-wrap:wrap; gap:12px; font-size:12px; margin:20px 0; }
.prep-facts span { border-left:2px solid #bea2df; padding-left:10px; }
.brief-grid,.mission-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:20px 0 30px; }
.brief-item { padding:17px; border:1px solid var(--line); border-radius:10px; background:#fcfaff; min-width:0; }
.brief-item h3 { margin:0 0 9px; font-size:14px; }
.brief-item p { font-size:13px; line-height:1.6; white-space:pre-wrap; overflow-wrap:anywhere; }
.brief-item.missing { border-style:dashed; }
.mission-card { text-align:left; padding:20px; border:1px solid #dacced; border-radius:12px; background:#f6f0ff; color:var(--ink); }
.mission-card strong { display:block; margin-bottom:12px; color:#65418b; }
.mission-card span { font-size:13px; line-height:1.6; display:block; }
.mission-card:hover { border-color:#8b62bc; background:#eee4fb; }
.mission-card:disabled { opacity:.5; }
.check-list { display:grid; gap:10px; }
.check-item { padding:18px; border:1px solid var(--line); border-radius:12px; }
.check-item>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; }
.check-item p { font-size:14px; line-height:1.65; }
.source-chip { display:inline-block; font-size:11px; padding:6px 9px; margin:3px 6px 3px 0; border:1px solid #e0d3ef; border-radius:6px; color:#67478a; overflow-wrap:anywhere; }
.preserve-lines { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.75; }
.client-draft { border-left:3px solid #9f74d0; background:#f5effc; padding:22px; border-radius:0 12px 12px 0; }
.question-list { padding-left:22px; line-height:1.8; }
.specialist-report { margin:28px 0; }
.specialist-report h2 { margin-top:28px; }
@media(max-width:900px) { .prep-projects { grid-template-columns:1fr; } .prep-intro { grid-template-columns:1fr; gap:10px; padding:24px; } }
@media(max-width:520px) { .brief-grid,.mission-grid { grid-template-columns:1fr; } .prep-intro h2 { font-size:24px; } }

.evidence-picker { border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 12px 0 24px; min-width: 0; }
.evidence-picker legend { padding: 0 6px; font-weight: 600; }
.evidence-picker label, .review-confirm { display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.review-confirm[hidden] { display: none; }
.evidence-picker input[type="checkbox"], .review-confirm input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; margin: 3px 0 0; accent-color: #7046b3; }
.review-context { border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 24px; }

.onboarding-receipt{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:22px 0;border-left:3px solid var(--purple,#b799ff)}
.onboarding-receipt h2{margin:8px 0}.onboarding-receipt p{margin:8px 0}.onboarding-receipt small{display:block;max-width:70ch;color:var(--muted)}
@media(max-width:680px){.onboarding-receipt{align-items:flex-start;flex-direction:column;gap:12px}}
