@import "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap";
:root{--navy:#061a40;--blue:#0353a4;--yellow:#ffc600;--offwhite:#f4f4f9;--green:#1f9d55;--red:#d64545;--ink:#10223b;--muted:#5f6f87;--muted-2:#7f8fa6;--panel:#ffffffe6;--panel-strong:#fff;--panel-alt:#eef5ff;--line:#061a401f;--shadow:0 20px 60px #061a4014;--shadow-soft:0 10px 24px #061a400d;--radius-xl:30px;--radius-lg:22px;--radius-md:14px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}*{box-sizing:border-box}html,body{min-height:100%;color:var(--ink);background:radial-gradient(circle at 0 0,#0353a41f,#0000 26%),radial-gradient(circle at 100% 0,#ffc60029,#0000 22%),linear-gradient(#f8f9ff 0%,#eef3fb 100%);margin:0}body{font-family:Inter,Segoe UI,sans-serif}h1,h2,h3,.brand-name,.section-title,.panel-title{letter-spacing:-.03em;font-family:Plus Jakarta Sans,Inter,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.page-shell{grid-template-columns:300px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#f8fbff;background:#10171f;border-right:1px solid #ffffff14;flex-direction:column;height:100vh;padding:28px 20px;display:flex;position:sticky;top:0;box-shadow:inset -1px 0 #ffffff0a}.sidebar-bottom{border-top:1px solid #ffffff14;gap:10px;margin-top:auto;padding:20px 10px 0;display:grid}.build-chip{color:#f8fbffbd;letter-spacing:.02em;background:#ffffff14;border:1px solid #ffffff1f;border-radius:999px;width:fit-content;margin-left:10px;padding:6px 10px;font-size:.72rem}.sidebar-bottom-btn{color:#f8fbffe6;cursor:pointer;text-align:center;background:#ffffff0d;border:1px solid #ffffff26;border-radius:12px;justify-content:center;align-items:center;min-height:40px;padding:0 16px;font-size:.9rem;font-weight:500;transition:all .16s;display:flex}.sidebar-bottom-btn:hover{color:#fff;background:#ffffff1f;border-color:#ffffff4d;transform:translateY(-1px)}.sidebar-bottom-btn.primary{background:var(--blue);color:#fff;border-color:#0000}.sidebar-bottom-btn.primary:hover{background:#0463c4}.content-shell{padding:28px}.project-shell{min-height:100vh}.project-shell .content-shell{padding:0}.project-content{min-height:100vh}.project-content .page-grid{padding:28px}.external-shell{flex-direction:column;min-height:100vh;display:flex}.external-topbar{z-index:20;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#f4f4f9eb;border-bottom:1px solid #061a401a;justify-content:space-between;align-items:center;gap:16px;padding:14px 22px;display:flex;position:sticky;top:0}.external-brand{align-items:center;gap:14px;min-width:0;display:flex}.external-logo{object-fit:contain;border-radius:14px;width:44px;height:44px}.project-route-topbar{background:#10171f;border-bottom-color:#ffffff14}.project-route-logo{border-radius:0;width:auto;min-width:44px;max-height:58px}.project-route-topbar .external-brand-text strong{color:#f8fbff}.project-route-topbar .external-brand-text span,.project-route-topbar .project-topbar-date{color:#f8fbff9e}.project-route-topbar .project-topbar-chip{color:#f8fbff;background:#ffffff1a;border-color:#ffffff24}.project-route-topbar .icon-chip{color:#f8fbff;background:#ffffff14;border-color:#ffffff1f}.project-route-topbar .icon-chip:hover{background:#ffffff24}.external-badge{background:linear-gradient(135deg, var(--yellow) 0%, #ffd94a 38%, var(--blue) 100%);width:44px;height:44px;color:var(--navy);letter-spacing:.08em;border-radius:14px;place-items:center;font-weight:900;display:grid}.external-brand-text{gap:3px;min-width:0;display:grid}.external-brand-text strong{color:var(--navy);font-family:Plus Jakarta Sans,Inter,sans-serif;font-size:.98rem}.external-brand-text span{color:var(--muted);font-size:.86rem}.external-actions{align-items:center;gap:10px;margin-left:auto;display:flex}.topbar-project-meta{text-align:right;gap:4px;margin-right:6px;display:grid}.icon-chip{border:1px solid var(--line);width:42px;height:42px;color:var(--navy);box-shadow:var(--shadow-soft);cursor:pointer;background:#ffffffeb;border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.icon-chip svg{width:19px;height:19px}.icon-chip.danger{color:var(--blue)}.icon-chip:hover{border-color:#0353a43d;transform:translateY(-1px)}.brand-block{align-items:center;gap:14px;padding:10px 10px 24px;display:flex}.brand-mark{background:linear-gradient(135deg, var(--yellow) 0%, #ffd94a 38%, var(--blue) 100%);width:54px;height:54px;color:var(--navy);letter-spacing:.08em;border-radius:18px;place-items:center;font-weight:900;display:grid;box-shadow:0 16px 30px #ffc6002e}.brand-name{font-size:1.05rem;font-weight:800}.brand-subtitle{color:#f8fbffb8;margin-top:4px;font-size:.88rem}.sidebar-nav{gap:10px;padding:0 10px;display:grid}.nav-link{color:#f8fbffd6;background:#ffffff0a;border:1px solid #0000;border-radius:16px;justify-content:space-between;align-items:center;min-height:48px;padding:0 16px;transition:all .16s;display:flex}.nav-link:hover{color:#fff;background:#ffffff14;border-color:#ffffff26;transform:translateY(-1px)}.sidebar-note{color:#f8fbffb8;background:#ffffff0f;border:1px solid #ffffff14;border-radius:18px;margin:28px 10px 0;padding:16px;font-size:.92rem;line-height:1.5}.page-grid{gap:20px;display:grid}.hero{border:1px solid var(--line);border-radius:var(--radius-xl);box-shadow:var(--shadow);background:linear-gradient(160deg,#fffffff5,#f4f4f9fa),radial-gradient(circle at 100% 0,#0353a41f,#0000 28%);justify-content:space-between;align-items:flex-start;gap:20px;padding:30px;display:flex}.hero h1,.section-title,.panel-title{letter-spacing:-.04em;margin:0}.hero h1{font-size:clamp(2.1rem,4vw,3.9rem);line-height:.98}.hero-copy{max-width:66ch;color:var(--muted);line-height:1.68}.hero-meta{gap:12px;min-width:270px;display:grid}.project-topbar{z-index:15;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:linear-gradient(#f4f4f9eb,#f4f4f9b8);border-bottom:1px solid #061a4014;justify-content:space-between;align-items:center;gap:18px;padding:16px 4px 14px;display:flex;position:sticky;top:0}.project-topbar-brand{flex:auto;gap:10px;min-width:0;display:grid}.project-topbar-brand-row{align-items:center;gap:14px;min-width:0;display:flex}.project-topbar-logo{object-fit:contain;flex:none;width:auto;height:42px}.project-topbar-logo-fallback{width:42px;height:42px;color:var(--blue);background:linear-gradient(135deg,#0353a41f,#ffc6002e);border-radius:14px;flex:none;place-items:center;font-weight:800;display:grid}.project-topbar-brand-copy{gap:2px;min-width:0;display:grid}.project-topbar-app{color:var(--muted);font-size:.88rem;font-weight:700}.project-topbar-brand h1{letter-spacing:-.04em;margin:0;font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.02}.project-topbar-meta{text-align:right;gap:4px;min-width:0;display:grid}.project-topbar-chip{min-height:20px;color:var(--blue);background:#0353a414;border:1px solid #0353a424;border-radius:999px;justify-content:center;align-items:center;width:fit-content;margin-left:auto;padding:2px 8px;font-size:.7rem;font-weight:700;line-height:1;display:inline-flex}.project-topbar-date{color:var(--muted);white-space:nowrap;font-size:.68rem;line-height:1.1}.project-topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.pill{width:fit-content;color:var(--blue);background:#0353a40f;border:1px solid #0353a424;border-radius:999px;align-items:center;gap:8px;padding:9px 12px;font-size:.88rem;display:inline-flex}.button,.button-ghost,.button-danger{cursor:pointer;border:1px solid #0000;border-radius:14px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 16px;transition:all .16s;display:inline-flex}.button{background:linear-gradient(135deg, var(--blue) 0%, #0d67c2 100%);color:#fff;font-weight:800;box-shadow:0 12px 24px #0353a42e}.button.compact{min-height:40px;box-shadow:none;border-radius:999px;padding:0 14px}.button:hover{transform:translateY(-1px)}.button-ghost{border-color:var(--line);color:var(--ink);background:#ffffffe0}.button-ghost:hover{background:#fff}.button-danger{color:var(--red);background:#d6454514;border-color:#d6454533}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;display:grid}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.panel{border-radius:var(--radius-lg);border:1px solid var(--line);background:var(--panel);box-shadow:var(--shadow-soft);padding:22px}.panel.alt{background:linear-gradient(#fffffff2,#f0f6fff2)}.panel-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.section-title{margin-bottom:8px;font-size:1.38rem}.section-copy{color:var(--muted);margin:0;line-height:1.55}.stat{gap:6px;display:grid}.stat .value{letter-spacing:-.03em;font-size:2rem;font-weight:900}.stat .label{color:var(--muted);font-size:.92rem}.kpi-bar{background:#061a4014;border-radius:999px;height:10px;overflow:hidden}.kpi-bar>span{border-radius:inherit;background:linear-gradient(90deg, var(--blue), var(--yellow));height:100%;display:block}.list{gap:12px;display:grid}.list-row{border:1px solid var(--line);background:#ffffffc7;border-radius:16px;justify-content:space-between;gap:16px;padding:14px 16px;display:flex}.list-row strong,.tight-title{margin-bottom:5px;display:block}.muted{color:var(--muted)}.tag{border:1px solid var(--line);color:var(--muted);background:#ffffffd1;border-radius:999px;align-items:center;padding:7px 10px;font-size:.82rem;display:inline-flex}.tag.ok{color:var(--green);background:#1f9d551a}.tag.warn{color:#9c7700;background:#ffc60024}.tag.danger{color:var(--red);background:#d645451a}.tag.blue{color:var(--blue);background:#0353a41a}.field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.field{gap:8px;display:grid}.field label{color:var(--muted);font-size:.9rem}.field input,.field select,.field textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#ffffffeb;border-radius:14px;outline:none;padding:12px 14px}.drawer-device-select{border:1px solid var(--line);min-height:44px;color:var(--ink);background:#ffffffeb;border-radius:14px;outline:none;padding:0 14px}.field textarea{resize:vertical;min-height:120px}.field input::placeholder,.field textarea::placeholder{color:#8793a0}.toolbar{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.drawer-backdrop{z-index:28;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;pointer-events:none;background:#061a4038;transition:opacity .18s;position:fixed;inset:0}.drawer-backdrop.open{opacity:1;pointer-events:auto}.drawer{z-index:29;border:1px solid var(--line);background:linear-gradient(#fffffffa,#f5f7fcfa);border-radius:28px;width:min(560px,100vw - 40px);padding:22px;transition:transform .22s;position:fixed;top:20px;bottom:20px;right:20px;overflow:auto;transform:translate(calc(100% + 36px));box-shadow:0 30px 100px #12181f2e}.drawer.open{transform:translate(0)}.drawer-head{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.drawer-body{gap:0;display:grid}.wysiwyg{border:1px solid var(--line);background:#ffffffeb;border-radius:14px;overflow:hidden}.wysiwyg-toolbar{border-bottom:1px solid var(--line);background:#f4f4f9c7;gap:4px;padding:6px;display:flex}.wysiwyg-toolbar button{width:30px;height:28px;color:var(--ink);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;font-weight:800}.wysiwyg-toolbar button:hover{border-color:var(--line);background:#fff}.wysiwyg-editor{height:120px;color:var(--ink);outline:none;padding:12px 14px;line-height:1.5;overflow:auto}.wysiwyg-editor:empty:before{content:attr(data-placeholder);color:#8793a0}.split{grid-template-columns:minmax(0,1.45fr) minmax(340px,.9fr);align-items:start;gap:20px;display:grid}.card-list{gap:14px;display:grid}.card{border:1px solid var(--line);background:#ffffffd1;border-radius:18px;padding:18px}.card-top{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.card-title{margin:0 0 4px;font-size:1.02rem;font-weight:800}.card-body{color:var(--muted);margin:10px 0 0;line-height:1.55}.rich-content ul,.rich-content ol{margin:8px 0 0 20px;padding:0}.rich-content p{margin:8px 0 0}.comment{border:1px solid var(--line);background:#ffffffe6;border-radius:14px;padding:12px 14px}.comment strong{margin-bottom:4px;display:block}.stack{gap:10px;display:grid}.file-drop{background:#ffffff8f;border:1px dashed #061a402e;border-radius:18px;gap:10px;padding:16px;display:grid}.drawer-file-drop{border-radius:14px;padding:10px}.file-preview-list{gap:10px;display:grid}.file-preview{border:1px solid var(--line);background:#ffffffdb;border-radius:14px;align-items:center;gap:12px;padding:10px 12px;display:flex}.file-thumb{object-fit:cover;background:#061a400f;border-radius:12px;width:44px;height:44px}.overlay{z-index:30;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#061a4038;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{border:1px solid var(--line);background:linear-gradient(#fffffffa,#f5f7fcfa);border-radius:28px;width:min(1100px,100%);max-height:92vh;overflow:auto;box-shadow:0 30px 100px #12181f2e}.modal-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:20px 22px;display:flex}.modal-body{padding:22px}.empty-state{color:var(--muted);text-align:center;background:#ffffffb8;border:1px dashed #061a402e;border-radius:22px;padding:34px}.tiny{color:var(--muted-2);font-size:.84rem}.deploy-tag{z-index:60;color:#061a40a3;letter-spacing:0;box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffffd6;border:1px solid #061a401f;border-radius:999px;padding:5px 9px;font-size:.72rem;position:fixed;bottom:10px;right:14px}@media (max-width:1180px){.grid-4,.grid-3,.grid-2,.field-grid,.split,.page-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static}.hero,.project-topbar{flex-direction:column}.project-topbar-actions{justify-content:flex-start;width:100%}.external-topbar{align-items:flex-start}.external-actions{flex-wrap:wrap;justify-content:flex-end}.project-status-chip{width:100%;min-width:0}.drawer{width:calc(100vw - 24px);top:12px;bottom:12px;right:12px;transform:translate(calc(100% + 24px))}}@media (max-width:720px){.content-shell,.project-content .page-grid,.hero,.panel{padding:18px}.modal-body{padding:16px}}
