/* Tarjetas giratorias adaptadas a la referencia del usuario; directorio real sin modal. */
.io-dashboard {
  --dashboard-surface: #151515;
  --dashboard-ink: #f7f5f2;
  --dashboard-muted: #c2bfba;
  --dashboard-line: #ffffff1c;
  --dashboard-accent: #ff9966;
  position: relative;
  z-index: 12;
  width: 100%;
  min-width: 0;
  padding: clamp(58px, 8vw, 110px) 28px 58px;
  color: var(--dashboard-ink);
  background: linear-gradient(180deg, #10141c, #0b1018);
  border-top: 1px solid #ffffff10;
  font: 400 17px/1.55 Inter, system-ui, sans-serif;
  user-select: text;
  -webkit-user-select: text;
  scroll-margin-top: 22px;
}
html[data-theme="light"] .io-dashboard {
  --dashboard-surface: #f3eee9;
  --dashboard-ink: #282727;
  --dashboard-muted: #615a53;
  --dashboard-line: #36231625;
  background: linear-gradient(180deg, #e0e6f0, #e9e8e6);
  border-color: #292b3016;
}
.io-dashboard *, .io-directory-header * { box-sizing: border-box; }
.io-dashboard-inner { width: min(1240px, 100%); margin-inline: auto; }
.io-dashboard-heading { display: flex; justify-content: space-between; gap: 28px; align-items: start; margin-bottom: 34px; }
.io-dashboard-eyebrow { font: 500 11pt/1.5 "JetBrains Mono", monospace; letter-spacing: .13em; color: var(--dashboard-muted); margin: 0 0 14px; }
.io-dashboard h2 { font: 600 clamp(32px,4.5vw,55px)/1.08 "Space Grotesk",Inter,sans-serif; letter-spacing: -.045em; margin: 0 0 16px; max-width: 700px; color: var(--dashboard-ink); }
.io-dashboard h2 > span { color: var(--dashboard-accent); }
.io-dashboard-intro { color: var(--dashboard-muted); margin: 0; max-width: 50ch; font-size: 17px; }
.io-dashboard-utilities, .io-directory-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.io-dashboard-utilities { justify-content: flex-end; padding-top: 8px; flex: 0 0 auto; }
.io-directory-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--io-line,#ffffff20); border-radius: 9px; color: inherit; background: var(--io-control,#ffffff08); font: 500 11pt/1.35 Inter,system-ui,sans-serif; text-decoration: none; cursor: pointer; transition: border-color .2s, background .2s; }
.io-dashboard .io-directory-button { color: var(--dashboard-ink); background: color-mix(in srgb,var(--dashboard-surface) 90%,transparent); border-color: var(--dashboard-line); }
.io-directory-button:hover { border-color: #ff996699; background: #ff996611; }
.io-dashboard-toolbar { display: flex; align-items: center; gap: 24px; justify-content: space-between; margin-bottom: 32px; }
.io-dashboard-search { display: flex; align-items: center; gap: 13px; flex: 0 1 560px; padding: 12px 16px; min-width: 0; border-radius: 10px; border: 1px solid var(--dashboard-line); background: var(--dashboard-surface); color: var(--dashboard-muted); }
.io-dashboard-search input { display: block; width: 100%; min-width: 0; color: var(--dashboard-ink); background: transparent; border: 0; outline: 0; font: 400 16px/1.5 Inter,system-ui,sans-serif; }
.io-dashboard-search input::placeholder { color: var(--dashboard-muted); opacity: 1; }
.io-dashboard-search:focus-within { outline: 2px solid var(--dashboard-accent); outline-offset: 3px; }
.io-dashboard-count { color: var(--dashboard-muted); font-size: 11pt; margin: 0; }
.io-dashboard-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; align-items: start; }
.io-project-card { --project-accent: #ff9966; --project-secondary: #ffc588; --project-deep: #43271e; --dashboard-accent: var(--project-accent); min-width: 0; perspective: 1000px; }
.io-project-card[data-project-identity="aplicaciones-web"] { --project-accent: #dfbc83; --project-secondary: #8cad86; --project-deep: #354735; }
.io-project-card[data-project-identity="portfolio"] { --project-accent: #c2d3e6; --project-secondary: #91a9bb; --project-deep: #1d3447; }
.io-project-card[data-project-identity="seaes"] { --project-accent: #61dcac; --project-secondary: #a7e9d6; --project-deep: #103d31; }
.io-project-card[data-project-identity="portal"] { --project-accent: #3ee0c3; --project-secondary: #4d99db; --project-deep: #08354a; }
.io-project-card[data-project-identity="atlas"] { --project-accent: #bd9aff; --project-secondary: #7bafff; --project-deep: #342257; }
.io-project-card[data-project-identity="media"] { --project-accent: #ffa9d4; --project-secondary: #a5bbff; --project-deep: #4d2947; }
.io-project-card[data-project-identity="follow"] { --project-accent: #69b9ff; --project-secondary: #3695ff; --project-deep: #092c51; }
.io-project-card[data-project-identity="ui"] { --project-accent: #b1c0ff; --project-secondary: #e0adff; --project-deep: #35334c; }
.io-project-card[data-project-identity="planning"] { --project-accent: #76d9c9; --project-secondary: #7ca3d1; --project-deep: #183840; }
.io-project-launch { display: block; height: 360px; color: inherit; text-decoration: none; border-radius: 12px; outline-offset: 6px; }
.io-project-content { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 400ms cubic-bezier(.2,.7,.25,1); box-shadow: 0 8px 22px #0006; border-radius: inherit; }
.io-project-back, .io-project-front { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; background: var(--dashboard-surface); color: var(--dashboard-ink); }
.io-project-back { display: grid; place-items: center; }
.io-project-back::before { content: ""; position: absolute; width: 50%; height: 165%; background: linear-gradient(90deg,transparent,var(--dashboard-accent),var(--dashboard-accent),transparent); animation: io-dashboard-border 5s linear infinite paused; }
.io-project-back-content { position: absolute; inset: 1px; border-radius: 11px; padding: 23px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: radial-gradient(ellipse at 50% 110%,color-mix(in srgb,var(--project-deep) 42%,transparent),transparent 70%),var(--dashboard-surface); }
.io-project-category { display: flex; align-items: center; gap: 9px; font: 500 11pt/1.35 "JetBrains Mono",monospace; color: var(--dashboard-muted); }
.io-project-category svg { flex: 0 0 21px; height: 21px; color: var(--project-accent); }
.io-project-cover-heading { display: grid; gap: 9px; }
.io-project-cover-heading > strong { font: 600 28px/1.15 "Space Grotesk",sans-serif; letter-spacing: -.025em; }
.io-project-cover-heading > span { display: flex; justify-content: space-between; gap: 10px; font-size: 11pt; color: var(--dashboard-muted); }
.io-project-front { transform: rotateY(180deg); background: var(--project-deep); }
.io-project-orbs { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.io-project-orbs i { position: absolute; display: block; width: 100px; height: 100px; border-radius: 50%; background: var(--project-secondary); left: 8%; top: 10%; filter: blur(22px); opacity: .4; animation: io-dashboard-float 2.6s ease-in-out infinite paused; }
.io-project-orbs i:nth-child(2) { width: 170px; height: 170px; background: var(--project-accent); left: 30%; top: 35%; animation-delay: -.8s; }
.io-project-orbs i:nth-child(3) { width: 80px; height: 80px; background: var(--project-deep); left: 75%; top: 0; animation-delay: -1.8s; }
.io-project-front-content { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.io-project-badge { width: fit-content; max-width: 100%; padding: 5px 11px; border-radius: 9px; font-size: 11pt; background: #10101090; color: #fff; backdrop-filter: blur(3px); }
.io-project-description { display: grid; gap: 10px; padding: 19px; background: #0d0d0dbc; backdrop-filter: blur(6px); color: #fff; border-radius: 9px; box-shadow: 0 0 18px #0004; }
.io-project-description h3 { margin: 0; font: 600 24px/1.2 "Space Grotesk",Inter,sans-serif; letter-spacing: -.025em; }
.io-project-description p { margin: 0; color: #f3efea; font: 400 16px/1.4 Inter,sans-serif; }
.io-project-enter { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; font-size: 11pt; color: var(--project-accent); }
.io-project-showcase { position: relative; display: grid; place-items: center; width: 100%; height: 164px; flex: 0 0 164px; pointer-events: none; }
.io-project-showcase--front { position: absolute; top: 43px; left: 18px; width: calc(100% - 36px); height: 145px; opacity: .94; }
.io-project-showcase svg { stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.io-project-showcase img { display: block; object-fit: contain; max-width: 100%; }
.io-preview-history { position: relative; width: 230px; max-width: 100%; height: 155px; }
.io-history-paper { height: 128px; border: 1px solid #dfbc8355; border-radius: 6px 6px 30px 6px; background: #d3bb9214; color: #d9bd90; display: flex; align-items: center; justify-content: center; gap: 16px; transform: rotate(-4deg); }
.io-history-paper > span { font: 500 21px/1.15 Georgia,serif; }
.io-history-paper svg { width: 80px; height: 70px; }
html[data-theme="light"] .io-project-back .io-history-paper { color: #795b32; background: #b89a6c15; border-color: #a0855d66; }
.io-history-timeline { position: absolute; left: 8px; right: 8px; bottom: 0; display: flex; align-items: center; gap: 12px; color: var(--dashboard-muted); font: 500 11pt/1.5 "JetBrains Mono",monospace; }
.io-history-timeline i { height: 1px; flex: 1; background: #dfbc8380; position: relative; }
.io-history-timeline i::before,.io-history-timeline i::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #dfbc83; top: -3px; }
.io-history-timeline i::after { right: 0; }
.io-project-front .io-history-timeline { color: #e8dbbf; }
.io-preview-evidence { position: relative; width: 220px; height: 155px; }
.io-evidence-sheet { position: absolute; width: 155px; height: 132px; left: 40px; top: 0; padding: 9px; border-radius: 5px; background: #edf0f3; box-shadow: 0 6px 15px #0003; transform: rotate(8deg); overflow: hidden; }
.io-evidence-sheet img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.io-evidence-sheet--rear { left: 16px; transform: rotate(-11deg); background: #bbc5d0; }
.io-evidence-tab { position: absolute; left: 0; right: 0; bottom: 4px; border: 1px solid #bccddc40; background: #152633ed; color: #e0e9f1; border-radius: 6px; padding: 7px 12px; text-align: center; font: 500 11pt/1.4 Inter,sans-serif; }
.io-preview-seaes { position: relative; display: flex; align-items: center; justify-content: center; width: 260px; max-width: 100%; height: 140px; gap: 16px; padding: 8px; border: 1px solid #5bb99533; border-radius: 10px; background: #102e27; }
.io-preview-seaes > img { position: relative; z-index: 1; width: 65px; height: 83px; filter: drop-shadow(0 8px 12px #0004); }
.io-data-flow { position: relative; z-index: 1; display: grid; width: 132px; gap: 6px; color: #90ddc1; font: 500 11pt/1.4 Inter,sans-serif; }
.io-data-flow svg { width: 100%; height: 20px; }
.io-data-flow strong { color: #dbf9ee; background: #0d4235; border: 1px solid #8cdbc255; border-radius: 5px; padding: 6px 10px; font-weight: 500; }
.io-data-grid { position: absolute; display: grid; grid-template-columns: repeat(3,1fr); inset: 8px 5px 10px; gap: 3px; opacity: .25; transform: perspective(280px) rotateX(30deg) rotateZ(-8deg); }
.io-data-grid i { background: #39755a33; border: 1px solid #8ad4b7; }
.io-preview-portal { display: flex; align-items: center; justify-content: center; gap: 18px; width: 260px; max-width: 100%; height: 144px; }
.io-portal-brand { display: grid; place-items: center; width: 103px; height: 103px; border: 1px solid #29b59c66; border-radius: 50%; background: #ecf6f2; box-shadow: 0 0 0 8px #3ee0c30a; flex: 0 0 auto; }
.io-portal-brand img { width: 87px; height: 64px; }
.io-portal-pass { display: grid; grid-template-columns: 32px 1fr; gap: 9px; align-items: center; padding: 17px 13px; background: #0b2b38; color: #d7eee9; border: 1px solid #71c3b755; border-radius: 9px; box-shadow: 6px 7px 0 #002a4a40; transform: rotate(5deg); font: 400 11pt/1.5 Inter,sans-serif; }
.io-portal-pass svg { width: 32px; height: 38px; color: #50c8ae; }
.io-portal-pass i { grid-column: 1/-1; height: 4px; border-radius: 2px; background: linear-gradient(90deg,#35d3ac 40%,#608e9a40 40%); }
.io-preview-atlas { position: relative; width: 246px; max-width: 100%; height: 143px; border: 1px solid #b696ff60; border-radius: 8px; padding: 15px 14px 14px 39px; background: #171828; box-shadow: 9px 9px 0 #8054d51a; transform: rotate(-3deg); }
.io-atlas-tools { position: absolute; left: 0; top: 0; bottom: 0; width: 29px; border-right: 1px solid #ab8bc733; display: flex; flex-direction: column; gap: 13px; padding: 18px 8px; }
.io-atlas-tools i { display: block; height: 11px; border: 1px solid #9c8abd; border-radius: 2px; }
.io-atlas-tools i:first-child { background: #a580e0; }
.io-atlas-canvas { border: 1px dashed #9c7aca80; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 12px; gap: 14px; }
.io-atlas-columns { display: flex; gap: 6px; height: 29px; }
.io-atlas-columns i { flex: 1; border-radius: 3px; background: #a486d4; }
.io-atlas-columns i:nth-child(2) { background: #7d99d9; }
.io-atlas-columns i:nth-child(3) { background: #6a68ae; }
.io-atlas-canvas > span { color: #c7b9e5; font: 400 11pt/1.5 "JetBrains Mono",monospace; white-space: nowrap; letter-spacing: -.07em; }
.io-atlas-cursor { position: absolute; right: 13px; bottom: -3px; }
.io-atlas-cursor svg { width: 28px; height: 34px; fill: #bca0ed; color: #1a1625; }
.io-preview-media { display: grid; grid-template-columns: repeat(4,1fr); align-items: center; gap: 8px; width: 268px; max-width: 100%; transform: rotate(-4deg); }
.io-media-tile { display: grid; place-items: center; height: 88px; border-radius: 7px; overflow: hidden; border: 1px solid #ffffff20; box-shadow: 0 6px 12px #0003; background: #2b2636; }
.io-media-tile:nth-child(even) { transform: translateY(17px); }
.io-media-tile img { width: 100%; height: 100%; object-fit: cover; }
.io-media-tile svg { width: 46px; height: 46px; }
.io-media-tile--vector { color: #c9a2ff; background: #332448; }
.io-media-tile--film { background: #254658; color: #a2ddf2; }
.io-media-tile--film svg { fill: currentColor; stroke: none; }
.io-media-tile--file { color: #ffafcc; background: #4a2b3c; }
.io-preview-follow { display: grid; justify-items: center; gap: 9px; width: 250px; max-width: 100%; }
.io-follow-logo { display: grid; place-items: center; padding: 9px 17px; width: 210px; max-width: 100%; height: 127px; background: #fff; border-radius: 6px; transform: rotate(-4deg); box-shadow: 9px 7px 0 #337bba20; }
.io-follow-logo img { width: 100%; height: 100%; object-fit: contain; }
.io-follow-track { display: flex; align-items: center; gap: 8px; font: 400 11pt/1.3 Inter,sans-serif; color: var(--dashboard-muted); }
.io-follow-track i { height: 7px; width: 25px; background: repeating-linear-gradient(110deg,#4b9feb 0 5px,transparent 5px 8px); }
.io-project-front .io-follow-track { color: #c9e4ff; }
.io-preview-ui { position: relative; width: 220px; max-width: 100%; height: 152px; }
.io-ui-panel { position: absolute; width: 204px; max-width: 100%; height: 129px; padding: 17px; border-radius: 18px; background: #e2e5ed; color: #373b4b; box-shadow: 8px 8px 15px #0003,inset 1px 1px 1px #fff; transform: rotate(-5deg); font: 500 11pt/1.4 Inter,sans-serif; }
.io-ui-colors { display: flex; gap: 7px; margin-bottom: 8px; }
.io-ui-colors i { width: 9px; height: 9px; border-radius: 50%; background: #8c93ac; }
.io-ui-colors i:nth-child(2) { background: #b0a5ca; }
.io-ui-colors i:nth-child(3) { background: #8baec3; }
.io-ui-input { width: 100%; height: 24px; border-radius: 20px; margin-top: 10px; background: #dfe3eb; box-shadow: inset 3px 3px 6px #a0a7b5,inset -3px -3px 6px #fff; padding: 9px 12px; }
.io-ui-input i { display: block; width: 53%; height: 4px; border-radius: 2px; background: #aeb6c4; }
.io-ui-toggle { position: absolute; right: -1px; bottom: 0; width: 83px; height: 43px; border-radius: 25px; padding: 5px; background: #aebcff; box-shadow: 3px 3px 9px #0003,inset 1px 1px 1px #e3ebff; }
.io-ui-toggle i { display: block; width: 33px; height: 33px; border-radius: 50%; margin-left: auto; background: #ebeff8; box-shadow: 0 2px 5px #5364a688; }
.io-preview-planning { display: flex; align-items: center; width: 270px; max-width: 100%; height: 148px; gap: 0; font: 500 11pt/1.4 Inter,sans-serif; color: #cce7e6; }
.io-plan-node { padding: 14px; background: #153d47; border: 1px solid #71c3b5; border-radius: 7px; }
.io-plan-wire { width: 29px; min-width: 14px; height: 90px; border-block: 1px solid #71a69f; border-left: 1px solid #71a69f; margin-left: 16px; position: relative; }
.io-plan-wire::before { content: ""; position: absolute; right: 100%; width: 16px; height: 1px; background: #71a69f; top: 50%; }
.io-plan-wire::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: #71a69f; top: 50%; }
.io-plan-branches { display: grid; gap: 9px; }
.io-plan-branches span { padding: 6px 10px; border-radius: 5px; border: 1px solid #4b817d; background: #1b313c; white-space: nowrap; }
.io-preview-new svg { width: 84px; height: 84px; color: var(--project-accent); }
.io-project-sections { margin-top: 13px; background: color-mix(in srgb,var(--dashboard-surface) 65%,transparent); border: 1px solid var(--dashboard-line); border-radius: 10px; overflow: hidden; }
.io-project-sections summary { display: flex; align-items: center; gap: 12px; padding: 14px 17px; min-height: 48px; cursor: pointer; list-style: none; color: var(--dashboard-ink); font-size: 11pt; }
.io-project-sections summary::-webkit-details-marker { display: none; }
.io-project-section-count { margin-left: auto; color: var(--dashboard-muted); }
.io-project-sections summary svg { transition: transform .2s; }
.io-project-sections[open] summary svg { transform: rotate(180deg); }
.io-project-sections ul { padding: 0 10px 10px; margin: 0; list-style: none; }
.io-project-sections li { list-style: none; margin: 0; padding: 0; }
.io-project-sections a { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; min-height: 44px; padding: 11px 9px; color: var(--dashboard-ink); text-decoration: none; font-size: 11pt; border-top: 1px solid var(--dashboard-line); overflow-wrap: anywhere; }
.io-project-sections a small { grid-column: 1; font-size: 11pt; color: var(--dashboard-muted); }
.io-project-sections a > span[aria-hidden] { grid-column: 2; grid-row: 1; }
.io-project-sections a:hover { color: var(--dashboard-accent); }
.io-dashboard-empty { padding-block: 45px; font-size: 18px; color: var(--dashboard-muted); text-align: center; }
.io-dashboard-top { display: inline-flex; align-items: center; gap: 12px; padding: 14px 0; margin-top: 34px; min-height: 44px; color: var(--dashboard-muted); text-decoration: none; font-size: 11pt; }
.io-dashboard :is(a,button,summary):focus-visible, .io-directory-header :is(a,button):focus-visible { outline: 2px solid #ff9966; outline-offset: 5px; }
.io-dashboard [hidden], .io-project-card[hidden] { display: none !important; }
.io-dashboard-jump { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 12px 16px; color: var(--ink-color,#fff); font: 500 11pt/1.4 Inter,sans-serif; text-decoration: none; }
.io-dashboard-jump:focus-visible { outline: 2px solid #ff9966; outline-offset: 3px; border-radius: 9px; }
html[data-iokort-shell] .io-site-header.io-directory-header { height: auto; min-height: 76px; gap: 20px; padding: 15px 28px; }
.io-directory-header .site-app-name { font-size: 11pt; }
.io-directory-header .io-directory-actions { justify-content: flex-end; margin-left: auto; }
@keyframes io-dashboard-border { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes io-dashboard-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@media (hover: hover) and (pointer: fine) {
  .io-project-launch:hover .io-project-content, .io-project-launch:focus-visible .io-project-content { transform: rotateY(180deg); }
  .io-project-card[data-dashboard-visible="true"] .io-project-back::before { animation-play-state: running; }
  .io-project-card[data-dashboard-visible="true"] .io-project-launch:is(:hover,:focus-visible) .io-project-orbs i { animation-play-state: running; }
}
@media (max-width: 980px) { .io-dashboard-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .io-dashboard-heading { flex-direction: column; } .io-dashboard-utilities { justify-content: start; padding: 0; } }
@media (max-width: 700px) {
  .io-dashboard { padding: 52px 20px 34px; }
  .io-dashboard-toolbar { flex-direction: column; align-items: stretch; gap: 16px; }
  .io-dashboard-search { flex-basis: auto; }
  .io-dashboard-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .io-project-launch { height: 360px; }
  .io-project-content { transform: rotateY(180deg); }
  .io-project-back::before, .io-project-orbs i { animation: none; }
  html[data-iokort-shell] .io-site-header.io-directory-header { gap: 14px; padding: 13px 18px; flex-wrap: wrap; }
  .io-directory-header .site-app-name { margin-right: 0; }
  .io-directory-header .io-directory-actions { width: 100%; margin-left: 0; justify-content: start; }
  .io-directory-header .io-directory-button { padding-inline: 11px; }
}
@media (max-width: 540px) { .io-dashboard-grid { grid-template-columns: minmax(0,1fr); } .io-project-launch { height: 370px; } }
@media (hover: none), (pointer: coarse) {
  .io-project-content { transform: rotateY(180deg); }
  .io-project-back::before,.io-project-orbs i { animation: none; }
  .io-project-description { background: #0d0d0dda; }
}
@media (prefers-reduced-motion: reduce) {
  .io-project-content { transform: rotateY(180deg); transition: none; }
  .io-project-back::before,.io-project-orbs i { animation: none; }
  .io-project-sections summary svg { transition: none; }
}

/* El fondo invierte suavemente la paleta al bajar; los proyectos conservan su identidad. */
html[data-iokort-scroll-background][data-scroll-tone="dark"] {
  --scroll-surface: #151b24;
  --scroll-ink: #ffffff;
  --scroll-muted: #cbd1dc;
  --scroll-line: #ffffff28;
}
html[data-iokort-scroll-background][data-scroll-tone="light"] {
  --scroll-surface: #f3f5f8;
  --scroll-ink: #202020;
  --scroll-muted: #404954;
  --scroll-line: #132b4530;
}
html[data-iokort-scroll-background][data-iokort-app="landing"] .io-dashboard {
  --dashboard-surface: var(--scroll-surface);
  --dashboard-ink: var(--scroll-ink);
  --dashboard-muted: var(--scroll-muted);
  --dashboard-line: var(--scroll-line);
  background: transparent;
  border-color: var(--scroll-line);
}
html[data-iokort-scroll-background] .hero-container {
  --ink-color: var(--scroll-ink);
  --ink: var(--scroll-ink);
}
html[data-iokort-scroll-background] .io-dashboard .rgb-panel {
  --kort-dark-surface: var(--dashboard-surface);
  --kort-light-surface: var(--dashboard-surface);
  --kort-dark-text: var(--dashboard-ink);
  --kort-light-text: var(--dashboard-ink);
}
html[data-iokort-scroll-background][data-scroll-tone="dark"] .io-project-back .io-history-paper { color:#d9bd90;background:#d3bb9214;border-color:#dfbc8355; }
html[data-iokort-scroll-background][data-scroll-tone="light"] .io-project-back .io-history-paper { color:#795b32;background:#b89a6c15;border-color:#a0855d66; }

/* La contraportada muestra el documento real de cada aplicación; solo carga al explorarla. */
.io-dashboard { padding-top:clamp(26px,4vw,60px); border:0; }
.io-real-preview { position:absolute;inset:0;overflow:hidden;background:var(--dashboard-surface); }
.io-real-preview iframe { position:absolute;inset:0;width:1100px;height:1010px;border:0;transform-origin:0 0;transform:scale(var(--preview-scale,.35));pointer-events:none; }
.io-project-preview-title { position:absolute;left:16px;right:16px;bottom:16px;padding:13px 16px;border:1px solid #ffffff24;border-radius:10px;background:#111b2be0;color:#fff;font:600 20px/1.3 'Space Grotesk',sans-serif;backdrop-filter:blur(12px);pointer-events:none; }
.io-academic-choice { position:absolute;inset:0;padding:25px;display:flex;flex-direction:column;gap:18px;background:var(--dashboard-surface);color:var(--dashboard-ink);overflow:auto; }
.io-academic-choice h3 { font:600 27px/1.2 'Space Grotesk',sans-serif;margin:0; }
.io-academic-choice label { display:grid;gap:8px;font-size:11pt; }
.io-academic-choice select { width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--dashboard-line);border-radius:9px;background:var(--dashboard-surface);color:inherit;font:500 11pt/1.4 Inter,sans-serif; }
.io-academic-choice nav { overflow:auto; }
.io-academic-choice nav a { display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--dashboard-line);text-decoration:none;color:inherit;font:500 11pt/1.5 Inter,sans-serif; }
.io-academic-choice nav p { font:400 11pt/1.5 Inter,sans-serif;color:var(--dashboard-muted); }
.io-project-launch--academic { cursor:default; }
.io-project-card:focus-within .io-project-content { transform:rotateY(180deg); }
.io-project-card[data-project-identity=portfolio] .io-project-front { pointer-events:none; }
.io-project-card[data-project-identity=portfolio]:is(:hover,:focus-within) .io-project-front { pointer-events:auto; }
@media(max-width:700px),(hover:none),(pointer:coarse),(prefers-reduced-motion:reduce) { .io-project-card[data-project-identity=portfolio] .io-project-front { pointer-events:auto; } }
