.akre-env-panel {
  margin-bottom: 1rem;
  border: 1px solid rgba(250, 182, 129, 0.75);
  border-radius: 1.9rem;
  background: linear-gradient(135deg, #fffdfa 0%, #fff4ea 100%);
  box-shadow: 0 18px 48px rgba(89, 56, 24, 0.08);
  padding: 1.4rem;
}

.akre-dashboard-welcome {
  color: #5f6f89;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0 0 0.45rem;
}

.akre-env-panel__eyebrow {
  color: #ea5a00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.akre-env-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
}

.akre-env-panel__title {
  color: #172033;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0;
  max-width: 16ch;
}

.akre-env-panel__intro {
  color: #5f6f89;
  font-size: 1rem;
  line-height: 1.7;
  margin: 1rem 0 0;
  max-width: 54rem;
}

.akre-env-panel__meta {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.akre-env-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid #f7d0af;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  color: #ea5a00;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.akre-env-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 999px;
  border: 1px solid #f6c79e;
  background: #fff;
  color: #ea5a00;
  cursor: pointer;
  font-weight: 700;
  padding: 0.95rem 1.3rem;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 10px 22px rgba(89, 56, 24, 0.06);
}

.akre-env-refresh:hover {
  transform: translateY(-1px);
  border-color: #ea5a00;
}

.akre-env-refresh:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.akre-env-grid {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.akre-env-grid--secondary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.akre-env-card {
  border: 1px solid rgba(246, 199, 158, 0.95);
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.94);
  padding: 1rem 1.05rem;
  box-shadow: 0 14px 32px rgba(89, 56, 24, 0.06);
}

.akre-env-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin: 0;
}

.akre-env-card__value {
  color: #172033;
  font-size: clamp(1.75rem, 2.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0.95rem 0 0;
}

.akre-env-card__detail {
  color: #66748d;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0.9rem 0 0;
}

.akre-env-card__subvalue {
  display: block;
  color: #66748d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.akre-env-card__label--orange { color: #ea5a00; }
.akre-env-card__label--green { color: #0f8b6d; }
.akre-env-card__label--blue { color: #1769aa; }
.akre-env-card__label--violet { color: #6b3df0; }

.akre-env-error {
  margin-top: 1rem;
  border-radius: 1.2rem;
  border: 1px solid #f1c0bf;
  background: #fff5f5;
  color: #9c3f3f;
  padding: 0.95rem 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

@media (max-width: 1400px) {
  .akre-env-grid,
  .akre-env-grid--secondary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .akre-env-panel__header {
    flex-direction: column;
    align-items: stretch;
  }

  .akre-env-grid,
  .akre-env-grid--secondary {
    grid-template-columns: minmax(0, 1fr);
  }
}

.akre-fili-message {
  white-space: normal !important;
}

.akre-fili-rendered {
  display: grid;
  gap: 0.72rem;
  color: #172033;
  font-size: 0.94rem;
  line-height: 1.58;
}

.akre-fili-rendered p {
  margin: 0;
}

.akre-fili-heading {
  color: #172033;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.28;
}

.akre-fili-subheading {
  color: #25324a;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.35;
}

.akre-fili-paragraph {
  color: #25324a;
}

.akre-fili-list,
.akre-fili-numbered-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.08rem;
}

.akre-fili-list {
  list-style: disc;
}

.akre-fili-numbered-list {
  list-style: decimal;
}

.akre-fili-list li,
.akre-fili-numbered-list li {
  padding-left: 0.12rem;
}

.akre-fili-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid #fed7aa;
  border-radius: 0.95rem;
  background: #fffaf4;
}

.akre-fili-table {
  width: 100%;
  min-width: 22rem;
  border-collapse: collapse;
  color: #25324a;
  font-size: 0.8rem;
  line-height: 1.35;
}

.akre-fili-table th,
.akre-fili-table td {
  border-bottom: 1px solid #ffedd5;
  padding: 0.62rem 0.72rem;
  vertical-align: top;
}

.akre-fili-table th {
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.akre-fili-table tr:last-child td {
  border-bottom: 0;
}

.akre-fili-table-cell--right {
  text-align: right;
  white-space: nowrap;
}

.akre-fili-table-cell--center {
  text-align: center;
}

.akre-fili-table td:first-child,
.akre-fili-table th:first-child {
  padding-left: 0.85rem;
}

.akre-fili-rendered strong {
  color: #111827;
  font-weight: 800;
}

.akre-fili-rendered em {
  color: #475569;
  font-style: italic;
}

.akre-fili-rendered a {
  color: #c94f00;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.akre-fili-sources-title {
  border-top: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  margin-top: 0.18rem !important;
  padding-top: 0.85rem;
  text-transform: uppercase;
}

.akre-fili-source-line {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.45;
}

.akre-fili-source-label {
  display: inline-flex;
  align-items: center;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #fff7ed;
  color: #c94f00;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  margin-right: 0.28rem;
  padding: 0.16rem 0.38rem;
  vertical-align: 0.08em;
}

.akre-sidebar-group-icon {
  display: block;
  height: 0.95rem;
  width: 0.95rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.akre-project-launch {
  align-items: center;
  align-self: stretch;
  background: rgba(255, 126, 40, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.9rem;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: flex;
  gap: 0.78rem;
  justify-content: space-between;
  margin: 0.72rem 0 0;
  min-height: 4.35rem;
  padding: 0.86rem 1.08rem;
  position: relative;
  text-align: left;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  width: 100%;
  z-index: 2;
}

.akre-project-launch:hover,
.akre-project-launch--active {
  background: #ff6f14;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.akre-project-launch__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 1.15rem;
  height: 1.8rem;
  justify-content: center;
  line-height: 1;
  width: 1.8rem;
}

.akre-project-launch span:nth-child(2) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.akre-project-launch strong {
  font-size: 1.06rem;
  font-weight: 650;
  line-height: 1;
}

.akre-project-launch small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1;
  margin-top: 0.45rem;
  text-transform: uppercase;
}

.akre-project-launch b {
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1;
}

.akre-project-panel {
  background: linear-gradient(135deg, #fffdfa 0%, #fff7ef 100%);
  border: 1px solid rgba(250, 182, 129, 0.75);
  border-radius: 1.9rem;
  box-shadow: 0 18px 48px rgba(89, 56, 24, 0.08);
  margin-bottom: 1rem;
  padding: 1.4rem;
}

.akre-project-panel__head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.akre-project-panel__eyebrow {
  color: #ea5a00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.34em;
  margin: 0;
  text-transform: uppercase;
}

.akre-project-panel__title {
  color: #172033;
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 0.65rem 0 0;
}

.akre-project-panel__intro {
  color: #5f6f89;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0.85rem 0 0;
  max-width: 54rem;
}

.akre-project-panel__close {
  background: #fff;
  border: 1px solid #f6c79e;
  border-radius: 999px;
  color: #ea5a00;
  cursor: pointer;
  font-weight: 750;
  padding: 0.82rem 1.18rem;
}

.akre-project-metrics,
.akre-project-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.akre-project-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.akre-project-metrics div,
.akre-project-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(246, 199, 158, 0.95);
  border-radius: 1.45rem;
  box-shadow: 0 14px 32px rgba(89, 56, 24, 0.06);
  padding: 1rem;
}

.akre-project-metrics span,
.akre-project-card__top span {
  color: #ea5a00;
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.akre-project-metrics strong,
.akre-project-card strong {
  color: #172033;
  display: block;
  font-size: clamp(1.65rem, 2.4vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-top: 0.72rem;
}

.akre-project-metrics small,
.akre-project-card small {
  color: #66748d;
  display: block;
  font-size: 0.92rem;
  line-height: 1.5;
  margin-top: 0.7rem;
}

.akre-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.akre-project-card__top {
  align-items: flex-start;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
}

.akre-project-card__top p {
  color: #172033;
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.18;
  margin: 0;
}

.akre-project-card__top span {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 0.35rem 0.48rem;
  white-space: nowrap;
}

.akre-project-card__bar {
  background: #fff2e8;
  border-radius: 999px;
  height: 0.58rem;
  margin-top: 1rem;
  overflow: hidden;
}

.akre-project-card__bar i {
  background: linear-gradient(90deg, #ff7e28 0%, #ea5a00 100%);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.akre-project-panel__actions {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.akre-project-toggle {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.95rem;
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
}

.akre-project-toggle__button {
  background: transparent;
  border: 0;
  border-radius: 0.72rem;
  color: #64748b;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.68rem 0.88rem;
  white-space: nowrap;
}

.akre-project-toggle__button--active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(89, 56, 24, 0.08);
  color: #172033;
}

.akre-project-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.akre-project-metric {
  min-width: 0;
}

.akre-project-layout {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
  margin-top: 1.25rem;
}

.akre-project-main,
.akre-project-side {
  min-width: 0;
}

.akre-project-section-head {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
}

.akre-project-section-head h2 {
  color: #172033;
  font-size: 1.18rem;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

.akre-project-outline-action,
.akre-project-report-box button {
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 0.85rem;
  color: #ea5a00;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.7rem 0.9rem;
}

.akre-project-workstreams {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0.85rem;
}

.akre-project-workstream,
.akre-project-side-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(246, 199, 158, 0.95);
  border-radius: 1.35rem;
  box-shadow: 0 14px 32px rgba(89, 56, 24, 0.06);
  padding: 1rem;
}

.akre-project-workstream__top {
  align-items: flex-start;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
}

.akre-project-workstream h3 {
  color: #172033;
  font-size: 1.08rem;
  font-weight: 820;
  line-height: 1.16;
  margin: 0;
}

.akre-project-workstream__top p,
.akre-project-summary,
.akre-project-next {
  color: #5f6f89;
  font-size: 0.92rem;
  line-height: 1.52;
  margin: 0;
}

.akre-project-workstream__top p {
  margin-top: 0.34rem;
}

.akre-project-rag,
.akre-project-pill {
  border-radius: 999px;
  border: 1px solid transparent;
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  padding: 0.34rem 0.56rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.akre-project-rag--green {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #047857;
}

.akre-project-rag--amber {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.akre-project-rag--red {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.akre-project-pill {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #64748b;
}

.akre-project-progress {
  display: grid;
  gap: 0.52rem;
  margin-top: 1rem;
}

.akre-project-progress div {
  align-items: center;
  color: #475569;
  display: flex;
  font-size: 0.84rem;
  font-weight: 760;
  justify-content: space-between;
}

.akre-project-progress strong {
  color: #64748b;
}

.akre-project-progress i {
  background: #fff2e8;
  border-radius: 999px;
  display: block;
  height: 0.58rem;
  overflow: hidden;
}

.akre-project-progress b {
  background: linear-gradient(90deg, #ff7e28 0%, #ea5a00 100%);
  border-radius: inherit;
  display: block;
  height: 100%;
}

.akre-project-summary,
.akre-project-next {
  margin-top: 0.9rem;
}

.akre-project-next strong {
  color: #172033;
}

.akre-project-stats {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.95rem;
}

.akre-project-stats div {
  background: #fffaf4;
  border: 1px solid #ffedd5;
  border-radius: 0.85rem;
  min-width: 0;
  padding: 0.7rem;
}

.akre-project-stats span {
  color: #64748b;
  display: block;
  font-size: 0.74rem;
  font-weight: 750;
}

.akre-project-stats strong {
  color: #172033;
  display: block;
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.1;
  margin-top: 0.28rem;
  overflow-wrap: anywhere;
}

.akre-project-variance--negative {
  color: #b91c1c !important;
}

.akre-project-variance--positive {
  color: #047857 !important;
}

.akre-project-note {
  background: rgba(255, 247, 237, 0.76);
  border: 1px dashed #fed7aa;
  border-radius: 0.95rem;
  color: #475569;
  display: grid;
  gap: 0.34rem;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-top: 0.95rem;
  padding: 0.82rem;
}

.akre-project-note strong {
  color: #ea5a00;
}

.akre-project-side {
  display: grid;
  gap: 1rem;
}

.akre-project-budget-list {
  display: grid;
  gap: 0.82rem;
  margin: 1rem 0 0;
}

.akre-project-budget-list div {
  align-items: center;
  border-bottom: 1px solid #ffedd5;
  display: flex;
  gap: 0.9rem;
  justify-content: space-between;
  padding-bottom: 0.75rem;
}

.akre-project-budget-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.akre-project-budget-list dt {
  color: #64748b;
  font-size: 0.9rem;
}

.akre-project-budget-list dd {
  color: #172033;
  font-size: 0.95rem;
  font-weight: 830;
  margin: 0;
  text-align: right;
}

.akre-project-upload {
  background: #ff6f14;
  border-radius: 0.82rem;
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0.66rem 0.86rem;
}

.akre-project-upload input {
  display: none;
}

.akre-project-photo-list,
.akre-project-report-list {
  display: grid;
  gap: 0.78rem;
  margin-top: 0.9rem;
}

.akre-project-photo,
.akre-project-report {
  background: #fffaf4;
  border: 1px solid #ffedd5;
  border-radius: 0.95rem;
  overflow: hidden;
}

.akre-project-photo img,
.akre-project-photo__placeholder {
  display: block;
  height: 6.5rem;
  object-fit: cover;
  width: 100%;
}

.akre-project-photo__placeholder {
  align-items: center;
  background: linear-gradient(135deg, #e8f5e9 0%, #fff3e0 100%);
  color: #64748b;
  display: flex;
  font-size: 0.86rem;
  font-weight: 820;
  justify-content: center;
}

.akre-project-photo div,
.akre-project-report {
  padding: 0.82rem;
}

.akre-project-photo strong,
.akre-project-report strong {
  color: #172033;
  display: block;
  font-size: 0.92rem;
  font-weight: 820;
  line-height: 1.2;
}

.akre-project-photo span,
.akre-project-report span {
  color: #64748b;
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-top: 0.26rem;
}

.akre-project-photo em,
.akre-project-report em {
  background: #fffbeb;
  border-radius: 999px;
  color: #b45309;
  display: inline-flex;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-top: 0.58rem;
  padding: 0.28rem 0.48rem;
  text-transform: uppercase;
}

.akre-project-report {
  position: relative;
}

.akre-project-report p {
  color: #475569;
  font-size: 0.88rem;
  line-height: 1.48;
  margin: 0.62rem 0 0;
}

.akre-project-report-box {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
}

.akre-project-report-box textarea {
  background: #fff;
  border: 1px solid #fed7aa;
  border-radius: 0.9rem;
  color: #172033;
  font: inherit;
  font-size: 0.88rem;
  line-height: 1.45;
  min-height: 5rem;
  outline: none;
  padding: 0.8rem;
  resize: vertical;
}

.akre-project-report-box textarea:focus {
  border-color: #ff6f14;
  box-shadow: 0 0 0 3px rgba(255, 111, 20, 0.16);
}

.akre-project-empty {
  background: #fffaf4;
  border: 1px dashed #fed7aa;
  border-radius: 0.95rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
  padding: 0.9rem;
}

@media (max-width: 1400px) {
  .akre-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .akre-project-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .akre-project-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 840px) {
  .akre-project-panel__head {
    flex-direction: column;
  }

  .akre-project-panel__actions {
    align-items: stretch;
    width: 100%;
  }

  .akre-project-toggle {
    width: 100%;
  }

  .akre-project-toggle__button {
    flex: 1 1 0;
  }

  .akre-project-metrics,
  .akre-project-grid,
  .akre-project-workstreams {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .akre-project-panel {
    border-radius: 1.35rem;
    padding: 1rem;
  }

  .akre-project-stats {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .akre-fili-rendered {
    gap: 0.68rem;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .akre-fili-heading {
    font-size: 1.02rem;
  }
}
