*{box-sizing:border-box}body{margin:0;font:15px/1.6 Arial,sans-serif;color:#162641;background:#f4f7fc}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}a{color:#006ce0}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}h1,h2,h3,p{margin-top:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.2}h2{font-size:21px;line-height:1.3}h3{font-size:17px}small,.muted{color:#6b7e99}.boot{display:grid;min-height:100vh;place-content:center;text-align:center}.boot strong{font-size:44px;color:#007aff}.boot span{font-size:15px;color:#273a59}.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-copy{padding:70px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(ellipse at top right,#21496f,#101c35 70%);color:#fff}.auth-copy h1{font-size:49px}.brand{font-size:34px;font-weight:900;color:#007aff;letter-spacing:-2px}.brand small{font-size:12px;letter-spacing:0;color:inherit;margin-left:9px}.auth-copy p{color:#b7cce5}.auth-form{padding:45px;align-self:center;max-width:600px;width:100%;margin:auto}.auth-form h1{font-size:31px}.field{display:block;font-size:12px;font-weight:700;color:#334b6a;margin:16px 0 6px}input,select,textarea{width:100%;border:1px solid #ccdcee;background:#fff;border-radius:10px;padding:12px;color:#142944;min-width:0}input:focus,select:focus,textarea:focus{outline:3px solid #bddcff;outline-offset:1px}textarea{resize:vertical;min-height:100px}.btn{border:1px solid #007aff;background:#007aff;color:#fff;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;min-height:43px;text-decoration:none;font-size:13px;font-weight:700;gap:7px}.btn.secondary{background:#fff;color:#2463a3;border-color:#ccddf3}.btn.danger{background:#fff1f0;color:#a53636;border-color:#f0c5c1}.btn.green{background:#087f65;border-color:#087f65}.btn.small{padding:7px 11px;min-height:34px;font-size:12px}.full{width:100%;margin-top:20px}.check{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#5b718f;margin:16px 0}.check input{width:17px;margin-top:3px;flex-shrink:0}.notice{padding:15px 18px;background:#eaf3ff;border:1px solid #ccdef7;color:#275d97;border-radius:12px;font-size:13px;margin:16px 0}.notice.warning{background:#fff8e7;border-color:#eedba8;color:#7e642c}.layout{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:#101c35;color:#c4d4eb;padding:25px 16px;position:sticky;top:0;height:100dvh;display:flex;flex-direction:column}.sidebar .brand{padding:0 13px;color:#fff;font-size:34px}.sidebar .brand small{color:#79b5ff}.workspace{font-size:11px;letter-spacing:1.5px;color:#7f98b9;margin:32px 14px 12px}.sidebar nav{display:flex;flex-direction:column;gap:5px;overflow:auto}.nav-item{border:0;background:transparent;text-align:left;color:#a9bfdc;padding:12px 15px;border-radius:10px;font-size:13px;font-weight:600}.nav-item.active{background:#007aff;color:white}.nav-item:hover{background:#ffffff10;color:white}.nav-item.active:hover{background:#007aff}.sidebar-bottom{margin-top:auto;padding:20px 12px 0;border-top:1px solid #ffffff16;font-size:12px}.sidebar-bottom strong{display:block;color:white}.sidebar-bottom button{margin-top:10px;color:#a8c9f1;background:none;border:0;padding:0}.main{min-width:0}.topbar{min-height:80px;border-bottom:1px solid #dce6f3;background:#fff;padding:20px 34px;display:flex;align-items:center;justify-content:space-between;gap:18px}.topbar .breadcrumb{font-size:13px;color:#647e9e}.topbar .account-badge{font-size:11px;background:#e9f3ff;color:#006ce0;border-radius:8px;padding:6px 11px}.mobile-toggle{display:none}.content{padding:34px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading p{color:#6b7e99;font-size:14px;margin-bottom:0}.eyebrow{font-size:10px;letter-spacing:1.7px;color:#007aff;font-weight:800;margin-bottom:11px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.stat,.panel{border:1px solid #dde7f5;border-radius:16px;background:#fff;padding:24px}.stat span{font-size:12px;color:#6b819e}.stat strong{display:block;font-size:31px;margin-top:10px;color:#122d50;letter-spacing:-1px}.stat.primary{background:#007aff;border-color:#007aff}.stat.primary span,.stat.primary strong{color:#fff}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:24px}.panel{margin-bottom:20px}.panel p{color:#657c99;font-size:14px}.empty{padding:45px 20px;text-align:center;border:1px dashed #cbdcf1;border-radius:13px;color:#7388a3;background:#f8fbff}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.number-card{border:1px solid #d9e5f5;background:#fff;border-radius:15px;padding:23px}.number-card h3{margin:12px 0 3px}.tag{display:inline-flex;align-items:center;font-size:10px;letter-spacing:.3px;font-weight:700;border-radius:6px;padding:4px 8px;background:#eaf3ff;color:#1260ae}.tag.green{background:#e6f6ee;color:#18794e}.tag.yellow{background:#fff4d9;color:#8a6724}.tag.gray{background:#edf0f5;color:#68788e}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.qr{display:block;width:260px;max-width:100%;margin:15px auto;border-radius:10px;border:1px solid #dce6f3}.small-text{font-size:12px!important;color:#71839d}.kanban{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:17px;overflow-x:auto;padding-bottom:15px}.kanban-column{background:#ebf1f9;border:1px solid #dce7f5;border-radius:15px;padding:16px;min-height:380px}.kanban-column h3{display:flex;justify-content:space-between;font-size:13px;color:#526b8a}.lead{display:block;background:#fff;border:1px solid #d7e3f3;border-radius:11px;padding:17px;margin:12px 0;width:100%;text-align:left;color:#183353}.lead strong{display:block;margin-bottom:6px}.lead small{font-size:12px}.lead:hover{border-color:#007aff}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:14px 11px;border-bottom:1px solid #e6edf7;font-size:13px}th{color:#6b819e;font-size:11px;white-space:nowrap}td{color:#2d4767}.inbox{display:grid;grid-template-columns:310px minmax(0,1fr);height:calc(100dvh - 220px);min-height:460px;background:white;border:1px solid #dae6f6;border-radius:16px;overflow:hidden}.conversation-list{overflow:auto;border-right:1px solid #dae6f6}.conversation{width:100%;padding:18px;border:0;border-bottom:1px solid #e6edf6;background:white;text-align:left;color:#183353}.conversation:hover,.conversation.selected{background:#eef6ff}.conversation strong{display:block;font-size:13px}.conversation small{display:block;font-size:11px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:260px}.chat{min-width:0;display:flex;flex-direction:column;height:100%;overflow:hidden}.chat-head{padding:17px 20px;border-bottom:1px solid #dce7f5;display:flex;align-items:center;justify-content:space-between;gap:15px}.chat-head strong{font-size:14px}.chat-head small{display:block;font-size:11px}.messages{flex:1;overflow:auto;padding:25px;display:flex;flex-direction:column;gap:12px;background:#f4f8fd}.bubble{max-width:82%;padding:12px 15px;background:white;border:1px solid #dce6f3;border-radius:13px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.bubble.out{align-self:flex-end;background:#e0f0ff;border-color:#c6dfff}.bubble small{display:block;font-size:9px;color:#6c819e;margin-top:6px}.compose{padding:15px;display:flex;gap:10px;border-top:1px solid #dce7f5}.compose textarea{height:52px;min-height:52px;max-height:130px;font-size:13px}.compose .btn{flex-shrink:0}.rule-card{background:white;border:1px solid #dce7f5;border-radius:15px;padding:23px}.rule-card pre{white-space:pre-wrap;font:13px/1.7 Arial;color:#58708e;background:#f4f8fd;padding:13px;border-radius:9px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.plan-price{font-size:32px;color:#102b4c;font-weight:800;letter-spacing:-1px}.plan-price small{font-size:13px;font-weight:400}.plan-card{background:white;border:1px solid #dce7f5;border-radius:16px;padding:25px}.plan-card.current{border:2px solid #007aff}.plan-card ul{font-size:13px;color:#617997;padding-left:18px;line-height:1.9}dialog{border:1px solid #cbdcf1;border-radius:20px;padding:30px;max-width:630px;width:calc(100% - 32px);max-height:90dvh;color:#142944;box-shadow:0 25px 90px #061b3b40}dialog::backdrop{background:#081e3b70;backdrop-filter:blur(3px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-heading h2{margin:0}.close{border:0;background:#edf4ff;border-radius:8px;padding:5px 12px;color:#346ea9;font-size:23px}.code-block{background:#eff5fd;padding:13px;border:1px solid #d6e4f5;border-radius:10px;font:12px/1.8 monospace;overflow-wrap:anywhere;margin:12px 0}.error{color:#ad3636;background:#fff0ef;border:1px solid #f2cfcd;border-radius:9px;padding:11px;font-size:13px;margin-top:15px}.hidden{display:none!important}#toast{position:fixed;right:25px;bottom:25px;max-width:420px;background:#102b4c;color:white;border-radius:12px;padding:15px 20px;box-shadow:0 10px 45px #102b4c30;z-index:20;font-size:13px;display:none}#toast.visible{display:block}.searchbar{display:flex;gap:10px;margin-bottom:18px}.searchbar input{max-width:400px}.icon-number{font-size:24px;color:#007aff}.auth-form .muted a{font-size:13px}.divider{height:1px;background:#dfebf8;margin:24px 0}.checkbox-row{display:flex;gap:10px;align-items:center;margin:17px 0;font-size:13px}.checkbox-row input{width:18px}.help-links{display:flex;flex-wrap:wrap;gap:15px;font-size:12px;margin-top:25px}button:focus-visible,a:focus-visible{outline:3px solid #8dc5ff;outline-offset:3px}@media(max-width:1100px){.cards{grid-template-columns:1fr 1fr}.stats{grid-template-columns:1fr 1fr}.layout{grid-template-columns:210px minmax(0,1fr)}.content{padding:25px}.topbar{padding:20px 25px}.inbox{grid-template-columns:260px minmax(0,1fr)}}@media(max-width:760px){.layout{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:235px;z-index:10;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0);box-shadow:10px 0 80px #12264380}.mobile-toggle{display:block;background:#eaf3ff;border:1px solid #ccdff6;border-radius:8px;padding:7px 11px;color:#006ce0}.topbar{min-height:67px;padding:15px 20px}.content{padding:24px 18px}.page-heading{align-items:flex-start;flex-direction:column;gap:14px}h1{font-size:28px}.two-col{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.stat,.panel{padding:20px}.inbox{grid-template-columns:1fr;height:auto;min-height:0}.conversation-list{max-height:240px;border-right:0;border-bottom:1px solid #dce7f5}.chat{height:65dvh;min-height:420px}.conversation small{max-width:90vw}.form-grid{grid-template-columns:1fr}.auth-page{display:block}.auth-copy{padding:35px 25px}.auth-copy h1{font-size:31px}.auth-copy>p:last-child{display:none}.auth-form{padding:30px 25px}.plan-price{font-size:29px}.compose .btn{padding:10px}.topbar .account-badge{font-size:10px}.stat strong{font-size:28px}.stats{gap:12px}.kanban{grid-template-columns:repeat(4,260px)}#toast{left:18px;right:18px;bottom:18px}.bubble{max-width:93%}dialog{padding:23px}.chat-head{padding:14px}.messages{padding:18px}}

[hidden]{display:none!important}
