:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c302a;background:#f4f6f2;font-synthesis:none;--green:#123c32;--muted:#65726c;--line:#dce3dc;--lime:#d1f39f}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button,.button{min-height:44px;cursor:pointer;border:1px solid var(--line);border-radius:10px;padding:10px 16px;background:white;color:var(--green);font-weight:650;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover,.button:hover{background:#e9efe7}button:disabled{opacity:.55;cursor:wait}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#235445}.muted{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(27px,3vw,38px);letter-spacing:-1.4px;margin-bottom:10px;font-weight:650}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:17px}.eyebrow{font-size:11px;font-weight:750;letter-spacing:1.6px;text-transform:uppercase;color:#648570;margin-bottom:12px}.shell{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100dvh}.sidebar{background:var(--green);color:white;padding:32px 18px;display:flex;flex-direction:column;gap:30px}.brand{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:700;line-height:1.2;letter-spacing:-.3px}.brand img{width:38px;height:38px}.sidebar .brand{padding:0 8px}.sidebar nav{display:grid;gap:8px}.sidebar nav button{justify-content:flex-start;background:transparent;border-color:transparent;color:#c6d5ca}.sidebar nav button.active{background:#2c5548;color:white}.sidebar .foot{margin-top:auto;border-top:1px solid #3a5b4d;padding:22px 8px 0;font-size:12px;color:#b9cec0;line-height:1.6}.foot strong{display:block;color:var(--lime);font-size:13px}.main{padding:28px clamp(18px,3.5vw,52px) 50px;min-width:0;max-width:1560px;width:100%;margin:auto}.topbar{display:flex;justify-content:flex-end;gap:12px;align-items:center;margin-bottom:32px;font-size:12px;color:var(--muted)}.topbar span{overflow:hidden;text-overflow:ellipsis}.topbar button{background:transparent;flex-shrink:0}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-head p{font-size:14px;line-height:1.6;color:var(--muted);margin-bottom:0}.notice{border:1px solid #e8d7aa;background:#fff7df;border-radius:12px;padding:15px 18px;font-size:13px;line-height:1.6;margin-bottom:22px;color:#755a27}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:24px}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.metric span{font-size:12px;color:var(--muted);display:block}.metric strong{font-size:32px;font-weight:600;display:block;margin:12px 0 5px;letter-spacing:-1px}.metric small{font-size:11px;color:var(--muted)}.columns{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;margin-bottom:24px}.panel{background:white;border:1px solid var(--line);padding:24px;border-radius:16px;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2{margin-bottom:6px}.panel-head p{font-size:12px;color:var(--muted)}.bars{display:grid;gap:20px;margin-top:25px}.bar-label{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px}.track{height:7px;background:#edf1eb;border-radius:10px;overflow:hidden}.fill{height:100%;background:#46775a;border-radius:10px;min-width:0}.flow{display:grid;gap:22px;margin:22px 0 0}.flow-item{display:flex;gap:14px;font-size:13px;line-height:1.5}.flow-item b{display:block;margin-bottom:3px}.flow-item span{color:var(--muted)}.step-dot{width:28px;height:28px;flex-shrink:0;border-radius:50%;background:#eef3e8;color:#48653d;display:grid;place-items:center;font-weight:700}.table{width:100%;border-collapse:collapse;font-size:13px}.table th{text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);padding:16px 10px;border-bottom:1px solid var(--line)}.table td{padding:18px 10px;border-bottom:1px solid #edf0ec;vertical-align:top}.table td small{display:block;font-size:11px;color:var(--muted);margin-top:6px;line-height:1.5}.table td strong{display:block}.badge{font-size:11px;border-radius:20px;padding:5px 9px;background:#edf1e9;color:#546751;display:inline-block;font-weight:650;max-width:100%;overflow-wrap:anywhere}.badge.green{background:#e2f4dc;color:#31632a}.badge.amber{background:#fff1cd;color:#8b6515}.badge.red{background:#fbe4df;color:#974735}.empty{text-align:center;padding:40px 16px;color:var(--muted);font-size:14px;line-height:1.7}.empty h3{color:var(--green);margin-bottom:10px}.empty svg{width:50px;height:50px;margin-bottom:14px}.empty .button,.empty button{margin-top:10px}.filter{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}.filter input{flex:1;min-width:150px}.filter select{width:auto}.integration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:18px}.integration{background:white;border:1px solid var(--line);border-radius:16px;padding:24px}.integration h3{margin:20px 0 6px;overflow-wrap:anywhere}.integration p{font-size:13px;color:var(--muted);line-height:1.5}.integration .actions{display:flex;justify-content:space-between;gap:10px;margin-top:20px}.provider{font-weight:750;font-size:13px;text-transform:capitalize}.connection{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line)}.connection strong,.connection small{display:block}.connection small{margin-top:6px;color:var(--muted)}input,select{width:100%;min-height:46px;border:1px solid #cbd5cb;border-radius:9px;background:#fff;color:var(--green);padding:12px;font-size:16px;min-width:0}input:focus,select:focus,button:focus-visible,a:focus-visible{outline:3px solid #a4c389;outline-offset:2px}label{display:block;font-size:13px;font-weight:650;margin-bottom:18px}label input,label select{margin-top:8px}label small{display:block;color:var(--muted);font-weight:400;line-height:1.5;margin-top:7px}dialog{border:0;border-radius:20px;padding:0;width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);color:var(--green);box-shadow:0 20px 100px #0b2e3030;overflow:auto}dialog::backdrop{background:#0d252c85;backdrop-filter:blur(4px)}.modal-body{padding:28px}.modal-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.modal-top .eyebrow{margin:0}.steps{display:flex;gap:6px;margin-bottom:28px}.steps span{height:4px;background:#e4eae0;flex:1;border-radius:4px}.steps span.current{background:#5f884e}.modal-body h2{font-size:25px}.modal-body>p{font-size:14px;line-height:1.6;color:var(--muted)}.modal-actions{display:flex;justify-content:space-between;gap:12px;margin-top:25px;position:sticky;bottom:-28px;padding:16px 0;background:white}.help{font-size:13px;line-height:1.7;padding:16px;background:#f2f5ed;border-radius:12px;margin-bottom:18px}.help ol{padding-left:20px;margin:0}.help a{color:var(--green)}.copy{display:flex;gap:8px;margin-bottom:20px}.copy input{font-size:12px}.qr{display:block;max-width:260px;width:100%;height:auto;margin:20px auto}.preview{border-left:3px solid #8bad70;padding:15px;background:#f1f6eb;font-size:13px;line-height:1.6;margin:14px 0;border-radius:0 12px 12px 0}.error{color:#963e2d;background:#fff0eb;border-radius:10px;padding:12px;font-size:13px;margin:12px 0}.loading{padding:60px;text-align:center;color:var(--muted)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);border-radius:12px;background:#183e31;color:white;padding:14px 22px;z-index:100;font-size:14px;box-shadow:0 5px 30px #1233;display:none}.login{min-height:100dvh;display:grid;grid-template-columns:1.1fr 1fr}.login-story{background:var(--green);color:white;padding:clamp(30px,7vw,100px);display:flex;flex-direction:column;justify-content:space-between;gap:60px}.login-story h1{font-size:clamp(38px,4.3vw,64px);font-weight:550;line-height:1.08;max-width:550px}.login-story h1 em{font-style:normal;color:var(--lime)}.login-story p{color:#b6ccbd;line-height:1.7;max-width:390px}.login-flow{display:flex;gap:8px;align-items:center;color:#cfe0c9;font-size:12px;flex-wrap:wrap}.login-flow span{border:1px solid #56705d;border-radius:20px;padding:10px 14px}.login-form{display:flex;align-items:center;justify-content:center;padding:40px}.login-card{width:100%;max-width:380px}.login-card h2{font-size:30px}.login-card p{color:var(--muted);font-size:15px;line-height:1.7}.login-card .button{width:100%;margin:18px 0 20px}.login-card small{display:block;color:var(--muted);font-size:12px;line-height:1.6}.supervision{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:540px;padding:0;overflow:hidden}.contacts{border-right:1px solid var(--line);max-height:650px;overflow:auto}.contacts button{width:100%;border:0;border-bottom:1px solid var(--line);border-radius:0;text-align:left;display:block;padding:16px}.contacts button.active{background:#e6eedf}.contacts strong,.contacts small{display:block;overflow-wrap:anywhere}.contacts small{margin-top:6px;color:var(--muted);font-size:11px}.messages{background:#eef2e9;padding:24px;max-height:650px;overflow:auto;display:flex;flex-direction:column;gap:12px}.bubble{align-self:flex-start;max-width:90%;background:white;padding:12px 15px;border-radius:12px;box-shadow:0 1px 2px #10231013;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.bubble.out{align-self:flex-end;background:#dceccf}.bubble small{display:block;color:var(--muted);font-size:10px;text-align:right;margin-top:5px}.bubble img,.bubble audio,.bubble video{max-width:100%;width:280px}.supervisor-select{max-width:550px;margin-bottom:20px}.mobile-back{display:none}svg{max-width:100%}@media(max-width:1000px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:26px 12px}.brand{font-size:14px}.columns{grid-template-columns:1fr}.metrics{gap:10px}.metric{padding:16px}.table td,.table th{padding-left:6px;padding-right:6px}.supervision{grid-template-columns:220px minmax(0,1fr)}}@media(max-width:700px){.shell{display:block}.sidebar{padding:16px 18px;gap:18px}.sidebar .brand{padding:0}.sidebar nav{display:flex;gap:5px;overflow:auto}.sidebar nav button{padding:10px 12px;white-space:nowrap;font-size:12px}.sidebar .foot{display:none}.main{padding:18px 18px 36px}.topbar{margin-bottom:22px;justify-content:space-between}.page-head{align-items:flex-start;flex-direction:column;gap:16px}.page-head .primary{width:100%}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric strong{font-size:29px}.metric small{font-size:10px}.panel{padding:18px}.columns{gap:18px}.table,.table tbody,.table tr,.table td{display:block}.table thead{display:none}.table tr{padding:16px 0;border-bottom:1px solid var(--line)}.table td{border:0;padding:5px 0}.table td:first-child{margin-bottom:3px}.table td small{margin-top:3px}.table td:last-child{margin-top:4px}.modal-body{padding:22px}.modal-actions{bottom:-22px}.login{grid-template-columns:1fr}.login-story{padding:28px;gap:36px}.login-story h1{font-size:38px;margin-bottom:20px}.login-story p{margin-bottom:0}.login-flow{display:none}.login-form{padding:34px 28px}.login-card{max-width:none}.login-card h2{font-size:26px}.supervision{display:block;padding:0}.contacts{border-right:0;max-height:460px}.messages{display:none;max-height:65dvh;padding:18px}.supervision.selected .contacts{display:none}.supervision.selected .messages{display:flex}.mobile-back{display:inline-flex;margin-bottom:12px}.copy{flex-wrap:wrap}.copy input{flex:1;min-width:200px}.connection{align-items:flex-start;flex-wrap:wrap}.connection button{width:100%}.filter input,.filter select{width:100%}.filter{display:grid}.bubble{max-width:95%}}

@media(max-width:400px){.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.sidebar nav button{justify-content:center}}

.connection-info{min-width:0;flex:1;overflow-wrap:anywhere}.connection-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px 18px;margin-top:14px;font-size:12px;color:#62766c}.connection-stats b{font-weight:600}.connection-attention{color:#9c5125!important;font-weight:600}@media(max-width:600px){.connection{flex-wrap:wrap;align-items:flex-start}.connection-info{flex-basis:100%}.connection-stats{grid-template-columns:minmax(0,1fr)}}

#login-form{display:grid;gap:18px;margin-top:24px}#login-form label{display:grid;gap:8px;font-size:14px;font-weight:600}#login-form input{width:100%;min-height:48px;font-size:16px}#login-form button{width:100%;min-height:48px}#login-form [hidden]{display:none}
