:root{--green:#173f35;--green2:#225848;--lime:#dcf0a4;--bg:#f5f6f2;--paper:#fff;--ink:#20382f;--muted:#758078;--line:#e3e8e0;--orange:#b97c28;--red:#af4943;--radius:18px;font-family:Inter,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 20px;display:flex;flex-direction:column;position:fixed;width:240px;inset:0 auto 0 0;z-index:10}.brand{display:flex;align-items:center;gap:10px;padding:0 10px 36px}.brand-mark{width:40px;height:40px;display:grid;place-items:center;background:var(--green);color:var(--lime);border-radius:12px;font-size:33px;font-weight:500;line-height:1}.brand-name{font-size:29px;letter-spacing:-1.5px;font-weight:650}.brand-sub{font-size:10px;letter-spacing:1.9px;color:var(--muted);text-transform:uppercase;margin-top:-1px}.nav-label{font-size:10px;letter-spacing:1.5px;color:#8d968f;padding:0 14px;margin:13px 0;text-transform:uppercase;font-weight:650}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:12px;border:0;border-radius:10px;padding:13px 14px;background:transparent;color:#67746c;text-align:left;font-size:14px;font-weight:550}.nav button:hover{background:#f5f7f2}.nav button.active{background:#eaf0e3;color:var(--green)}.nav .count{margin-left:auto;font-size:11px;background:#dce8d1;padding:2px 7px;border-radius:6px}.side-bottom{margin-top:auto}.workspace-card{margin:25px 0;padding:17px;background:#f7f8f4;border:1px solid var(--line);border-radius:12px;font-size:12px;line-height:1.7}.dot{display:inline-block;width:7px;height:7px;background:#70a17b;border-radius:50%;margin-right:5px}.profile{border-top:1px solid var(--line);padding:20px 8px 0;display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#f0e9dc;color:#8b7653;font-size:12px;font-weight:700}.profile strong{font-size:12px;display:block}.profile small{font-size:11px;color:var(--muted)}.logout{margin-left:auto;border:0;background:transparent;color:var(--muted);padding:6px}.main{grid-column:2;min-width:0}.topbar{height:78px;background:#ffffffbd;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;gap:20px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;gap:10px;align-items:center}.breadcrumb strong{font-weight:500;color:#425349}.top-actions{display:flex;align-items:center;gap:15px}.pill{font-size:11px;border:1px solid var(--line);border-radius:20px;padding:7px 11px;white-space:nowrap}.content{max-width:1500px;margin:auto;padding:35px 42px 60px}.eyebrow{font-size:10px;letter-spacing:1.8px;text-transform:uppercase;font-weight:650;color:var(--muted);margin:0 0 12px}.heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:28px}h1{font-size:30px;line-height:1.2;letter-spacing:-1px;font-weight:600;margin:0 0 10px}h2{font-size:18px;font-weight:600;letter-spacing:-.4px;margin:0}h3{font-size:15px;font-weight:600;margin:0 0 8px}p{line-height:1.6}.subtitle{font-size:13px;color:var(--muted);margin:0;max-width:650px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);padding:11px 16px;border-radius:9px;background:#fff;color:var(--green);font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}.btn:hover{background:#f0f4eb;text-decoration:none}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover{background:var(--green2)}.btn.lime{background:var(--lime);border-color:var(--lime);color:var(--green)}.btn.small{font-size:11px;padding:8px 11px}.btn.ghost{border-color:transparent;background:transparent}.btn.danger{color:var(--red)}.hero{position:relative;overflow:hidden;border-radius:var(--radius);background:var(--green);color:white;padding:30px 34px;min-height:204px;display:flex;align-items:center;margin-bottom:25px}.hero-content{position:relative;z-index:1;max-width:62%}.hero .eyebrow{color:#b3caab}.hero h2{font-size:26px;line-height:1.3;font-weight:500;letter-spacing:-.7px}.hero p{font-size:12px;line-height:1.7;color:#c0d0c4;max-width:450px;margin:10px 0 20px}.hero-art{position:absolute;right:0;top:0;width:45%;height:100%;opacity:.6}.hero-art svg{width:100%;height:100%}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:34px}.stat{background:white;border:1px solid var(--line);border-radius:13px;padding:18px 20px}.stat-label{font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between}.stat-label .icon{width:17px;height:17px;color:#7b8f76}.stat strong{display:block;font-size:27px;letter-spacing:-1px;font-weight:550;margin:9px 0 4px}.stat small{font-size:10px;color:#929b94}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:18px}.section-head h2{font-size:17px}.search{position:relative;display:flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:9px;background:white;padding:0 12px}.search input{border:0;background:transparent;padding:10px 0;font-size:12px;max-width:210px;outline:none}.search .icon{width:16px;color:#8d988e}.city-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.city-card{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;transition:box-shadow .15s,border-color .15s}.city-card:hover{border-color:#b6c8a7;box-shadow:0 7px 20px #173f3508}.city-map{height:104px;position:relative;background:#edf1e7;overflow:hidden}.city-map svg{position:absolute;width:100%;height:100%;opacity:.65}.city-map .badge{position:absolute;right:13px;top:13px;background:#fffef8e8}.city-info{padding:19px}.city-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.city-title h3{font-size:18px;margin:0;letter-spacing:-.4px}.city-info p{font-size:11px;color:var(--muted);margin:5px 0 20px}.city-metrics{display:flex;gap:22px;font-size:10px;color:var(--muted);padding-bottom:17px;border-bottom:1px solid var(--line)}.city-metrics strong{display:block;font-size:15px;color:var(--ink);margin-bottom:5px;font-weight:550}.city-footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px;color:var(--muted);font-size:10px}.city-footer button{border:0;background:transparent;color:var(--green);display:flex;gap:5px;align-items:center;font-size:11px;font-weight:600}.city-footer .icon{width:14px}.add-city{min-height:290px;border:1px dashed #cbd5c2;border-radius:15px;background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--green);gap:12px}.add-city:hover{background:#edf2e6}.add-city .plus-circle{width:42px;height:42px;display:grid;place-items:center;border:1px solid #cedac3;border-radius:50%;background:#fff}.add-city strong{font-size:13px;font-weight:550}.add-city small{color:var(--muted);font-size:11px}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:5px 7px;font-size:9px;letter-spacing:.2px;background:#eef2e9;color:#647b53;white-space:nowrap}.badge.running,.badge.queued{background:#e9effb;color:#4d70a6}.badge.needs_action,.badge.paused{background:#fbf2df;color:#9a7025}.badge.failed{background:#fbecea;color:#ae514a}.badge.completed{background:#e7f2e8;color:#39714c}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-bottom:25px;overflow:auto}.tabs button{padding:12px 0 14px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:12px;white-space:nowrap}.tabs button.active{border-bottom-color:var(--green);color:var(--green);font-weight:600}.panel{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;margin-bottom:18px}.panel p{font-size:12px;color:var(--muted)}.split{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,1fr);gap:20px}.phase-list{display:grid;gap:12px}.phase{display:grid;grid-template-columns:38px minmax(0,1fr) auto;gap:16px;background:white;border:1px solid var(--line);border-radius:12px;padding:20px;align-items:start}.phase-number{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#f1f4eb;color:#6d825b;font-size:12px}.phase h3{font-size:13px;margin:2px 0 7px}.phase p{font-size:11px;color:var(--muted);line-height:1.6;margin:0 0 9px}.phase-actions{display:flex;gap:5px}.phase-links{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.phase-links a{font-size:10px;background:#f3f6ee;padding:6px 8px;border-radius:5px}.text-button{border:0;background:none;color:var(--green);font-size:11px;padding:4px 0;text-align:left}.info-list{display:grid;gap:17px}.info-list .row{display:flex;gap:12px;font-size:12px;align-items:flex-start}.info-list .row .icon{color:#8c9d80;width:17px}.info-list strong{display:block;font-weight:500;margin-bottom:3px}.info-list small{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.empty{text-align:center;padding:48px 20px;background:white;border:1px solid var(--line);border-radius:14px}.empty .icon{width:33px;height:33px;color:#9aa98c;margin-bottom:15px}.empty h3{font-size:16px}.empty p{font-size:12px;color:var(--muted);max-width:420px;margin:10px auto 22px}.source-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:14px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line)}.source-row:last-child{border:0}.source-icon{width:38px;height:38px;background:#eef3e6;border-radius:10px;display:grid;place-items:center;color:#71865a}.source-row h3{font-size:13px;margin:0 0 5px}.source-row a{font-size:11px;color:var(--muted);overflow-wrap:anywhere}.source-actions{display:flex;gap:5px}.notice{padding:14px 17px;background:#f0f4e8;border:1px solid #e2e9d5;border-radius:10px;color:#687b51;font-size:11px;line-height:1.7;margin-bottom:18px}.notice.warning{background:#fff8e9;border-color:#f0e3c5;color:#947337}.powers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.power{padding:23px;background:white;border:1px solid var(--line);border-radius:14px;position:relative}.power .source-icon{margin-bottom:18px}.power h3{font-size:14px}.power p{font-size:11px;color:var(--muted);line-height:1.7;min-height:52px}.power-top{display:flex;justify-content:space-between;gap:10px}.toggle{position:relative;width:36px;height:21px}.toggle input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;z-index:1}.toggle span{display:block;border-radius:15px;width:36px;height:21px;background:#dfe5dc}.toggle span:after{content:'';position:absolute;top:3px;left:3px;width:15px;height:15px;background:white;border-radius:50%;transition:transform .15s}.toggle input:checked+span{background:var(--green)}.toggle input:checked+span:after{transform:translateX(15px)}.toggle input:focus-visible+span{outline:2px solid var(--green);outline-offset:3px}.run{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:14px;overflow:hidden}.run-head{padding:19px 21px;display:flex;align-items:center;justify-content:space-between;gap:15px}.run h3{font-size:13px;margin-bottom:7px}.run small{font-size:10px;color:var(--muted)}.run-body{padding:0 21px 20px}.run summary{font-size:11px;cursor:pointer;color:var(--green);padding:9px 0}.run pre,.result{white-space:pre-wrap;overflow-wrap:anywhere;max-height:450px;overflow:auto;background:#f5f7f1;border-radius:8px;padding:15px;font-size:11px;line-height:1.7;color:#50634e}.run progress{width:100%;height:5px;accent-color:var(--green)}.log{list-style:none;padding:0;font-size:10px;color:var(--muted);line-height:1.8}.log time{margin-right:10px;color:#94a18d}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px;background:#fff}table{border-collapse:collapse;width:100%;font-size:11px}th{text-align:left;background:#f2f5ec;font-weight:550;color:#65765b;padding:14px 16px;white-space:nowrap}td{padding:14px 16px;border-top:1px solid var(--line);max-width:300px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#59685b}.pager{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:15px}.assistant-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px}.chat-box{background:white;border:1px solid var(--line);border-radius:14px;overflow:hidden}.chat-header{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:19px 23px}.chat-header .source-icon{background:var(--green);color:var(--lime)}.chat-header h3{margin:0;font-size:13px}.chat-header small{color:var(--muted);font-size:10px}.messages{min-height:330px;max-height:570px;overflow:auto;padding:24px;display:flex;flex-direction:column;gap:18px}.message{max-width:92%;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;padding:15px 18px;border-radius:12px;background:#f2f5ed;align-self:flex-start}.message.user{align-self:flex-end;background:var(--green);color:#fff}.message-meta{font-size:9px;text-transform:uppercase;letter-spacing:1px;margin-bottom:7px;opacity:.7}.chat-welcome{margin:auto;text-align:center;max-width:380px}.chat-welcome .icon{color:#77915f;width:35px;height:35px;margin-bottom:15px}.chat-welcome h3{font-size:19px;letter-spacing:-.5px}.chat-welcome p{font-size:12px;color:var(--muted)}.chat-form{padding:15px;border-top:1px solid var(--line);display:flex;gap:10px}.chat-form textarea{border:0;resize:vertical;min-height:45px;max-height:150px;flex:1;padding:10px;background:#f6f7f3;border-radius:8px;font-size:12px}.suggestion{width:100%;display:block;border:1px solid var(--line);padding:13px;background:white;text-align:left;font-size:11px;line-height:1.6;color:#617455;border-radius:9px;margin-top:10px}.suggestion:hover{background:#f0f4e9}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;min-width:0}.form-grid .field{margin-bottom:0}.field.full{grid-column:1/-1}.field label{font-size:11px;font-weight:600;color:#50634e}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #dce3d6;border-radius:8px;background:white;color:var(--ink);font-size:12px;line-height:1.5}.field textarea{min-height:100px;resize:vertical}.field .code-input{font-family:Consolas,monospace;font-size:11px}.field small{font-size:10px;color:var(--muted);line-height:1.6}.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid #d9e6c8;border-color:#8ba577}.form-section{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:24px 0 15px;border-top:1px solid var(--line);padding-top:20px}.field-error{color:var(--red);font-size:11px;line-height:1.6;min-height:18px}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.check-row{display:flex;align-items:center;gap:8px;font-size:12px}.check-row input{accent-color:var(--green)}dialog{width:min(660px,calc(100% - 30px));border:1px solid var(--line);border-radius:18px;padding:0;box-shadow:0 25px 100px #0e2d2630;color:var(--ink);max-height:90vh}dialog::backdrop{background:#0d271c66;backdrop-filter:blur(3px)}.modal-header{padding:25px 28px 20px;display:flex;align-items:flex-start;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line)}.modal-header h2{font-size:21px}.modal-header p{font-size:11px;color:var(--muted);margin:7px 0 0}.modal-header .close{border:0;background:#f3f5ef;border-radius:50%;width:28px;height:28px;color:#6d7e63;font-size:20px}.modal-body{padding:24px 28px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.login-visual{background:var(--green);color:white;position:relative;overflow:hidden;padding:50px;display:flex;flex-direction:column;justify-content:space-between}.login-visual .brand{padding:0}.login-visual .brand-mark{background:var(--lime);color:var(--green)}.login-visual .brand-sub{color:#aabdac}.login-copy{position:relative;z-index:1;max-width:440px}.login-copy h1{font-size:45px;line-height:1.15;letter-spacing:-1.8px;font-weight:450}.login-copy p{font-size:14px;color:#bfd0c2;line-height:1.8}.login-art{position:absolute;inset:20% -30% -20% -20%;opacity:.2}.login-art svg{width:100%;height:100%}.login-visual small{font-size:10px;color:#9cb6a1;position:relative}.login-form{display:flex;align-items:center;justify-content:center;padding:35px}.login-form form{width:100%;max-width:350px}.login-form h2{font-size:27px;margin-bottom:10px}.login-form p{font-size:12px;color:var(--muted);margin-bottom:30px}.login-form .btn{width:100%;margin-top:10px}.login-form .eyebrow{margin-bottom:20px}.boot{min-height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--muted);font-size:13px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:100;background:var(--green);color:white;border-radius:10px;padding:13px 22px;box-shadow:0 6px 30px #173f3520;font-size:12px;max-width:min(600px,90vw);display:none}#toast.visible{display:block}.muted{color:var(--muted)}.mt{margin-top:22px}.back{display:flex;gap:7px;align-items:center;border:0;background:none;padding:0;color:var(--muted);font-size:11px;margin-bottom:20px}.back .icon{width:15px}.inline-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.subtle{font-size:10px;color:var(--muted)}.mobile-brand{display:none}.blank-link{color:var(--muted);font-size:11px}details .result{margin:0 0 12px}details details{margin-left:10px}.report-fields{display:grid;gap:7px}.report-field{display:flex;justify-content:space-between;background:#f5f7f1;padding:10px 12px;border-radius:6px;font-size:11px}.limit-width{max-width:760px}.repo{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:18px 0;border-bottom:1px solid var(--line)}.repo:last-child{border:0}.repo p{font-size:11px;margin:5px 0}.repo a{font-size:11px}.phase.disabled{opacity:.55}
@media(min-width:1550px){.content{padding-top:45px}.hero{min-height:220px}.city-map{height:120px}}
@media(max-width:1150px){.sidebar{width:205px;padding:28px 15px}.shell{grid-template-columns:205px minmax(0,1fr)}.content{padding:28px 27px}.topbar{padding:0 27px}.city-grid,.powers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:1fr}.assistant-layout{grid-template-columns:1fr}.assistant-aside{display:none}.hero-content{max-width:72%}.phase-actions{flex-direction:column}}
@media(max-width:760px){.shell{display:block}.sidebar{position:static;width:auto;padding:15px 18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{padding:0 0 15px}.brand-mark{width:32px;height:32px;font-size:26px}.brand-name{font-size:25px}.brand-sub{font-size:8px}.nav-label,.side-bottom{display:none}.nav{display:flex;overflow:auto;gap:3px}.nav button{padding:10px;font-size:11px;gap:7px;white-space:nowrap}.nav .icon{width:16px}.nav .count{display:none}.topbar{height:55px;padding:0 20px}.topbar .pill{font-size:9px;padding:5px 8px}.content{padding:24px 20px 45px}h1{font-size:25px}.heading-row{gap:10px;margin-bottom:23px}.heading-row>.btn{font-size:10px;padding:10px}.hero{padding:25px;min-height:210px}.hero h2{font-size:22px}.hero-content{max-width:85%}.hero-art{width:65%;opacity:.3}.stats{grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:25px}.stat{padding:15px}.stat strong{font-size:24px}.city-grid,.powers-grid{grid-template-columns:1fr}.city-map{height:95px}.section-head{flex-wrap:wrap}.search{flex:1}.search input{width:100%;max-width:none}.phase{padding:15px;gap:10px;grid-template-columns:30px minmax(0,1fr)}.phase-number{width:28px;height:28px;font-size:10px}.phase-actions{grid-column:2;flex-direction:row;justify-content:flex-end}.panel{padding:20px}.source-row{grid-template-columns:32px minmax(0,1fr);gap:10px}.source-actions{grid-column:2}.source-icon{width:32px;height:32px}.tabs{gap:20px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.modal-header{padding:22px}.modal-body{padding:22px}.login{grid-template-columns:1fr}.login-visual{padding:25px;min-height:230px}.login-copy h1{font-size:29px;margin:20px 0 10px}.login-copy p{font-size:11px;margin:0}.login-visual>small{display:none}.login-form{padding:35px 25px}.login-form h2{font-size:24px}.run-head{align-items:flex-start}.run-head .inline-actions{justify-content:flex-end}.chat-form .btn{padding:10px}.messages{padding:17px}.message{max-width:100%}}
