.project-art {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 1.63;
  container-type: inline-size;
  color: #17191a;
  font-family: Inter, Arial, sans-serif;
  text-align: left;
  perspective: 850px;
}
.project-art *, .pr-dialog * { box-sizing: border-box }
.project-art [class^="pr-"] { pointer-events: none }
.project-art[data-art="0"] {
  background: radial-gradient(ellipse at 29% 12%, #ffc185, transparent 63%), linear-gradient(130deg, #ffad6c, #ff8b53 70%, #eb7744);
}
.project-art[data-art="1"] {
  background: radial-gradient(ellipse at 75% 20%, #c2c9ff, transparent 62%), linear-gradient(140deg, #9daffa, #8191eb 75%, #7d90ee);
}
.project-art[data-art="2"] {
  background-color: #c7e968;
  background-image: radial-gradient(rgba(69,89,23,.32) .7px, transparent .9px), radial-gradient(ellipse at 65% 20%, #e0fc98, transparent 76%);
  background-size: 10px 10px, cover;
}
.project-art[data-art="0"]::after, .project-art[data-art="1"]::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16;
  background: repeating-linear-gradient(0deg, transparent 0 2px, #fff3 2px 3px);
}
.pr-dash {
  position: relative; width: 70%; border-radius: 2.4cqw; color: #161819; overflow: hidden;
  background: #f6f4e9; border: 1px solid #ffffffaa;
  transform: perspective(800px) rotateX(13deg) rotateY(-13deg) rotateZ(-8deg);
  box-shadow: .6cqw 1cqw 0 #bc987d, 1cqw 1.5cqw 0 #986e57, 2cqw 4cqw 5cqw #7a3d2960, 5cqw 8cqw 11cqw #7c371e45;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.pr-dash-top { display: flex; align-items: center; gap: 1.5cqw; padding: 2.6cqw 3.6cqw; border-bottom: 1px solid #ddd9cb; }
.pr-dash-top svg { width: 3.7cqw; height: 3.7cqw }
.pr-dash-top b, .pr-doc-head b { font-size: 2.5cqw; font-weight: 650; letter-spacing: -.035em; line-height: 1; }
.pr-dash-top i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #648764; margin-left: auto; }
.pr-dash-main { display: flex; gap: 2cqw; align-items: center; justify-content: space-between; padding: 4.6cqw 3.8cqw 3.5cqw; }
.pr-dash-key { display: grid; gap: 1cqw; }
.pr-dash-key > span, .pr-dash-foot { font-family: 'IBM Plex Mono', monospace; font-size: 2.1cqw; line-height: 1.2; }
.pr-dash-key strong { font-size: 10.8cqw; line-height: .9; letter-spacing: -.082em; font-weight: 650 }
.pr-dash-key strong span { font-size: 4cqw; letter-spacing: -.07em; }
.pr-mini-chart { align-self: end; display: flex; align-items: flex-end; width: 48%; height: 16cqw; gap: .7cqw; border-bottom: 1px solid #17191a; background: repeating-linear-gradient(to top, transparent 0 29%, #17191a18 29% 30%); }
.pr-mini-chart i { flex: 1; height: var(--v); background: #212324; border-radius: .35cqw .35cqw 0 0; }
.pr-mini-chart i:last-child { background: #ef7954; }
.pr-dash-foot { display: flex; justify-content: space-between; padding: 1.8cqw 3.6cqw; background: #e8e6da; color: #58564c; font-size: 1.85cqw; }
.pr-deck { position: relative; width: 45%; height: 62%; transform: translate(-3%,-1%); }
.pr-sheet {
  position: absolute; width: 100%; height: 100%; border: 1px solid #ffffff9e; border-radius: 2cqw; padding: 3.2cqw;
  box-shadow: 0 .55cqw .3cqw #5064a258, 1cqw 2cqw 5cqw #3c4e9038;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.pr-back { transform: translate(25%,-7%) rotate(18deg); background: #b9cbffb8; color: #465ba0; }
.pr-middle { transform: translate(8%,-3%) rotate(6deg); background: #e0e9ffef; color: #31385e; }
.pr-sheet > span { display: block; text-align: right; font-size: 1.8cqw; font-weight: 650; }
.pr-front {
  transform: translate(-13%,8%) rotate(-9deg); color: #232c63;
  background: linear-gradient(145deg, #fff 0%, #f4f5ff 75%, #dbe1ff);
}
.pr-doc-head { display: flex; gap: 1.4cqw; align-items: center; border-bottom: 1px solid #29367b33; padding-bottom: 1.8cqw; }
.pr-doc-head svg { width: 3.8cqw; height: 3.8cqw; }
.pr-front > strong { font-size: 14cqw; line-height: 1.03; letter-spacing: -.08em; font-weight: 650; display: block; }
.pr-front > strong span { color: #7888ee; }
.pr-doc-lines { display: grid; gap: .9cqw; margin-top: .6cqw; }
.pr-doc-lines i { height: .6cqw; border-radius: .3cqw; background: #a8b3d7; width: 80%; }
.pr-doc-lines i:nth-child(2) { width: 58%; } .pr-doc-lines i:nth-child(3) { width: 70%; }
.pr-network { position: relative; width: 92%; height: 84%; transform: rotate(-7deg); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pr-node, .pr-core { position: absolute; display: grid; place-items: center; transform: translate(-50%,-50%); }
.pr-node { border: 1.5px solid #172610; border-radius: 1.5cqw; background: #f3f6e5; color: #172610; box-shadow: .45cqw .7cqw 0 #617144; padding: 1.4cqw 2.2cqw; font: 550 2.7cqw/1.1 'IBM Plex Mono', monospace; }
.pr-na { left: 18%; top: 21%; } .pr-nb { left: 79%; top: 21%; } .pr-nc { left: 23%; top: 81%; } .pr-nd { left: 84%; top: 76%; }
.pr-core { left: 50%; top: 50%; width: 18cqw; height: 17cqw; border-radius: 2.9cqw; background: #22311f; color: #ddf897; border: 1px solid #46533d; box-shadow: .5cqw .9cqw 0 #596b43, 1.5cqw 2.2cqw 3cqw #43542247; }
.pr-core svg { width: 10cqw; height: 10cqw; }
.pr-link { position: absolute; width: 32%; height: 30%; border-color: #35412a; border-style: solid; border-width: 0; }
.pr-link-a { left: 18%; top: 21%; border-left-width: 1.5px; border-bottom-width: 1.5px; border-bottom-left-radius: 1.8cqw; }
.pr-link-b { left: 50%; top: 21%; width: 29%; border-right-width: 1.5px; border-bottom-width: 1.5px; border-bottom-right-radius: 1.8cqw; }
.pr-link-c { left: 23%; top: 50%; width: 27%; height: 31%; border-right-width: 1.5px; border-bottom-width: 1.5px; border-bottom-right-radius: 1.8cqw; }
.pr-link-d { left: 50%; top: 50%; width: 34%; height: 26%; border-left-width: 1.5px; border-bottom-width: 1.5px; border-bottom-left-radius: 1.8cqw; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .project-card:hover .pr-dash { transform: perspective(800px) rotateX(8deg) rotateY(-7deg) rotateZ(-4deg) scale(1.04); }
  .project-card:hover .pr-front { transform: translate(-18%,8%) rotate(-13deg); }
  .project-card:hover .pr-back { transform: translate(31%,-9%) rotate(22deg); }
  .project-card:hover .pr-network { transform: rotate(-3deg) scale(1.04); }
}
.pr-dialog {
  --pr-bg: #f4f2eb; --pr-ink: #202320; --pr-stroke: #c6c7bd; --pr-accent: #ffad77;
  position: fixed; inset: 0; margin: auto; padding: 0; width: min(630px, calc(100% - 28px)); height: fit-content;
  max-width: none; max-height: min(90dvh, 850px); border: 1px solid #8d9284; border-radius: 18px;
  overflow: auto; overscroll-behavior: contain; background: var(--pr-bg); color: var(--pr-ink);
  box-shadow: 0 30px 120px #06090680; color-scheme: light; font-family: Inter, Arial, sans-serif;
  text-align: left; line-height: 1.45;
}
.pr-dialog[open] { display: block; }
.pr-dialog::backdrop { background: #090c0bd6; backdrop-filter: blur(7px); }
.pr-dialog[data-case="1"] { --pr-accent: #c3ceff; }
.pr-dialog[data-case="2"] { --pr-accent: #d0ec92; }
.pr-dialog-inner { padding: clamp(20px, 4.4vw, 40px); }
.pr-dialog-top { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.pr-kicker { font: 500 .77rem/1.3 'IBM Plex Mono', monospace; text-transform: uppercase; letter-spacing: .065em; }
.pr-close, .pr-dialog .pr-action, .pr-dialog .pr-tag {
  display: inline-flex; align-items: center; justify-content: center; color: inherit; cursor: pointer; font: inherit;
  border: 1px solid #8b9085; border-radius: 6px; background: transparent; line-height: 1.15; letter-spacing: 0;
}
.pr-close { padding: 0; flex: none; width: 42px; height: 42px; border-radius: 50%; }
.pr-dialog h2 { margin: 22px 0 10px; color: inherit; font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: .99; font-weight: 600; letter-spacing: -.055em; overflow-wrap: break-word; }
.pr-dialog #pr-intro { margin: 0 0 24px; color: #50544d; font-size: 1rem; line-height: 1.52; }
.pr-body { border-top: 1px solid var(--pr-stroke); padding-top: 20px; }
.pr-dialog :is(button,select,input,textarea):focus-visible { outline: 3px solid #3c5ea3; outline-offset: 2px; }
.pr-dialog :is(input,select,textarea) {
  width: 100%; min-height: 44px; margin: 3px 0 0; padding: 10px 12px; border: 1px solid #92968a; color: var(--pr-ink); background-color: #fffefa;
  border-radius: 6px; font: 400 1rem/1.35 Inter, Arial, sans-serif;
}
.pr-dialog select {
  appearance: none; padding-right: 35px; background-position: right 13px center; background-repeat: no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23202320' stroke-width='1.5'/%3E%3C/svg%3E");
}
.pr-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pr-filter label, .pr-field { display: block; font-size: .875rem; color: #4c5148; font-weight: 600; }
.pr-live-stats { display: flex; gap: clamp(24px, 7vw, 72px); padding: 24px 0 16px; }
.pr-live-stats > div { display: grid; gap: 1px; }
.pr-live-stats strong { font-size: 2.5rem; font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.pr-live-stats span, .pr-axis, .pr-status { font-size: .82rem; color: #50574d; }
.pr-chart { height: 92px; display: flex; align-items: end; gap: clamp(2px, .5vw, 6px); border-bottom: 1px solid #242823; background: repeating-linear-gradient(to top, transparent 0 24%, #24282317 24% 25%); }
.pr-chart > i { height: var(--v); flex: 1; background: #343832; border-radius: 2px 2px 0 0; }
.pr-chart > i:last-child { background: #c9612b; }
.pr-axis, .pr-sync, .pr-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pr-axis { margin-top: 5px; } .pr-sync { margin-top: 20px; }
.pr-sync span, .pr-status { font-size: .86rem; color: #50564c; }
.pr-dialog .pr-action { min-height: 42px; padding: 9px 15px; background: var(--pr-accent); color: #202320; font-size: .94rem; font-weight: 600; flex-shrink: 0; }
.pr-dialog .pr-action:hover, .pr-dialog .pr-tag:hover, .pr-dialog .pr-close:hover { background: #e2e4d8; }
.pr-question { display: grid; gap: 8px; margin-top: 16px; }
.pr-question strong { font-size: 1.05rem; }
.pr-question textarea { resize: vertical; min-height: 75px; }
.pr-toolbar { flex-wrap: wrap; justify-content: start; margin-top: 12px; }
.pr-dialog .pr-print { background: transparent; }
.pr-status { min-height: 1.25rem; margin-top: 7px; }
.pr-printout { display: none; }
.pr-hits, .pr-rel > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-hits { margin: 12px 0 16px; }
.pr-dialog .pr-tag { padding: 7px 12px; min-height: 34px; font: .88rem/1.2 'IBM Plex Mono', monospace; }
.pr-dialog .pr-tag[aria-pressed="true"] { background: #30382b; color: white; }
.pr-table-def { padding: 18px; border: 1px solid #afb5a3; border-radius: 9px; background: #e9efdf; }
.pr-table-head { display: flex; align-items: center; gap: 8px; font: 600 1.4rem/1.15 'IBM Plex Mono', monospace; }
.pr-table-def p { font-size: 1rem; margin: 10px 0 14px; color: inherit; }
.pr-owner, .pr-rel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .875rem; }
.pr-owner span, .pr-rel span { color: #50594a; }
.pr-rel { margin-top: 10px; }
@media (max-width: 440px) { .pr-sync { align-items: flex-start; flex-direction: column; } .pr-dialog-inner { padding: 20px; } }
@media print {
  body:has(.pr-dialog[data-case="1"][open]) { background: white !important; }
  body:has(.pr-dialog[data-case="1"][open]) > :not(.pr-dialog) { display: none !important; }
  .pr-dialog[data-case="1"][open] { position: static; inset: auto; width: auto; height: auto; max-height: none; max-width: none; border: 0; overflow: visible; background: white; color: black; box-shadow: none; }
  .pr-dialog[data-case="1"]::backdrop { background: white; backdrop-filter: none; }
  .pr-dialog[data-case="1"] .pr-dialog-top, .pr-dialog[data-case="1"] #pr-intro, .pr-dialog[data-case="1"] .pr-body > :not(.pr-printout) { display: none; }
  .pr-dialog[data-case="1"] .pr-printout { display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
}
