:root {
  --orange: #ff9d00;
  --orange-dark: #f18d00;
  --ink: #11131a;
  --muted: #8c8f95;
  --line: #e9e9ea;
  --surface: #ffffff;
  --page: #f7f6f4;
  --danger: #f42332;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 178px;
  max-width: 100%;
  display: block;
}

.topbar {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 22px;
  padding: 16px clamp(24px, 3.2vw, 48px);
  background: #f9f8f6;
  border-bottom: 1px solid #e5e4e1;
}

.project-meta {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, auto);
  gap: 18px;
  align-items: center;
}

.project-meta div {
  min-height: 42px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}

.project-meta div:last-child {
  border-right: 0;
}

.project-meta span,
.project-meta strong {
  display: block;
}

.project-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-meta strong {
  margin-top: 4px;
  font-size: 15px;
}

.account-button,
.ghost-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 11px 20px;
  color: #6d7076;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.account-avatar {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 157, 0, 0.42);
  border-radius: 50%;
  background: var(--orange);
  color: white;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(216, 63, 85, 0.18);
}

.client-account-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.client-account-actions form {
  margin: 0;
}

.client-action-separator {
  color: #c7c9ce;
  font-weight: 800;
}

.client-lock-button {
  width: 44px;
  height: 44px;
  font-size: 18px;
}

.icon-button {
  width: 52px;
  height: 52px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  font-size: 20px;
}

.page-wrap {
  width: 100%;
  margin: 0;
  padding: 22px clamp(20px, 3vw, 48px) 42px;
}

.timeline-card,
.tasks-card,
.admin-section,
.center-card {
  background: var(--surface);
  border: 1px solid #efefef;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(23, 24, 28, 0.04);
}

.timeline-card {
  padding: 22px 26px 24px;
  margin-bottom: 18px;
}

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

.timeline-card h2,
.tasks-header h2 {
  font-size: 22px;
}

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

.phase {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #686a70;
  background: transparent;
}

.phase strong {
  width: 100%;
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 0 28px;
  background: repeating-linear-gradient(45deg, #fbfbfb 0, #fbfbfb 8px, #f3f3f3 8px, #f3f3f3 14px);
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 50%, calc(100% - 42px) 100%, 0 100%, 42px 50%);
  background: repeating-linear-gradient(45deg, #ff9800 0, #ff9800 8px, #ffa514 8px, #ffa514 14px);
  font-size: 22px;
}

.phase:not(.active) strong {
  background: repeating-linear-gradient(45deg, #fbfbfb 0, #fbfbfb 8px, #f3f3f3 8px, #f3f3f3 14px);
}

.phase:first-child strong {
  border-radius: 56px 0 0 56px;
  clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 50%, calc(100% - 42px) 100%, 0 100%);
}

.phase:last-child strong {
  border-radius: 0 56px 56px 0;
}

.phase.active strong {
  color: white;
}

.phase span {
  color: #a2a3a7;
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.phase.active span {
  color: #a2a3a7;
}

.tasks-card {
  overflow: hidden;
}

.tasks-header {
  padding: 22px 26px 0;
}

.tasks-header h2 {
  margin-bottom: 0;
}

.tabs {
  display: flex;
  gap: 24px;
  justify-content: flex-end;
  border-bottom: 1px solid var(--line);
  margin: -28px -26px 0;
  padding: 0 26px;
}

.tabs span {
  padding: 0 4px 12px;
  color: #9b9da1;
  font-size: 15px;
  font-weight: 750;
}

.tabs .active {
  color: var(--orange);
  border-bottom: 3px solid var(--orange);
}

.task-layout {
  display: grid;
  grid-template-columns: minmax(500px, 1.65fr) minmax(320px, 0.82fr);
}

.task-list {
  border-right: 1px solid var(--line);
}

.group-heading,
.task-row {
  border-bottom: 1px solid var(--line);
}

.group-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
}

.group-heading strong {
  display: block;
  color: var(--danger);
  font-size: 19px;
}

.group-heading.soon strong {
  color: var(--orange);
}

.group-heading span {
  color: #9b9da1;
  font-size: 14px;
}

.task-row {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 26px;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.task-avatar {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  margin-top: 1px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: white;
  color: white;
  cursor: pointer;
  overflow: hidden;
}

.task-avatar.client {
  border-color: rgba(255, 157, 0, 0.38);
  background: var(--orange);
  font-size: 12px;
  font-weight: 850;
}

.task-avatar.business {
  background: #fff;
}

.task-avatar.business img {
  width: 24px;
  height: 24px;
  display: block;
}

.task-row.done .task-avatar {
  opacity: 0.54;
  filter: grayscale(0.2);
}

.task-row strong {
  display: block;
  font-size: 17px;
}

.task-row p,
.task-row small {
  margin: 3px 0 0;
  color: #97999e;
  font-size: 14px;
  line-height: 1.36;
}

.task-row a {
  color: #777a80;
  font-weight: 800;
}

.project-side {
  padding: 24px 26px;
}

.project-side h3 {
  color: var(--orange);
  font-size: 19px;
}

.phase-note {
  margin-bottom: 28px;
  padding: 20px;
  color: white;
  background: var(--orange);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.muted-title {
  color: #a0a2a7 !important;
  font-weight: 700;
}

.manager-title {
  margin-top: 18px;
}

.link-row,
.manager-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.link-row > span,
.avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f7f7f7;
  border: 1px solid var(--line);
  font-weight: 800;
}

.link-row strong,
.manager-row strong {
  display: block;
  font-size: 16px;
}

.link-row a,
.manager-row span {
  color: #96999e;
  font-size: 13px;
}

.link-row button {
  min-width: 96px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fafafa;
  color: #9b9da1;
  font-size: 13px;
}

.manager-row button,
.call-request-button,
.primary-button,
.primary-link {
  border: 0;
  border-radius: 16px;
  background: #080b15;
  color: #fff;
  padding: 12px 20px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.manager-row button {
  border-radius: 999px;
}

.call-request-button {
  border-radius: 999px;
  white-space: nowrap;
}

.client-profile-card {
  display: grid;
  gap: 22px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.profile-header span,
.profile-grid span {
  display: block;
  color: #7d828b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-header h1 {
  margin: 3px 0 0;
}

.profile-avatar {
  width: 56px;
  height: 56px;
  font-size: 18px;
  cursor: default;
}

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

.profile-grid div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.profile-grid strong {
  display: block;
  margin-top: 5px;
}

.profile-security-section {
  margin-top: 18px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading span {
  display: block;
  margin-bottom: 5px;
  color: #7d828b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: 22px;
}

.profile-security-form {
  align-items: end;
}

.profile-security-actions {
  display: flex;
  align-items: end;
  justify-content: flex-start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 850;
}

.status-pill.success {
  background: #e8f7ef;
  color: #126b39;
}

.status-pill.pending {
  background: #fff4de;
  color: #9a5a00;
}

.totp-setup {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.totp-setup > div {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfbfa;
}

.totp-setup span {
  display: block;
  margin-bottom: 6px;
  color: #7d828b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.totp-setup strong,
.totp-setup code {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.two-factor-card {
  display: grid;
  gap: 16px;
  width: min(480px, calc(100vw - 32px));
}

.two-factor-card .fabric-logo.compact {
  width: 150px;
}

.login-body {
  min-height: 100dvh;
  display: grid;
  place-items: start center;
  background: #f2f6f8;
  overflow: hidden;
  padding: 20px 0;
}

.login-shell {
  width: min(1840px, calc(100vw - 32px));
  height: min(920px, calc(100dvh - 40px));
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(620px, 1.25fr);
  gap: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 36px 22px;
}

.fabric-logo {
  width: 220px;
  max-width: 74%;
  margin-bottom: 18px;
}

.social-stack button {
  border: 1px solid #dcdfe3;
  border-radius: 10px;
  background: white;
  padding: 10px 16px;
}

.auth-panel h1 {
  margin-bottom: 8px;
  font-size: 26px;
}

.auth-panel > p {
  margin-bottom: 28px;
  color: #3d424b;
  font-size: 17px;
}

.auth-form {
  width: min(430px, 100%);
  display: grid;
  gap: 18px;
}

.auth-form label,
.settings-grid label {
  display: grid;
  gap: 8px;
  color: #2c323b;
}

.auth-form label a {
  justify-self: end;
  margin-top: -28px;
  font-size: 14px;
  text-decoration: none;
}

.auth-form input {
  padding: 12px 14px;
}

.auth-form .primary-button {
  padding: 12px 20px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8dbe0;
  border-radius: 12px;
  background: white;
  padding: 15px 16px;
  color: var(--ink);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.divider {
  width: min(430px, 100%);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  margin: 24px 0;
  color: #8b9097;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: #e1e3e7;
}

.social-stack {
  width: min(430px, 100%);
  display: grid;
  gap: 12px;
}

.social-stack button {
  min-height: 46px;
  font-size: 16px;
}

.social-stack strong {
  margin-right: 16px;
}

.apple-mark {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Symbol", sans-serif;
  font-size: 19px;
  line-height: 1;
}

.demo-hint {
  margin-top: 58px;
  max-width: 520px;
  text-align: center;
  color: #6d737c !important;
  font-size: 14px !important;
}

.login-visual {
  align-self: center;
  height: 100%;
  min-height: 0;
  padding: 16px;
  overflow: hidden;
  background: white;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(20, 24, 30, 0.08);
}

.login-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.alert {
  width: min(480px, 100%);
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 650;
}

.alert.error {
  color: #8a1018;
  background: #ffebee;
}

.alert.success {
  color: #14623a;
  background: #e8f6ef;
}

.center-card {
  width: min(560px, calc(100vw - 32px));
  padding: 34px;
}

.back-link {
  display: inline-block;
  margin-bottom: 20px;
  color: #747982;
  text-decoration: none;
}

.admin-body {
  background: #f4f5f7;
}

.admin-topbar {
  display: grid;
  grid-template-columns: 180px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 18px 40px;
  background: white;
  border-bottom: 1px solid var(--line);
}

.admin-topbar img {
  width: 160px;
}

.admin-topbar nav {
  display: flex;
  gap: 18px;
  justify-self: end;
  grid-column: 3;
}

.admin-topbar form {
  grid-column: 4;
}

.admin-topbar nav a {
  color: #626874;
  font-weight: 750;
  text-decoration: none;
}

.admin-wrap {
  width: 100%;
  margin: 0;
  padding: 34px clamp(24px, 3vw, 56px) 64px;
}

.admin-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.admin-hero span {
  color: var(--orange-dark);
  font-weight: 800;
}

.admin-hero h1 {
  margin-bottom: 0;
  font-size: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-actions form {
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.stats-grid div {
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.stats-grid span,
.stats-grid strong {
  display: block;
}

.stats-grid span {
  color: #7d828b;
}

.stats-grid strong {
  margin-top: 8px;
  font-size: 30px;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.admin-section {
  padding: 24px;
  border-radius: 12px;
}

.project-admin-row,
.user-row,
.notice {
  display: block;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.project-admin-row span,
.user-row span {
  display: block;
  color: #7d828b;
  margin-top: 4px;
}

.project-list-row {
  color: inherit;
}

.project-list-row:hover {
  color: var(--orange-dark);
}

.admin-project-snapshot {
  margin-bottom: 18px;
}

.admin-project-details {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.admin-project-details h3 {
  margin-bottom: 10px;
  color: #4b515b;
}

.admin-project-details p,
.admin-project-details span,
.admin-project-details a {
  display: block;
  color: #727883;
  line-height: 1.5;
}

.admin-project-details a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.compact-form.horizontal {
  grid-template-columns: 1.1fr 1.4fr 180px auto;
  align-items: end;
}

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

.settings-page-form {
  display: grid;
  gap: 34px;
}

.settings-grid .wide {
  grid-column: 1 / -1;
}

.settings-grid.nested {
  margin-top: 16px;
}

.section-note {
  margin: 8px 0 16px;
  color: #727883;
  line-height: 1.5;
}

.settings-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.settings-card p {
  margin-top: 8px;
  color: #727883;
}

.settings-section-card .primary-button {
  margin-top: 22px;
}

.manage-task {
  display: grid;
  grid-template-columns: 1.3fr 130px 140px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.manage-task span {
  display: block;
  color: #7d828b;
}

.manage-task button {
  border: 0;
  border-radius: 12px;
  background: #eef0f3;
  padding: 14px 18px;
  font-weight: 750;
}

.opportunity-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(110px, 0.65fr) minmax(180px, 1fr) 140px minmax(160px, 0.9fr) minmax(160px, 0.9fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.opportunity-main strong,
.opportunity-main span {
  display: block;
}

.opportunity-main span {
  margin-top: 4px;
  color: #7d828b;
}

.opportunity-main a {
  color: inherit;
  text-decoration: none;
}

.opportunity-main a:hover {
  color: var(--orange-dark);
}

.opportunity-value {
  font-weight: 800;
}

.opportunity-contact {
  color: #505762;
  font-weight: 650;
}

.opportunity-url {
  min-width: 0;
  overflow: hidden;
  color: #626874;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opportunity-row button {
  border: 0;
  border-radius: 12px;
  background: #eef0f3;
  padding: 14px 18px;
  font-weight: 750;
}

.analysis-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.analysis-score-grid div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.analysis-score-grid span,
.analysis-score-grid strong {
  display: block;
}

.analysis-score-grid span {
  color: #7d828b;
}

.analysis-score-grid strong {
  margin-top: 8px;
  font-size: 28px;
}

.analysis-card-grid,
.weight-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.analysis-card,
.weight-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
}

.analysis-card {
  display: grid;
  gap: 10px;
  border-left: 5px solid #ef4444;
}

.analysis-card.pass {
  border-left-color: #22c55e;
}

.blog-row {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 140px 140px 140px auto;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.blog-row strong,
.blog-row span {
  display: block;
}

.blog-row span {
  margin-top: 4px;
  color: #7d828b;
}

.blog-row a {
  color: var(--orange-dark);
  font-weight: 800;
  text-decoration: none;
}

.wide-modal {
  width: min(760px, 100%);
}

.analysis-card span,
.weight-card span {
  color: #7d828b;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.analysis-card strong,
.weight-card strong {
  display: block;
  margin-top: 4px;
}

.analysis-card p {
  color: #626874;
}

.analysis-card small {
  color: #8a9099;
}

.weight-card {
  display: grid;
  gap: 10px;
}

.activity-log-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.activity-log-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 5px solid #9ca3af;
  border-radius: 12px;
  background: white;
}

.activity-log-row.error {
  border-left-color: #ef4444;
}

.activity-log-row.warning {
  border-left-color: #f59e0b;
}

.activity-log-row.info {
  border-left-color: #22c55e;
}

.activity-log-meta span,
.activity-log-row small,
.activity-log-row div > span {
  display: block;
  color: #7d828b;
}

.activity-log-meta span {
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.activity-log-row div > span,
.activity-log-row small {
  margin-top: 4px;
  font-size: 14px;
}

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  place-items: center;
  padding: 24px;
}

.modal-layer:target {
  display: grid;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 18, 0.42);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(20, 24, 30, 0.22);
}

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

.modal-header h2 {
  margin-bottom: 0;
}

.modal-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #626874;
  font-size: 24px;
  line-height: 1;
  text-decoration: none;
}

.modal-form {
  display: grid;
  gap: 14px;
}

.modal-form label {
  display: grid;
  gap: 8px;
  color: #2c323b;
}

@media (max-width: 1120px) {
  .topbar,
  .project-meta,
  .task-layout,
  .login-shell,
  .admin-grid,
  .stats-grid,
  .analysis-score-grid,
  .analysis-card-grid,
  .weight-card-grid,
  .blog-row,
  .settings-grid,
  .totp-setup,
  .admin-project-details,
  .manage-task,
  .opportunity-row,
  .compact-form.horizontal {
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 18px 20px;
  }

  .project-meta div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .page-wrap {
    padding: 18px;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .phase strong,
  .phase:first-child strong,
  .phase:last-child strong {
    clip-path: none;
    border-radius: 18px;
  }

  .task-list {
    border-right: 0;
  }

  .login-visual {
    min-height: 420px;
    order: -1;
  }
}

@media (max-width: 680px) {
  .brand {
    font-size: 22px;
  }

  .group-heading,
  .task-row,
  .project-side,
  .auth-panel {
    padding: 18px;
  }

  .link-row,
  .manager-row,
  .admin-topbar,
  .admin-hero {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    display: grid;
  }
}
