@import url();
:root{color-scheme:dark;--bg:#060a11;--surface:#0c1422;--panel:#101b2b;--line:rgba(151,185,213,.12);--line2:rgba(151,185,213,.23);--text:#e8f4f6;--muted:#8494a9;--mint:#79f4d3;--blue:#83b6ff;--purple:#b4a0ff;--glow:rgba(76,236,193,.22)}
*,*:before,*:after{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,"Segoe UI",system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--text);font-size:13px;font-weight:400;letter-spacing:.01em}
body{position:relative;isolation:isolate}
a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
::selection{background:rgba(121,244,211,.25);color:#fff}
.ambient,.grain{position:fixed;pointer-events:none;z-index:-1}.ambient{width:60vw;height:70vh;filter:blur(65px);opacity:.35}.ambient-a{top:-32vh;right:-23vw;background:radial-gradient(ellipse,rgba(71,112,255,.3),transparent 68%)}.ambient-b{bottom:-48vh;left:-22vw;background:radial-gradient(ellipse,rgba(15,167,153,.24),transparent 70%)}.grain{inset:0;opacity:.2;background-image:radial-gradient(rgba(157,191,214,.17) .5px,transparent .6px);background-size:26px 26px}
.ic{width:18px;height:18px;display:block;flex:none}
.kicker,.eyebrow{font-size:10px;color:var(--mint);font-weight:600;letter-spacing:.17em}
.muted{color:var(--muted)}.brand{display:inline-flex;align-items:center;gap:9px}.brand-mark{height:33px;width:33px;display:flex;align-items:center;justify-content:center;border:1px solid rgba(121,244,211,.3);background:rgba(121,244,211,.08);border-radius:10px;color:var(--mint);box-shadow:0 0 28px rgba(121,244,211,.07)}.brand-mark .ic{width:19px;height:19px}.brand-text{font-size:20px;font-weight:600;letter-spacing:-.075em;color:#f3f8ff}.brand-text>span{font-weight:300}.brand-dot{color:var(--mint);font-weight:700!important}
.pill{display:inline-flex;align-items:center;justify-content:center;gap:12px;border:1px solid var(--line2);padding:13px 19px;border-radius:10px;background:rgba(255,255,255,.035);color:var(--text);font-weight:500;font-size:12px;transition:transform .2s,background .2s,box-shadow .2s;white-space:nowrap}.pill:hover{transform:translateY(-2px);border-color:rgba(121,244,211,.5)}.pill.primary{background:var(--mint);color:#09211e;border-color:var(--mint);box-shadow:0 8px 34px rgba(121,244,211,.14)}.pill.primary:hover{background:#99ffe0;box-shadow:0 8px 38px rgba(121,244,211,.28)}.pill.small{padding:10px 14px;font-size:11px}.pill.full{width:100%}.pill .ic{width:16px;height:16px}
.icon-button,.help-icon{width:37px;height:37px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:10px;color:var(--muted);background:rgba(255,255,255,.025);flex:none;transition:background .2s,color .2s,border-color .2s}.icon-button:hover,.help-icon:hover{color:var(--mint);border-color:rgba(121,244,211,.35);background:rgba(121,244,211,.07)}.icon-button.large{width:45px;height:45px}.icon-button.small-button{width:28px;height:28px}.icon-button.small-button .ic{width:14px;height:14px}.help-icon{width:21px;height:21px;background:transparent;border:0}.help-icon .ic{width:14px;height:14px}
.live{display:inline-flex;align-items:center;gap:9px;font-size:10px;letter-spacing:.13em;font-weight:500;color:#9bb6ae}.pulse{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--mint);box-shadow:0 0 0 3px rgba(121,244,211,.09),0 0 12px rgba(121,244,211,.55);animation:softpulse 2.8s ease-in-out infinite}
@keyframes softpulse{50%{box-shadow:0 0 0 7px rgba(121,244,211,.015),0 0 15px rgba(121,244,211,.65)}}
@keyframes rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes orbit{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes float{50%{transform:translateY(-10px)}}
.landing{height:100dvh;min-height:570px;display:grid;grid-template-rows:72px minmax(0,1fr) 108px 38px;max-width:1600px;margin:0 auto;padding:0 clamp(22px,5.2vw,88px);overflow:hidden}
.landing-top,.landing-nav{display:flex;align-items:center}.landing-top{justify-content:space-between;border-bottom:1px solid var(--line)}.landing-nav{gap:24px}.nav-link{font-size:12px;color:var(--muted)}.nav-link:hover{color:var(--text)}
.landing-main{display:grid;grid-template-columns:minmax(360px,1fr) minmax(440px,1fr);align-items:center;gap:2vw;min-height:0}
.landing-copy{position:relative;z-index:2;animation:rise .7s both}.landing-copy h1{font-size:clamp(48px,6.3vw,106px);line-height:1.03;font-weight:450;letter-spacing:-.075em;margin:20px 0 24px}.gradient-text{background:linear-gradient(100deg,#72f4d0,#8be0fd 53%,#c2a8ff);-webkit-background-clip:text;background-clip:text;color:transparent}.hero-sub{max-width:440px;line-height:1.85;color:#a0b2bf;font-size:clamp(13px,1.2vw,16px);margin:0 0 29px}.hero-actions{display:flex;gap:12px;align-items:center}.little-proof{margin-top:42px;font-size:9px;letter-spacing:.14em;color:#718999;display:flex;align-items:center;gap:10px}.little-proof .pulse{width:5px;height:5px}.tiny-cross{font-size:18px;color:var(--mint);vertical-align:middle}
.landing-showcase{height:min(55vh,480px);position:relative;display:flex;align-items:center;justify-content:center;animation:rise 1s .08s both}.halo{position:absolute;border-radius:50%;border:1px solid rgba(117,191,213,.13);width:80%;aspect-ratio:1;pointer-events:none}.halo-one{box-shadow:inset 0 0 60px rgba(27,161,182,.04);animation:orbit 100s linear infinite}.halo-two{width:108%;border-style:dashed;animation:orbit 160s linear infinite reverse}.halo:before{content:"";position:absolute;top:4%;left:30%;background:var(--mint);width:4px;height:4px;box-shadow:0 0 15px var(--mint);border-radius:50%}
.mock-window{width:88%;max-width:530px;height:70%;min-height:245px;border-radius:14px;border:1px solid rgba(164,221,239,.19);background:#0b1625;box-shadow:0 35px 140px rgba(0,0,0,.45),0 0 75px rgba(71,171,192,.06);overflow:hidden;transform:perspective(900px) rotateY(-8deg) rotateX(3deg)}.mock-toolbar{height:35px;border-bottom:1px solid var(--line);display:flex;gap:5px;align-items:center;padding:0 14px}.mock-toolbar i{height:6px;width:6px;background:#436075;border-radius:50%}.mock-toolbar span{font-size:10px;color:#8fa8b4;margin:auto}.mock-toolbar .ic{color:var(--mint);width:13px;height:13px}.mock-body{display:grid;grid-template-columns:53px 1fr;height:calc(100% - 63px)}.mock-side{border-right:1px solid var(--line);padding:15px 17px;display:flex;align-items:center;flex-direction:column;gap:20px}.mock-short{height:14px;width:14px;border-radius:4px;background:#203245}.mock-icon{height:18px;width:18px;border-radius:5px;background:var(--mint)}.mock-stage{padding:clamp(14px,2vw,28px)}.mock-breadcrumb{font-size:9px;color:var(--mint);letter-spacing:.13em}.mock-title{font-size:clamp(15px,2vw,26px);letter-spacing:-.05em;margin:14px 0}.mock-bars{display:flex;gap:9px}.mock-bars i{height:7px;width:18%;border-radius:8px;background:#283e52}.mock-bars i:first-child{width:37%;background:#49778b}.mock-graph{height:50%;display:flex;align-items:end;gap:6%;margin-top:9px;padding:6px 0;border-bottom:1px solid var(--line)}.mock-graph span{flex:1;border-radius:4px 4px 0 0;background:linear-gradient(#6bedcc,#126878);opacity:.8}.mock-graph span:nth-child(1){height:32%}.mock-graph span:nth-child(2){height:54%}.mock-graph span:nth-child(3){height:39%}.mock-graph span:nth-child(4){height:74%}.mock-graph span:nth-child(5){height:62%}.mock-graph span:nth-child(6){height:86%}.mock-graph span:nth-child(7){height:100%}.mock-status{height:28px;border-top:1px solid var(--line);display:flex;align-items:center;gap:8px;padding:0 14px;color:#9ab7ac;font-size:8px;letter-spacing:.1em}.mock-status span:last-child{margin-left:auto;color:#617b8e}.float-chip{position:absolute;display:flex;align-items:center;gap:8px;border:1px solid var(--line2);border-radius:10px;background:rgba(14,28,41,.88);backdrop-filter:blur(20px);padding:12px 16px;font-size:9px;letter-spacing:.12em;color:#cce7e2;white-space:nowrap;z-index:3;animation:float 7s infinite}.float-chip .ic{width:14px;height:14px;color:var(--mint)}.chip-top{right:0;top:12%}.chip-bottom{left:1%;bottom:9%;animation-delay:1.5s}
.landing-features{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:center;border-top:1px solid var(--line)}.feature{height:70px;background:rgba(255,255,255,.018);border:1px solid var(--line);border-radius:11px;display:flex;align-items:center;gap:13px;text-align:left;padding:0 16px;color:#d0e0e8;transition:background .2s,transform .2s}.feature:hover{background:rgba(121,244,211,.055);transform:translateY(-2px)}.feature>.ic{width:14px;height:14px;margin-left:auto;color:var(--muted)}.feature-icon{color:var(--mint)}.landing-bottom{border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;color:#708398;letter-spacing:.13em;font-size:9px}
.auth-wrap{height:100dvh;min-height:600px;display:grid;place-items:center}.auth-brand{position:absolute;top:26px;left:clamp(22px,5vw,80px)}.auth-card{width:min(410px,calc(100% - 42px));padding:36px 34px;background:linear-gradient(145deg,#101c2b,#0b121e);border:1px solid var(--line2);border-radius:19px;box-shadow:0 30px 120px rgba(0,0,0,.4);animation:rise .55s both}.auth-glyph{height:42px;width:42px;border-radius:12px;background:rgba(121,244,211,.09);display:grid;place-items:center;color:var(--mint);margin-bottom:24px}.auth-card h1{font-size:31px;font-weight:450;letter-spacing:-.055em;margin:10px 0 2px}.auth-sub{font-size:12px;margin-bottom:23px}.auth-form{display:grid;gap:16px}.auth-form label,.field{display:grid;gap:7px;color:#b5c8d2;font-size:11px}.auth-form input,.field input,.field select,.field textarea{background:#0a1522;border:1px solid var(--line2);border-radius:9px;padding:12px;color:var(--text);width:100%;outline:none}.auth-form input:focus,.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--mint)}.auth-form input::placeholder,.field input::placeholder,.field textarea::placeholder{color:#607487}.auth-form .pill{margin-top:6px}.auth-foot{text-align:center;font-size:11px;color:var(--muted);margin-top:22px}.auth-foot a{color:var(--mint)}.auth-side-text{position:absolute;bottom:26px;color:#526576;font-size:9px;letter-spacing:.2em}.form-alert{padding:11px 13px;border-radius:8px;font-size:11px;margin-bottom:16px;background:rgba(254,132,126,.08);color:#ffc4bf;border:1px solid rgba(254,132,126,.3)}.form-alert.success{background:rgba(121,244,211,.08);color:var(--mint);border-color:rgba(121,244,211,.25)}
.console{display:grid;grid-template-columns:190px minmax(0,1fr);height:100dvh;min-height:600px;max-width:1750px;margin:0 auto;overflow:hidden}.rail{border-right:1px solid var(--line);display:flex;flex-direction:column;padding:26px 14px 16px;min-width:0;background:rgba(7,12,21,.8)}.rail-brand{margin:3px 10px 28px}.rail-divider{border-top:1px solid var(--line);margin:0 10px 25px}.rail-nav{display:grid;gap:5px}.rail-item{border:1px solid transparent;background:transparent;color:#8d9eaf;width:100%;display:flex;align-items:center;gap:13px;padding:12px;border-radius:9px;text-align:left;font-size:11px;transition:.18s}.rail-item .ic{width:17px;height:17px}.rail-item:hover,.rail-item.current{background:rgba(121,244,211,.07);color:var(--mint);border-color:rgba(121,244,211,.11)}.rail-bottom{margin-top:auto;display:grid;gap:3px}.rail-bottom form{margin:0}
.console-body{display:flex;flex-direction:column;overflow:hidden;min-width:0}.console-top{height:68px;min-height:68px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 clamp(18px,2.5vw,45px)}.page-location{font-size:10px;letter-spacing:.14em;color:#8398aa;display:flex;align-items:center;gap:9px}.page-location .tiny-cross{font-size:12px}.slash{color:#3e6073;margin:0 4px}.top-right{display:flex;align-items:center;gap:14px}.top-live{margin-right:10px}.avatar{width:32px;height:32px;background:linear-gradient(135deg,#386758,#1b3443);border-radius:10px;display:grid;place-items:center;color:var(--mint);border:1px solid rgba(121,244,211,.2)}
.console-main{height:calc(100% - 68px);min-height:0;padding:22px clamp(18px,2.5vw,45px) 15px;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto;row-gap:17px}
.main-heading{display:flex;justify-content:space-between;align-items:center}.main-heading h1{margin:7px 0 0;font-size:clamp(22px,2.6vw,34px);font-weight:430;letter-spacing:-.055em}.heading-tools{display:flex;align-items:center;gap:10px}.heading-tools .pill{padding:11px 16px}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.stat{border:1px solid var(--line);background:linear-gradient(130deg,#142638b3,#09121ee6);border-radius:12px;min-height:98px;padding:14px 17px;display:grid;grid-template-rows:auto 1fr auto}.stat-label{font-size:9px;letter-spacing:.12em;color:#9cafbf;display:flex;align-items:center;gap:9px}.stat-label .ic{width:13px;height:13px;color:var(--mint)}.stat-value{font-size:29px;letter-spacing:-.07em;font-weight:400;line-height:1;padding-top:6px}.stat-foot{font-size:8px;color:#577083;letter-spacing:.14em}
.workspace-columns{min-height:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(290px,.78fr);gap:13px;overflow:hidden}.surface{border:1px solid var(--line);background:linear-gradient(125deg,#111d2ce0,#0a121ee8);border-radius:13px;min-height:0;overflow:hidden;display:flex;flex-direction:column}.surface-head{min-height:51px;padding:0 17px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.surface-title{display:flex;align-items:center;gap:9px}.surface-title h2{font-size:12px;font-weight:550;margin:0}.stripe{width:3px;height:14px;border-radius:5px;background:var(--mint);box-shadow:0 0 10px #79f4d399}.stripe.blue{background:var(--blue)}.stripe.violet{background:var(--purple)}.text-button{border:0;background:transparent;color:var(--muted);display:flex;align-items:center;gap:7px;font-size:10px}.text-button:hover{color:var(--mint)}.text-button .ic{width:12px;height:12px}
.surface-list{flex:1;overflow:auto;min-height:0;padding:8px}.surface-list::-webkit-scrollbar,.recent-list::-webkit-scrollbar,.modal-content::-webkit-scrollbar{width:5px}.surface-list::-webkit-scrollbar-thumb,.recent-list::-webkit-scrollbar-thumb,.modal-content::-webkit-scrollbar-thumb{background:#213a4a;border-radius:8px}
.list-row{width:100%;border:1px solid transparent;border-bottom:1px solid var(--line);background:transparent;padding:12px;display:flex;align-items:center;gap:12px;text-align:left;color:var(--text);border-radius:7px}.list-row:hover{background:#79f4d30a;border-color:#79f4d317}.row-icon{height:38px;width:38px;border-radius:10px;display:grid;place-items:center;background:#79f4d312;color:var(--mint);border:1px solid #79f4d326;flex:none}.row-icon .ic{height:18px;width:18px}.row-icon.blue{color:var(--blue);background:#83b6ff12}.row-main{display:grid;gap:5px;min-width:0;flex:1}.row-name{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-sub{font-size:10px;color:#6e8b9b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-end{display:flex;align-items:center;gap:9px}.badge{font-size:9px;color:#acbdd2;background:#ffffff0e;padding:5px 8px;border-radius:6px;text-transform:capitalize;white-space:nowrap}.badge.ready,.badge.verified,.badge.resolved{color:#7ff1bf;background:#65e2a01a}.badge.failed{color:#ffaba8;background:#fc767d1a}.badge.queued,.badge.processing,.badge.provisioning{color:#f6d79a;background:#eec1721a}.row-arrow{width:15px;color:#567083}
.empty-state{color:#6e8294;font-size:11px;height:100%;min-height:130px;display:flex;align-items:center;justify-content:center;text-align:center;padding:28px;line-height:1.7}.right-column{min-height:0;display:grid;grid-template-rows:minmax(150px,.85fr) minmax(155px,1.15fr);gap:13px}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:13px;height:100%}.action-tile{border-radius:10px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;background:#ffffff07;border:1px solid var(--line);padding:15px;color:#cddce6;font-size:11px;text-align:left;transition:transform .2s,background .2s}.action-tile:hover{background:#79f4d30e;transform:translateY(-2px)}.action-icon{color:var(--mint)}.action-tile>.ic{align-self:end;color:#637f8f;width:14px;height:14px}.recent-list{overflow:auto;flex:1;padding:7px}.recent-item{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;background:transparent;border:0;border-bottom:1px solid var(--line);color:var(--text);text-align:left}.recent-item:hover{background:#ffffff09}.recent-item>span:nth-child(2){flex:1;min-width:0;display:grid;gap:5px}.recent-item b{font-size:11px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.recent-item small{color:#8295a7;font-size:9px}.recent-item .badge{font-size:8px}.console-foot{display:flex;align-items:center;gap:9px;color:#607789;font-size:9px;letter-spacing:.13em;min-height:20px}.console-foot .pulse{width:5px;height:5px}.foot-right{margin-left:auto}
.admin-console{--mint:#9fbeff}.admin-console .brand-mark{color:#a3bdff;border-color:#9cbeff4d;background:#9cbeff14}.admin-console .stripe{background:#a3bdff}.admin-console .pulse{background:#a3bdff}.admin-console .pill.primary{background:#a3bdff;color:#0a1425;border-color:#a3bdff}.admin-console .row-icon{color:#a3bdff;background:#9cbeff14}.admin-console .rail-item.current{color:#a3bdff;background:#9cbeff14}
.uls-modal{padding:0;border:1px solid #99c7da3d;background:linear-gradient(155deg,#111f2e,#090f19);color:var(--text);width:min(550px,calc(100vw - 25px));max-height:min(90dvh,740px);box-shadow:0 35px 140px #000b;border-radius:16px;overflow:hidden}dialog::backdrop,.uls-modal::backdrop{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 24px 18px;border-bottom:1px solid var(--line)}.modal-head h2{font-weight:480;letter-spacing:-.045em;font-size:22px;margin:6px 0 0}.modal-content{padding:20px 24px;overflow:auto;max-height:calc(90dvh - 160px)}.modal-actions{border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px;padding:14px 24px}.modal-content p{line-height:1.8;color:#a9b9c8;margin:0 0 13px;font-size:12px}.modal-content strong{color:var(--text);font-weight:550}.form-grid{display:grid;gap:14px}.form-grid.two{grid-template-columns:1fr 1fr}.field textarea{min-height:100px;resize:vertical}.field select{appearance:auto}.label-row{display:flex;justify-content:space-between;align-items:center}.modal-tip{display:flex;align-items:center;gap:9px;color:#91b2ac;font-size:10px;margin:12px 0}.modal-tip .ic{height:14px;width:14px}.dns-record{background:#ffffff09;border:1px solid var(--line);padding:12px;border-radius:8px;margin:12px 0;display:grid;gap:10px}.dns-title{font-size:9px;color:var(--mint);letter-spacing:.12em}.dns-value{font-size:11px;overflow-wrap:anywhere;color:#d5e7ec}.dns-inline{display:flex;align-items:center;gap:8px;justify-content:space-between}.copy-btn{border:1px solid var(--line2);border-radius:7px;background:#1a2c3a;color:var(--text);padding:7px;display:inline-flex;align-items:center;gap:6px}.copy-btn .ic{width:12px;height:12px}.rail-item{text-decoration:none}
.ticket-thread{display:grid;gap:8px;margin:12px 0}
.ticket-message{background:rgba(255,255,255,.035);border:1px solid var(--line);border-radius:8px;padding:9px 11px}
.ticket-message .ticket-role{font-size:9px;color:var(--mint);letter-spacing:.03em;margin-bottom:5px}
.ticket-message p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.5}
.request-update{margin-top:12px;color:#a9b9c8}
.detail-list{display:grid;gap:0}.detail{display:flex;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line);padding:10px 0;font-size:11px}.detail>span:first-child{color:var(--muted)}.detail>span:last-child{word-break:break-word;text-align:right}.toast{position:fixed;bottom:25px;right:25px;background:#162f35;border:1px solid #79f4d34d;color:var(--text);padding:13px 17px;border-radius:10px;z-index:100;font-size:12px;max-width:330px;box-shadow:0 20px 60px #0008}.toast.error{background:#341c26;border-color:#b66c81}
@media(max-width:1000px){.console{grid-template-columns:65px 1fr}.rail{padding:22px 9px}.rail-brand .brand-text,.rail-item span,.rail-divider{display:none}.rail-brand{margin:0 auto 24px}.rail-nav{gap:7px}.rail-item{justify-content:center;padding:12px 0}.rail-bottom{margin-top:auto}.landing-main{grid-template-columns:1fr 1fr}.landing-copy h1{font-size:7vw}.workspace-columns{grid-template-columns:minmax(0,1.2fr) minmax(245px,.8fr)}.stat{padding:13px}.top-live{display:none}}
@media(max-width:730px){html,body{overflow:auto}.landing{height:auto;min-height:100dvh;padding:0 19px;grid-template-rows:68px auto auto 47px;overflow:visible}.landing-nav{gap:12px}.landing-nav .live{display:none}.landing-main{grid-template-columns:1fr;padding:42px 0 26px}.landing-copy h1{font-size:clamp(46px,12vw,80px);margin:12px 0}.landing-showcase{height:260px;margin:28px 0 0}.mock-window{height:89%;width:82%;min-height:0}.float-chip{font-size:7px;padding:9px}.landing-features{grid-template-columns:1fr 1fr;padding:15px 0}.feature{height:65px;padding:0 12px;font-size:11px}.landing-bottom{font-size:8px}.console{height:auto;min-height:100dvh;grid-template-columns:56px 1fr;overflow:visible}.rail{position:sticky;top:0;height:100dvh;min-height:0;padding:15px 6px}.rail-brand .brand-mark{height:31px;width:31px}.console-body{overflow:visible}.console-top{height:58px;min-height:58px;padding:0 13px}.page-location{font-size:8px}.console-main{height:auto;min-height:calc(100dvh - 58px);display:flex;flex-direction:column;padding:18px 12px;gap:15px;overflow:visible}.main-heading h1{font-size:25px}.main-heading .kicker{font-size:8px}.heading-tools>.icon-button{display:none}.heading-tools .pill{font-size:0;gap:0;padding:10px}.heading-tools .pill .ic{height:19px;width:19px}.stats{grid-template-columns:1fr 1fr;gap:8px}.stat{min-height:88px;padding:12px}.stat-value{font-size:25px}.workspace-columns{display:flex;flex-direction:column;gap:12px;overflow:visible}.primary-surface{min-height:220px;max-height:420px}.right-column{display:flex;flex-direction:column}.compact-surface{min-height:170px}.action-grid{min-height:140px}.queue-surface{min-height:160px}.console-foot{margin:0;font-size:8px}.console-foot .foot-right{display:none}.auth-wrap{min-height:100dvh;padding:80px 0 36px}.auth-side-text{display:none}.auth-brand{top:24px;left:20px}}
@media(max-height:710px) and (min-width:731px){.landing-main .landing-copy h1{margin:12px 0 16px;font-size:5vw}.hero-sub{margin-bottom:16px}.little-proof{margin-top:23px}.console-main{row-gap:12px;padding-top:16px}.stat{min-height:88px}.surface-head{min-height:43px}.action-grid{padding:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* Compact visual scale: lightweight text and short controls */
html,body{font-size:12px;font-weight:350}
.landing-copy h1{font-weight:350;font-size:clamp(38px,4.7vw,73px);line-height:1.12}
.hero-sub{font-size:12px;line-height:1.65;max-width:375px}
.landing-main{gap:3vw}.little-proof{margin-top:24px}
.brand-text{font-size:18px;font-weight:500}
.main-heading h1{font-size:clamp(20px,2.1vw,27px);font-weight:380}
.auth-card h1{font-size:25px;font-weight:380}
.modal-head h2{font-size:18px;font-weight:400}
.stat-value{font-size:26px;font-weight:350}
.row-name,.surface-title h2{font-weight:450}
.pill{padding:9px 14px;font-size:11px;font-weight:450}
.pill.small{padding:8px 12px;font-size:10px}
.icon-button{width:31px;height:31px}
.auth-form input,.field input,.field select,.field textarea{min-height:32px;padding:8px 10px;font-size:11px;border-radius:7px}
.field textarea{min-height:64px;max-height:120px}
.auth-card{padding:25px 28px;width:min(390px,calc(100% - 42px))}
.auth-form{gap:11px}.auth-form label{font-size:10px;gap:5px}
.uls-turnstile{display:flex;align-items:center;justify-content:center;min-width:0;width:100%;max-width:100%;overflow:visible}.uls-turnstile .cf-turnstile{max-width:100%;width:100%}
.uls-modal{width:min(485px,calc(100vw - 25px))}
.modal-head{padding:15px 20px}.modal-content{padding:15px 20px}.modal-actions{padding:10px 20px}
.form-grid{gap:10px}.modal-content p{font-size:11px;line-height:1.5}
.console-main{row-gap:12px;padding-top:16px}.stat{min-height:86px;padding:12px}
.surface-head{min-height:43px}.action-grid{padding:9px}.action-tile{padding:11px}
.list-row{padding:9px}.row-icon{width:32px;height:32px}
.landing-features{grid-template-columns:repeat(4,1fr)}.feature{height:58px}
@media(max-width:730px){.landing-copy h1{font-size:clamp(38px,9vw,58px)}.landing-features{grid-template-columns:1fr 1fr}}

/* Needs-first homepage: compact forms, no product showcases. */
.needs-landing{grid-template-rows:68px minmax(0,1fr) 38px;min-height:560px}
.needs-main{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(292px,.68fr);align-items:center;gap:clamp(20px,6vw,110px);min-height:0}
.needs-build{min-width:0;animation:rise .55s ease-out both}
.needs-build .kicker{display:flex;align-items:center;gap:9px;font-size:10px}
.needs-build h1{font-weight:350;letter-spacing:-.055em;font-size:clamp(32px,3.5vw,49px);margin:14px 0 22px;line-height:1.14}
.needs-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:20px}
.need-choice{background:#101c2bcc;border:1px solid var(--line);border-radius:9px;min-height:63px;padding:11px 7px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;font-size:10px;color:#aebdca;white-space:nowrap;transition:background .2s,border-color .2s,transform .2s}
.need-choice .ic{height:17px;width:17px;color:#8fa8b7}
.need-choice.current,.need-choice:hover{color:var(--mint);background:#79f4d30c;border-color:#79f4d344}
.need-choice.current .ic,.need-choice:hover .ic{color:var(--mint)}
.need-choice:hover{transform:translateY(-2px)}
.needs-idea-form>label{display:flex;align-items:center;gap:5px;font-size:11px;color:#b7cbd5;margin-bottom:8px}
.needs-idea-form textarea{display:block;width:100%;height:67px;min-height:67px;max-height:110px;resize:vertical;background:#0b1522;border:1px solid var(--line2);border-radius:10px;padding:11px 13px;outline:none;color:var(--text);font-size:11px;line-height:1.5}
.needs-idea-form textarea::placeholder{color:#708494}
.needs-idea-form textarea:focus{border-color:var(--mint)}
.needs-action{display:flex;justify-content:space-between;align-items:center;gap:11px;margin-top:13px}
.needs-domain{display:flex;align-items:center;gap:7px;color:#8296a5;font-size:10px;white-space:nowrap}
.needs-domain .ic{height:13px;width:13px;color:var(--mint)}
.needs-login{width:100%;max-width:345px;justify-self:end;padding:24px 25px 21px;border:1px solid #a3c7d02e;border-radius:13px;background:linear-gradient(155deg,#142032d9,#0b1421eb);box-shadow:0 24px 90px #0005;animation:rise .65s .06s both}
.needs-login-top{display:flex;align-items:center;justify-content:space-between}
.needs-login h2{font-size:22px;letter-spacing:-.04em;font-weight:380;margin:7px 0 21px}
.needs-login .auth-form{gap:14px}
.needs-login .auth-form label{gap:7px}
.needs-login .auth-form input{height:35px;min-height:35px;padding:8px 11px;font-size:11px}
.needs-login .pill{min-height:36px}
.needs-signup{border-top:1px solid var(--line);padding-top:17px;margin-top:19px;text-align:center;color:#819aab;font-size:11px}
.needs-signup a{color:var(--mint)}
.needs-signup a:hover{text-decoration:underline}
@media(max-width:900px) and (min-width:731px){.needs-main{grid-template-columns:minmax(0,1fr) 285px;gap:20px}.needs-choices{grid-template-columns:repeat(2,1fr)}.need-choice{min-height:50px;flex-direction:row;padding:10px}.needs-login{padding:19px}}
@media(max-width:730px){.needs-landing{height:auto;min-height:100dvh;grid-template-rows:62px auto 38px;overflow:visible}.needs-main{grid-template-columns:1fr;gap:19px;padding:23px 0}.needs-build h1{font-size:clamp(30px,6.6vw,43px);margin:10px 0 16px}.needs-choices{grid-template-columns:repeat(2,1fr);gap:7px;margin-bottom:14px}.need-choice{min-height:44px;flex-direction:row;gap:8px}.needs-idea-form textarea{min-height:57px;height:57px}.needs-action{gap:7px}.needs-action .pill{padding:9px 11px}.needs-domain{font-size:9px}.needs-login{max-width:none;justify-self:stretch;padding:20px}.needs-login h2{margin-bottom:14px}.needs-login .auth-form{gap:10px}}
@media(max-width:360px){.needs-domain{display:none}.needs-action{justify-content:flex-end}}
@media(max-height:590px) and (min-width:731px){.needs-build h1{font-size:30px;margin:10px 0 14px}.need-choice{min-height:49px}.needs-choices{margin-bottom:12px}.needs-login{padding:18px}.needs-login h2{margin:7px 0 12px}}

.pill[hidden],.icon-button[hidden]{display:none!important}

.needs-recover{display:block;text-align:right;color:var(--muted);font-size:10px;margin-top:-5px}.needs-recover:hover{color:var(--mint)}
/* MCP setup */
body[data-page="mcp-setup"]{overflow:auto}
.setup-shell{max-width:1100px;min-height:100dvh;padding:0 4vw;margin:auto}
.setup-header{display:flex;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line)}
.setup-nav{display:flex;gap:18px}
.setup-main{max-width:930px;margin:auto;padding:28px 0 34px;display:grid;gap:20px}
.setup-intro h1{font-size:clamp(23px,3vw,31px);font-weight:380;letter-spacing:-.045em;margin:8px 0}
.setup-intro p{font-size:12px;color:#99acbb;line-height:1.6;margin:0}
.setup-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:15px}
.setup-left{display:grid;align-content:start;gap:13px}
.setup-panel,.setup-notice{border:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,#111f2fee,#09121eee)}
.setup-panel{padding:20px}
.setup-eyebrow{font-size:9px;letter-spacing:.14em;color:var(--mint);margin-bottom:9px}
.setup-panel h2,.setup-notice h2{font-size:14px;font-weight:450;margin:0 0 9px}
.setup-panel p,.setup-notice p{font-size:11px;color:#a2b3c0;line-height:1.68;margin:0}
.setup-url{display:flex;align-items:center;justify-content:space-between;gap:9px;border:1px solid #79f4d344;border-radius:9px;padding:7px 7px 7px 12px;margin:17px 0;background:#081621}
.setup-url code{font-size:12px;color:#b5f5de;word-break:break-all;min-width:0}
.setup-copy{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line2);border-radius:7px;background:#142b37;color:#d2ebef;padding:7px 10px;font-size:10px;white-space:nowrap}
.setup-copy .ic{width:13px;height:13px}
.setup-detail{font-size:10px!important}
.setup-notice{padding:16px;display:flex;gap:11px;align-items:flex-start}
.setup-notice>.ic{width:17px;height:17px;color:var(--blue)}
.setup-notice h2{font-size:12px;margin-bottom:5px}
.setup-steps{list-style:none;margin:0;padding:0}
.setup-steps li{display:flex;align-items:flex-start;gap:13px;padding:12px 0;border-top:1px solid var(--line)}
.setup-steps li:first-child{border-top:0}
.setup-step-no{font-size:10px;letter-spacing:.08em;color:var(--mint);padding-top:2px}
.setup-steps h3{font-size:12px;font-weight:450;margin:0 0 4px}
.setup-steps p em{font-style:normal;color:#daeaf1}
.setup-foot{display:flex;gap:15px;justify-content:space-between;align-items:center;color:#7d90a2;font-size:10px;line-height:1.6}
.setup-foot a{display:inline-flex;align-items:center;gap:6px;color:var(--mint);white-space:nowrap}
.setup-foot .ic{width:13px;height:13px}
@media(max-width:780px){.setup-main{gap:16px;padding:24px 0}.setup-layout{grid-template-columns:1fr}.setup-foot{align-items:flex-start;flex-direction:column;gap:8px}}




/* Dialogs remain legible without concealing the page behind them. */
dialog.uls-modal::backdrop{background:rgba(4,9,17,.20)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
dialog.uls-modal{box-shadow:0 16px 55px rgba(0,0,0,.3)}

/* Latest workflow updates retained after base stylesheet recovery. */

/* Full-width shells and the shared theme switch. */
.landing,.console,.setup-shell,.setup-main{max-width:none;width:100%;margin-left:0;margin-right:0}
.landing,.setup-shell{padding-inline:clamp(16px,3vw,56px)}
.auth-wrap{width:100%}
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none}
.theme-toggle .theme-sun{display:inline-flex}
.theme-toggle .theme-moon{display:none}
html[data-theme="light"] .theme-toggle .theme-sun{display:none}
html[data-theme="light"] .theme-toggle .theme-moon{display:inline-flex}
.auth-wrap>.theme-toggle{position:fixed;top:26px;right:clamp(22px,5vw,80px);z-index:20}
@media(max-width:730px){.landing,.setup-shell{padding-inline:16px}.auth-wrap>.theme-toggle{top:24px;right:20px}.top-right{gap:7px}.console-top{gap:8px}.page-location{min-width:0;max-width:calc(100% - 108px);overflow:hidden;white-space:nowrap}}
@media(max-width:490px){.landing-nav,.setup-nav{gap:7px}.landing-nav .nav-link,.setup-nav .nav-link{font-size:10px}.landing-top .brand-text,.setup-header .brand-text{font-size:17px}}
@media(max-width:380px){.landing-top .brand-text,.setup-header .brand-text{display:none}}

/* Shared light palette for the homepage, account forms, subscriber console, and setup. */
html[data-theme="light"]{color-scheme:light;--bg:#f5f8fc;--surface:#fff;--panel:#fff;--line:rgba(38,74,100,.14);--line2:rgba(38,74,100,.26);--text:#172e42;--muted:#536c80;--mint:#087d73;--blue:#245fa7;--purple:#6950a6;--glow:rgba(8,125,115,.15)}
html[data-theme="light"] .ambient{opacity:.14}
html[data-theme="light"] .grain{opacity:.08}
html[data-theme="light"] .brand-text{color:#172e42}
html[data-theme="light"] .brand-mark{background:#e2f5f1;border-color:#b8ded7;box-shadow:0 0 20px #087d7310}
html[data-theme="light"] .gradient-text{background:linear-gradient(100deg,#087c72,#2463ab 56%,#6a45a9);-webkit-background-clip:text;background-clip:text;color:transparent}
html[data-theme="light"] .rail{background:rgba(240,246,252,.95)}
html[data-theme="light"] .rail-item{color:#506a7e}
html[data-theme="light"] .rail-item:hover,html[data-theme="light"] .rail-item.current{background:#d9f1ed;color:#096c63;border-color:#c2e7df}
html[data-theme="light"] .icon-button,html[data-theme="light"] .help-icon{background:rgba(255,255,255,.84);border-color:var(--line2)}
html[data-theme="light"] .help-icon{background:transparent;border-color:transparent}
html[data-theme="light"] .pill{background:#fff;border-color:var(--line2);color:var(--text)}
html[data-theme="light"] .pill:hover{background:#eff7f6}
html[data-theme="light"] .pill.primary{background:var(--mint);border-color:var(--mint);color:#fff;box-shadow:0 6px 22px #087d732b}
html[data-theme="light"] .pill.primary:hover{background:#066a62;color:#fff}
html[data-theme="light"] .needs-login,html[data-theme="light"] .auth-card,html[data-theme="light"] .surface,html[data-theme="light"] .stat,html[data-theme="light"] .setup-panel,html[data-theme="light"] .setup-notice,html[data-theme="light"] .uls-modal{background:linear-gradient(145deg,#fff,#f0f6fb);border-color:var(--line2);box-shadow:0 12px 40px rgba(34,71,98,.07)}
html[data-theme="light"] .auth-form input,html[data-theme="light"] .field input,html[data-theme="light"] .field select,html[data-theme="light"] .field textarea,html[data-theme="light"] .needs-idea-form textarea{background:#fff;border-color:var(--line2);color:var(--text)}
html[data-theme="light"] .auth-form label,html[data-theme="light"] .field,html[data-theme="light"] .needs-idea-form>label{color:#38546b}
html[data-theme="light"] .auth-form input::placeholder,html[data-theme="light"] .field input::placeholder,html[data-theme="light"] .field textarea::placeholder,html[data-theme="light"] .needs-idea-form textarea::placeholder{color:#70879a}
html[data-theme="light"] dialog.uls-modal::backdrop{background:rgba(25,52,73,.12)!important}
html[data-theme="light"] ::selection{background:#c7ece5;color:#153b37}
html[data-theme="light"] .live{color:#35685c}
html[data-theme="light"] .page-location,html[data-theme="light"] .landing-bottom,html[data-theme="light"] .setup-foot,html[data-theme="light"] .auth-side-text,html[data-theme="light"] .needs-domain,html[data-theme="light"] .needs-signup,html[data-theme="light"] .empty-state,html[data-theme="light"] .row-sub,html[data-theme="light"] .recent-item small,html[data-theme="light"] .stat-label,html[data-theme="light"] .stat-foot,html[data-theme="light"] .console-foot{color:#526e82}
html[data-theme="light"] .needs-login .auth-foot,html[data-theme="light"] .modal-content p,html[data-theme="light"] .request-update,html[data-theme="light"] .setup-intro p,html[data-theme="light"] .setup-panel p,html[data-theme="light"] .setup-notice p{color:#456176}
html[data-theme="light"] .badge{background:#e9f0f6;color:#4b6173}
html[data-theme="light"] .badge.ready,html[data-theme="light"] .badge.verified,html[data-theme="light"] .badge.resolved{background:#d9f3e7;color:#176644}
html[data-theme="light"] .badge.failed{background:#fbe7e8;color:#a8323c}
html[data-theme="light"] .badge.queued,html[data-theme="light"] .badge.processing,html[data-theme="light"] .badge.provisioning{background:#fff1d7;color:#8b5d13}
html[data-theme="light"] .action-tile,html[data-theme="light"] .feature{background:#fff;color:#2e4b62}
html[data-theme="light"] .action-tile:hover,html[data-theme="light"] .feature:hover,html[data-theme="light"] .recent-item:hover{background:#eaf4f7}
html[data-theme="light"] .ticket-message,html[data-theme="light"] .dns-record{background:#f1f6fa}
html[data-theme="light"] .dns-value{color:#254558}
html[data-theme="light"] .copy-btn,html[data-theme="light"] .setup-copy{background:#fff;color:#254c60;border-color:var(--line2)}
html[data-theme="light"] .setup-url{background:#eef8f6;border-color:#8dc7ba}
html[data-theme="light"] .setup-url code{color:#0b605a}
html[data-theme="light"] .setup-steps p em{color:#1a526d}
html[data-theme="light"] .form-alert{background:#fff1f1;color:#9b343b;border-color:#edbfc2}
html[data-theme="light"] .form-alert.success{background:#e4f6ed;color:#176644;border-color:#a9dec0}
html[data-theme="light"] .toast{background:#f0f9f5;color:#173c33;border-color:#9ad9c4;box-shadow:0 16px 55px #23394c2b}
html[data-theme="light"] .toast.error{background:#fff0f1;color:#912b3a;border-color:#e6a9b0}
html[data-theme="light"] .avatar{background:#d8efe8;color:#0a6c60;border-color:#afd8ce}
html[data-theme="light"] .admin-console{--mint:#285ba7;--blue:#285ba7}
html[data-theme="light"] .admin-console .pill.primary{background:#285ba7;color:#fff;border-color:#285ba7}
html[data-theme="light"] .admin-console .brand-mark{background:#e4eeff;color:#285ba7;border-color:#b4cdf3}
html[data-theme="light"] .admin-console .rail-item.current{background:#e5eeff;color:#285ba7;border-color:#c6daf8}
html[data-theme="light"] .admin-console .row-icon{background:#e5eeff;color:#285ba7}
html[data-theme="light"] .admin-console .stripe,html[data-theme="light"] .admin-console .pulse{background:#285ba7}

/* Homepage technology workflow with progressive steps and preserved project type selection. */
.needs-main{grid-template-columns:minmax(0,1fr) minmax(286px,322px);gap:clamp(20px,3.5vw,52px)}
.needs-build h1{margin:11px 0 7px;font-size:clamp(30px,3.1vw,45px)}
.workflow-intro{color:var(--muted);font-size:11px;line-height:1.5;margin:0 0 20px}
.workflow-journey{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.62fr) minmax(0,1.1fr) minmax(0,1.03fr);gap:9px;margin-bottom:19px}
.workflow-stage{position:relative;min-width:0;min-height:187px;border:1px solid var(--line2);border-top:2px solid rgba(121,244,211,.55);border-radius:11px;padding:12px 11px;background:linear-gradient(150deg,rgba(19,38,53,.82),rgba(8,17,28,.85));animation:rise .5s both}
.workflow-stage:nth-child(2){animation-delay:.06s;border-top-color:rgba(131,182,255,.65)}
.workflow-stage:nth-child(3){animation-delay:.12s;border-top-color:rgba(180,160,255,.65)}
.workflow-stage:nth-child(4){animation-delay:.18s;border-top-color:rgba(121,244,211,.72)}
.workflow-head{display:flex;align-items:center;gap:9px;min-width:0;margin-bottom:13px}
.workflow-index{display:grid;place-items:center;flex:none;width:27px;height:27px;border:1px solid var(--line2);border-radius:8px;color:var(--mint);font-size:10px;font-variant-numeric:tabular-nums}
.workflow-heading{display:grid;min-width:0;gap:3px}
.workflow-heading strong{font-weight:520;font-size:12px;letter-spacing:-.015em}
.workflow-heading small{font-size:9px;color:var(--muted);line-height:1.3}
.workflow-tags{display:flex;flex-wrap:wrap;align-content:flex-start;gap:5px}
.workflow-tags span,.workflow-kind{display:inline-flex;align-items:center;justify-content:center;min-height:20px;padding:4px 6px;border:1px solid var(--line);background:rgba(190,224,244,.055);border-radius:5px;color:#b6c7d2;font-size:9px;line-height:1.1;white-space:nowrap}
.workflow-kinds{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.workflow-kind{min-height:30px;width:100%;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.workflow-kind:hover,.workflow-kind.current{color:var(--mint);border-color:rgba(121,244,211,.45);background:rgba(121,244,211,.11)}
.workflow-stage--languages .workflow-tags span{padding:3px 5px;min-height:19px}
.workflow-tags--tools span{border-color:rgba(131,182,255,.22);color:#d0dfff}
.workflow-tags--data span{border-color:rgba(180,160,255,.2)}
.workflow-micro{font-size:8px;letter-spacing:.12em;color:var(--muted);margin:15px 0 8px}
.workflow-destination{display:flex;align-items:center;gap:7px;min-width:0;color:var(--mint);font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.workflow-destination .ic{height:14px;width:14px;flex:none}
.workflow-destination span{min-width:0;overflow-wrap:anywhere}.workflow-destination b{font-weight:500}
.workflow-custom{font-size:9px;color:var(--muted);line-height:1.5;margin-top:11px}

html[data-theme="light"] .workflow-stage{background:linear-gradient(145deg,#fff,#f0f7fb);border-color:#cfdee8;border-top-color:#64b7a7}
html[data-theme="light"] .workflow-stage:nth-child(2){border-top-color:#7aaddd}
html[data-theme="light"] .workflow-stage:nth-child(3){border-top-color:#a293d7}
html[data-theme="light"] .workflow-stage:nth-child(4){border-top-color:#64b7a7}
html[data-theme="light"] .workflow-tags span,html[data-theme="light"] .workflow-kind{background:#f2f7fb;color:#365167;border-color:#d7e3ec}
html[data-theme="light"] .workflow-kind:hover,html[data-theme="light"] .workflow-kind.current{background:#e2f5ef;color:#086e62;border-color:#7bbcb1}
html[data-theme="light"] .workflow-tags--tools span{background:#edf3ff;color:#295c94;border-color:#d3e2f6}
html[data-theme="light"] .workflow-tags--data span{background:#f3eefb;color:#655195;border-color:#e1d9f4}
html[data-theme="light"] .workflow-index{color:#087d73;border-color:#b1d5d2}
html[data-theme="light"] .workflow-heading strong{color:#233f55}
html[data-theme="light"] .workflow-intro,html[data-theme="light"] .workflow-heading small,html[data-theme="light"] .workflow-micro,html[data-theme="light"] .workflow-custom{color:#536c80}
@media(max-width:1010px){
  .workflow-journey{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .workflow-stage{min-height:125px}
  .needs-main{grid-template-columns:minmax(0,1fr) minmax(268px,300px);gap:21px}
  .workflow-intro{margin-bottom:12px}
}
@media(max-width:730px){
  .needs-main{grid-template-columns:1fr;gap:18px;padding:18px 0}
  .needs-build h1{font-size:clamp(30px,7vw,40px);margin:8px 0 5px}
  .workflow-journey{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:14px;gap:7px}
  .workflow-stage{min-height:0;padding:10px}
  .workflow-stage--start,.workflow-stage--languages{grid-column:1/-1}
  .workflow-kinds{grid-template-columns:repeat(4,minmax(0,1fr))}
  .workflow-kind{min-height:28px}
  .workflow-head{margin-bottom:9px}
  .workflow-tags{gap:4px}
  .workflow-tags span{font-size:9px}
  .workflow-micro{margin:10px 0 5px}
  .needs-login{margin-bottom:6px}
}
@media(max-width:380px){
  .workflow-tags span{font-size:8.5px;padding:3px 4px}
  .workflow-stage{padding:9px 7px}
  .workflow-heading strong{font-size:11px}
  .workflow-destination{font-size:9px}
}
@media(max-height:670px) and (min-width:1011px){
  .workflow-journey{margin-bottom:12px}
  .workflow-stage{min-height:162px;padding:9px}
  .workflow-head{margin-bottom:8px}
  .workflow-intro{margin-bottom:9px}
  .needs-build h1{font-size:33px;margin:6px 0}
  .needs-idea-form textarea{height:54px;min-height:54px}
}

/* Project-owned sections: requests and domains live inside a selected project. */
.console{width:100%;max-width:none}
.console-main{grid-template-rows:auto minmax(0,1fr) auto}
.workspace-columns{grid-template-columns:minmax(0,1fr)}
.project-context{display:flex;align-items:center;gap:13px;min-height:15px;color:var(--muted);font-size:10px}
.project-context[hidden],.project-tabs[hidden]{display:none!important}
.project-context .text-button{color:var(--mint);padding:0}
.project-context-name{overflow:hidden;text-overflow:ellipsis}
.project-tabs{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-left:auto}
.project-tab{padding:7px 11px;border:1px solid transparent;border-radius:7px;color:var(--muted);font-size:10px;white-space:nowrap}
.project-tab:hover,.project-tab.current{color:var(--mint);border-color:var(--line2);background:rgba(121,244,211,.07)}
.project-overview{padding:17px;display:grid;grid-template-columns:minmax(0,1fr) minmax(225px,.7fr);gap:18px;align-items:start}
.project-overview .detail{padding:13px 3px}
.project-overview-actions{display:grid;gap:15px;align-content:start;background:rgba(255,255,255,.025);border:1px solid var(--line);border-radius:10px;padding:18px}
.project-action-buttons{display:flex;flex-wrap:wrap;gap:9px}
.project-overview-note{font-size:11px;line-height:1.7;color:var(--muted);margin:0}
html[data-theme="light"] .project-overview-actions{background:#f6fafc;border-color:#d7e4ed}
html[data-theme="light"] .project-tab.current,html[data-theme="light"] .project-tab:hover{background:#e8f5f1;border-color:#accfc6;color:#08776e}
@media(max-width:730px){
 .console-main{grid-template-rows:none}
 .surface-head{height:auto;flex-wrap:wrap;padding:9px 12px;gap:8px}
 .project-tabs{width:100%;justify-content:space-between;margin-left:0;gap:3px}
 .project-tab{padding:7px 6px;font-size:9px}
 .project-overview{grid-template-columns:1fr;gap:10px;padding:11px}
 .project-overview-actions{padding:12px}
 .project-context{flex-wrap:wrap;gap:5px}
}
/* Private project homepage thumbnails. */
.project-row{padding:9px 11px;gap:12px;transition:background .2s,border-color .2s}
.project-row-link{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.project-row-link:hover .row-name{color:var(--mint)}
.project-thumbnail{position:relative;display:flex;flex:none;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:144px;aspect-ratio:16/9;overflow:hidden;border:1px solid var(--line2);border-radius:9px;background:linear-gradient(130deg,rgba(49,97,120,.2),rgba(13,28,42,.9));color:var(--muted)}
.project-thumbnail img{width:100%;height:100%;display:block;object-fit:cover;object-position:top center;transition:transform .35s}
.project-row:hover .project-thumbnail img{transform:scale(1.035)}
.thumbnail-glyph{font-size:24px;font-weight:300;color:var(--mint);opacity:.6;line-height:1}
.thumbnail-message{font-size:9px;text-align:center;max-width:100%;padding:0 7px;line-height:1.35}
.thumbnail-status{position:absolute;right:5px;bottom:5px;border-radius:4px;padding:3px 6px;background:#132c38dc;color:#b8f3d8;font-size:9px}
.screenshot-refresh{display:inline-flex;align-items:center;justify-content:center;min-height:31px;padding:6px 10px;flex:none;border:1px solid var(--line2);border-radius:7px;background:rgba(121,244,211,.04);color:var(--mint);font-size:10px;white-space:nowrap;transition:background .2s}
.screenshot-refresh:hover{background:rgba(121,244,211,.13);border-color:var(--mint)}
.screenshot-refresh:disabled{opacity:.5}
.project-overview .project-thumbnail.large{width:min(100%,480px);border-radius:11px;box-shadow:0 13px 35px #0002}
.project-preview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
.thumbnail-captured{font-size:10px;color:var(--muted)}
html[data-theme="light"] .project-thumbnail{background:linear-gradient(135deg,#eaf4f7,#dbe9f2);color:#537083}
html[data-theme="light"] .thumbnail-status{background:#e7f9f1ef;color:#12654d}
html[data-theme="light"] .screenshot-refresh{background:#f2fbf8;border-color:#bdddd3;color:#087d73}
html[data-theme="light"] .screenshot-refresh:hover{background:#e2f3ed}
@media(max-width:690px){
 .project-row{align-items:stretch;gap:8px;flex-wrap:wrap}
 .project-row-link{gap:10px}
 .project-thumbnail{width:104px;min-width:104px}
 .project-row .row-end{margin-left:auto}
 .project-row .row-arrow{display:none}
 .project-row .screenshot-refresh{margin-left:auto;min-height:27px;font-size:9px;padding:5px 8px}
 .project-overview .project-thumbnail.large{width:100%}
}
@media(max-width:400px){
 .project-thumbnail{width:90px;min-width:90px}
 .project-row .row-end{display:none}
 .thumbnail-glyph{font-size:18px}
 .thumbnail-message{font-size:8px}
}
/* Compact project navigation for private development and release history. */
.project-tabs{overflow-x:auto;scrollbar-width:thin;max-width:100%}
.project-tabs .project-tab{flex:0 0 auto;white-space:nowrap}

/* Subscriber custom MCP connections */
.mcp-page{display:grid;gap:12px;padding:12px}
.mcp-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(121,244,211,.035)}
.mcp-intro p{font-size:11px;line-height:1.65;color:var(--muted);margin:0;max-width:700px}
.mcp-add,.mcp-action{padding:8px 12px;font-size:10px;min-height:36px;border-radius:8px}
.mcp-connection{padding:15px 16px;border:1px solid var(--line2);border-radius:10px;background:linear-gradient(130deg,rgba(132,188,227,.05),rgba(121,244,211,.02));animation:rise .35s ease-out both;min-width:0}
.mcp-connection:hover{border-color:rgba(121,244,211,.38);box-shadow:0 0 21px rgba(121,244,211,.055)}
.mcp-heading{display:flex;justify-content:space-between;align-items:start;gap:10px}
.mcp-names{display:grid;gap:5px;min-width:0}
.mcp-sub{font-size:10px;color:var(--muted)}
.mcp-endpoint{font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin:12px 0;padding:8px 10px;border-radius:7px;background:rgba(0,0,0,.12);border:1px solid var(--line)}
.mcp-actions{display:flex;flex-wrap:wrap;gap:8px}
.mcp-error{font-size:10px;color:#ffaba8;line-height:1.5}
.mcp-tool{border-bottom:1px solid var(--line);padding:12px 0;display:grid;gap:4px}
.mcp-tool small{color:var(--muted);font-size:10px;line-height:1.5}
.badge.active,.badge.connected{background:rgba(121,244,211,.1);color:var(--mint)}
.badge.error{background:rgba(250,112,118,.12);color:#ffaba8}
.badge.not_tested{background:rgba(235,192,118,.13);color:#e1bd7a}
html[data-theme="light"] .mcp-intro{background:#eef7f7;border-color:#d1e1e7}
html[data-theme="light"] .mcp-connection{background:linear-gradient(130deg,#fff,#f3f8fc);border-color:#d9e5ed}
html[data-theme="light"] .mcp-endpoint{background:#eef3f7;border-color:#d9e5ed;color:#385268}
html[data-theme="light"] .mcp-sub,html[data-theme="light"] .mcp-intro p,html[data-theme="light"] .mcp-tool small{color:#506d7d}
@media(max-width:730px){.mcp-intro{align-items:start;flex-direction:column}.mcp-page{padding:8px}.mcp-actions{gap:5px}.mcp-action{padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.mcp-connection{animation:none}.mcp-add,.mcp-action{transition:none}}

/* Account Information: scoped layout rules. */
body[data-page="account-info"] .profile-main{display:flex;flex-direction:column;gap:18px;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding-bottom:18px;scrollbar-gutter:stable}
body[data-page="account-info"] .profile-main .main-heading{flex:none}
body[data-page="account-info"] .profile-intro{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.6}
body[data-page="account-info"] .profile-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(315px,.85fr);gap:18px;align-items:start;width:100%;min-width:0}
body[data-page="account-info"] .profile-panel{min-width:0;height:auto;border-color:var(--line2);border-radius:13px;box-shadow:0 12px 38px rgba(0,0,0,.055);animation:rise .42s ease-out both}
body[data-page="account-info"] .profile-panel:nth-child(2){animation-delay:.07s}
body[data-page="account-info"] .profile-panel .surface-head{min-height:49px;padding:0 21px}
body[data-page="account-info"] .profile-panel .surface-title h2{font-size:12px;font-weight:550}
body[data-page="account-info"] .profile-panel-body{min-width:0;padding:21px 22px 23px}
body[data-page="account-info"] .profile-identity{display:flex;align-items:center;gap:12px;padding:0 0 19px;margin:0 0 21px;border-bottom:1px solid var(--line)}
body[data-page="account-info"] .profile-avatar{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;font-size:17px;text-transform:uppercase;flex:0 0 auto}
body[data-page="account-info"] .profile-identity strong{display:block;font-size:13px;font-weight:550;line-height:1.4;overflow-wrap:anywhere}
body[data-page="account-info"] .profile-identity small{display:block;margin-top:3px;color:var(--muted);font-size:10px;line-height:1.5}
body[data-page="account-info"] .profile-form{display:grid;gap:18px}
body[data-page="account-info"] .profile-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 15px}
body[data-page="account-info"] .profile-form .field{position:relative;display:grid;align-content:start;gap:7px;min-width:0;font-size:11px;font-weight:500;color:var(--text)}
body[data-page="account-info"] .profile-form .field input{width:100%;min-width:0;height:38px;margin:0;padding:9px 11px;border:1px solid var(--line2);border-radius:8px;font-size:12px;font-weight:400;line-height:1.3;color:var(--text);background:var(--surface);transition:border-color .18s,box-shadow .18s}
body[data-page="account-info"] .profile-form .field input:focus{border-color:var(--mint);box-shadow:0 0 0 3px var(--glow)}
body[data-page="account-info"] .profile-form .field input[readonly]{background:color-mix(in srgb,var(--surface) 78%,var(--bg));cursor:default}
body[data-page="account-info"] .profile-form .field input::placeholder{color:var(--muted);opacity:.74}
body[data-page="account-info"] .profile-optional{position:absolute;right:0;top:0;font-size:10px;color:var(--muted);font-weight:400}
body[data-page="account-info"] .profile-email{grid-column:1/-1}
body[data-page="account-info"] .profile-hint{max-width:74ch;margin:0;color:var(--muted);font-size:11px;line-height:1.65}
body[data-page="account-info"] .profile-form>.pill{justify-self:start;min-height:36px;gap:8px;border-radius:8px;padding:9px 14px}
body[data-page="account-info"] .profile-form>.pill .ic{width:14px;height:14px}
body[data-page="account-info"] .profile-facts{display:grid}
body[data-page="account-info"] .profile-facts>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:11px;line-height:1.5}
body[data-page="account-info"] .profile-facts>div:first-child{padding-top:0}
body[data-page="account-info"] .profile-facts span{color:var(--muted)}
body[data-page="account-info"] .profile-facts strong{color:var(--text);text-align:right;font-size:11px;font-weight:550;overflow-wrap:anywhere}
body[data-page="account-info"] .profile-security{display:grid;grid-template-columns:35px minmax(0,1fr);gap:8px 12px;align-items:start;margin:21px 0 14px;padding:16px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--mint) 5%,var(--surface))}
body[data-page="account-info"] .profile-security-icon{display:grid;place-items:center;width:35px;height:35px;border:1px solid color-mix(in srgb,var(--mint) 22%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--mint) 10%,transparent);color:var(--mint)}
body[data-page="account-info"] .profile-security-icon .ic{width:19px;height:19px}
body[data-page="account-info"] .profile-security strong{display:block;font-size:12px;font-weight:550;line-height:1.4}
body[data-page="account-info"] .profile-security p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.6}
body[data-page="account-info"] .profile-security .pill{grid-column:2;justify-self:start;display:inline-flex;gap:7px;margin-top:3px;padding:8px 11px;font-size:10px}
body[data-page="account-info"] .profile-security .pill .ic{width:13px;height:13px}
body[data-page="account-info"] .profile-main>.form-alert{flex:none;margin:0}
body[data-page="account-info"] .profile-main .console-foot{width:100%;margin-top:auto;padding-top:14px;border-top:1px solid var(--line);flex:none}
@media(max-width:1050px){body[data-page="account-info"] .profile-grid{grid-template-columns:minmax(0,1fr)}body[data-page="account-info"] .profile-panel-body{padding:19px}}
@media(max-width:730px){body[data-page="account-info"] .profile-main{min-height:calc(100dvh - 58px);height:auto;overflow:visible;padding:18px 12px;gap:14px;scrollbar-gutter:auto}body[data-page="account-info"] .profile-grid{gap:12px}body[data-page="account-info"] .profile-panel-body{padding:16px}body[data-page="account-info"] .profile-form-grid{grid-template-columns:minmax(0,1fr);gap:14px}body[data-page="account-info"] .profile-email{grid-column:auto}body[data-page="account-info"] .profile-identity{padding-bottom:15px;margin-bottom:17px}body[data-page="account-info"] .profile-security{margin-top:16px}body[data-page="account-info"] .profile-intro{font-size:11px}}
@media(max-width:395px){body[data-page="account-info"] .profile-panel .surface-head{padding:0 15px}body[data-page="account-info"] .profile-panel-body{padding:13px}body[data-page="account-info"] .profile-security{padding:12px;gap:8px}}

/* Projects header: a subtle, actionable AI connection instruction. */
.console-top.has-ai-instruction{display:grid;grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);column-gap:14px}
.console-top.has-ai-instruction .page-location{min-width:0;overflow:hidden;white-space:nowrap}
.console-top.has-ai-instruction .top-right{justify-self:end}
.top-ai-instruction{display:inline-flex;align-items:center;justify-content:center;justify-self:center;gap:9px;max-width:100%;min-height:36px;padding:8px 15px;border:1px solid rgba(121,244,211,.3);border-radius:999px;background:rgba(121,244,211,.065);color:var(--text);font-size:11px;font-weight:500;line-height:1.25;white-space:nowrap;transition:background .18s,border-color .18s,transform .18s}
.top-ai-instruction .ic{width:14px;height:14px;color:var(--mint)}
.top-ai-instruction:hover{background:rgba(121,244,211,.14);border-color:rgba(121,244,211,.65);transform:translateY(-1px)}
.top-ai-instruction[hidden]{display:none!important}
html[data-theme="light"] .top-ai-instruction{background:#eaf7f3;color:#116e63;border-color:#b9dfd6}
html[data-theme="light"] .top-ai-instruction:hover{background:#d9f2e9;border-color:#7fc6b5}
@media(max-width:1290px){.console-top.has-ai-instruction{column-gap:8px}.top-ai-instruction{gap:6px;padding:7px 9px;font-size:10px}}
@media(max-width:1030px) and (min-width:861px){.top-ai-instruction .ic:last-child{display:none}}
@media(max-width:860px){
 .console-top.has-ai-instruction{height:88px;min-height:88px;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:32px 30px;column-gap:10px;row-gap:3px;padding-top:7px;padding-bottom:7px}
 .console-top.has-ai-instruction .page-location{grid-column:1;grid-row:1}
 .console-top.has-ai-instruction .top-right{grid-column:2;grid-row:1}
 .console-top.has-ai-instruction .top-ai-instruction{grid-column:1/-1;grid-row:2;width:100%;min-height:29px}
 .console-top.has-ai-instruction + .console-main{height:calc(100% - 88px)}
}
@media(max-width:730px){.console-top.has-ai-instruction + .console-main{height:auto;min-height:calc(100dvh - 88px)}.console-top.has-ai-instruction .page-location{max-width:none}.top-ai-instruction{font-size:9px}}
@media(max-width:390px){.top-ai-instruction{gap:5px;padding:5px 6px}.top-ai-instruction .ic:last-child{display:none}}
/* Projects workspace: responsive cards and compact view controls. */
#main-create[hidden],.project-view-switch[hidden]{display:none!important}
.surface-controls{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto}
.project-view-switch{display:inline-flex;align-items:center;gap:3px;margin-left:auto;padding:3px;border:1px solid var(--line2);border-radius:9px;background:rgba(121,244,211,.035)}
.project-view-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 12px;border:1px solid transparent;border-radius:6px;color:var(--muted);background:transparent;font-size:10px;transition:background .2s,color .2s}
.project-view-button .ic{height:14px;width:14px}
.project-view-button:hover{color:var(--text);background:rgba(121,244,211,.06)}
.project-view-button.current{color:var(--mint);background:rgba(121,244,211,.12);border-color:rgba(121,244,211,.22)}
.surface-list.project-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr));gap:15px;padding:18px;align-content:start;align-items:stretch}
.project-card{min-width:0;display:flex;flex-direction:column;padding:10px;border:1px solid var(--line2);border-radius:14px;overflow:hidden;background:linear-gradient(150deg,rgba(27,46,61,.85),rgba(11,22,34,.94));box-shadow:0 6px 25px rgba(0,0,0,.08);animation:rise .4s ease-out both;transition:transform .2s,border-color .2s,box-shadow .2s}
.project-card:nth-child(2){animation-delay:.05s}.project-card:nth-child(3){animation-delay:.1s}.project-card:nth-child(4){animation-delay:.15s}
.project-card:hover{transform:translateY(-3px);border-color:rgba(121,244,211,.47);box-shadow:0 14px 35px rgba(0,0,0,.16),0 0 22px rgba(121,244,211,.045)}
.project-card-link{display:flex;flex-direction:column;gap:12px;min-width:0}
.project-card-link:hover .project-card-name{color:var(--mint)}
.project-card .project-thumbnail{width:100%;min-width:0;aspect-ratio:16/9;border-radius:9px;border-color:var(--line2)}
.project-card:hover .project-thumbnail img{transform:scale(1.035)}
.project-card-caption{min-width:0;display:flex;flex-direction:column;gap:5px;padding:0 3px}
.project-card-kind{text-transform:uppercase;letter-spacing:.12em;font-size:9px;font-weight:600;color:var(--muted)}
.project-card-name{font-size:13px;font-weight:550;line-height:1.4;min-height:36px;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;transition:color .2s}
.project-card .project-card-host{display:block;min-width:0;max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:8px 3px 13px;padding:0;font-size:10px;color:var(--mint)}
.project-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--line);margin-top:auto;padding:10px 3px 2px;min-height:43px}
.project-card-foot .screenshot-refresh{min-height:30px;padding:6px 9px;font-size:10px}
.project-card-type{font-size:10px;color:var(--muted)}
html[data-theme="light"] .project-view-switch{background:#f4f8fb;border-color:#d8e5ed}
html[data-theme="light"] .project-view-button.current{background:#ddf3ed;color:#087b70;border-color:#b5ded5}
html[data-theme="light"] .project-card{background:linear-gradient(150deg,#fff,#f7fafc);border-color:#d6e4ed;box-shadow:0 5px 19px rgba(30,62,83,.055)}
html[data-theme="light"] .project-card:hover{border-color:#8fc8ba;box-shadow:0 12px 28px rgba(30,62,83,.12)}
/* Table mode remains readable and scrolls within the project panel on smaller screens. */
.project-table-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid var(--line);border-radius:10px}
.project-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;text-align:left}
.project-table th{position:sticky;top:0;z-index:1;padding:12px 14px;background:#152536;color:var(--muted);font-size:10px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;border-bottom:1px solid var(--line2)}
.project-table td{padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:middle;font-size:11px}
.project-table tbody tr:last-child td{border-bottom:0}
.project-table tbody tr:hover{background:rgba(121,244,211,.045)}
.project-table .project-thumbnail{width:92px;min-width:92px;border-radius:7px}
.project-table-name{display:block;min-width:155px;max-width:310px;font-size:12px;font-weight:550;line-height:1.5;overflow-wrap:anywhere}
.project-table-name:hover,.project-table-open:hover{color:var(--mint)}
.project-table-host{min-width:180px;max-width:360px;overflow-wrap:anywhere;color:var(--muted)}
.project-table-actions{white-space:nowrap}
.project-table-actions .screenshot-refresh{min-height:30px}
.project-table-open{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:7px 10px;border:1px solid var(--line2);border-radius:7px;color:var(--mint);font-size:10px}
html[data-theme="light"] .project-table-scroll{border-color:#d8e4ed}
html[data-theme="light"] .project-table th{background:#edf4f8;color:#516a7d}
html[data-theme="light"] .project-table tbody tr:hover{background:#edf8f4}
html[data-theme="light"] .project-table-open{border-color:#c6dbe3}
@media(max-width:730px){
 .surface-list.project-card-grid{padding:12px;gap:11px;grid-template-columns:repeat(auto-fill,minmax(min(100%,230px),1fr))}
 .project-card{padding:9px}
 .project-view-button{padding:6px 9px;min-height:31px}
 .project-table-scroll{border-radius:8px}
}
@media(max-width:490px){
 .surface-list.project-card-grid{grid-template-columns:minmax(0,1fr);padding:10px;gap:12px}
 .project-card-name{min-height:0}
 .project-card .project-thumbnail{aspect-ratio:16/9}
 .project-view-switch{margin-left:auto}
}
@media(prefers-reduced-motion:reduce){.project-card{animation:none;transition:none}.project-card:hover{transform:none}.project-card .project-thumbnail img{transition:none}.project-view-button{transition:none}}
/* Variables workspace refresh */
.variables-workspace{display:grid;gap:16px;width:100%;max-width:1460px;margin:0 auto;padding:20px 22px 28px;align-content:start}
.variables-workspace>*{animation:variables-reveal .3s ease both}
.variables-workspace>:nth-child(2){animation-delay:.04s}.variables-workspace>:nth-child(3){animation-delay:.08s}.variables-workspace>:nth-child(4){animation-delay:.12s}.variables-workspace>:nth-child(5){animation-delay:.16s}
@keyframes variables-reveal{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.variables-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.variables-heading-copy h3{margin:0;font-size:15px;font-weight:500;letter-spacing:-.02em;color:var(--text)}
.variables-heading-copy p{margin:5px 0 0;font-size:11px;line-height:1.5;color:var(--muted)}
.variables-add{min-height:35px;padding:8px 14px!important;border-radius:8px!important;flex:none}
.variables-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.variables-stat{display:grid;gap:10px;min-width:0;padding:14px 16px;border:1px solid var(--line);border-radius:11px;background:color-mix(in srgb,var(--surface) 90%,var(--mint) 10%);transition:transform .2s,border-color .2s}
.variables-stat:hover{transform:translateY(-2px);border-color:var(--line2)}
.variables-stat-label{font-size:10px;color:var(--muted)}.variables-stat-value{font-size:19px;line-height:1;font-weight:450;font-variant-numeric:tabular-nums}
.variables-guidance{display:flex;align-items:flex-start;gap:12px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--mint) 27%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--surface) 93%,var(--mint) 7%)}
.variables-guidance-icon,.variables-empty-icon{display:grid;place-items:center;flex:none;color:var(--mint);background:color-mix(in srgb,var(--mint) 10%,transparent);border:1px solid color-mix(in srgb,var(--mint) 25%,var(--line));border-radius:8px;width:28px;height:28px;font-size:17px}
.variables-guidance-title{display:block;font-size:11px;font-weight:500;margin:1px 0 4px}.variables-guidance-copy p{margin:0;font-size:10px;line-height:1.65;color:var(--muted)}
.variables-toolbar,.variables-filters{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.variables-toolbar{justify-content:space-between;gap:12px}.variables-search-wrap{position:relative;display:block}
.variables-search-icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);pointer-events:none;font-size:18px;color:var(--muted)}
.variables-search,.variables-filter{min-height:36px;height:36px;border:1px solid var(--line2);border-radius:8px;background:var(--surface);color:var(--text);font-size:11px;outline:none;transition:border-color .18s,box-shadow .18s}
.variables-search{width:245px;max-width:100%;padding:8px 11px 8px 33px}.variables-search::placeholder{color:var(--muted);opacity:.85}
.variables-filter{min-width:112px;padding:7px 10px;cursor:pointer}
.variables-search:focus,.variables-filter:focus{border-color:var(--mint);box-shadow:0 0 0 3px var(--glow)}
.variables-result-count{font-size:10px;color:var(--muted);white-space:nowrap}
.variables-table-wrap{overflow:hidden;border:1px solid var(--line);border-radius:11px;background:var(--surface)}
.variables-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11px;color:var(--text)}
.variables-table th{padding:12px 15px;background:color-mix(in srgb,var(--surface) 94%,var(--muted) 6%);color:var(--muted);font-size:10px;font-weight:450;text-align:left;border-bottom:1px solid var(--line)}
.variables-table th:nth-child(1){width:25%}.variables-table th:nth-child(2){width:13%}.variables-table th:nth-child(3){width:27%}.variables-table th:nth-child(4){width:15%}.variables-table th:nth-child(5){width:20%;text-align:right}
.variables-row{transition:background .18s}.variables-row:hover{background:color-mix(in srgb,var(--surface) 95%,var(--mint) 5%)}
.variables-table td{padding:14px 15px;vertical-align:middle;border-bottom:1px solid var(--line)}
.variables-table tr:last-child td{border-bottom:0}
.variables-name-icon{display:inline-grid;place-items:center;vertical-align:middle;flex:none;width:27px;height:27px;margin-right:9px;border:1px solid var(--line);border-radius:8px;background:color-mix(in srgb,var(--surface) 88%,var(--mint) 12%);color:var(--mint);font-size:15px}
.variables-name{display:inline-block;vertical-align:middle;max-width:calc(100% - 40px);font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.variables-type,.variables-ai{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid var(--line);border-radius:20px;font-size:10px;white-space:nowrap}
.variables-type:before,.variables-ai:before{content:"";width:5px;height:5px;flex:none;border-radius:50%;background:currentColor}
.variables-type.plain,.variables-ai.enabled{color:var(--mint);background:color-mix(in srgb,var(--mint) 8%,transparent);border-color:color-mix(in srgb,var(--mint) 23%,var(--line))}
.variables-type.encrypted{color:#a68be2;background:rgba(155,124,219,.1);border-color:rgba(155,124,219,.22)}.variables-ai.disabled{color:var(--muted)}
.variables-value-box{display:flex;align-items:center;gap:9px;min-width:0}.variables-value-code{display:block;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.variables-masked{color:var(--muted);font-size:15px;letter-spacing:.12em}
.variables-copy{flex:none;padding:5px 8px;border:0;border-radius:6px;color:var(--mint);background:color-mix(in srgb,var(--mint) 9%,transparent);font-size:10px;transition:background .18s}
.variables-copy:hover{background:color-mix(in srgb,var(--mint) 19%,transparent)}
.variables-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px}
.variables-action{min-height:31px;padding:6px 11px;background:var(--surface);border:1px solid var(--line2);border-radius:8px;color:var(--text);font-size:10px;transition:transform .18s,border-color .18s,background .18s}
.variables-action:hover{transform:translateY(-1px);border-color:var(--mint);background:color-mix(in srgb,var(--surface) 91%,var(--mint) 9%)}
.variables-delete:hover{color:#d36b72;border-color:#d36b72;background:rgba(211,107,114,.07)}
.variables-readonly{font-size:10px;color:var(--muted)}
.variables-empty{min-height:225px;display:grid;place-content:center;justify-items:center;gap:10px;padding:28px;text-align:center;border:1px dashed var(--line2);border-radius:11px;background:color-mix(in srgb,var(--surface) 96%,var(--muted) 4%)}
.variables-empty-icon{width:39px;height:39px;font-size:24px}.variables-empty-title{font-size:12px;font-weight:500}.variables-empty p{max-width:360px;margin:0;font-size:11px;line-height:1.55;color:var(--muted)}
.variables-form .variables-ai-field{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:15px;padding:10px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--text)}
.variables-form .variables-ai-field input[type="checkbox"]{width:16px;height:16px;min-height:0;flex:none;margin:0;accent-color:var(--mint)}
@media(max-width:1050px){
 .variables-workspace{padding:15px 12px 22px;gap:14px}.variables-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .variables-table-wrap{border:0;background:transparent;overflow:visible}.variables-table,.variables-table tbody{display:block}.variables-table thead{display:none}
 .variables-row{display:grid;gap:9px;margin-bottom:10px;padding:13px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
 .variables-table td{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0;border:0;min-width:0;text-align:right}
 .variables-table td:before{content:attr(data-label);color:var(--muted);font-size:10px;text-align:left;flex:none}
 .variables-table td.variables-cell-name{justify-content:flex-start;text-align:left;padding-bottom:8px;border-bottom:1px solid var(--line)}.variables-table td.variables-cell-name:before{display:none}
 .variables-value-box{justify-content:flex-end;max-width:65%}.variables-actions{justify-content:flex-end}
}
@media(max-width:610px){
 .variables-workspace{padding:12px 8px 22px}.variables-heading{align-items:flex-start}.variables-heading-copy{flex:1 1 180px}.variables-stat{padding:12px}
 .variables-guidance{padding:10px;gap:10px}.variables-toolbar,.variables-filters{width:100%;align-items:stretch}
 .variables-search-wrap{width:100%;flex:1 1 100%}.variables-search{width:100%}.variables-filter{flex:1}.variables-result-count{margin-left:auto}
}

/* Friend invitations and project testing, themed by existing light/dark tokens. */
.friend-row,.friend-feedback{animation:uls-friend-enter .24s ease both;transition:transform .18s ease,opacity .18s ease}
.friend-row:hover,.friend-feedback:hover{transform:translateY(-1px)}
.friend-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.friend-row .row-main{min-width:180px;flex:1}
.friend-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.friend-role{font:inherit;font-size:12px;max-width:130px;border:1px solid var(--line,rgba(120,130,145,.38));background:var(--surface);color:inherit;border-radius:7px;padding:5px 6px}
.friend-feedback{border:1px solid var(--line,rgba(120,130,145,.38));border-radius:10px;padding:12px;margin:9px 0}
.friend-feedback .detail{margin-bottom:8px}
.friend-feedback .pill{margin-top:9px}
@keyframes uls-friend-enter{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:560px){.friend-actions{width:100%}.friend-row .row-main{min-width:0}.friend-role{max-width:100%}}
@media(prefers-reduced-motion:reduce){.friend-row,.friend-feedback{animation:none;transition:none}.friend-row:hover,.friend-feedback:hover{transform:none}}

/* Project resource quotas: subscriber visibility is disabled until the admin enables it. */
.resource-visibility,.resource-environment{border:1px solid var(--line);border-radius:10px;padding:13px;margin:10px 0;animation:uls-friend-enter .24s ease both}
.resource-visibility{display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--surface)}
.resource-visibility-description{min-width:0;flex:1}
.resource-label,.resource-heading{font-size:12px;font-weight:600;color:var(--text);margin:0 0 5px}
.resource-visibility-description .modal-tip{font-size:11px;margin:4px 0 0;line-height:1.5}
.resource-switch{position:relative;flex:none;min-width:94px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:100px;font-size:11px;padding:8px 10px 8px 39px;cursor:pointer;transition:background .2s ease,border-color .2s ease}
.resource-switch:before{content:'';position:absolute;top:50%;left:9px;width:24px;height:14px;border-radius:12px;transform:translateY(-50%);background:var(--line)}
.resource-switch:after{content:'';position:absolute;top:50%;left:11px;width:10px;height:10px;border-radius:50%;transform:translateY(-50%);background:var(--surface);transition:left .2s ease}
.resource-switch.enabled:before{background:var(--mint,#2cbda0)}.resource-switch.enabled:after{left:21px}
.resource-switch:focus-visible,.resource-profile-select:focus-visible{outline:2px solid var(--mint,#2cbda0);outline-offset:2px}
.resource-switch:disabled{opacity:.65;cursor:wait}
.resource-environment{background:var(--surface)}
.resource-profile-controls{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:12px}
.resource-profile-select{font:inherit;font-size:12px;min-width:120px;max-width:210px;min-height:34px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--text);padding:5px 10px}
@media(max-width:540px){.resource-visibility{align-items:flex-start}.resource-visibility-description{max-width:70%}.resource-profile-controls{align-items:stretch;flex-direction:column}.resource-profile-select{max-width:none;width:100%}}
@media(prefers-reduced-motion:reduce){.resource-visibility,.resource-environment{animation:none}.resource-switch,.resource-switch:after{transition:none}}
