@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{color-scheme:dark;--bg:#101413;--surface:#171d1b;--surface-2:#1d2522;--line:#29332f;--text:#f2f5f2;--muted:#94a19a;--green:#b7f36b;--green-dark:#18220f;--red:#ff7777;--mono:'DM Mono',monospace;--sans:'DM Sans',sans-serif;--display:'Space Grotesk',sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);font-size:15px;line-height:1.55}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button{cursor:pointer}
.brand{display:inline-flex;align-items:center;gap:8px;font-family:var(--display);font-size:16px;font-weight:700;letter-spacing:-.4px}
.brand-logo{position:relative;display:block;flex:none;width:44px;height:44px;overflow:hidden;border-radius:9px;background:transparent}
.brand-logo img{position:absolute;top:50%;left:50%;width:106px;height:106px;max-width:none;transform:translate(-50%,-50%)}
.brand-light{color:#94a19a;font-weight:500}
.eyebrow{margin:0 0 10px;color:var(--green);font:500 11px var(--mono);letter-spacing:1.35px}
.muted{color:var(--muted)}
h1,h2,p{margin-top:0}
h1,h2{font-family:var(--display);letter-spacing:-1px}
h1{font-size:clamp(34px,5vw,48px);line-height:1.1;margin-bottom:12px}
h2{font-size:23px;line-height:1.25}
.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 17px;border:1px solid transparent;border-radius:10px;font-weight:600;transition:transform .15s,background .15s,border-color .15s}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--green);color:#15200f}
.button-primary:hover{background:#c9ff8c}
.button-secondary{background:var(--surface-2);border-color:var(--line);color:var(--text)}
.button-quiet{background:transparent;color:var(--muted)}
.button-quiet:hover{background:var(--surface-2);color:var(--text)}
.button-danger{background:#301e1e;border-color:#523030;color:#ff9696}
.button-small{min-height:34px;padding:0 12px;font-size:13px}
.button-wide{width:100%;margin-top:6px}
.hidden{display:none!important}
.auth-layout{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}
.auth-intro{display:flex;flex-direction:column;justify-content:space-between;padding:42px 8vw 36px;background:radial-gradient(ellipse at 75% 45%,#202c20 0,transparent 58%),#141a17;border-right:1px solid var(--line)}
.intro-copy{max-width:510px;margin:auto 0}
.intro-copy h1{font-size:clamp(48px,6.1vw,76px);letter-spacing:-3.5px}
.intro-copy .muted{max-width:390px;font-size:17px}
.intro-foot,.legal-note{color:var(--muted);font-size:12px}
.auth-main{display:grid;place-items:center;padding:32px}
.auth-card{width:min(100%,410px)}
.auth-card h2{margin-bottom:5px}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:27px 0 23px;padding:5px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}
.auth-tab{min-height:36px;border:0;border-radius:7px;background:transparent;color:var(--muted)}
.auth-tab.active{background:var(--surface-2);color:var(--text)}
.field{display:grid;gap:8px;margin-bottom:18px;font-size:13px;font-weight:600}
.field input{width:100%;height:46px;padding:0 13px;border:1px solid var(--line);border-radius:9px;outline:0;background:#111715;color:var(--text)}
.field input:focus{border-color:#85b744;box-shadow:0 0 0 3px #b7f36b1c}
.field input::placeholder{color:#65716b}
.field-hint{color:var(--muted);font-size:12px;font-weight:400}
.legal-note{margin-top:22px;text-align:center;line-height:1.6}
.topbar{height:70px;padding:0 max(28px,calc((100vw - 1120px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}
.topbar-actions{display:flex;align-items:center;gap:15px}
.user-chip{color:var(--muted);font-size:13px}
.page-shell{width:min(100% - 48px,1120px);margin:52px auto 80px}
.narrow-shell{width:min(100% - 48px,720px)}
.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:31px}
.page-heading h1{margin-bottom:7px}
.page-heading .muted{margin:0}
.quota-panel,.panel{border:1px solid var(--line);border-radius:15px;background:var(--surface)}
.quota-panel{display:grid;grid-template-columns:125px 1fr;align-items:center;gap:4px 22px;padding:18px 22px;margin-bottom:38px}
.quota-label{display:block;color:var(--muted);font:11px var(--mono);letter-spacing:1px}
.quota-panel strong{font:500 22px var(--display)}
.quota-track{height:6px;overflow:hidden;border-radius:10px;background:#303a35}
.quota-track span{display:block;width:0;height:100%;border-radius:10px;background:var(--green);transition:width .25s}
.quota-panel>p{grid-column:2;margin:0;font-size:12px}
.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:15px}
.section-title h2,.panel-title{margin:0;font-size:20px}
.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(265px,1fr));gap:14px}
.project-card{padding:19px;border:1px solid var(--line);border-radius:14px;background:var(--surface);transition:border-color .15s,transform .15s}
.project-card:hover{transform:translateY(-2px);border-color:#48564f}
.project-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.project-card h3{margin:0 0 6px;font:600 19px var(--display)}
.project-card-url{display:block;overflow:hidden;color:var(--muted);font:12px var(--mono);text-overflow:ellipsis;white-space:nowrap}
.card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:22px;padding-top:13px;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.status-pill{display:inline-flex;align-items:center;gap:6px;padding:4px 9px;border-radius:99px;background:#20321a;color:var(--green);font-size:11px;font-weight:600}
.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.status-pill.paused{background:#2c2d2b;color:#b1b8b2}
.empty-state,.loading-card{grid-column:1/-1;padding:39px 24px;border:1px dashed #36413b;border-radius:14px;color:var(--muted);text-align:center}
.empty-state h3{margin:0 0 8px;color:var(--text);font:600 18px var(--display)}
.empty-state .button{margin-top:8px}
.footer{display:flex;justify-content:space-between;width:min(100% - 48px,1120px);margin:0 auto;padding:20px 0;border-top:1px solid var(--line);color:var(--muted);font-size:12px}
.back-link{display:inline-block;margin-bottom:21px;color:var(--muted);font-size:13px}
.back-link:hover{color:var(--text)}
.compact-heading{margin-bottom:23px}
.form-panel{padding:26px}
.field-label{font-size:13px;font-weight:600}
.upload-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:2px}
.upload-option{position:relative;display:flex;min-height:139px;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:16px;border:1px dashed #46534b;border-radius:11px;background:#141a17;cursor:pointer}
.upload-option:hover{border-color:var(--green)}
.upload-option input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.upload-option strong{font-size:13px}
.upload-option>span:not(.upload-icon){color:var(--muted);font-size:11px}
.upload-icon{margin-bottom:4px;color:var(--green);font-size:24px;line-height:1}
code{color:#d1e4be;font:12px var(--mono)}
.file-summary{margin-top:12px;padding:11px;border:1px solid var(--line);border-radius:8px;color:var(--muted);font-size:12px}
.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}
.notice{margin:13px 0;padding:11px 13px;border:1px solid #46553b;border-radius:8px;background:#20291b;color:#d1e4be;font-size:13px}
.notice.error{border-color:#613b3b;background:#2c1e1e;color:#ffaaaa}
.project-heading{display:flex;align-items:center;justify-content:space-between;padding:24px;margin:20px 0}
.project-heading h1{display:inline-block;margin:0 12px 0 0;font-size:34px;vertical-align:middle}
.project-heading .status-pill{vertical-align:middle}
.project-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.project-columns>.panel,.file-panel{padding:22px}
.project-columns .panel-title{margin-bottom:16px}
.url-box{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px 9px 13px;border:1px solid var(--line);border-radius:9px;background:#111715}
.url-box a{overflow:hidden;color:var(--green);font:12px var(--mono);text-overflow:ellipsis;white-space:nowrap}
.settings-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.file-panel{margin-bottom:16px}
.file-panel .section-title{margin-bottom:12px}
.file-actions{display:flex;align-items:center;gap:10px}
.file-list{display:grid}
.file-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 2px;border-top:1px solid var(--line)}
.file-row:first-child{border-top:0}
.file-row-name{overflow:hidden;color:#e3e9e4;font:12px var(--mono);text-overflow:ellipsis;white-space:nowrap}
.file-row-size{flex:none;color:var(--muted);font-size:11px}
.site-frame{position:fixed;inset:0;width:100%;height:100%;border:0;background:white}
.site-error{display:flex;min-height:100vh;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center}
.brand-logo-large{width:52px;height:52px;margin-bottom:22px}
.brand-logo-large img{width:125px;height:125px}
.site-error h1{margin-bottom:8px;font-size:32px}
.site-error .button{margin-top:14px}
@media(max-width:760px){.auth-layout{grid-template-columns:1fr}.auth-intro{min-height:270px;padding:25px 26px 18px;border-right:0;border-bottom:1px solid var(--line)}.intro-copy{margin:42px 0 32px}.intro-copy h1{font-size:49px}.intro-copy .muted{font-size:14px}.intro-foot{margin-bottom:0}.auth-main{padding:35px 24px 50px}.topbar{height:62px;padding:0 18px}.topbar-actions{gap:7px}.user-chip{display:none}.page-shell{width:min(100% - 32px,1120px);margin:34px auto 55px}.narrow-shell{width:min(100% - 32px,720px)}.page-heading{align-items:flex-start}.page-heading>.button{flex:none;padding:0 11px;font-size:12px}.page-heading h1{font-size:36px}.quota-panel{grid-template-columns:100px 1fr;gap:5px 13px;padding:15px}.project-columns{grid-template-columns:1fr}.project-heading{align-items:flex-start;flex-direction:column}.project-heading h1{display:block;margin:0 0 10px;font-size:29px}.project-heading .status-pill{vertical-align:middle}.form-panel{padding:19px}.footer{width:calc(100% - 32px)}}
@media(max-width:420px){.upload-options{grid-template-columns:1fr}.upload-option{min-height:105px}.quota-panel>p{font-size:11px}.brand{font-size:14px}.brand-logo{width:40px;height:40px}.brand-logo img{width:96px;height:96px}}
