:root{--ink:#111315;--muted:#686c70;--line:#dfe1dd;--paper:#f5f6f2;--white:#fff;--lime:#d9ff43;--blue:#4d6cff;--shadow:0 20px 60px rgba(20,24,19,.09)}
*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;background:var(--paper);color:var(--ink)}body{margin:0;min-height:100vh}a{color:inherit}.brand{display:inline-flex;align-items:center;gap:.75rem;font-size:1.25rem;font-weight:800;text-decoration:none;letter-spacing:-.04em}.brand-mark{display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:.7rem;background:var(--ink);color:var(--lime);font-weight:900}.brand--small{font-size:1.05rem}.brand--small .brand-mark{width:2rem;height:2rem;border-radius:.6rem}.eyebrow{margin:0 0 1rem;font-size:.75rem;font-weight:850;letter-spacing:.16em}.muted{color:var(--muted);line-height:1.6}.login-shell{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(30rem,.95fr);min-height:100vh}.login-intro{position:relative;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:3rem 4rem;background:var(--lime)}.login-intro:after{content:"";position:absolute;right:-9rem;bottom:-10rem;width:29rem;height:29rem;border:1.5rem solid rgba(17,19,21,.08);border-radius:50%}.intro-copy{position:relative;z-index:1;max-width:42rem}.intro-copy h1{max-width:12ch;margin:0;font-size:clamp(3rem,5.7vw,6.7rem);line-height:.91;letter-spacing:-.075em}.intro-copy>p:last-child{max-width:34rem;margin:2rem 0 0;font-size:1.1rem;line-height:1.65}.privacy-note{position:relative;z-index:1;display:flex;align-items:center;gap:.6rem;font-size:.88rem;font-weight:650}.privacy-dot{width:.6rem;height:.6rem;border-radius:50%;background:var(--ink);box-shadow:0 0 0 .3rem rgba(17,19,21,.1)}.login-panel{display:grid;place-items:center;padding:3rem;background:var(--white)}.login-card{display:grid;gap:1.25rem;width:min(100%,27rem)}.login-card h2{margin:0;font-size:2.4rem;letter-spacing:-.05em}.login-card .muted{margin:.65rem 0 0}.login-card label{display:grid;gap:.55rem;font-size:.88rem;font-weight:750}.login-card input{width:100%;height:3.5rem;border:1px solid #cfd2ce;border-radius:.85rem;padding:0 1rem;background:#fbfcfa;color:var(--ink);font:inherit;outline:none;transition:.2s}.login-card input:focus{border-color:var(--ink);box-shadow:0 0 0 .22rem rgba(17,19,21,.1)}.primary-button,.secondary-button{display:flex;align-items:center;justify-content:center;gap:.75rem;min-height:3.5rem;border:0;border-radius:.85rem;padding:0 1.2rem;background:var(--ink);color:var(--white);font:inherit;font-weight:800;text-decoration:none;cursor:pointer}.primary-button span{font-size:1.3rem;color:var(--lime)}.secondary-button{background:var(--paper);color:var(--ink)}.help{text-align:center;color:var(--muted);font-size:.88rem}.help a{font-weight:750}.alert{border:1px solid #ffc5c2;border-radius:.75rem;padding:.8rem 1rem;background:#fff2f1;color:#9c2721;font-size:.9rem}.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;min-height:4.75rem;border-bottom:1px solid var(--line);padding:0 max(1.5rem,calc((100vw - 76rem)/2));background:rgba(245,246,242,.88);backdrop-filter:blur(14px)}.account{display:flex;align-items:center;gap:1rem;font-size:.88rem;font-weight:700}.account form{margin:0}.link-button{border:0;border-left:1px solid var(--line);padding:.2rem 0 .2rem 1rem;background:transparent;color:var(--muted);font:inherit;cursor:pointer}.dashboard,.project-view{width:min(100% - 3rem,76rem);margin:0 auto}.dashboard-heading{display:flex;justify-content:space-between;align-items:end;gap:2rem;padding:5.5rem 0 3rem}.dashboard-heading h1{margin:0;font-size:clamp(2.6rem,5vw,5.2rem);letter-spacing:-.065em;line-height:.95}.dashboard-heading p:last-child{margin:1.2rem 0 0;color:var(--muted);font-size:1rem}.summary{display:flex;align-items:baseline;gap:.55rem;border-bottom:2px solid var(--ink);padding:.7rem 0}.summary strong{font-size:2.2rem}.summary span{color:var(--muted)}.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.product-card{display:flex;flex-direction:column;min-height:25rem;border:1px solid var(--line);border-radius:1.35rem;padding:1.5rem;background:var(--white);box-shadow:0 0 0 rgba(0,0,0,0);text-decoration:none;transition:transform .22s,box-shadow .22s;animation:rise .5s both;animation-delay:var(--delay)}.product-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.product-topline{display:flex;justify-content:space-between;align-items:center;gap:1rem}.product-type{font-size:.72rem;font-weight:850;letter-spacing:.14em}.status{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;padding:.45rem .7rem;font-size:.75rem;font-weight:800}.status:before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:currentColor}.status--live{background:#ebf8df;color:#39750f}.status--progress{background:#edf0ff;color:#4256b6}.product-icon{display:grid;place-items:center;width:4.5rem;height:4.5rem;margin-top:3.5rem;border-radius:1.2rem;background:var(--ink);color:var(--lime);font-size:1.55rem;font-weight:900}.product-copy{margin-top:auto}.product-copy h2{margin:0 0 .65rem;font-size:1.75rem;letter-spacing:-.04em}.product-copy p{max-width:34rem;margin:0;color:var(--muted);line-height:1.6}.product-meta{display:flex;justify-content:space-between;align-items:center;gap:1rem;border-top:1px solid var(--line);margin-top:1.6rem;padding-top:1.15rem;color:var(--muted);font-size:.78rem}.open-link{color:var(--ink);font-weight:850}.open-link b{color:var(--blue)}footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);margin-top:5rem;padding:2rem 0 3rem;color:var(--muted);font-size:.82rem}.project-view{padding-top:3rem}.back-link{font-size:.78rem;font-weight:850;letter-spacing:.08em;text-decoration:none}.project-hero{display:grid;grid-template-columns:1fr auto;align-items:end;gap:2rem;padding:4rem 0}.project-hero h1{margin:1rem 0;font-size:clamp(3rem,7vw,6.5rem);line-height:.9;letter-spacing:-.075em}.project-hero>div>p:last-child{max-width:38rem;color:var(--muted);font-size:1.05rem;line-height:1.6}.project-monogram{display:grid;place-items:center;width:8rem;height:8rem;border-radius:2rem;background:var(--lime);font-size:2.3rem;font-weight:900;letter-spacing:-.06em}.project-layout{display:grid;grid-template-columns:minmax(0,1fr) 19rem;gap:1.25rem;padding-bottom:4rem}.preview-card,.details-card{overflow:hidden;border:1px solid var(--line);border-radius:1.25rem;background:var(--white)}.browser-bar{display:flex;align-items:center;gap:.38rem;border-bottom:1px solid var(--line);padding:.8rem 1rem;background:#fafbf9}.browser-bar i{display:block;width:.55rem;height:.55rem;border-radius:50%;background:#cfd2ce}.browser-bar span{overflow:hidden;margin-left:.7rem;color:var(--muted);font-size:.72rem;text-overflow:ellipsis;white-space:nowrap}.preview-stage{display:grid;place-items:center;align-content:center;min-height:27rem;padding:2rem;text-align:center;background:linear-gradient(135deg,#131516,#272b27)}.preview-stage .preview-badge{border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:.45rem .7rem;color:var(--lime);font-size:.65rem;font-weight:850;letter-spacing:.13em}.preview-stage strong{margin-top:1.5rem;color:#fff;font-size:clamp(2.5rem,5vw,4.7rem);letter-spacing:-.06em}.preview-stage p{max-width:28rem;color:#aeb3ad;line-height:1.6}.details-card{align-self:start;padding:1.4rem}.details-card h2{margin:.2rem 0 1.4rem;font-size:1.15rem}.details-card dl{margin:0}.details-card dl div{display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding:1rem 0;font-size:.83rem}.details-card dt{color:var(--muted)}.details-card dd{margin:0;font-weight:750;text-align:right}.details-card .secondary-button{margin-top:1rem}.not-found{display:grid;place-items:start;align-content:center;width:min(100% - 3rem,52rem);min-height:80vh;margin:auto}.not-found h1{font-size:clamp(3rem,8vw,7rem);letter-spacing:-.07em}.empty{grid-column:1/-1;border:1px dashed #bec2bd;border-radius:1.25rem;padding:4rem;text-align:center}.empty p{color:var(--muted)}@keyframes rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:860px){.login-shell{grid-template-columns:1fr}.login-intro{min-height:42vh;padding:2rem}.intro-copy{margin:4rem 0}.intro-copy h1{font-size:clamp(2.8rem,12vw,5rem)}.login-panel{padding:3.5rem 1.5rem}.product-grid{grid-template-columns:1fr}.project-layout{grid-template-columns:1fr}.project-monogram{display:none}}
@media(max-width:560px){.topbar{padding:0 1rem}.account>span{display:none}.dashboard,.project-view{width:min(100% - 2rem,76rem)}.dashboard-heading{align-items:start;padding:3.5rem 0 2rem}.summary{display:none}.product-card{min-height:22rem}.product-meta{align-items:flex-end}.product-meta>span:first-child{max-width:10rem}.project-hero{padding:3rem 0 2rem}.project-view{padding-top:2rem}.preview-stage{min-height:21rem}footer{margin-top:3rem}.login-intro{min-height:36rem}.login-panel{padding-block:3rem}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Code Sphere visual system */
:root{--ink:#111;--muted:#64645f;--line:#11111138;--paper:#f3f2ed;--white:#fff;--blue:#315cff;--lime:#315cff;--shadow:0 20px 60px rgba(17,17,17,.09)}
html{font-family:Geist,Arial,sans-serif;background:var(--paper)}
::selection{background:var(--blue);color:#fff}
.brand{gap:.65rem;font-weight:670;letter-spacing:-.025em}
.brand-dot{display:block;width:.94rem;height:.94rem;border-radius:50%;background:var(--blue);flex:0 0 auto}
.brand small{border-left:1px solid var(--line);margin-left:.3rem;padding-left:.9rem;color:var(--muted);font:500 .7rem Consolas,"Courier New",monospace;letter-spacing:.05em;text-transform:uppercase}
.eyebrow{color:var(--blue);font:500 .78rem Consolas,"Courier New",monospace;letter-spacing:.055em}
.login-shell{grid-template-columns:minmax(0,1.2fr) minmax(27rem,.8fr)}
.login-intro{display:grid;grid-template-rows:auto 1fr auto;padding:2.35rem 3rem 1.5rem;background:var(--paper);border-right:1px solid var(--line)}
.login-intro:after{display:none}
.intro-copy{align-self:center;max-width:52%;padding-bottom:2rem}
.intro-copy h1{max-width:none;font-size:clamp(3.1rem,5vw,5.7rem);font-weight:600;line-height:1.03;letter-spacing:-.05em}
.intro-copy h1 em{color:var(--blue);font-style:normal}
.intro-copy>p:last-child{max-width:31rem;margin-top:1.6rem;color:var(--muted);font-size:1.05rem;line-height:1.6}
.login-visual{position:absolute;z-index:0;right:2.6rem;top:24%;width:41%;height:45%;overflow:hidden;border:12px solid var(--blue);border-radius:2px;background:var(--blue)}
.login-visual img{width:100%;height:100%;object-fit:cover}
.login-foot{position:relative;z-index:1;display:flex;gap:1.7rem;border-top:1px solid var(--line);padding-top:1.15rem;color:var(--muted);font:500 .72rem Consolas,"Courier New",monospace}
.login-panel{background:var(--blue)}
.login-card{gap:1.35rem;width:min(100%,27rem);border:1px solid var(--ink);padding:2.25rem;background:#fff;box-shadow:14px 14px 0 var(--ink)}
.login-card h2{font-size:2.65rem;font-weight:600;letter-spacing:-.04em}
.login-card input{border-color:var(--line);border-radius:2px;background:#fff}
.login-card input:focus{border-color:var(--blue);box-shadow:0 0 0 2px rgba(49,92,255,.12)}
.primary-button,.secondary-button{border-radius:2px;font-weight:560}
.primary-button{background:var(--ink)}
.primary-button:hover{background:var(--blue)}
.primary-button span{color:#fff}
.help{font-family:Consolas,"Courier New",monospace;font-size:.76rem}
.alert{border-radius:2px}
.topbar{min-height:5.1rem;border-color:var(--line);padding:0 clamp(1.25rem,3.3vw,3.5rem);background:rgba(243,242,237,.92)}
.account{font:500 .8rem Consolas,"Courier New",monospace}
.link-button{border-color:var(--line);color:var(--ink)}
.link-button span{color:var(--blue)}
.dashboard,.project-view{width:auto;margin:0;padding-left:clamp(1.25rem,3.3vw,3.5rem);padding-right:clamp(1.25rem,3.3vw,3.5rem)}
.dashboard-heading{align-items:end;border-bottom:1px solid var(--line);padding:5rem 0 3.2rem}
.dashboard-heading h1{font-size:clamp(3rem,6vw,6.5rem);font-weight:600;line-height:.98;letter-spacing:-.05em}
.dashboard-heading h1 em{color:var(--blue);font-style:normal}
.dashboard-heading p:last-child{max-width:34rem;color:var(--muted);line-height:1.6}
.summary{border-color:var(--blue);font-family:Consolas,"Courier New",monospace}
.summary strong{color:var(--blue);font-weight:550}
.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;padding-top:1.25rem}
.product-card{min-height:24rem;border-color:var(--line);border-radius:4px;padding:1.75rem;box-shadow:none}
.product-card:hover{border-color:var(--blue);box-shadow:none;transform:translateY(-3px)}
.product-card:first-child{background:var(--blue);color:#fff;border-color:var(--blue)}
.product-card:first-child .product-copy p,.product-card:first-child .product-meta{color:#ffffffe0}
.product-card:first-child .product-meta{border-color:#ffffff4a}
.product-card:first-child .open-link,.product-card:first-child .open-link b{color:#fff}
.product-card:first-child .product-icon{background:#ffffff24;color:#fff}
.product-card:first-child .status--live{background:#fff;color:var(--blue)}
.product-type{font:500 .72rem Consolas,"Courier New",monospace;letter-spacing:.05em}
.status{border-radius:999px;font-family:Consolas,"Courier New",monospace;font-weight:500}
.product-icon{border-radius:50%;background:#315cff1a;color:var(--blue)}
.product-copy h2{font-weight:560;letter-spacing:-.025em}
.product-meta{font-family:Consolas,"Courier New",monospace}
footer{border-color:var(--line);font-family:Consolas,"Courier New",monospace}
footer a:hover{color:var(--blue)}
.project-view{padding-top:2.4rem}
.back-link{font-family:Consolas,"Courier New",monospace;font-weight:500}
.back-link:hover{color:var(--blue)}
.project-hero{border-bottom:1px solid var(--line);padding:4rem 0 3rem}
.project-hero h1{font-weight:600;letter-spacing:-.05em}
.project-monogram{border-radius:50%;background:var(--blue);color:#fff;font-weight:600}
.project-layout{padding-top:1.25rem}
.preview-card,.details-card{border-color:var(--line);border-radius:4px}
.browser-bar{border-color:var(--line);background:var(--paper);font-family:Consolas,"Courier New",monospace}
.preview-stage{background:var(--ink)}
.preview-stage .preview-badge{border-radius:0;color:#9cb0ff;font-family:Consolas,"Courier New",monospace}
.details-card dl div{border-color:var(--line)}
.details-card dt,.details-card dd{font-family:Consolas,"Courier New",monospace}
.secondary-button:hover{background:var(--blue);color:#fff}

@media(max-width:860px){.login-shell{grid-template-columns:1fr}.login-intro{min-height:42rem;border-right:0;border-bottom:1px solid var(--line);padding:2rem}.intro-copy{max-width:54%;margin:3rem 0}.intro-copy h1{font-size:clamp(2.8rem,8vw,4.5rem)}.login-visual{right:2rem;top:26%;width:39%;height:42%}.login-panel{padding:4rem 1.5rem}.product-grid{grid-template-columns:1fr}}
@media(max-width:560px){.brand small{display:none}.login-intro{min-height:auto;padding:1.5rem}.intro-copy{max-width:none;margin:5rem 0 4rem;padding:0}.intro-copy h1{font-size:clamp(2.65rem,13vw,3.5rem)}.login-visual{display:none}.login-foot{gap:1.1rem;overflow:hidden}.login-panel{padding:3rem 1.25rem}.login-card{padding:1.5rem;box-shadow:8px 8px 0 var(--ink)}.dashboard,.project-view{width:auto;padding-left:1rem;padding-right:1rem}.dashboard-heading{padding:3.5rem 0 2.2rem}.dashboard-heading h1{font-size:3.15rem}.product-card{min-height:21rem}.project-hero{padding:3rem 0 2rem}}

/* Admin: statistics and form submissions */
.admin-view{padding-bottom:4rem}
.admin-heading{display:flex;justify-content:space-between;align-items:end;gap:2rem;flex-wrap:wrap;padding:3rem 0 2rem}
.admin-heading h1{margin:0;font-size:clamp(2.2rem,5vw,4rem);line-height:.95;letter-spacing:-.06em}
.admin-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.periods{display:flex;gap:.25rem;border:1px solid var(--line);border-radius:.85rem;padding:.25rem;background:var(--white)}
.period{padding:.55rem .85rem;border-radius:.6rem;font-size:.85rem;font-weight:700;text-decoration:none;color:var(--muted)}
.period--active{background:var(--ink);color:var(--white)}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}
.kpi{border:1px solid var(--line);border-radius:1.25rem;background:var(--white);padding:1.25rem 1.4rem}
.kpi span{display:block;color:var(--muted);font-size:.85rem}
.kpi strong{display:block;margin-top:.4rem;font-size:2.4rem;letter-spacing:-.05em}
.admin-card{border:1px solid var(--line);border-radius:1.25rem;background:var(--white);padding:1.4rem;margin-bottom:1rem}
.admin-card h2{display:flex;align-items:center;gap:.75rem;margin:0 0 1rem;font-size:1.15rem;letter-spacing:-.02em}
.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.admin-grid .admin-card{margin-bottom:0}
.admin-grid{margin-bottom:1rem}
.chart{display:block;width:100%;height:180px}
.chart .bar{fill:var(--blue)}
.chart .bar--empty{fill:var(--line)}
.chart-axis{display:flex;justify-content:space-between;margin-top:.5rem;color:var(--muted);font:500 .75rem Consolas,"Courier New",monospace}
.small{font-size:.85rem;margin:.9rem 0 0}
.admin-table{width:100%;border-collapse:collapse}
.admin-table td{padding:.7rem 0;border-bottom:1px solid var(--line)}
.admin-table tr:last-child td{border-bottom:0}
.admin-table td:last-child{text-align:right;font-weight:800;font-variant-numeric:tabular-nums}
.count{border-radius:999px;background:var(--lime);padding:.2rem .6rem;font-size:.75rem;font-weight:800}
.submissions{display:grid;gap:.75rem}
.submission{border:1px solid var(--line);border-radius:1rem;padding:1rem 1.1rem}
.submission--done{opacity:.6}
.submission header{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.submission-meta{margin:.35rem 0 0;color:var(--muted);font-size:.85rem}
.submission-contact{margin:.5rem 0 0;font-weight:700}
.submission-contact a{text-decoration:none}
.submission-message{margin:.6rem 0 0;white-space:pre-wrap;line-height:1.55}
.submission-actions{display:flex;gap:1.25rem;margin-top:.8rem}
.submission-actions form{margin:0}
.link-button--danger{color:#b3261e}
@media(max-width:860px){.kpis{grid-template-columns:1fr 1fr}.admin-grid{grid-template-columns:1fr}}
.submission-actions .link-button{border:0;padding:0;text-decoration:underline;text-underline-offset:3px}
.lang-switch{display:inline-flex;gap:.15rem;border:1px solid var(--line);border-radius:999px;padding:.15rem;font:600 .72rem Consolas,"Courier New",monospace}.lang-switch a{border-radius:999px;padding:.25rem .55rem;color:var(--muted);text-decoration:none}.lang-switch a[aria-current]{background:var(--ink);color:var(--paper)}.login-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.login-card-top .eyebrow{margin-bottom:0}
