:root{--navy:#172438;--navy-deep:#0f1a2b;--soft-white:#f5f7fa;--green:#16865e;--mint:#a3e6c4;--grey:#e8edf3;--white:#fff;--text:#172438;--muted:#5b6b7f;--border:#dbe2ec;--amber-bg:#fff7e6;--amber-border:#f0c46c;--amber-text:#7a5410;--radius:12px;--sidebar-width:272px;--font:"Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100%;margin:0}body{font-family:var(--font);background:var(--soft-white);color:var(--text);font-size:15px;line-height:1.55}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3{margin:0;line-height:1.25}.app-shell{min-height:100vh;display:flex}.sidebar{width:var(--sidebar-width);background:var(--navy);color:#e8edf3;flex-direction:column;flex-shrink:0;height:100vh;display:flex;position:sticky;top:0;overflow-y:auto}.sidebar-brand{align-items:center;gap:12px;padding:20px 20px 16px;display:flex}.sidebar-brand-logo{object-fit:cover;border-radius:10px;flex-shrink:0;width:40px;height:40px}.sidebar-brand-text{flex-direction:column;display:flex}.sidebar-brand-text strong{color:var(--white);letter-spacing:.04em;font-size:16px}.sidebar-brand-text small{color:var(--mint);font-size:12px}.sidebar-founder{background:var(--navy-deep);border-radius:var(--radius);border:1px solid #ffffff1f;align-items:center;gap:12px;margin:0 16px 16px;padding:12px;display:flex}.sidebar-founder-avatar{background:var(--mint);width:40px;height:40px;color:var(--navy);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-weight:800;display:flex}.sidebar-founder-text{flex-direction:column;display:flex}.sidebar-founder-text strong{color:var(--white);font-size:14px}.sidebar-founder-text small{color:#b9c4d3;font-size:12px}.sidebar-nav{flex:1;padding:0 12px 16px}.nav-group{margin-bottom:18px}.nav-group-title{letter-spacing:.12em;text-transform:uppercase;color:#8fa0b5;margin:0 8px 6px;font-size:11px;font-weight:700}.nav-group ul{margin:0;padding:0;list-style:none}.nav-link{color:#d5dde8;border-radius:8px;padding:9px 12px;font-size:14px;font-weight:500;display:block}.nav-link:hover{color:var(--white);background:#ffffff14;text-decoration:none}.nav-link-active{background:var(--green);color:var(--white)}.nav-link-active:hover{background:var(--green)}.sidebar-foot{color:#8fa0b5;border-top:1px solid #ffffff1f;margin:0;padding:14px 20px;font-size:12px}.main{flex-direction:column;flex:1;min-width:0;display:flex}.topbar{background:var(--white);border-bottom:1px solid var(--border);z-index:10;align-items:center;gap:12px;padding:14px 28px;display:flex;position:sticky;top:0}.topbar-title{white-space:nowrap;text-overflow:ellipsis;flex:1;min-width:0;font-size:15px;font-weight:700;overflow:hidden}.menu-button{border:1px solid var(--border);background:var(--white);cursor:pointer;color:var(--text);border-radius:8px;padding:8px 11px;font-size:18px;line-height:1;display:none}.connection-badge{background:var(--amber-bg);border:1px solid var(--amber-border);color:var(--amber-text);border-radius:999px;flex-shrink:0;padding:6px 10px;font-size:12px;font-weight:600}.connection-badge-ok{border-color:var(--mint);color:var(--green);background:#e6f4ee}.content{width:100%;max-width:1080px;margin:0 auto;padding:28px}.page-header{margin-bottom:24px}.page-header h1{font-size:26px;font-weight:800}.page-header p{color:var(--muted);max-width:720px;margin:8px 0 0}.card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:20px}.card+.card{margin-top:16px}.card h2{margin-bottom:4px;font-size:17px;font-weight:700}.card h3{font-size:15px;font-weight:700}.card>p{color:var(--muted);margin:8px 0 0}.section{margin-top:28px}.section>h2{margin-bottom:12px;font-size:18px;font-weight:700}.grid{gap:16px;display:grid}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.kpi-card{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);padding:18px}.kpi-label{color:var(--muted);margin:0;font-size:13px;font-weight:600}.kpi-value{color:var(--text);margin:10px 0 4px;font-size:30px;font-weight:800}.kpi-note{color:var(--muted);margin:0;font-size:12px}.empty-state{text-align:center;border:1px dashed var(--border);border-radius:var(--radius);background:var(--soft-white);padding:36px 20px}.card .empty-state{margin-top:16px}.empty-state-icon{background:var(--grey);width:48px;height:48px;color:var(--muted);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 12px;font-size:22px;font-weight:700;display:flex}.empty-state-title{margin:0;font-size:15px;font-weight:700}.empty-state-text{max-width:480px;color:var(--muted);margin:6px auto 0;font-size:14px}.notice{border-radius:var(--radius);background:var(--amber-bg);border:1px solid var(--amber-border);color:var(--amber-text);margin-bottom:20px;padding:14px 16px;font-size:14px}.notice strong{margin-bottom:2px;display:block}.notice-info{color:#274b6d;background:#eaf3fb;border-color:#a9cbe8}.status-badge{background:var(--grey);color:var(--muted);white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-block}.status-badge-warn{background:var(--amber-bg);border:1px solid var(--amber-border);color:var(--amber-text)}.status-badge-ok{color:var(--green);background:#e6f4ee}.list{margin:0;padding:0;list-style:none}.list-row{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:14px 4px;display:flex}.list-row:last-child{border-bottom:none}.list-row-main strong{font-size:14px;display:block}.list-row-main small{color:var(--muted);font-size:13px}.list-row-reply{flex-direction:column;align-items:flex-start}.chat-reply-text{white-space:pre-wrap;word-break:break-word;font-size:14px;font-weight:400;line-height:1.6;display:block}.list-time{color:var(--green);white-space:nowrap;font-size:14px;font-weight:800}.chip-row{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.chip{border:1px solid var(--border);background:var(--white);color:var(--text);font-family:var(--font);cursor:pointer;border-radius:999px;padding:7px 14px;font-size:13px;font-weight:600}.chip:hover{border-color:var(--green)}.chip-active{background:var(--navy);border-color:var(--navy);color:var(--white)}.chat-box{flex-direction:column;min-height:320px;display:flex}.chat-input-row{gap:10px;margin-top:16px;display:flex}.chat-input{border:1px solid var(--border);min-width:0;font-family:var(--font);background:var(--soft-white);color:var(--muted);border-radius:10px;flex:1;padding:12px 14px;font-size:14px}.button{font-family:var(--font);background:var(--green);color:var(--white);cursor:pointer;border:none;border-radius:10px;padding:12px 20px;font-size:14px;font-weight:700}.button:disabled{background:var(--grey);color:var(--muted);cursor:not-allowed}.button-ghost{border:1px solid var(--border);color:var(--muted);background:0 0}.button-ghost:disabled{background:0 0}.list-row-actions{flex-shrink:0;gap:8px;display:flex}.list-row-actions .button{padding:8px 14px}.form-row{flex-direction:column;gap:6px;max-width:420px;margin-bottom:14px;display:flex}.form-label{font-size:13px;font-weight:700}.form-input{border:1px solid var(--border);font-family:var(--font);background:var(--white);color:var(--text);border-radius:10px;padding:12px 14px;font-size:14px}.form-input:focus{outline:2px solid var(--green);outline-offset:1px}.form-error{color:#9b2c2c;margin:0 0 14px;font-size:14px}.qr-box{background:var(--white);border:1px solid var(--border);border-radius:var(--radius);margin:16px 0;padding:12px;display:inline-block}.qr-box svg{width:200px;height:200px;display:block}.mono{word-break:break-all;font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:13px}@media (width<=900px){.grid-4,.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.sidebar{z-index:50;transition:transform .2s;position:fixed;top:0;bottom:0;left:0;transform:translate(-100%);box-shadow:0 0 40px #0000004d}.sidebar-open{transform:translate(0)}.menu-button{display:block}.content{padding:20px 16px}.topbar{padding:12px 16px}.grid-2,.grid-3,.grid-4{grid-template-columns:minmax(0,1fr)}.page-header h1{font-size:22px}}
