*{margin:0;padding:0;box-sizing:border-box}body{font-family:Segoe UI,Tahoma,Geneva,Verdana,sans-serif;line-height:1.6;color:#333}::-webkit-scrollbar{width:12px}::-webkit-scrollbar-track{background:#f1f1f1;border-radius:6px}::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#1a472a,#4a7c59,#1a472a);border-radius:6px;border:2px solid #8B4513}::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#0f2e1a,#1a472a,#0f2e1a)}button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #0000004d!important}input,select,textarea{border:2px solid #8B4513;border-radius:6px;padding:10px;font-size:16px;transition:all .3s ease}input:focus,select:focus,textarea:focus{outline:none;border-color:#1a472a;box-shadow:0 0 8px #1a472a4d}.card{background:#fff;border-radius:8px;padding:20px;margin-bottom:15px;box-shadow:0 4px 12px #0000001a;border:1px solid #e0e0e0;transition:all .3s ease}.card:hover{transform:translateY(-2px);box-shadow:0 6px 20px #00000026}.status-badge{padding:6px 12px;border-radius:20px;font-size:.85rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.status-scheduled{background:linear-gradient(45deg,#6c757d,#495057);color:#fff}.status-completed,.status-won{background:linear-gradient(45deg,#28a745,#20c997);color:#fff}.status-lost{background:linear-gradient(45deg,#dc3545,#c82333);color:#fff}table{width:100%;border-collapse:collapse;margin:20px 0;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 4px 12px #0000001a}th{background:linear-gradient(45deg,#1a472a,#2d5a3d);color:#fff;padding:15px;text-align:left;font-weight:700;text-transform:uppercase;letter-spacing:.5px}td{padding:12px 15px;border-bottom:1px solid #e0e0e0}tr:hover{background:#f8f9fa}.loading{display:flex;justify-content:center;align-items:center;padding:40px;color:#1a472a;font-size:1.2rem}.loading:after{content:"";width:20px;height:20px;border:3px solid #e0e0e0;border-top:3px solid #1a472a;border-radius:50%;animation:spin 1s linear infinite;margin-left:10px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error{background:linear-gradient(45deg,#dc3545,#c82333);color:#fff;padding:15px;border-radius:8px;margin:20px 0;text-align:center;font-weight:700}.success{background:linear-gradient(45deg,#28a745,#20c997);color:#fff;padding:15px;border-radius:8px;margin:20px 0;text-align:center;font-weight:700}:root{--baize: #147A3B;--baize-dark: #0f5d2d;--gold: #d4b26a;--color-bg: var(--baize);--color-border: rgba(0,0,0,.15);--color-text: #f8fff9;--color-subtle: #e2f6e8;--color-accent: var(--gold);--radius: 12px;--shadow-1: 0 8px 24px rgba(0,0,0,.25);--shadow-2: 0 12px 32px rgba(0,0,0,.35)}html,body,#root{height:100%}*{-webkit-tap-highlight-color:transparent}button,[role=button],a,input,select,textarea{outline:none}button:focus-visible,[role=button]:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 0 3px #22c55e59;border-radius:10px}.container{max-width:1200px;margin:0 auto;padding:24px}.panel{background:#fff;color:#111;border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-1)}.panel--flat{background:transparent;border:none;box-shadow:none}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 16px;border-radius:10px;border:1px solid var(--color-border);background:linear-gradient(180deg,#ffffffe6,#ffffffbf);color:#111;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.btn:hover:not(:disabled){transform:translateY(-1px);box-shadow:var(--shadow-1)}.btn-primary{background:linear-gradient(180deg,#d4b26ad9,#d4b26aa6);border-color:#d4b26abf;color:#1a1a1a}.btn-danger{background:linear-gradient(180deg,#dc3545,#c82333);border-color:#c82333;color:#fff}.list{border:1px solid var(--color-border);border-radius:var(--radius);overflow:hidden;background:#fff;box-shadow:var(--shadow-1);color:#111}.list--flat{background:transparent;box-shadow:none;border:none}.list-header,.list-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:16px;align-items:center}.list-header{padding:16px 20px;background:linear-gradient(180deg,#147a3b29,#147a3b14);border-bottom:1px solid var(--color-border);font-weight:700;letter-spacing:.3px}.list-row{padding:16px 20px;border-bottom:1px solid var(--color-border);cursor:pointer;transition:background .2s ease,transform .06s ease}.list-row:last-child{border-bottom:none}.list-row:hover{background:#f6faf7}.muted{color:var(--color-subtle)}.value{font-weight:800}.sort-indicator{color:#111;font-weight:900;margin-left:6px}.modal-overlay{position:fixed;inset:0;background:#00000059;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal{width:min(1200px,96vw);height:min(90vh,900px);background:#fff;color:#111;border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow-2);overflow:hidden;position:relative}.modal-body{overflow:auto;height:100%;padding:28px}.icon-button{background:transparent;border:none;color:var(--color-subtle);font-size:22px;cursor:pointer}.layout{display:flex;min-height:100vh;background:var(--color-bg)}.sidebar{width:280px;background:linear-gradient(180deg,#094021b3,#08361ce6);border-right:2px solid rgba(0,0,0,.2);box-shadow:var(--shadow-1);position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar-header{padding:24px 20px;border-bottom:1px solid var(--color-border)}.brand{font-weight:900;font-size:22px;letter-spacing:.5px;color:var(--color-text)}.brand-sub{color:var(--color-subtle);font-size:12px;margin-top:4px}.brand-footer{padding:12px 20px;margin-top:auto;color:var(--color-subtle);font-size:12px;border-top:1px solid var(--color-border)}.nav{display:flex;flex-direction:column;gap:8px;padding:16px}.nav-item{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:10px;color:var(--color-text);border:1px solid transparent;cursor:pointer;background:linear-gradient(180deg,#ffffff0a,#ffffff05);transition:background .2s ease,transform .1s ease,border-color .2s ease}.nav-item:hover{background:#ffffff0f;transform:translateY(-1px)}.nav-item.active{border-color:var(--gold);background:linear-gradient(180deg,#d4b26a38,#d4b26a1f);color:#161616}.nav-label{font-weight:700}.nav-note{margin-left:auto;color:var(--color-subtle);font-size:12px}.nav.nav--light{padding:0}.nav.nav--light .nav-item{background:linear-gradient(180deg,#fffffff2,#ffffffd9);border:1px solid var(--color-border);color:#111}.nav.nav--light .nav-item:hover{background:#f6faf7}.nav.nav--light .nav-item.active{background:linear-gradient(180deg,#d4b26a38,#d4b26a1f);color:#111;border-color:var(--gold)}.nav-ball{width:12px;height:12px;border-radius:50%;display:inline-block;box-shadow:0 1px 3px #00000059,inset 0 -1px 1px #0000004d;border:1px solid rgba(0,0,0,.35)}.ball-yellow{background:radial-gradient(circle at 30% 30%,#fff7b2,#ffd100 60%,#b89d00)}.ball-green{background:radial-gradient(circle at 30% 30%,#bff0d4,#00a651 60%,#087a3f)}.ball-brown{background:radial-gradient(circle at 30% 30%,#e7c19a,#7b4a15 60%,#5a370f)}.ball-blue{background:radial-gradient(circle at 30% 30%,#b8d8ff,#1e90ff 60%,#1260b6)}.ball-pink{background:radial-gradient(circle at 30% 30%,#ffd2e6,#ff4fa3 60%,#c73d82)}.ball-black{background:radial-gradient(circle at 30% 30%,#777,#000 60%,#000)}.ball-red{background:radial-gradient(circle at 30% 30%,#ffd1d1,red 60%,#a10000)}.content{flex:1;display:flex;flex-direction:column}.content-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--color-border)}.content-body{padding:24px}.panel .chat-header+div+.list-container{margin-top:0}.brand-art{padding:16px 20px}.brand-art svg{width:220px;height:120px;display:block}.chat-header{align-items:center}.chat-name{width:220px;max-width:50vw;height:36px;padding:8px 10px}
