
/* Anura Studio 0.4 — layout orientado a proyectos */
body.studio-active{background:#f6f7fb;color:#1d2b40}
.studio-shell{--paper:#f6f7fb;--white:#fff;--ink:#233247;--grey:#657187;--line:#e4e8f0;--primary:#1767b9;--primary-bg:#eaf3ff;--highlight:#f59e54;display:grid;grid-template-columns:244px minmax(0,1fr);min-height:100dvh;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.42}
.studio-shell *{box-sizing:border-box}
.studio-shell button,.studio-shell input,.studio-shell textarea,.studio-shell select{font:inherit}
.studio-shell button{color:inherit;cursor:pointer;background:transparent;border:1px solid transparent;border-radius:11px;font-weight:580;font-size:13px;padding:10px 12px}
.studio-shell button:hover{background:#eff3fa}
.studio-shell button:focus-visible,.studio-shell input:focus-visible,.studio-shell textarea:focus-visible,.studio-shell select:focus-visible{outline:3px solid #8cc1f7;outline-offset:1px}
.studio-shell button.primary,.studio-shell a.primary{background:var(--primary);color:#fff;border:1px solid var(--primary);font-weight:700}
.studio-shell button.primary:hover,.studio-shell a.primary:hover{background:#10589f}
.studio-shell button.soft{border:1px solid #dce3ed;background:#fff}
.studio-shell button.soft:hover{background:#f3f7fc}
.studio-shell button.small{font-size:12px;padding:7px 10px}
.studio-shell button:disabled{opacity:.46;cursor:not-allowed}
.studio-shell a{color:var(--primary)}
.studio-side{display:flex;flex-direction:column;border-right:1px solid var(--line);padding:27px 15px 18px;background:#fff;gap:26px;min-width:0}
.studio-logo{display:flex;align-items:center;gap:11px;padding:0 10px;color:#18395b;text-decoration:none}
.studio-mark{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:13px;color:#fff;background:linear-gradient(140deg,#1670c1,#102f62);font-size:20px;font-weight:900;letter-spacing:-1px}
.studio-logo strong{display:block;font-size:16px;line-height:1.1;letter-spacing:-.03em}.studio-logo small{display:block;font-size:10px;letter-spacing:.14em;color:#8c9bad;margin-top:5px;font-weight:800}
.studio-side nav{display:grid;gap:6px}
.studio-side nav button{text-align:left;display:flex;align-items:center;gap:13px;padding:12px 14px;font-size:14px;font-weight:600;border-radius:11px;color:#647184}
.studio-side nav button.active{background:#eaf3ff;color:#1264b3;border:1px solid #cfdef3}
.studio-side nav button.active .nav-glyph{color:#1673c8}
.nav-glyph{display:inline-grid;place-items:center;width:20px;height:20px;font-size:18px;color:#8392a5}
.studio-side .side-label{padding:0 13px;font-size:10px;letter-spacing:.15em;text-transform:uppercase;color:#a0aaba;font-weight:800}
.studio-side .side-bottom{margin-top:auto;border-top:1px solid var(--line);padding:19px 9px 0;color:#9ca7b7;font-size:11px;line-height:1.6}
.studio-main{display:flex;flex-direction:column;min-width:0;min-height:100dvh}
.studio-top{background:#fff;border-bottom:1px solid var(--line);height:72px;padding:0 33px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.studio-crumb{font-size:12px;color:#8896a6;display:flex;gap:8px;align-items:center;min-width:0}
.studio-crumb strong{font-size:13px;color:#25425e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.studio-user{display:flex;align-items:center;gap:11px;font-size:12px;color:#5c6e83;min-width:0}
.studio-user span{max-width:245px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.studio-avatar{display:grid;place-items:center;width:34px;height:34px;flex-shrink:0;border-radius:50%;font-weight:800;background:#dcecff;color:#1767b9}
.studio-content{padding:32px clamp(20px,4vw,58px);width:100%;max-width:1590px;margin:0 auto;flex:1}
.section-eyebrow{letter-spacing:.13em;font-size:11px;color:#2270aa;font-weight:800;text-transform:uppercase}
.page-title{margin:8px 0 5px;font-weight:800;font-size:clamp(25px,3vw,37px);letter-spacing:-.045em;line-height:1.15;color:#1c324b}
.page-subtitle{color:#79879a;font-size:14px;margin:7px 0 0}
.page-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}
.page-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.studio-shell .pill{display:inline-flex;gap:6px;align-items:center;padding:5px 9px;border:1px solid #dce5ee;color:#65758b;border-radius:30px;font-size:11px;font-weight:750;background:#fff;white-space:nowrap}
.studio-shell .pill.blue{background:#eaf3ff;border-color:#cfe3fc;color:#155fad}
.studio-shell .pill.green{background:#e8f8f0;border-color:#d3efdd;color:#247950}
.studio-shell .pill.orange{background:#fff3e5;border-color:#f7e4cb;color:#9a5917}
.studio-shell .pill.grey{background:#f2f4f7;border-color:#e8ebf0;color:#758296}
.toolbar-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.studio-shell .search-box{width:min(350px,100%);display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #dfe5ee;border-radius:12px;padding:9px 12px;color:#8392a1}
.studio-shell .search-box input{width:100%;outline:none!important;border:0;min-width:0;background:transparent;color:#22364f;font-size:13px}
.studio-shell .input{border:1px solid #dde4ed;background:#fff;color:#2b3d55;border-radius:10px;padding:11px 12px;font-size:13px;min-width:0}
.studio-shell select.input{padding-right:30px}
.studio-shell textarea.input{resize:vertical;min-height:85px}
.studio-shell label.field{font-size:12px;color:#5c6e84;display:grid;gap:7px;font-weight:700}
.studio-shell input.input{width:100%}
.studio-shell .tabs{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.studio-shell .tabs button{font-size:13px;color:#738096;border-radius:10px;font-weight:700}
.studio-shell .tabs button.active{color:#0f64b7;background:#eaf3ff;border-color:#d3e5fa}
.studio-shell .tabs button:hover:not(.active){background:#fff}
.studio-shell .filter-summary{font-size:12px;color:#8c9aab;margin-bottom:16px}
.studio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.studio-card{background:#fff;border:1px solid #dfe5ee;min-width:0;border-radius:18px;padding:20px 20px 16px;display:flex;flex-direction:column;gap:17px;min-height:210px;box-shadow:0 3px 10px #1a477008;transition:box-shadow .18s,border-color .18s,transform .18s}
.studio-card:hover{border-color:#c1d8ee;box-shadow:0 8px 32px #244d7b14;transform:translateY(-2px)}
.card-top{display:flex;align-items:center;justify-content:space-between;gap:5px}
.card-actions{display:flex;align-items:center;gap:3px}
.studio-shell .card-actions button{color:#8190a3;padding:5px 7px;font-size:18px;border-radius:7px}
.studio-shell .card-actions button.faved{color:#e0a341}
.card-main{display:flex;align-items:center;gap:12px;min-width:0;cursor:pointer;flex:1}
.card-appicon{display:grid;place-items:center;border-radius:13px;width:46px;height:46px;flex-shrink:0;background:#e5f0ff;color:#176abb;font-size:19px;font-weight:900}
.card-appicon.stream{background:#e8f9f6;color:#0a9b8d}.card-appicon.cache{background:#eeeafa;color:#7358ba}.card-appicon.server{background:#eef0f5;color:#5f7089}.card-appicon.lab{background:#fff3df;color:#b57718}.card-appicon.local{background:#f9eae9;color:#b15d49}
.card-main h3{margin:0 0 5px;font-size:16px;line-height:1.3;letter-spacing:-.03em;color:#21374e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-main p{font-size:12px;color:#8491a2;margin:0;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card-foot{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #eff1f4;padding-top:12px;font-size:11px;color:#91a0ae;gap:8px}
.card-foot span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.studio-empty{padding:55px 25px;text-align:center;background:#fff;border:1px dashed #d8e2ee;border-radius:15px;color:#8491a1}
.workspace-head{margin:-12px 0 19px}
.workspace-head .path{font-size:12px;color:#90a0b1;margin-bottom:11px}
.workspace-head .path button{font-size:12px;color:#1d6fb6;padding:0;border:0}
.workspace-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.workspace-heading h1{margin:0;font-size:27px;letter-spacing:-.04em}
.workspace-heading .project-tag{display:inline-flex;align-items:center;gap:10px}
.studio-shell .project-tabs{border:1px solid var(--line);background:#fff;padding:8px;border-radius:14px;display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:19px 0}
.studio-shell .project-tabs button{padding:10px 15px;font-size:13px}
.studio-shell .project-tabs button.active{background:#eaf3ff;color:#145da7;border-color:#d2e3f7}
.studio-shell .stage-panel{border:1px solid #e1e6ed;border-radius:16px;background:#fff;overflow:hidden;min-height:360px}
.stage-head{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;padding:14px 18px;border-bottom:1px solid #e7ebf1;background:#fff}
.stage-head h3{font-size:15px;margin:0}
.stage-heading{display:flex;align-items:center;gap:12px}
.stage-body{padding:22px}
.studio-shell .notice-lite{border:1px solid #dce8f6;background:#f2f7fd;padding:14px 16px;border-radius:12px;color:#506a88;font-size:12px;line-height:1.7}
.studio-shell .notice-warn{border-color:#f1e4cd;background:#fff8ec;color:#805c31}
.split-view{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:500px}
.module-nav{border-right:1px solid #e7eaf1;background:#fbfcfe;padding:14px 11px;display:flex;flex-direction:column;gap:3px}
.module-nav button{text-align:left;border-radius:9px;padding:11px 13px;display:flex;align-items:center;gap:10px;font-size:13px;color:#657689}
.module-nav button.active{background:#e8f2fc;color:#1265b2}
.module-nav small{padding:10px 12px 4px;text-transform:uppercase;letter-spacing:.12em;font-weight:800;color:#a4acb9;font-size:10px}
.module-detail{padding:24px;min-width:0}
.module-detail h2{margin:0 0 8px;font-size:23px;letter-spacing:-.03em}
.module-detail .description{font-size:13px;color:#7c899a;max-width:640px;line-height:1.65}
.module-tile{display:flex;align-items:center;justify-content:space-between;gap:15px;border:1px solid #e5eaf0;padding:17px 19px;border-radius:12px;margin-top:22px;background:#fff}
.module-tile .label{font-weight:750;font-size:14px}
.module-tile p{margin:5px 0 0;font-size:12px;color:#8190a0}
.preview-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.preview-shell{padding:24px;background:#edf1f7;min-height:510px;display:flex;align-items:flex-start;justify-content:center}
.browser-frame{background:#fff;border:1px solid #d9e1ea;border-radius:12px;overflow:hidden;box-shadow:0 13px 30px #18395b18;width:100%;max-width:1100px;transition:max-width .2s ease}
.browser-frame[data-size=tablet]{max-width:800px}.browser-frame[data-size=phone]{max-width:390px}
.browser-frame .address{display:flex;align-items:center;gap:9px;border-bottom:1px solid #e4e9ef;padding:10px 13px;background:#fbfcfd;color:#8792a1;font-size:11px}
.browser-frame .dots{font-size:19px;color:#bfc9d2;letter-spacing:3px}
.browser-frame iframe{display:block;width:100%;height:490px;border:0;background:#fff}
.browser-frame[data-size=phone] iframe{height:630px}
.preview-unavailable{display:grid;place-items:center;text-align:center;padding:80px 30px;min-height:460px;color:#8694a6}
.preview-unavailable h3{margin:0 0 10px;font-size:19px;color:#405771}
.preview-unavailable p{font-size:13px;max-width:460px;line-height:1.8}
.studio-editor-wrap{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:540px}
.code-tree{border-right:1px solid #e7eaf1;background:#fbfcff;padding:15px}
.code-tree .tree-title{font-size:11px;font-weight:800;color:#97a4b5;text-transform:uppercase;letter-spacing:.12em;margin:6px}
.code-tree .tree-file{margin-top:14px;background:#eaf3ff;color:#195fa8;padding:11px;border-radius:8px;font-size:12px;word-break:break-all}
.code-zone{padding:18px;min-width:0}
.studio-shell textarea.code-input{background:#121d2a;color:#dbe8f6;font:12px/1.75 ui-monospace,SFMono-Regular,Consolas,monospace;border:1px solid #263c55;border-radius:11px;padding:18px;resize:vertical;width:100%;min-height:360px;tab-size:2}
.code-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.studio-shell pre.diff-lines{white-space:pre-wrap;overflow:auto;max-height:240px;padding:16px;font-size:11px;line-height:1.55;background:#101f31;color:#d7eaff;border-radius:10px}
.settings-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}
.studio-shell .field-stack{display:grid;gap:17px;min-width:0}
.studio-shell .field-stack textarea{width:100%}
.studio-shell .subheading{font-weight:760;font-size:15px;color:#213951;margin:0 0 16px}
.studio-shell .hint{font-size:11px;color:#9babb9;line-height:1.5}
.studio-shell .top-divider{border:0;border-top:1px solid #e9edf2;margin:19px 0}
.studio-shell .disabled-service{opacity:.72}
.studio-shell .footer-note{margin-top:23px;color:#94a2b1;font-size:11px}
#toast.studio-toast{background:#1c3956;color:#fff;position:fixed;right:20px;bottom:22px;z-index:100;padding:14px 20px;border-radius:12px;box-shadow:0 12px 30px #15233933;font-size:12px;max-width:340px}
@media(max-width:1160px){.studio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-shell{grid-template-columns:208px minmax(0,1fr)}.studio-content{padding:26px 24px}.studio-side{padding-left:10px;padding-right:10px}.studio-top{padding:0 23px}}
@media(max-width:730px){.studio-shell{display:block}.studio-side{position:sticky;top:0;z-index:30;display:flex;flex-direction:row;align-items:center;gap:10px;padding:9px 13px;border-bottom:1px solid #e4e9f0;border-right:0}.studio-logo{padding:0}.studio-logo strong{font-size:13px}.studio-logo small{font-size:9px}.studio-mark{width:33px;height:33px}.studio-side nav{display:flex;flex:1;gap:0;justify-content:flex-end}.studio-side nav button{padding:8px;font-size:11px;gap:5px}.studio-side .side-label,.studio-side .side-bottom{display:none}.nav-glyph{font-size:15px;width:15px}.studio-top{height:52px;padding:0 16px}.studio-user span{display:none}.studio-content{padding:18px 13px}.page-header{align-items:flex-start}.page-actions{justify-content:flex-end}.studio-grid{grid-template-columns:1fr}.studio-card{min-height:180px}.split-view,.studio-editor-wrap,.settings-layout{grid-template-columns:1fr}.module-nav{display:flex;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:1px solid #e7eaf1;min-height:auto}.module-nav button{white-space:nowrap}.module-nav small{display:none}.module-detail{padding:20px}.preview-shell{padding:10px;min-height:360px}.browser-frame iframe{height:400px}.page-title{font-size:27px}.studio-user button{font-size:11px}.workspace-heading h1{font-size:22px}}
@media(max-width:420px){.studio-logo strong{display:none}.studio-logo small{display:none}.studio-side nav button{font-size:0;gap:0}.studio-side nav .nav-glyph{font-size:18px;width:23px}.studio-top .studio-crumb{font-size:11px}.studio-shell .project-tabs button{font-size:12px;padding:8px 9px}}
