@import none;

/* ==========================================
   ALDWIN / PARDOT COMPARISON
   SECTION 04 / CONNECTED ASSET MANAGEMENT
   ========================================== */

.aldwin-assets-story,
.aldwin-assets-story * {
  box-sizing: border-box;
}

.aldwin-assets-story {
  width: 100%;
  max-width: 1510px;
  margin: 0 auto;
  padding: 0 !important;
  background: transparent !important;
  font-family: 'Inter', Arial, sans-serif;
  color: #191919;
  -webkit-font-smoothing: antialiased;
}

/* MAIN LAYOUT */

.aldwin-assets-story .ams-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(45px, 5.5vw, 94px);
  align-items: center;
}

/* ==========================================
   EDITORIAL CONTENT
   ========================================== */

.aldwin-assets-story .ams-content {
  min-width: 0;
}

.aldwin-assets-story .ams-content h2 {
  margin: 0 0 30px !important;
  padding: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 44px !important;
  font-weight: 500 !important;
  line-height: 1.09 !important;
  letter-spacing: -.048em !important;
  color: #191919 !important;
}

.aldwin-assets-story .ams-content h2 span {
  display: block;
  color: #898D93 !important;
}

.aldwin-assets-story .ams-content p {
  max-width: 700px;
  margin: 0 0 20px !important;
  padding: 0 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.3em !important;
  letter-spacing: 0 !important;
  color: #7B7B7B !important;
}

.aldwin-assets-story .ams-content p:last-of-type {
  margin-bottom: 0 !important;
}

.aldwin-assets-story .ams-takeaway {
  max-width: 690px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #5A5D5B26;
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: #191919;
}

/* ==========================================
   ALDWIN AMBIENT LIGHT BACKGROUND
   ========================================== */

.aldwin-assets-story .ams-canvas {
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 535px;
  overflow: hidden;
  border: 1px solid #5A5D5B26;
  border-radius: 0;
  background:
    radial-gradient(
      ellipse at 10% 14%,
      rgba(213,221,241,.82),
      transparent 58%
    ),
    radial-gradient(
      ellipse at 91% 77%,
      rgba(179,222,194,.75),
      transparent 57%
    ),
    radial-gradient(
      ellipse at 50% 96%,
      rgba(202,204,226,.48),
      transparent 52%
    ),
    linear-gradient(
      132deg,
      #D5DDDF 0%,
      #EDEEEF 47%,
      #D7DED9 100%
    );
}

.aldwin-assets-story .ams-canvas::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      111deg,
      transparent 7%,
      rgba(255,255,255,.58) 27%,
      transparent 43%,
      rgba(255,255,255,.40) 66%,
      transparent 82%
    ),
    radial-gradient(
      ellipse at 20% 80%,
      rgba(87,93,150,.16),
      transparent 53%
    );
  filter: blur(35px);
  transform: rotate(-6deg);
}

.aldwin-assets-story .ams-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* ==========================================
   APPLICATION WINDOW
   ========================================== */

.aldwin-assets-story .ams-app {
  position: relative;
  z-index: 2;
  width: calc(100% - 56px);
  margin: 42px auto;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 16px;
  background: rgba(250,251,250,.96);
  box-shadow:
    0 0 0 1px rgba(20,30,25,.04),
    0 16px 35px rgba(22,39,32,.11),
    0 39px 85px rgba(22,39,32,.10);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* APPLICATION TOP BAR */

.aldwin-assets-story .ams-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid #E7EAE7;
  background: rgba(255,255,255,.5);
}

.aldwin-assets-story .ams-breadcrumb {
  color: #78807B;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.3;
}

.aldwin-assets-story .ams-preview {
  color: #A0A6A1;
  font-size: 10px;
  white-space: nowrap;
}

.aldwin-assets-story .ams-body {
  padding: 21px 21px 19px;
}

/* PROJECT HEADER */

.aldwin-assets-story .ams-eyebrow {
  margin-bottom: 9px;
  color: #929A94;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .025em;
}

.aldwin-assets-story .ams-project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.aldwin-assets-story .ams-title {
  color: #252A26;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.045em;
}

.aldwin-assets-story .ams-subtitle {
  margin-top: 6px;
  color: #959B96;
  font-size: 11px;
  line-height: 1.4;
}

.aldwin-assets-story .ams-project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 1px solid #DCE7DF;
  border-radius: 6px;
  padding: 6px 8px;
  background: #F1F7F3;
  color: #527760;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.aldwin-assets-story .ams-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #80AA8C;
}

/* PROJECT SUMMARY */

.aldwin-assets-story .ams-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin-top: 21px;
  border: 1px solid #E6EAE6;
  border-radius: 10px;
  overflow: hidden;
  background: #F7F8F7;
}

.aldwin-assets-story .ams-metric {
  min-width: 0;
  padding: 13px 13px 12px;
  border-right: 1px solid #E6EAE6;
}

.aldwin-assets-story .ams-metric:last-child {
  border-right: 0;
}

.aldwin-assets-story .ams-metric-value {
  color: #29342D;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.aldwin-assets-story .ams-metric-label {
  margin-top: 6px;
  color: #929A93;
  font-size: 10px;
  line-height: 1.4;
}

/* ASSET INVENTORY */

.aldwin-assets-story .ams-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  margin-bottom: 8px;
}

.aldwin-assets-story .ams-list-title {
  color: #555E57;
  font-size: 11px;
  font-weight: 500;
}

.aldwin-assets-story .ams-list-meta {
  color: #A0A6A0;
  font-size: 10px;
}

.aldwin-assets-story .ams-row {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #EAEEEA;
}

.aldwin-assets-story .ams-row:last-child {
  border-bottom: 0;
}

.aldwin-assets-story .ams-file-icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 29px;
  border: 1px solid #E0E7E1;
  border-radius: 7px;
  background: #F1F4F1;
  color: #667B6E;
  font-size: 11px;
  font-weight: 600;
}

.aldwin-assets-story .ams-file-name {
  color: #333B35;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.aldwin-assets-story .ams-file-meta {
  margin-top: 3px;
  color: #989E99;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.3;
}

.aldwin-assets-story .ams-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D9E7DC;
  border-radius: 5px;
  padding: 5px 8px;
  background: #EDF5EF;
  color: #567B61;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  white-space: nowrap;
}

.aldwin-assets-story .ams-pill.review {
  border-color: #E8E2D5;
  background: #F7F5EF;
  color: #8A7A59;
}

.aldwin-assets-story .ams-pill.unresolved {
  border-color: #E6E7E6;
  background: #F5F5F5;
  color: #8A8F8A;
}

/* SELECTED ASSET DETAIL */

.aldwin-assets-story .ams-inspector {
  margin-top: 18px;
  border: 1px solid #E1E7E2;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
}

.aldwin-assets-story .ams-inspector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid #E9ECE9;
}

.aldwin-assets-story .ams-inspector-title {
  color: #505C53;
  font-size: 11px;
  font-weight: 500;
}

.aldwin-assets-story .ams-inspector-version {
  color: #9AA19A;
  font-size: 10px;
}

.aldwin-assets-story .ams-binding-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.aldwin-assets-story .ams-binding {
  min-width: 0;
  padding: 13px 14px;
}

.aldwin-assets-story .ams-binding + .ams-binding {
  border-left: 1px solid #E9ECE9;
}

.aldwin-assets-story .ams-binding-label {
  margin-bottom: 7px;
  color: #9BA19C;
  font-size: 10px;
}

.aldwin-assets-story .ams-binding-name {
  color: #364039;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}

.aldwin-assets-story .ams-binding-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  color: #6D9278;
  font-size: 10px;
}

.aldwin-assets-story .ams-binding-status::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #82AE8E;
}

.aldwin-assets-story .ams-binding-status.production {
  color: #969C97;
}

.aldwin-assets-story .ams-binding-status.production::before {
  background: #ABB0AC;
}

/* BOTTOM REVIEW BAR */

.aldwin-assets-story .ams-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.aldwin-assets-story .ams-footer-note {
  color: #9DA39E;
  font-size: 10px;
  line-height: 1.4;
}

.aldwin-assets-story .ams-footer-action {
  border: 1px solid #D6E0D8;
  border-radius: 6px;
  padding: 8px 10px;
  background: #F3F7F4;
  color: #54735D;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 1050px) {
  .aldwin-assets-story .ams-layout {
    gap: 35px;
  }

  .aldwin-assets-story .ams-app {
    width: calc(100% - 36px);
  }
}

@media (max-width: 900px) {
  .aldwin-assets-story .ams-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .aldwin-assets-story .ams-content {
    order: 1;
  }

  .aldwin-assets-story .ams-canvas {
    order: 2;
    width: 100%;
    max-width: 720px;
  }
}

@media (max-width: 560px) {
  .aldwin-assets-story .ams-content h2 {
    font-size: 44px !important;
    font-weight: 500 !important;
    margin-bottom: 22px !important;
  }

  .aldwin-assets-story .ams-content p {
    font-size: 18px !important;
    line-height: 1.3em !important;
  }

  .aldwin-assets-story .ams-canvas {
    min-height: 0;
  }

  .aldwin-assets-story .ams-app {
    width: calc(100% - 28px);
    margin: 20px auto;
  }

  .aldwin-assets-story .ams-topbar {
    padding: 13px;
  }

  .aldwin-assets-story .ams-body {
    padding: 16px 13px;
  }

  .aldwin-assets-story .ams-title {
    font-size: 19px;
  }

  .aldwin-assets-story .ams-metric {
    padding: 12px 9px;
  }

  .aldwin-assets-story .ams-metric-value {
    font-size: 19px;
  }

  .aldwin-assets-story .ams-metric-label {
    font-size: 9px;
  }

  .aldwin-assets-story .ams-file-name {
    font-size: 11px;
  }

  .aldwin-assets-story .ams-file-meta {
    font-size: 9px;
  }

  .aldwin-assets-story .ams-pill {
    padding: 5px 6px;
    font-size: 9px;
  }

  .aldwin-assets-story .ams-binding {
    padding: 11px 10px;
  }

  .aldwin-assets-story .ams-project-status {
    font-size: 9px;
    padding: 6px;
  }
}
