
/* AppInitDev Estudios: design system responsive, scoped entirely under .aid-studio */
:root{--aid-aqua:#50dec5;--aid-ink:#091b2d;--aid-teal:#103849;--aid-muted:#bcd0dc}
*{box-sizing:border-box}html{scroll-behavior:smooth}body.aid-studio{margin:0;background:#071524;color:#f0f7fc;font:16px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif}
.aid-studio a{color:#83f3d7}.aid-studio :focus-visible{outline:3px solid #fbd873;outline-offset:3px}.aid-studio .wrap{width:min(1140px,calc(100% - 32px));margin:auto}
.aid-studio .mast{border-bottom:1px solid #23435a;background:#061220;position:relative;z-index:4}.aid-studio .mast>.wrap{min-height:68px;display:flex;align-items:center;gap:20px;justify-content:space-between;flex-wrap:wrap;padding:10px 0}
.aid-studio .brand{font-weight:850;letter-spacing:-.035em;text-decoration:none;font-size:1.23rem;color:#f2f8ff}.aid-studio nav{display:flex;gap:14px;flex-wrap:wrap}.aid-studio nav a{font-size:.89rem;text-decoration:none}
.aid-studio .hero{background:radial-gradient(circle at 93% 15%,#147a78 0%,transparent 36%),linear-gradient(124deg,#0a2640,#092d39 60%,#06202f);padding:64px 0 54px;border-bottom:1px solid #28505c}
.aid-studio .hero-inner{display:grid;grid-template-columns:1fr 180px;gap:28px;align-items:center}.aid-studio h1{font-size:clamp(2.15rem,4.5vw,3.75rem);line-height:1.12;letter-spacing:-.04em;margin:.2em 0}.aid-studio .eyebrow{text-transform:uppercase;letter-spacing:.13em;font-weight:800;font-size:.76rem;color:#6df5d6}
.aid-studio .lead{font-size:1.17rem;max-width:760px;color:#d5eaf0}.aid-studio .hero-icon{width:180px;height:180px;object-fit:contain;background:#fff;border-radius:28px;padding:12px;box-shadow:0 20px 65px #0005}
.aid-studio .tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.aid-studio .chip{border:1px solid #3a7282;background:#104354;border-radius:99px;padding:4px 12px;font-size:.84rem;color:#ddfbf4}
.aid-studio .cta,.aid-studio button.action{display:inline-flex;align-items:center;justify-content:center;text-align:center;gap:8px;background:#5ceac9;color:#062232!important;text-decoration:none;border-radius:12px;border:0;font:700 .95rem system-ui;padding:12px 18px;min-height:46px;cursor:pointer}
.aid-studio .cta.secondary,.aid-studio button.secondary{background:transparent;border:1px solid #6bcab9;color:#9cfadf!important}.aid-studio .cta-row{display:flex;gap:12px;flex-wrap:wrap}
.aid-studio section.content{padding:44px 0}.aid-studio section.content.alt{background:#0b2236;border-block:1px solid #18394f}
.aid-studio h2{font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.25;margin:0 0 12px;letter-spacing:-.025em}.aid-studio h3{font-size:1.17rem;margin:.2em 0 .5em}.aid-studio .sub{color:#acc8d6;max-width:740px;margin-top:0}
.aid-studio .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.aid-studio .grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.aid-studio .panel,.aid-studio .card{background:#102d43;border:1px solid #2a4c60;border-radius:18px;padding:22px;min-width:0}.aid-studio .card p{color:#c2dbe3}.aid-studio .panel strong{color:#f4fff9}.aid-studio .step-num{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#25756d;font-weight:850;color:#eafff6;margin-bottom:12px}
.aid-studio label{display:block;font-weight:650;margin-bottom:6px}.aid-studio input:not([type=checkbox]):not([type=file]),.aid-studio textarea,.aid-studio select,.aid-studio input[type=file]{width:100%;font:inherit;color:#f6ffff;background:#081e30;border:1px solid #568398;border-radius:10px;padding:11px 12px;min-height:46px}
.aid-studio input[type=color]{width:100%;height:46px;cursor:pointer}.aid-studio input::file-selector-button{background:#20615f;color:white;border:0;border-radius:5px;padding:8px;cursor:pointer}.aid-studio input[type=checkbox]{width:18px;height:18px;accent-color:#5aecc7}.aid-studio textarea{min-height:110px;resize:vertical}
.aid-studio .fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.aid-studio .field.full{grid-column:1/-1}.aid-studio .field{min-width:0}.aid-studio .tool-result{white-space:pre-wrap;word-break:break-word;background:#061b2c;border:1px solid #35576a;border-radius:12px;padding:16px;min-height:72px;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;max-height:360px;overflow:auto}
.aid-studio .tool-canvas{max-width:100%;max-height:360px;object-fit:contain;background:#0a1b2a;border-radius:12px}.aid-studio .small{font-size:.87rem;color:#afc9d4}.aid-studio .note{padding:13px 16px;border-left:3px solid #73ddc7;background:#153a46;color:#d3f3ed;border-radius:3px 12px 12px 3px}.aid-studio .warning{border-left-color:#f6b65f;background:#42301f;color:#fff4da}
.aid-studio .check{display:flex;align-items:flex-start;gap:10px;padding:9px 0;border-bottom:1px solid #28475a}.aid-studio .check span{flex:1}.aid-studio details{border:1px solid #315469;background:#102d43;border-radius:12px;padding:12px 16px;margin-bottom:10px}.aid-studio summary{font-weight:750;cursor:pointer}.aid-studio details p{margin-bottom:0;color:#c9e1eb}
.aid-studio .mini-app{display:flex;gap:12px;align-items:center;margin-bottom:10px}.aid-studio .mini-app img{width:55px;height:55px;object-fit:contain;border-radius:12px;background:#fff;padding:4px}.aid-studio .mini-app a{font-weight:750}.aid-studio .foot{padding:32px 0 42px;border-top:1px solid #315065;color:#a9c2ce}.aid-studio .foot a{margin-right:12px}
.aid-studio .tabs{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.aid-studio button.tab{background:#123e51;border:1px solid #4a8490;color:#d8f3f0;border-radius:11px;padding:9px 14px;cursor:pointer}.aid-studio button.tab[aria-pressed=true]{background:#5ceac9;color:#082b2b;font-weight:800}
.aid-studio .skeleton{background:#123849;border-radius:12px;padding:18px}.aid-studio .skip{position:absolute;left:-10000px}.aid-studio .skip:focus{left:8px;top:8px;z-index:90;background:white;color:black;padding:8px}
@media(max-width:750px){.aid-studio .hero-inner{grid-template-columns:1fr}.aid-studio .hero-icon{width:104px;height:104px;grid-row:1}.aid-studio .grid,.aid-studio .grid.two{grid-template-columns:1fr}.aid-studio .fields{grid-template-columns:1fr}.aid-studio .mast nav{gap:9px}.aid-studio .hero{padding:36px 0}.aid-studio section.content{padding:30px 0}.aid-studio .panel,.aid-studio .card{padding:17px}}
@media(prefers-reduced-motion:reduce){.aid-studio *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Icon fallback: only appears when a separately hosted app icon cannot be loaded. */
.aid-studio .hero-figure{position:relative;width:180px;height:180px;display:grid;place-items:center}.aid-studio .hero-monogram{position:absolute;inset:0;display:grid;place-items:center;border-radius:28px;background:linear-gradient(140deg,#1abaaa,#123b68);color:#edfff8;font-size:3.2rem;font-weight:900;letter-spacing:-.05em;box-shadow:0 18px 52px #0003}.aid-studio .hero-figure .hero-icon{position:relative;z-index:1}.aid-studio .hero-figure .hero-icon[style*="display: none"]{display:none}@media(max-width:750px){.aid-studio .hero-figure{width:104px;height:104px;grid-row:1}.aid-studio .hero-monogram{font-size:2.2rem;border-radius:18px}}
