:root{--ink:#17222f;--muted:#667583;--line:#dce5e9;--paper:#f3f6f7;--white:#fff;--navy:#173c50;--red:#bd4f4f}*{box-sizing:border-box}html{scroll-behavior:smooth}body{background:var(--paper);color:var(--ink);margin:0;font-family:Arial,Helvetica,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}.sr-only{clip:rect(0, 0, 0, 0);width:1px;height:1px;position:absolute;overflow:hidden}.kinetic-grid{background:#e2e5e7;width:100%;min-height:100svh;position:relative;overflow:hidden}.kinetic-grid--monochrome{background:#f0f1f2}.kinetic-grid__canvas{z-index:0;pointer-events:none;width:100%;height:100%;position:fixed;inset:0}.kinetic-grid__content{z-index:1;min-height:inherit;position:relative}.login-shell{background:0 0;justify-content:center;align-items:center;min-height:100svh;padding:24px;display:flex;position:relative;overflow:hidden}.terrain-bg-container{z-index:0;pointer-events:none;position:fixed;inset:0}.terrain-bg-container canvas{display:block;width:100%!important;height:100%!important}.login-card{z-index:10;background:#fff;border:1px solid #fff;border-radius:26px;width:100%;min-width:0;max-width:440px;padding:46px;position:relative;box-shadow:0 32px 90px #1e272e2e}.login-logo{width:172px;height:auto;margin-bottom:27px;display:block}.eyebrow{color:#286fa8;letter-spacing:1.1px;margin:20px 0 7px;font-size:11px;font-weight:700}h1,h2,h3{letter-spacing:-.04em;margin:0}.login-card h1{font-size:34px}.muted{color:var(--muted);line-height:1.5}.login-card form{gap:16px;margin-top:30px;display:grid}label{color:#41515d;gap:7px;font-size:12px;font-weight:700;display:grid}input,select,textarea{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:10px;outline:none;padding:11px 12px}textarea{resize:vertical;min-height:78px}input:focus,select:focus,textarea:focus,button:focus-visible{outline-offset:2px;outline:3px solid #9cd6c6}.primary,.soft,.link-button,.actions button,.card-actions button,.secret button{border:0;border-radius:10px;padding:11px 14px;font-weight:700}.primary{background:var(--navy);color:#fff}.primary:hover{background:#24556d}.primary:disabled{opacity:.6;cursor:wait}.soft{color:var(--navy);background:#e8eff1}.soft:hover{color:#101510;background:#c6ff00}.form-error{color:#a23434;margin:0}.loading-screen{background:radial-gradient(circle at 50% 40%, #e0f1ed, transparent 27%), var(--paper);text-align:center;place-content:center;justify-items:center;min-height:100vh;padding:24px;display:grid}.loading-screen .eyebrow{margin:18px 0 7px}.loading-screen h1{font-size:25px}.rocket-route{width:210px;height:108px;position:relative}.route-dots{border-top:3px dotted #c4cbd0;border-radius:110px 110px 0 0;height:86px;position:absolute;bottom:16px;left:12px;right:12px}.route-dot{background:#b8c0c6;border-radius:50%;width:9px;height:9px;position:absolute;bottom:12px;box-shadow:0 0 10px #d7dde1}.route-dot-start{left:8px}.route-dot-end{right:8px}.loading-ufo{background:#eef1f3;border:2px solid #aeb7bd;border-radius:50%;width:31px;height:12px;animation:2.1s ease-in-out infinite ufo-arc;position:absolute;bottom:0;left:0}.loading-ufo span{background:#f7f8f9;border:2px solid #aeb7bd;border-bottom:0;border-radius:13px 13px 0 0;width:13px;height:8px;position:absolute;bottom:8px;left:7px}@keyframes ufo-arc{0%{opacity:0;transform:translate(0)}8%{opacity:1}25%{transform:translate(44px,-55px)}50%{transform:translate(88px,-80px)}75%{transform:translate(132px,-55px)}92%{opacity:1}to{opacity:0;transform:translate(176px)}}.app-shell{grid-template-columns:224px 1fr;min-height:100vh;display:grid}aside{border-right:1px solid var(--line);background:#fff;flex-direction:column;height:100vh;padding:28px 16px;display:flex;position:sticky;top:0}.side-brand{padding:4px 9px;display:block}.side-brand img{width:154px;height:auto;display:block}nav{gap:4px;margin-top:42px;display:grid}nav a{color:var(--muted);border-radius:9px;padding:11px 13px;font-weight:700;text-decoration:none}nav a.active,nav a:hover{color:var(--navy);background:#e4eeec}.side-footer{gap:12px;margin-top:auto;padding:12px 9px;display:grid}.link-button{color:var(--navy);text-align:left;background:0 0;align-items:center;gap:7px;padding:0;text-decoration:none;display:flex}.theme-switch{justify-content:space-between;align-items:center;gap:10px;padding:0 9px;display:flex}.theme-switch-label{color:var(--navy);align-items:center;gap:7px;font-weight:700;display:flex}.switch{background:#cfd8dd;border:0;border-radius:99px;flex:none;width:40px;height:22px;padding:0;transition:background .18s;position:relative}.switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .18s;position:absolute;top:3px;left:3px;box-shadow:0 1px 3px #00000040}html[data-theme=dark] .switch{background:#9cc9e6}html[data-theme=dark] .switch-thumb{background:#0f171d;transform:translate(18px)}.workspace{min-width:0;padding:44px clamp(20px,5vw,72px)}header{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:45px;display:flex}header .eyebrow{margin:0 0 7px}.header-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.search-jump{text-decoration:none}h1{font-size:32px}.section-heading{justify-content:space-between;align-items:end;margin-bottom:18px;display:flex}.section-heading .eyebrow{margin:0 0 5px}.section-heading h2{font-size:27px}.project-grid{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;display:grid}.project-card{background:var(--white);border-radius:18px;padding:20px;transition:transform .18s,box-shadow .18s;position:relative;box-shadow:7px 7px 16px #d3dcdf,-5px -5px 14px #fff}.project-card:after{border-radius:inherit;content:"";pointer-events:none;border:1px solid #0000;transition:border-color .18s,box-shadow .18s;position:absolute;inset:0}.project-card:hover{transform:scale(1.018);box-shadow:10px 12px 24px #c9d4d8,-7px -7px 17px #fff}.project-card:hover:after{border-color:#b8e5d7;box-shadow:0 0 12px #d7f0e8}.project-card-top{justify-content:center;align-items:flex-start;display:flex;position:relative}.project-logo{object-fit:contain;object-position:center;width:min(230px,76%);height:128px;display:block}.project-monogram{width:74px;height:74px;color:var(--navy);object-fit:contain;background:#e1ede9;border-radius:18px;place-items:center;padding:7px;font-size:19px;font-weight:800;display:grid}.badge{color:#27765c;background:#e0f2ea;border-radius:99px;padding:5px 8px;font-size:10px;font-weight:800;position:absolute;top:0;right:0}.badge.paused{color:#8a641a;background:#fff2d8}.badge.archived{color:#67717a;background:#ebedef}.project-card h3{margin-top:22px;font-size:19px}.project-card p{color:var(--muted);margin:5px 0}.project-card small{color:var(--muted);font-size:11px;display:block}.access-button{width:100%;color:var(--navy);background:#e4eeec;border:0;border-radius:9px;margin-top:18px;padding:10px;font-weight:800}.card-actions{border-top:1px solid var(--line);justify-content:flex-end;margin-top:11px;padding-top:9px;display:flex}.card-actions button{color:var(--navy);background:0 0;padding:5px 7px;font-size:12px}.icon-button{min-width:34px;min-height:34px;color:var(--navy);background:0 0;border:0;border-radius:8px;place-items:center;display:inline-grid;padding:7px!important}.icon-button:hover{background:#e8eff1}.icon-button.danger:hover{background:#fdecec}.danger{color:var(--red)!important}.access-panel{background:var(--white);border-radius:18px;margin-top:48px;overflow:hidden;box-shadow:7px 7px 16px #d3dcdf,-5px -5px 14px #fff}.controls{border-bottom:1px solid var(--line);gap:12px;padding:18px;display:flex}.controls label{min-width:140px}.controls .search{flex:1}.controls span{text-transform:uppercase;letter-spacing:.6px;font-size:10px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:680px}th,td{text-align:left;border-bottom:1px solid #edf1f2;padding:16px 18px}th{color:var(--muted);text-transform:uppercase;letter-spacing:.7px;font-size:10px}td b,td small{vertical-align:middle}td small{color:var(--muted);margin-left:7px}.platform-logo,.platform-mark{width:28px;height:28px;color:var(--navy);object-fit:contain;vertical-align:middle;background:#edf2f2;border-radius:8px;place-items:center;margin-right:8px;padding:4px;font-size:11px;font-weight:800;display:inline-grid}.actions{white-space:nowrap}.actions button{color:var(--navy);background:0 0;padding:5px 7px;font-size:12px}.empty{color:var(--muted);text-align:center;padding:28px}.toast{z-index:5;background:var(--navy);color:#fff;border-radius:10px;padding:13px 17px;position:fixed;bottom:24px;right:24px;box-shadow:0 8px 22px #93a1a6}.modal-backdrop{z-index:10;background:#15253077;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border-radius:20px;width:min(100%,520px);max-height:90vh;padding:30px;position:relative;overflow:auto;box-shadow:0 20px 60px #162b35}.modal form{gap:14px;display:grid}.modal h2{margin:0 0 13px;font-size:24px}.close{color:var(--muted);background:0 0;border:0;font-size:26px;position:absolute;top:12px;right:15px}.credential-detail{grid-template-columns:110px 1fr;gap:12px;margin:25px 0;display:grid}.credential-detail dt{color:var(--muted);font-size:12px}.credential-detail dd{overflow-wrap:anywhere;margin:0}.credential-detail a{color:var(--navy)}.secret{letter-spacing:1px;background:#eef3f3;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;padding:8px 10px;font-weight:800;display:flex}.platform-picker,.credential-picker{gap:10px;margin-top:22px;display:grid}.platform-picker button,.credential-picker button{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fff;border-radius:11px;align-items:center;gap:10px;padding:13px;font-weight:700;display:flex}.platform-picker button:hover,.credential-picker button:hover{background:#eff7f4}.credential-picker button{display:grid}.credential-picker span{color:var(--muted);font-size:12px}.back-button,.manage-platforms{color:var(--navy);background:0 0;border:0;padding:0;font-weight:700}.action-delete{text-align:left;background:0 0;border:0;padding:0;font-weight:700}.manager-heading{justify-content:space-between;align-items:end;gap:16px;display:flex}.manager-heading .eyebrow{margin:0 0 5px}.manager-platform-list{gap:8px;margin:20px 0;display:grid}.manager-platform-list button{border:1px solid var(--line);width:100%;color:var(--ink);text-align:left;background:#fff;border-radius:10px;grid-template-columns:32px 1fr auto;align-items:center;gap:8px;padding:10px;font-weight:700;display:grid}.manager-platform-list button:hover,.manager-platform-list button.selected{background:#edf8f4;border-color:#4f9180}.manager-platform-list .platform-logo,.manager-platform-list .platform-mark{margin:0}.user-list button{grid-template-columns:32px minmax(0,1fr) auto 16px}.user-list b,.user-list small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.user-list small{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400}.user-avatar{width:28px;height:28px;color:var(--navy);object-fit:cover;background:#e1ede9;border-radius:8px;place-items:center;font-size:12px;font-weight:800;display:grid}.profile-preview{object-fit:cover;border-radius:50%;width:64px;height:64px}.role-badge{color:var(--navy);background:#e4eeec;border-radius:99px;padding:4px 6px;font-size:10px;font-weight:800}.role-badge.admin{color:#27765c;background:#e0f2ea}.platform-editor{border-top:1px solid var(--line);gap:13px;margin-top:18px;padding-top:18px;display:grid}.platform-editor h3{font-size:17px}.manager-actions,.confirmation-actions{justify-content:flex-end;align-items:center;gap:9px;display:flex}.manager-close{margin:20px auto 0;display:block}.delete-backdrop{z-index:20}.confirmation-dialog{text-align:center;max-width:420px}.confirmation-dialog .eyebrow{margin-top:14px}.delete-icon{color:var(--red)}.confirmation-actions{justify-content:center;margin-top:24px}.danger-button{background:var(--red);color:#fff;border:0;border-radius:10px;padding:11px 14px;font-weight:700}.danger-button:hover{background:#9e3e3e}.platform-field{gap:9px;display:grid}.field-label{color:#41515d;font-size:12px;font-weight:700}.platform-status{color:var(--muted);margin:0;font-size:12px}.platform-success{color:#27765c;margin:0;font-size:12px;font-weight:700}.platform-options{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.platform-options button{border:1px solid var(--line);min-width:0;color:var(--ink);text-align:left;background:#fff;border-radius:10px;align-items:center;padding:9px;font-size:12px;font-weight:700;display:flex}.platform-options button:hover,.platform-options button.selected{background:#edf8f4;border-color:#4f9180}.platform-options .platform-logo,.platform-options .platform-mark{flex:none}.platform-options span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.selected-platform{color:var(--muted);align-items:center;font-size:12px;display:flex}.add-platform-button{color:var(--navy);background:0 0;border:0;justify-self:start;padding:0;font-size:12px;font-weight:800;text-decoration:underline}.inline-platform{background:#f5faf8;border:1px solid #cfe4dd;border-radius:11px;gap:10px;padding:13px;display:grid}.inline-logo-preview{object-fit:contain;background:#fff;border-radius:9px;width:42px;height:42px;padding:4px}@media (max-width:760px){.login-shell{padding:16px}.login-card{border-radius:20px;padding:32px 26px}.login-logo{width:154px;margin-bottom:22px}.app-shell{display:block}aside{flex-direction:row;align-items:center;height:auto;padding:12px 16px;position:static}.side-brand{padding:0}.side-brand img{width:125px}.side-footer{align-items:center;gap:12px;margin:0 0 0 auto;padding:0;display:flex}.side-footer .link-button:not(:last-child),aside nav{display:none}.theme-switch{padding:0}.theme-switch-label{display:none}.workspace{padding:30px 16px}header{flex-direction:column;align-items:flex-start;margin-bottom:32px}.header-actions{flex-wrap:wrap;justify-content:flex-start;width:100%}.header-actions>*{flex:auto}h1{font-size:29px}.controls{grid-template-columns:1fr 1fr;display:grid}.controls .search{grid-column:span 2}.project-grid{grid-template-columns:1fr}.section-heading{align-items:center}.modal{padding:24px 18px}}@media (prefers-reduced-motion:reduce){.kinetic-grid__canvas{opacity:.72}.project-card,.project-card:after{transition:none}.project-card:hover{transform:none}.loading-ufo{animation:none}}html[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ink:#e6edf2;--muted:#9fb0bc;--line:#2b3a45;--paper:#0f171d;--white:#17222b;--navy:#9cc9e6;--red:#e08383;--surface:#17222b;--surface-soft:#1d2a34;--surface-hover:#22323d;--accent-soft:#1f3a44;--shadow-dark:#0a1015;--shadow-light:#1f2c36}html[data-theme=dark] body{background:var(--paper);color:var(--ink)}html[data-theme=dark] aside{background:var(--surface);border-right-color:var(--line)}html[data-theme=dark] nav a{color:var(--muted)}html[data-theme=dark] nav a.active,html[data-theme=dark] nav a:hover{background:var(--accent-soft);color:var(--navy)}html[data-theme=dark] .link-button{color:var(--navy)}html[data-theme=dark] .eyebrow{color:#7db8e0}html[data-theme=dark] .primary{background:var(--navy);color:#0d1418}html[data-theme=dark] .primary:hover{background:#b6dcf2}html[data-theme=dark] .soft{background:var(--surface-soft);color:var(--navy)}html[data-theme=dark] .soft:hover{color:#101510;background:#c6ff00}html[data-theme=dark] input,html[data-theme=dark] select,html[data-theme=dark] textarea{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}html[data-theme=dark] label,html[data-theme=dark] .field-label{color:#c2cfd8}html[data-theme=dark] .project-card{background:var(--surface);box-shadow:7px 7px 16px var(--shadow-dark), -5px -5px 14px var(--shadow-light)}html[data-theme=dark] .project-card:hover{box-shadow:10px 12px 24px #070d11,-7px -7px 17px #24323d}html[data-theme=dark] .project-card:hover:after{border-color:#2f5a52;box-shadow:0 0 12px #1c3b36}html[data-theme=dark] .project-monogram,html[data-theme=dark] .user-avatar,html[data-theme=dark] .access-button{background:var(--accent-soft);color:var(--navy)}html[data-theme=dark] .card-actions{border-top-color:var(--line)}html[data-theme=dark] .card-actions button,html[data-theme=dark] .actions button,html[data-theme=dark] .icon-button{color:var(--navy)}html[data-theme=dark] .icon-button:hover{background:var(--surface-hover)}html[data-theme=dark] .icon-button.danger:hover{background:#3a2222}html[data-theme=dark] .access-panel{background:var(--surface);box-shadow:7px 7px 16px var(--shadow-dark), -5px -5px 14px var(--shadow-light)}html[data-theme=dark] .controls{border-bottom-color:var(--line)}html[data-theme=dark] th,html[data-theme=dark] td{border-bottom-color:#223039}html[data-theme=dark] .platform-logo,html[data-theme=dark] .platform-mark{background:var(--surface-soft);color:var(--navy)}html[data-theme=dark] .modal-backdrop{background:#05090cbf}html[data-theme=dark] .modal{background:var(--surface);box-shadow:0 20px 60px #05090c}html[data-theme=dark] .inline-platform{background:#14201f;border-color:#2f4a46}html[data-theme=dark] .inline-logo-preview{background:var(--surface-soft)}html[data-theme=dark] .manager-platform-list button,html[data-theme=dark] .platform-options button{background:var(--surface-soft);border-color:var(--line);color:var(--ink)}html[data-theme=dark] .manager-platform-list button:hover,html[data-theme=dark] .manager-platform-list button.selected,html[data-theme=dark] .platform-options button:hover,html[data-theme=dark] .platform-options button.selected{background:#16302c;border-color:#4f9180}html[data-theme=dark] .role-badge{background:var(--accent-soft);color:var(--navy)}html[data-theme=dark] .role-badge.admin{color:#6fd0ac;background:#16302c}html[data-theme=dark] .badge{color:#7fd8b4;background:#16302c}html[data-theme=dark] .badge.paused{color:#e5bc6a;background:#332913}html[data-theme=dark] .badge.archived{background:var(--surface-soft);color:#9fb0bc}html[data-theme=dark] .danger{color:var(--red)!important}html[data-theme=dark] .form-error{color:#e89a9a}html[data-theme=dark] .platform-success{color:#6fd0ac}html[data-theme=dark] .toast{background:var(--surface-soft);color:var(--ink);box-shadow:0 8px 22px #05090c}html[data-theme=dark] .loading-screen{background:radial-gradient(circle at 50% 40%, #14262b, transparent 27%), var(--paper)}
