:root{--green:#1f6f43;--green-dark:#17553a;--green-light:#e6f2eb;--red:#b42318;--red-light:#fdecea;--amber:#8a5a00;--amber-light:#fff4dc;--ink:#1d2433;--muted:#5f6b7a;--line:#dde2e8;--bg:#f5f7f9;--card:#fff;--radius:10px;color:var(--ink);background:var(--bg);font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:16px;line-height:1.45}*{box-sizing:border-box}body{margin:0}h1{margin:0 0 .25rem;font-size:1.5rem}h2{margin:0 0 .5rem;font-size:1.1rem}a{color:var(--green)}p{margin:.4rem 0}.muted{color:var(--muted)}.small{font-size:.85rem}.red{color:var(--red)}.center{text-align:center;margin-top:3rem}.app{min-height:100vh;padding-bottom:72px}.local-banner{color:#6b4a00;background:#fff4dc;flex-wrap:wrap;justify-content:space-between;gap:1rem;padding:.4rem 1rem;font-size:.85rem;display:flex}.local-actions{gap:1rem;display:flex}.topbar{background:var(--green);color:#fff;flex-wrap:wrap;align-items:center;gap:1.5rem;padding:.6rem 1rem;display:flex}.brand{color:#fff;font-weight:700;text-decoration:none}.topnav{flex:1;gap:.25rem;display:flex}.topnav a{color:#e6f2eb;border-radius:6px;padding:.4rem .7rem;text-decoration:none}.topnav a.active{background:var(--green-dark);color:#fff}.who{align-items:center;gap:.8rem;font-size:.9rem;display:flex}.who .muted,.who .btn-link{color:#d4e8dc}.content{max-width:960px;margin:0 auto;padding:1rem}.bottomnav{display:none}@media (width<=760px){.topnav{display:none}.topbar{justify-content:space-between;gap:.5rem}.bottomnav{border-top:1px solid var(--line);z-index:10;background:#fff;display:flex;position:fixed;bottom:0;left:0;right:0}.bottomnav a{text-align:center;color:var(--muted);flex:1;padding:.9rem .2rem;font-size:.85rem;font-weight:600;text-decoration:none}.bottomnav a.active{color:var(--green)}.bottomnav a.bottomnav-main{color:#fff;background:var(--green)}.content{padding:.75rem}}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.75rem;display:flex}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);margin-bottom:1rem;padding:1rem}.section{margin:1.25rem 0}.section-head{justify-content:space-between;align-items:center;display:flex}.count{background:var(--line);color:var(--ink);border-radius:999px;padding:0 .5rem;font-size:.8rem;font-weight:600}.empty{color:var(--muted);font-style:italic}.btn{border:1px solid var(--line);min-height:44px;color:var(--ink);font:inherit;cursor:pointer;background:#fff;border-radius:8px;justify-content:center;align-items:center;gap:.3rem;padding:.5rem 1rem;font-weight:600;text-decoration:none;display:inline-flex}.btn:hover{border-color:var(--green)}.btn:disabled{opacity:.6;cursor:wait}.btn-primary{background:var(--green);border-color:var(--green);color:#fff}.btn-primary:hover{background:var(--green-dark)}.btn-danger{color:var(--red);border-color:#f1c4bf}.btn-small{min-height:36px;padding:.3rem .7rem;font-size:.9rem}.btn-big{min-height:52px;padding:.6rem 1.4rem;font-size:1.05rem}.btn-block{width:100%}.btn-link{color:var(--green);font:inherit;cursor:pointer;background:0 0;border:none;padding:.3rem 0;text-decoration:underline}.local-banner .btn-link{color:#6b4a00}.big-actions{flex-wrap:wrap;gap:.6rem;margin-bottom:1rem;display:flex}@media (width<=760px){.big-actions .btn{flex:1}}.stats{grid-template-columns:repeat(4,1fr);gap:.6rem;display:grid}@media (width<=760px){.stats{grid-template-columns:repeat(2,1fr)}}.stat{border:1px solid var(--line);border-radius:var(--radius);background:#fff;flex-direction:column;padding:.7rem;display:flex}.stat-num{font-size:1.6rem;font-weight:700}.stat-label{color:var(--muted);font-size:.85rem}.rows{margin:0;padding:0;list-style:none}.row{border:1px solid var(--line);border-radius:var(--radius);background:#fff;flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:.5rem;padding:.7rem .85rem;display:flex}.row-faded{opacity:.65}.row-main{flex-direction:column;flex:1;gap:.15rem;min-width:200px;display:flex}.row-title{color:var(--ink);font-weight:600;text-decoration:none}a.row-title:hover{color:var(--green);text-decoration:underline}.row-sub{color:var(--muted);font-size:.88rem}.row-meta{flex-direction:column;align-items:flex-end;min-width:90px;display:flex}.row-actions{gap:.4rem;display:flex}.status{background:var(--bg);color:var(--muted);white-space:nowrap;border-radius:999px;padding:.15rem .55rem;font-size:.85rem;font-weight:600}.status-red{background:var(--red-light);color:var(--red)}.status-amber{background:var(--amber-light);color:var(--amber)}.status-green{background:var(--green-light);color:var(--green)}.badge{white-space:nowrap;border-radius:6px;padding:.2rem .6rem;font-size:.8rem;font-weight:700}.stage-identification{color:#3c4657;background:#eef0f4}.stage-demonstration{color:#1d4ea1;background:#e8f0fd}.stage-onboarding{color:#7a5000;background:#fff4dc}.stage-training{color:#6a2c9c;background:#f3e9fb}.stage-active{background:var(--green-light);color:var(--green)}.stage-lost{background:var(--red-light);color:var(--red)}.tag{background:var(--green-light);color:var(--green);border-radius:4px;margin-left:.3rem;padding:.05rem .45rem;font-size:.75rem}.stagebar{grid-template-columns:repeat(5,1fr);gap:4px;margin-bottom:.75rem;display:grid}.stagebar-step{background:var(--bg);text-align:center;color:var(--muted);border-radius:6px;flex-direction:column;padding:.4rem;font-size:.8rem;display:flex}.stagebar-step.done{background:var(--green-light);color:var(--green)}.stagebar-step.current{background:var(--green);color:#fff;font-weight:700}.stagebar-step.lost{background:var(--red-light);color:var(--red)}.stagebar-num{font-weight:700}.stagebar-help{grid-column:1/-1;margin:.3rem 0 0}@media (width<=760px){.stagebar-label{font-size:.68rem}}.owner-take{margin-left:.6rem}.filters{grid-template-columns:2fr 1fr 1fr 1fr;gap:.5rem;margin-bottom:.6rem;display:grid}@media (width<=760px){.filters{grid-template-columns:1fr 1fr}.filters input{grid-column:1/-1}}input,select,textarea{font:inherit;background:#fff;border:1px solid #c5ccd5;border-radius:8px;width:100%;min-height:44px;padding:.6rem .7rem}input:focus,select:focus,textarea:focus{outline:2px solid var(--green);outline-offset:1px;border-color:var(--green)}.field{flex-direction:column;gap:.25rem;margin-bottom:.85rem;display:flex}.field-label{font-size:.92rem;font-weight:600}.field-hint{color:var(--muted);font-size:.8rem}.grid2{grid-template-columns:1fr 1fr;gap:0 1rem;display:grid}@media (width<=760px){.grid2{grid-template-columns:1fr}}.check{align-items:center;gap:.5rem;margin-bottom:.8rem;display:flex}.check input{width:auto;min-height:auto}.form-actions{flex-wrap:wrap;gap:.6rem;margin-top:.5rem;display:flex}.fieldset{border:1px solid var(--line);border-radius:var(--radius);margin:.8rem 0;padding:.75rem}.fieldset legend{padding:0 .3rem;font-weight:600}.inline-form{border-color:var(--green)}.inline-field{flex-direction:column;gap:.2rem;min-width:200px;display:flex}.chips{flex-wrap:wrap;gap:.4rem;display:flex}.chip{min-height:44px;font:inherit;cursor:pointer;background:#fff;border:1px solid #c5ccd5;border-radius:999px;padding:.4rem .9rem}.chip-on{background:var(--green);border-color:var(--green);color:#fff;font-weight:600}.picker{position:relative}.picker-list{border:1px solid var(--line);background:#fff;border-radius:8px;margin:.25rem 0 0;padding:0;list-style:none}.picker-list button{text-align:left;border:none;border-bottom:1px solid var(--line);width:100%;font:inherit;cursor:pointer;background:0 0;min-height:44px;padding:.7rem}.picker-list li:last-child button{border-bottom:none}.picker-list button:hover{background:var(--green-light)}.picked{border:1px solid var(--green);background:var(--green-light);border-radius:8px;justify-content:space-between;align-items:center;padding:.6rem .7rem;display:flex}.timeline{border-left:3px solid var(--line);margin:0;padding:0 0 0 .9rem;list-style:none}.timeline li{border:1px solid var(--line);border-radius:var(--radius);background:#fff;margin:0 0 .6rem;padding:.6rem .8rem;position:relative}.timeline li:before{content:"";background:var(--green);border-radius:50%;width:11px;height:11px;position:absolute;top:.9rem;left:-1.33rem}.timeline-head{color:var(--muted);margin-bottom:.2rem;font-size:.88rem}.timeline-head strong{color:var(--ink)}.contact-links{flex-wrap:wrap;gap:.3rem 1rem;font-size:.92rem;display:flex}.details{grid-template-columns:200px 1fr;gap:.35rem 1rem;margin:0 0 .75rem;display:grid}.details dt{color:var(--muted)}.details dd{word-break:break-word;margin:0}@media (width<=760px){.details{grid-template-columns:1fr}.details dd{margin-bottom:.4rem}}.error{background:var(--red-light);color:var(--red);border-radius:8px;margin:.6rem 0;padding:.6rem .8rem}.ok{background:var(--green-light);color:var(--green);border-radius:8px;padding:.6rem .8rem}.login{max-width:420px;margin:3rem auto;padding:0 1rem}.login h1{text-align:center;color:var(--green);margin-bottom:1rem}.stack{flex-direction:column;gap:.5rem;margin-top:.8rem;display:flex}
