:root {
  --purple: #552897;
  --deep: #35204e;
  --orange: #f18b43;
  --ink: #252333;
  --muted: #797688;
  --line: #eae7ef;
  --bg: #f7f7fa;
  --white: #fff;
  --green: #268568;
  --shadow: 0 8px 30px #30204b08;
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  font-size: 14px;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: var(--purple);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #bfa1e5;
  outline-offset: 3px;
}
svg.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}
h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
h3 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 9px;
}
small,
.small {
  font-size: 12px;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 10px;
  font-weight: 750;
}
.pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.nowrap {
  white-space: nowrap;
}
.flex {
  display: flex;
  align-items: center;
  gap: 12px;
}
.between {
  justify-content: space-between;
}
.wrap {
  flex-wrap: wrap;
}
.gap8 {
  gap: 8px;
}
.stack {
  display: grid;
  gap: 18px;
}
.grow {
  flex: 1;
  min-width: 0;
}
.mt {
  margin-top: 24px;
}
.mb0 {
  margin-bottom: 0;
}
.hidden {
  display: none !important;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  background: var(--purple);
  color: white;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  font-size: 36px;
  line-height: 1;
  font-weight: 700;
  position: relative;
  padding-bottom: 7px;
  letter-spacing: -2px;
}
.brand-mark span {
  position: absolute;
  color: #ffaf66;
  top: -6px;
  right: -6px;
  font-size: 23px;
}
.brand-name {
  font-weight: 750;
  font-size: 19px;
  letter-spacing: -0.6px;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-size: 10px;
  letter-spacing: 2.4px;
  color: var(--muted);
  font-weight: 600;
  margin-top: 5px;
}
.layout {
  min-height: 100vh;
  padding-left: 244px;
}
.sidebar {
  width: 244px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid var(--line);
  z-index: 30;
  padding: 30px 18px 20px;
  display: flex;
  flex-direction: column;
}
.sidebar .brand {
  padding: 0 12px 30px;
}
.workspace-switch {
  margin: 0 0 30px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fcfbfd;
}
.workspace-switch label {
  display: block;
  font-size: 10px;
  letter-spacing: 1.4px;
  color: var(--muted);
  margin-bottom: 7px;
}
.workspace-switch select {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 13px;
  font-weight: 650;
  min-width: 0;
  color: var(--deep);
  padding: 0;
}
.nav-label {
  color: #aaa5b4;
  letter-spacing: 1.5px;
  font-size: 10px;
  font-weight: 650;
  margin: 12px 13px 8px;
}
.nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  background: none;
  border: 0;
  color: #777183;
  text-align: left;
  padding: 12px 15px;
  border-radius: 9px;
  margin: 3px 0;
  font-size: 13px;
  font-weight: 550;
}
.nav-item:hover {
  background: #faf8fd;
  color: var(--purple);
}
.nav-item.active {
  background: #f0eaf8;
  color: var(--purple);
  font-weight: 700;
}
.nav-item .count {
  margin-left: auto;
  background: #e2d5f1;
  border-radius: 5px;
  padding: 0 6px;
  font-size: 10px;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 25px 11px 0;
}
.sidebar-note {
  background: #faf6f1;
  border: 1px solid #f4e6d9;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 22px;
}
.sidebar-note h3 {
  font-size: 12px;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.7;
  margin: 0;
  color: #967858;
}
.powered {
  font-size: 10px;
  color: #aaa3b4;
  line-height: 1.8;
}
.topbar {
  height: 85px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  gap: 15px;
}
.breadcrumb {
  font-size: 12px;
  color: #9991a5;
}
.breadcrumb span {
  color: #514859;
  margin-left: 10px;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.icon-btn {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  color: #6b6279;
  padding: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.icon-btn:hover {
  background: #f8f5fc;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  right: 7px;
}
.avatar {
  width: 34px;
  height: 34px;
  background: #eae1f5;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 750;
  color: #67498c;
  flex-shrink: 0;
  border: 2px solid white;
}
.avatar.c1 {
  background: #ffead7;
  color: #a66c38;
}
.avatar.c2 {
  background: #dceee8;
  color: #4d806c;
}
.avatar.c3 {
  background: #e0e9f9;
  color: #5273a6;
}
.avatar.large {
  width: 44px;
  height: 44px;
  font-size: 14px;
}
.profile-btn {
  background: transparent;
  border: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
}
.profile-btn b {
  display: block;
  font-size: 12px;
}
.profile-btn small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: capitalize;
}
.main {
  max-width: 1550px;
  margin: 0 auto;
  padding: 36px 40px 45px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 27px;
}
.page-heading p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 13px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  color: #5b5265;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:hover {
  background: #faf8fc;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
  box-shadow: 0 3px 8px #55289718;
}
.btn.primary:hover {
  background: #452079;
}
.btn.orange {
  background: #fff1e5;
  color: #b66b34;
  border-color: #ffe4ce;
}
.btn.danger {
  color: #b44253;
  background: #fff5f6;
  border-color: #f5dce0;
}
.btn.small {
  font-size: 11px;
  padding: 7px 11px;
}
.btn.text {
  background: transparent;
  border-color: transparent;
  color: var(--purple);
  padding: 7px 0;
}
.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  position: relative;
  min-height: 230px;
  background: #eee8f6;
  border: 1px solid #e5daf0;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 26px;
}
.hero-copy {
  padding: 32px 34px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: #8967ac;
  margin-bottom: 14px;
}
.hero h2 {
  font-size: 32px;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: #42255f;
  margin-bottom: 12px;
}
.hero p {
  font-size: 12px;
  max-width: 375px;
  line-height: 1.8;
  color: #877394;
  margin-bottom: 18px;
}
.hero .btn {
  padding: 9px 14px;
  font-size: 11px;
}
.hero-art {
  width: 100%;
  height: 100%;
  min-height: 230px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.metric {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 19px 20px;
  box-shadow: var(--shadow);
}
.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 550;
}
.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0eaf8;
  color: #8e67b3;
}
.metric-icon.orange {
  background: #fff2e7;
  color: #df975f;
}
.metric-icon.green {
  background: #eaf5f0;
  color: #6aa78b;
}
.metric-icon.blue {
  background: #edf2fc;
  color: #7c98c0;
}
.metric-value {
  font-size: 31px;
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -1px;
  margin: 15px 0 6px;
}
.metric-foot {
  font-size: 10px;
  color: #a59bad;
}
.metric-foot b {
  color: #8b729e;
  font-weight: 550;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.project-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #35204e0c;
}
.project-card-body {
  padding: 21px 21px 18px;
  flex: 1;
}
.project-card .card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}
.project-emblem {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0eafa;
  color: #9674bd;
}
.project-emblem.c1 {
  background: #fef0e4;
  color: #d49d70;
}
.project-emblem.c2 {
  background: #e7f2ed;
  color: #6f9d87;
}
.project-emblem .icon {
  width: 23px;
  height: 23px;
}
.badge {
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 5px;
  background: #f4f0fa;
  color: #9774b4;
  font-weight: 600;
  white-space: nowrap;
}
.badge.building {
  background: #fff1e5;
  color: #b98b5c;
}
.badge.submitted,
.badge.accepted {
  background: #eaf5ef;
  color: #699a81;
}
.badge.pending {
  background: #fff2e2;
  color: #b78b4a;
}
.badge.declined,
.badge.cancelled {
  background: #f5f2f5;
  color: #a18a97;
}
.team-label {
  font-size: 10px;
  color: #9a8da6;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 7px;
}
.project-card h3 {
  font-size: 15px;
  letter-spacing: -0.2px;
  margin-bottom: 10px;
}
.card-description {
  color: #9b92a3;
  font-size: 11px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 16px 0 0;
}
.tag {
  color: #988ca3;
  font-size: 9px;
  background: #f8f6fa;
  border: 1px solid #f1eef4;
  border-radius: 4px;
  padding: 3px 7px;
}
.project-card-footer {
  padding: 14px 20px;
  border-top: 1px solid #f4f0f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.avatar-stack {
  display: flex;
  padding-left: 3px;
}
.avatar-stack .avatar {
  width: 27px;
  height: 27px;
  font-size: 8px;
  margin-left: -4px;
}
.team-spaces {
  font-size: 10px;
  color: #a197aa;
  margin-left: 8px;
}
.card-arrow {
  border: 0;
  background: #f7f4fa;
  color: #8c6cab;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}
.card-arrow:hover {
  background: #eee4fa;
}
.lower-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-top: 28px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 23px;
  box-shadow: var(--shadow);
}
.panel h2 {
  font-size: 15px;
}
.activity {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid #f5f2f7;
}
.activity:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.activity p {
  font-size: 11px;
  color: #8b8195;
  margin: 0;
  overflow-wrap: anywhere;
}
.activity b {
  font-weight: 600;
  color: #605569;
}
.activity small {
  display: block;
  font-size: 10px;
  color: #b1a8b7;
  margin-top: 3px;
}
.activity .activity-icon {
  border-radius: 50%;
  background: #f2edf8;
  color: #ac90c8;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.activity-icon .icon {
  width: 13px;
  height: 13px;
}
.announcement-preview {
  background: #faf7fd;
  border: 1px solid #f0e9f6;
  border-radius: 8px;
  padding: 16px;
  margin-top: 15px;
}
.announcement-preview h3 {
  font-size: 12px;
}
.announcement-preview p {
  color: #9d90a8;
  font-size: 11px;
  margin-bottom: 10px;
  line-height: 1.8;
}
.announcement-preview small {
  font-size: 9px;
  color: #ac9ab9;
}
.progress-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
  font-size: 11px;
  color: #9b8ca8;
}
.progress-row label {
  width: 78px;
}
progress {
  height: 6px;
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: #f1edf6;
  overflow: hidden;
  accent-color: var(--purple);
}
progress::-webkit-progress-bar {
  background: #f1edf6;
  border-radius: 5px;
}
progress::-webkit-progress-value {
  background: #9773be;
  border-radius: 5px;
}
progress::-moz-progress-bar {
  background: #9773be;
  border-radius: 5px;
}
.toolbar {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.search-box {
  position: relative;
  flex: 1;
}
.search-box .icon {
  position: absolute;
  left: 12px;
  top: 11px;
  color: #aa9cb5;
  width: 17px;
}
.search-box input {
  padding-left: 38px;
}
.toolbar input,
.toolbar select {
  background: #fbfafc;
}
.toolbar select {
  max-width: 190px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.field label {
  font-weight: 600;
  font-size: 12px;
  color: #64536f;
}
.field small {
  font-size: 11px;
  color: #a095a8;
}
.field input,
.field textarea,
.field select,
input,
select,
textarea {
  padding: 10px 12px;
  border: 1px solid #e5dfeb;
  border-radius: 7px;
  background: white;
  color: #5c4e67;
  max-width: 100%;
  width: 100%;
  font-size: 13px;
}
textarea {
  min-height: 95px;
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #b6aabb;
  font-size: 12px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.error {
  background: #fff1f3;
  color: #ae4055;
  border: 1px solid #f7d9e0;
  padding: 12px;
  border-radius: 7px;
  font-size: 12px;
  margin: 12px 0;
}
.notice {
  background: #f1ebfa;
  color: #82649d;
  border: 1px solid #e3d8ef;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 12px;
  margin-bottom: 20px;
}
.notice.warning {
  background: #fff5e8;
  border-color: #f6e4c9;
  color: #a27846;
}
.empty {
  padding: 45px 20px;
  text-align: center;
  border: 1px dashed #dcd2e6;
  background: #fbf9fd;
  border-radius: 10px;
}
.empty .empty-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: #eee7f7;
  color: #a084ba;
  margin: 0 auto 18px;
}
.empty h3 {
  font-size: 15px;
}
.empty p {
  font-size: 12px;
  color: #a292ae;
  max-width: 400px;
  margin: 0 auto 20px;
}
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #92849d;
  margin-top: 24px;
}
.table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #aaa0b2;
  background: #fdfcfe;
  font-weight: 550;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
td {
  padding: 16px 20px;
  border-bottom: 1px solid #f2eef6;
  vertical-align: middle;
  color: #928499;
}
tr:last-child td {
  border-bottom: 0;
}
td strong {
  color: #695872;
  font-size: 12px;
  font-weight: 600;
}
.member-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.member-card h3 {
  font-size: 14px;
  margin-bottom: 4px;
}
.member-card p {
  font-size: 11px;
  margin: 4px 0;
  color: #a394ac;
}
.member-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.member-cards .panel {
  padding: 20px;
}
.request-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.request-card .request-body {
  flex: 1;
  min-width: 0;
}
.request-card h3 {
  font-size: 13px;
  margin-bottom: 3px;
}
.request-card p {
  font-size: 12px;
  color: #9b8ea5;
  margin: 8px 0 12px;
}
.request-card small {
  font-size: 10px;
  color: #ad9db7;
}
.detail-heading {
  background: #f6f1fc;
  border: 1px solid #eee5f7;
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 24px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}
.detail-section {
  margin-bottom: 23px;
}
.detail-section h3 {
  font-size: 12px;
  color: #8e719f;
  letter-spacing: 0.3px;
}
.detail-section p {
  font-size: 13px;
  line-height: 1.9;
  color: #81728c;
}
.team-member {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #f0eaf5;
}
.team-member:last-child {
  border: 0;
}
.team-member b {
  font-size: 12px;
  font-weight: 600;
}
.team-member small {
  display: block;
  font-size: 10px;
  color: #ab99b6;
}
.slot-empty {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: #baaec3;
  padding: 13px 0;
}
.slot-empty .avatar {
  background: transparent;
  border: 1px dashed #dbcee7;
}
.tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  color: #9a89a5;
  background: none;
  padding: 0 0 12px;
  font-size: 12px;
}
.tabs button.active {
  color: var(--purple);
  border-color: var(--purple);
  font-weight: 650;
}
dialog {
  border: 1px solid #e9def1;
  border-radius: 14px;
  padding: 0;
  width: min(850px, calc(100% - 32px));
  max-height: 90vh;
  box-shadow: 0 20px 90px #25153230;
  color: var(--ink);
}
dialog.narrow {
  width: min(500px, calc(100% - 32px));
}
dialog::backdrop {
  background: #24163066;
  backdrop-filter: blur(3px);
}
.dialog-head {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 2;
  padding: 21px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dialog-head h2 {
  font-size: 17px;
  margin: 0;
}
.dialog-body {
  padding: 26px;
}
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(130px);
  background: #352348;
  color: white;
  padding: 13px 22px;
  border-radius: 10px;
  box-shadow: 0 6px 30px #29183433;
  z-index: 100;
  max-width: calc(100% - 32px);
  font-size: 13px;
  transition: transform 0.25s;
}
.toast.visible {
  transform: translateX(-50%) translateY(0);
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: #fff;
}
.auth-story {
  background: #35204f;
  color: white;
  display: flex;
  flex-direction: column;
  padding: 50px 10%;
  overflow: hidden;
  position: relative;
}
.auth-story .brand-name small {
  color: #b69fcd;
}
.auth-story .brand-mark {
  background: #7045a0;
}
.auth-hero {
  margin: auto 0;
  padding: 70px 0 40px;
}
.auth-hero h1 {
  font-size: 52px;
  letter-spacing: -2px;
  line-height: 1.12;
  max-width: 420px;
}
.auth-hero h1 span {
  color: #ffa368;
}
.auth-hero p {
  color: #b7a1cc;
  font-size: 14px;
  line-height: 1.9;
  max-width: 370px;
}
.auth-story .hero-art {
  height: 230px;
  min-height: 0;
  max-width: 430px;
}
.auth-points {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #c5afd9;
  margin-top: 20px;
}
.auth-points .icon {
  color: #ffa368;
  width: 15px;
}
.auth-footer {
  font-size: 11px;
  color: #9076a9;
  margin-top: 36px;
}
.auth-form-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
  padding: 48px;
}
.auth-form-area h2 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.auth-form-area .subtitle {
  font-size: 13px;
  line-height: 1.8;
  color: #a08daa;
  margin-bottom: 28px;
}
.auth-form-area .btn {
  width: 100%;
  padding: 13px;
}
.auth-form-area .field {
  margin-bottom: 18px;
}
.auth-form-area .auth-link {
  margin: 20px 0;
  text-align: center;
  color: #a494af;
  font-size: 12px;
}
.auth-form-area .auth-link button {
  background: none;
  border: 0;
  color: var(--purple);
  padding: 0;
  font-weight: 600;
  font-size: 12px;
}
.auth-form-area .brand {
  display: none;
}
.auth-legal {
  font-size: 10px;
  color: #b9aabc;
  text-align: center;
  line-height: 1.8;
  margin-top: 20px;
}
.initial-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: #a692b7;
}
.loading {
  padding: 80px 10px;
  color: #a292ae;
  text-align: center;
}
.spinner {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 2px solid #e3d8ee;
  border-top-color: #8c67ae;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin-bottom: 12px;
}
.mobile-toggle {
  display: none;
}
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #95839f;
  white-space: nowrap;
}
.checkbox-label input {
  width: 15px;
  accent-color: var(--purple);
}
.pill-label {
  font-size: 10px;
  color: #a38bb4;
  background: #f6f1fb;
  padding: 5px 9px;
  border-radius: 5px;
}
.notification-item {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: #917c9f;
}
.notification-item.unread {
  color: #5f397f;
  font-weight: 550;
}
.notification-item small {
  display: block;
  color: #b3a1bf;
  font-size: 10px;
  margin-top: 4px;
}
.setting-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}
.setting-grid .panel h2 {
  margin-bottom: 20px;
}
.link-result {
  padding: 15px;
  border: 1px solid #ded0ed;
  background: #f9f6fd;
  border-radius: 8px;
  margin-bottom: 18px;
}
.link-result input {
  font-size: 11px;
  margin: 10px 0;
}
.link-result p {
  font-size: 11px;
  color: #9a87a9;
  margin: 0;
}
.status-distribution {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.dashboard-footer {
  margin-top: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #b9aec1;
}
.dashboard-footer .icon {
  width: 12px;
  height: 12px;
  color: #81a991;
}
.center-card {
  max-width: 600px;
  margin: 80px auto;
  padding: 35px;
}
.wordmark-orange {
  color: #ec9355;
}
.section-note {
  font-size: 11px;
  color: #aa9bb4;
  margin-bottom: 20px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .main {
    padding-top: 42px;
  }
  .hero {
    min-height: 255px;
  }
  .hero-copy {
    padding: 37px 40px;
  }
  .hero h2 {
    font-size: 38px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 215px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .layout {
    padding-left: 215px;
  }
  .main {
    padding: 28px;
  }
  .topbar {
    padding: 0 28px;
  }
  .project-card-body {
    padding: 18px;
  }
  .project-card-footer {
    padding: 13px 16px;
  }
  .project-card h3 {
    font-size: 14px;
  }
  .member-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-copy {
    padding: 28px;
  }
  .hero h2 {
    font-size: 29px;
  }
  .metrics {
    gap: 13px;
  }
  .metric {
    padding: 17px;
  }
  .auth-hero h1 {
    font-size: 44px;
  }
}
@media (max-width: 1000px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-grid .project-card:nth-child(3):last-child {
    grid-column: auto;
  }
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero {
    grid-template-columns: 1.3fr 1fr;
  }
  .hero-copy {
    padding: 24px;
  }
  .hero h2 {
    font-size: 26px;
  }
  .hero p {
    font-size: 11px;
  }
  .top-actions {
    gap: 12px;
  }
  .profile-btn .profile-copy {
    display: none;
  }
  .setting-grid {
    grid-template-columns: 1fr;
  }
  .auth-story {
    padding: 40px 9%;
  }
  .auth-form-area {
    padding: 36px;
  }
  .auth-hero h1 {
    font-size: 38px;
  }
  .auth-points {
    gap: 10px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar .search-box {
    flex-basis: 100%;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 0.9fr 1.1fr;
  }
}
@media (max-width: 760px) {
  .layout {
    padding-left: 0;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 250px;
    box-shadow: 10px 0 50px #28143922;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .sidebar.open:after {
    content: "";
    position: fixed;
    left: 250px;
    width: calc(100vw - 250px);
    top: 0;
    height: 100vh;
    background: #2f1f4333;
    z-index: -1;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .topbar {
    height: 69px;
    padding: 0 20px;
  }
  .main {
    padding: 26px 20px;
  }
  .breadcrumb {
    font-size: 11px;
  }
  .top-actions {
    gap: 9px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .btn {
    padding: 9px 12px;
    font-size: 11px;
  }
  .hero-copy {
    padding: 25px;
  }
  .hero {
    grid-template-columns: 1fr 0.8fr;
    min-height: 215px;
  }
  .hero-art {
    min-height: 215px;
  }
  .hero h2 {
    font-size: 26px;
  }
  .hero .eyebrow {
    font-size: 8px;
  }
  .hero p {
    font-size: 10px;
  }
  .metrics {
    gap: 12px;
    margin-bottom: 27px;
  }
  .metric-value {
    font-size: 28px;
  }
  .metric {
    padding: 17px;
  }
  .project-grid {
    gap: 14px;
  }
  .project-card-body {
    padding: 17px;
  }
  .lower-grid {
    gap: 18px;
  }
  .auth-layout {
    display: block;
  }
  .auth-story {
    display: none;
  }
  .auth-form-area {
    max-width: 460px;
    padding: 40px 28px;
    min-height: 100vh;
  }
  .auth-form-area .brand {
    display: flex;
    margin-bottom: 45px;
  }
  .dialog-body {
    padding: 20px;
  }
  .dialog-head {
    padding: 18px 20px;
  }
  .dialog-head h2 {
    font-size: 15px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .toolbar select {
    flex: 1;
    max-width: none;
  }
  .toolbar .checkbox-label {
    padding: 6px;
  }
  .request-card {
    flex-wrap: wrap;
  }
  .request-card .request-body {
    min-width: 160px;
  }
  .request-card .request-actions {
    margin-left: 49px;
  }
  .member-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-footer {
    gap: 15px;
    align-items: flex-start;
  }
  .table-wrap {
    max-width: calc(100vw - 40px);
  }
  .detail-heading h2 {
    font-size: 20px;
  }
  .section-heading h2 {
    font-size: 17px;
  }
  .panel {
    padding: 20px;
  }
}
@media (max-width: 480px) {
  .main {
    padding: 23px 16px;
  }
  .topbar {
    padding: 0 16px;
  }
  .top-actions .pill-label {
    display: none;
  }
  .project-grid,
  .member-cards {
    grid-template-columns: 1fr;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .hero {
    min-height: 0;
  }
  .hero h2 {
    font-size: 30px;
  }
  .hero p {
    font-size: 12px;
  }
  .hero-copy {
    padding: 27px;
  }
  .metric-top {
    font-size: 10px;
  }
  .metric-icon {
    width: 28px;
    height: 28px;
  }
  .metric-foot {
    font-size: 9px;
  }
  .metric {
    padding: 14px;
  }
  .metric-value {
    margin-top: 12px;
  }
  .page-heading {
    gap: 12px;
  }
  .page-heading h1 {
    font-size: 23px;
  }
  .page-heading .btn .icon {
    display: none;
  }
  .page-heading .btn {
    font-size: 10px;
    padding: 10px;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .profile-btn {
    padding: 0;
  }
  .section-heading .btn {
    font-size: 10px;
  }
  .project-card h3 {
    font-size: 16px;
  }
  .card-description {
    font-size: 12px;
  }
  .project-card-body {
    padding: 22px;
  }
  .project-card-footer {
    padding: 14px 22px;
  }
  .tabs {
    gap: 16px;
  }
  .tabs button {
    font-size: 11px;
  }
  .pagination {
    gap: 8px;
    font-size: 10px;
  }
  .pagination .btn {
    font-size: 10px;
    padding: 8px;
  }
  .dashboard-footer {
    font-size: 9px;
  }
  .request-card .request-actions {
    margin-left: 0;
  }
  .form-actions {
    justify-content: flex-start;
  }
  .auth-form-area h2 {
    font-size: 25px;
  }
  .hero .eyebrow {
    font-size: 9px;
  }
  .table-wrap {
    max-width: calc(100vw - 32px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Project collaboration and certificate management. */
.project-collaboration .progress-row,
.project-collaboration > .flex progress {
  max-width: 55%;
}
.milestone-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.milestone-item {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fcfafd;
}
.milestone-item h3 {
  font-size: 13px;
  margin: 0;
}
.milestone-item p {
  margin-top: 12px;
}
.milestone-item .mt {
  margin-top: 12px;
}
.project-comment {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.project-comment strong {
  font-size: 12px;
}
.project-comment p {
  font-size: 13px;
  color: #81728c;
  margin: 12px 0;
  line-height: 1.8;
}
.certificate-artwork {
  position: relative;
  width: 100%;
  margin: 20px 0;
  background: #faf8fc;
  cursor: crosshair;
  line-height: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}
.certificate-artwork img {
  width: 100%;
  height: auto;
  display: block;
}
.certificate-artwork svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.certificate-artwork rect {
  stroke: var(--purple);
  stroke-width: 4;
  stroke-dasharray: 12 6;
  fill: #773ca024;
  vector-effect: non-scaling-stroke;
}
.certificate-print-preview {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.certificate-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.certificate-fields .field {
  margin-bottom: 5px;
}
.certificate-fields input {
  min-width: 0;
}
fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  min-width: 0;
}
legend {
  font-size: 11px;
  color: var(--muted);
  padding: 0 7px;
}
.checkbox-label.wrap {
  align-items: flex-start;
  white-space: normal;
  line-height: 1.8;
}
.checkbox-label.wrap input {
  flex: 0 0 16px;
  margin-top: 5px;
}
.certificate-artwork .notice {
  line-height: 1.5;
}
.project-collaboration {
  box-shadow: none;
}
@media (max-width: 760px) {
  .milestone-list {
    grid-template-columns: 1fr;
  }
  .certificate-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .certificate-print-preview {
    border-radius: 0;
  }
}

.certificate-artwork rect.certificate-reference-box {
  stroke: #e58b35;
  fill: #e58b3524;
}
