@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap";*{box-sizing:border-box}body{margin:0;background:#edf1f7;color:#17233a;font-family:DM Sans,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0}button:disabled{cursor:default;opacity:.65}.app-shell{max-width:480px;min-height:100vh;margin:auto;background:#f8faff;position:relative;padding-bottom:82px;overflow:hidden}.topbar{height:70px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;background:#fff;border-bottom:1px solid #edf0f6}.brand{display:flex;align-items:center;gap:8px;color:#17233a;font:800 18px Manrope,sans-serif;letter-spacing:-1px}.brand span span{color:#1264ed}.brand-mark{width:28px;height:28px;display:grid;place-items:center;background:linear-gradient(145deg,#1168ff,#613cf3);color:#fff;border-radius:9px;font-size:15px;letter-spacing:0}.top-actions{display:flex;gap:13px;align-items:center}.icon-button{width:39px;height:39px;display:grid;place-items:center;border-radius:12px;background:#f4f7fb;color:#4f5d74;position:relative}.icon-button i{width:7px;height:7px;border-radius:50%;background:#ff5c6b;position:absolute;top:8px;right:9px;border:1px solid white}.avatar,.person-avatar{width:35px;height:35px;border-radius:50%;border:0;color:#fff;background:#1f9b8a;font-size:11px;font-weight:700}.page{padding:25px 21px 20px}.greeting p,.page-title p{margin:0 0 4px;font-size:13px;font-weight:600;color:#7b879a}.greeting h1,.page-title h1{margin:0;font:800 25px Manrope,sans-serif;letter-spacing:-.9px}.greeting>span{color:#6c7890;font-size:14px;display:block;margin-top:5px}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:23px 0}.metric{min-height:110px;padding:13px 12px;border:1px solid #e8edf5;border-radius:16px;background:#fff}.metric span{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:#eef4ff;color:#1264ed}.metric:nth-child(2) span{color:#08957b;background:#e8f8f4}.metric:nth-child(3) span{color:#f17a1d;background:#fff4e9}.metric svg{width:16px}.metric strong{display:block;margin-top:11px;font:800 23px Manrope}.metric small{color:#788398;font-size:11px}.live-card{background:linear-gradient(125deg,#123d98,#1468ed 70%,#4759db);color:#fff;border-radius:18px;padding:18px;box-shadow:0 11px 24px #1d5bbc2e}.live-title{font-size:10px;letter-spacing:1.1px;font-weight:700;opacity:.75;display:flex;align-items:center;gap:6px}.pulse{width:7px;height:7px;border-radius:50%;background:#79f4d5;box-shadow:0 0 0 4px #8eefd244}.live-card h2{margin:9px 0 4px;font:700 18px Manrope}.live-card p{margin:0;color:#d6e4ff;display:flex;gap:5px;align-items:center;font-size:12px}.live-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:18px}.live-bottom span{display:flex;align-items:center;gap:5px;font-size:12px;color:#d8e6ff}.live-bottom button{background:#fff;color:#1354c3;padding:8px 11px;border-radius:8px;font-size:12px;font-weight:700}.section-heading{display:flex;justify-content:space-between;align-items:end;margin:28px 0 13px}.section-heading h2{margin:0;font:700 18px Manrope}.section-heading p{margin:3px 0 0;color:#8792a5;font-size:12px}.text-button{background:none;color:#1264ed;font-weight:700;font-size:13px}.visit-list{display:flex;flex-direction:column;gap:10px}.visit-card{text-align:left;width:100%;background:#fff;border:1px solid #e7ebf2;border-radius:15px;padding:14px;display:grid;grid-template-columns:72px 1fr auto;gap:8px;align-items:center;box-shadow:0 2px 5px #1e3d6a06}.visit-time b{font-size:12px;display:block}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#9aa5b6;margin-top:8px}.dot.in_progress{background:#1683ff;box-shadow:0 0 0 4px #e3f0ff}.dot.completed{background:#10a788}.visit-info h3{margin:0;font:700 14px Manrope}.visit-info p{margin:2px 0 5px;font-size:11px;color:#748096}.visit-info span{display:flex;align-items:center;gap:3px;color:#7d899d;font-size:11px}.status{font-size:10px;font-weight:700;padding:6px 8px;border-radius:7px;white-space:nowrap;background:#edf1f7;color:#68768c}.status.in_progress{color:#1264ed;background:#e8f2ff}.status.completed{color:#07866f;background:#e5f8f2}.status.attention{color:#c35e14;background:#fff2e4}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(480px,100%);background:#fff;border-top:1px solid #e6ebf3;display:flex;justify-content:space-around;padding:10px 15px max(10px,env(safe-area-inset-bottom));z-index:3}.bottom-nav button{background:transparent;color:#8b95a8;display:flex;align-items:center;flex-direction:column;gap:3px;font-size:10px;min-width:52px}.bottom-nav button.selected{color:#0b5cff}.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.chips{display:flex;gap:8px;margin-bottom:18px}.chips button{padding:8px 14px;border-radius:20px;background:#edf1f6;color:#6b7890;font-size:12px;font-weight:700}.chips button.active{background:#1264ed;color:#fff}.full-list{padding-bottom:10px}.add-round{width:41px;height:41px;border-radius:13px;color:#fff;background:#1264ed;display:grid;place-items:center;box-shadow:0 5px 12px #1264ed38}.admin-page .page-title{margin-bottom:20px}.admin-metrics{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-bottom:7px}.admin-metrics .metric{min-height:97px}.admin-metrics .metric strong{margin-top:8px;font-size:21px}.agent-strip{display:flex;gap:11px;margin-bottom:24px}.agent-strip>div{background:#fff;border:1px solid #e8edf4;border-radius:13px;padding:10px 7px;flex:1;text-align:center;min-width:0}.agent-strip span{width:30px;height:30px;color:#fff;display:grid;place-items:center;border-radius:50%;font-size:9px;font-weight:700;margin:0 auto 6px}.agent-strip b{font:700 11px Manrope;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.agent-strip small{display:block;margin-top:2px;color:#77849a;font-size:9px}.attention-card{border:1px solid #ffe1b8;background:#fff9ee;padding:14px;border-radius:14px;display:flex;align-items:center;gap:10px}.attention-card>span{width:34px;height:34px;border-radius:10px;background:#ffe9c7;color:#ed8a20;display:grid;place-items:center}.attention-card b{font:700 12px Manrope}.attention-card p{margin:3px 0 0;font-size:10px;color:#81756a}.attention-card button{margin-left:auto;color:#bd6712;background:#fff;border:1px solid #f6d5aa;font-size:11px;font-weight:700;padding:7px 9px;border-radius:8px}.assign-cta{width:100%;background:#153d91;color:#fff;border-radius:15px;padding:14px;display:flex;align-items:center;gap:12px;text-align:left;margin-top:18px}.assign-cta>svg:first-child{background:#ffffff1c;padding:8px;width:37px;height:37px;border-radius:10px}.assign-cta span{display:flex;flex-direction:column;gap:2px;flex:1}.assign-cta b{font:700 13px Manrope}.assign-cta small{font-size:10px;color:#bfd5ff}.assign-cta>svg:last-child{transform:rotate(180deg)}.admin-list{display:flex;flex-direction:column;gap:9px}.admin-visit,.agent-row,.site-row{width:100%;background:#fff;border:1px solid #e5eaf2;border-radius:14px;padding:13px;display:flex;align-items:center;text-align:left;gap:10px;color:#17233a}.admin-agent{width:34px;height:34px;display:grid;place-items:center;background:#e9f2ff;color:#1264ed;border-radius:10px;font-size:10px;font-weight:700;flex:0 0 auto}.admin-visit h3,.agent-row h3,.site-row h3{margin:0;font:700 13px Manrope}.admin-visit p,.agent-row p,.site-row p{font-size:10px;color:#7b879a;margin:3px 0}.admin-visit small,.agent-row small,.site-row small{display:flex;align-items:center;gap:3px;color:#68778e;font-size:10px}.admin-visit .status{margin-left:auto}.agent-row>svg,.site-row>svg{margin-left:auto;color:#9ba5b5;transform:rotate(180deg)}.agent-row .person-avatar{flex:0 0 35px;display:grid;place-items:center}.agent-row small{color:#8792a4}.agent-profile{background:linear-gradient(135deg,#eaf2ff,#f2f8ff);display:flex;align-items:center;gap:12px;padding:18px 21px}.profile-avatar{width:48px;height:48px;border-radius:15px;color:#fff;display:grid;place-items:center;font-weight:800;font-size:14px}.agent-profile b{font:700 14px Manrope}.agent-profile p{font-size:11px;color:#687890;margin:4px 0 0}.compact{margin:0 0 13px}.compact h2{font-size:16px}.empty-state{text-align:center;padding:24px;color:#8490a3;font-size:13px;background:#fff;border:1px dashed #d5deeb;border-radius:12px}.search-box{background:#fff;border:1px solid #dfe6ef;border-radius:11px;padding:0 11px;display:flex;align-items:center;gap:8px;margin-bottom:16px;color:#8390a4}.search-box input{border:0;outline:0;width:100%;height:42px;font-size:13px;color:#26354a}.site-row>span{width:37px;height:37px;border-radius:10px;background:#eef4ff;color:#1767ed;display:grid;place-items:center}.site-row small{margin-top:5px}.assignment-form{padding-top:22px}.site-preview{margin:10px 0 20px;background:#eef5ff;color:#1b63d8;border-radius:11px;padding:12px;display:flex;gap:9px;align-items:flex-start}.site-preview b{font:700 12px Manrope}.site-preview p{color:#6b7f9d;font-size:11px;margin:3px 0 0;line-height:1.35}.team-summary{background:linear-gradient(145deg,#172b53,#334e85);border-radius:18px;color:#fff;padding:20px;margin-bottom:20px}.team-summary strong{font:800 29px Manrope;display:block}.team-summary>span{font-size:13px;color:#d9e4ff}.team-summary div{font-size:12px;margin-top:17px;color:#c6d5f4}.team-summary b{color:#fff;margin-right:3px}.person{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #e7ebf2;padding:13px;margin-bottom:9px;border-radius:14px}.person-avatar{display:grid;place-items:center;background:#6b5ce7;flex:0 0 35px}.person:nth-of-type(4) .person-avatar{background:#e07b4c}.person h3{margin:0;font:700 14px Manrope}.person p{margin:3px 0 0;font-size:11px;color:#7d899e}.availability{margin-left:auto;width:9px;height:9px;border-radius:50%;background:#c6cedb}.availability.online{background:#16aa8a;box-shadow:0 0 0 3px #dff6ef}.menu{border:1px solid #e8edf4;border-radius:16px;background:#fff;overflow:hidden}.menu button{display:flex;width:100%;align-items:center;text-align:left;gap:12px;padding:15px;border-bottom:1px solid #edf0f5;background:#fff;color:#17233a}.menu button:last-child{border-bottom:0}.menu button>span{width:34px;height:34px;display:grid;place-items:center;color:#1b65ea;background:#eef4ff;border-radius:10px}.menu b{font:700 13px Manrope}.menu p{margin:2px 0 0;color:#8390a3;font-size:11px}.menu .arrow{margin-left:auto;transform:rotate(180deg);color:#9aa4b5}.version{text-align:center;font-size:11px;color:#9da6b5;margin-top:25px}.detail-page{padding-bottom:78px}.detail-head{padding:18px 21px 14px;background:#fff;display:flex;gap:13px;align-items:flex-start}.back{background:#f1f4f8;color:#38465c;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}.detail-head h1{margin:7px 0 2px;font:800 20px Manrope;letter-spacing:-.5px}.detail-head p{margin:0;font-size:12px;color:#8090a6}.map-preview{height:154px;position:relative;overflow:hidden;background:linear-gradient(125deg,#d9ead6,#dce7d3 45%,#c9e0d5)}.map-roads{position:absolute;background:#f7f4e7;height:24px;width:130%;left:-18%;box-shadow:0 0 0 2px #b9c9b8;transform:rotate(-17deg);top:42px}.map-roads.r2{top:105px;transform:rotate(20deg);height:16px}.map-pin{position:absolute;top:48px;left:calc(50% - 15px);color:#e73d50;filter:drop-shadow(0 4px 3px #56645666)}.map-preview>span{position:absolute;bottom:10px;right:12px;background:#fff;padding:6px 8px;border-radius:7px;font-size:11px;color:#536077;display:flex;gap:3px;align-items:center;box-shadow:0 2px 8px #20355127}.detail-content{padding:20px 21px}.info-block{display:flex;gap:11px;padding-bottom:15px;margin-bottom:15px;border-bottom:1px solid #e9edf3}.info-block>span{color:#1264ed}.info-block svg{width:18px}.info-block b,.checkin b,.photo-row b{font:700 13px Manrope}.info-block p,.checkin p,.photo-row p{font-size:12px;color:#788499;margin:4px 0 0;line-height:1.4}.checkin{border-radius:14px;padding:14px;background:#eef6ff;display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.checkin button,.photo-btn{border-radius:9px;padding:8px 10px;background:#1264ed;color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;gap:5px}.form-label{font-size:12px;font-weight:700;display:block;margin:16px 0 7px;color:#405069}.form-label em{color:#ed4b5f;font-style:normal}select,textarea{width:100%;border:1px solid #dfe5ee;border-radius:10px;padding:11px 12px;color:#25334a;background:#fff;font-size:13px;outline-color:#1264ed}textarea{resize:vertical;line-height:1.45}.photo-row{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding:14px;border:1px dashed #cfd8e8;border-radius:12px}.photo-row p{font-size:11px}.photo-btn{background:#eef4ff;color:#1264ed;cursor:pointer}.submit-bar{position:fixed;bottom:0;left:50%;transform:translate(-50%);width:min(480px,100%);z-index:4;padding:12px 21px max(12px,env(safe-area-inset-bottom));display:flex;gap:10px;background:#fff;border-top:1px solid #e8ecf2}.submit-bar button{height:45px;border-radius:11px;font-weight:700;font-size:13px}.secondary{background:#eff2f6;color:#536176;padding:0 18px}.primary{background:#1264ed;color:#fff;flex:1}.toast{position:fixed;z-index:10;bottom:90px;left:50%;transform:translate(-50%);background:#17355c;color:#fff;box-shadow:0 8px 25px #132c4b44;border-radius:10px;padding:11px 14px;display:flex;gap:8px;align-items:center;font-size:12px;white-space:nowrap}.toast svg{color:#76edcf}@media (min-width: 700px){body{padding:20px}.app-shell{min-height:calc(100vh - 40px);border-radius:26px;box-shadow:0 18px 65px #243c6726}.bottom-nav,.submit-bar{bottom:20px}.bottom-nav{border-radius:0 0 26px 26px}.submit-bar{bottom:20px;border-radius:0 0 26px 26px}}.crud-row{background:#fff;border:1px solid #e5eaf2;border-radius:14px;overflow:hidden}.crud-row .agent-row,.crud-row .site-row{border:0;border-radius:0}.crud-row .row-action{font-size:11px;font-weight:700;padding:9px 13px;background:#f2f6fc;color:#1763de;margin:0 0 10px 12px;border-radius:8px}.crud-row .row-action.danger{background:#fff0f1;color:#d84354;margin-left:6px}.modal-layer{position:fixed;z-index:20;top:0;right:0;bottom:0;left:0;background:#15254088;display:flex;align-items:flex-end;justify-content:center;padding:18px}.crud-modal,.confirm-modal{width:min(440px,100%);background:#fff;border-radius:20px;padding:20px;box-shadow:0 18px 50px #10274b55}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.modal-head p{margin:0 0 3px;font-size:11px;font-weight:700;color:#77879d}.modal-head h2,.confirm-modal h2{margin:0;font:800 19px Manrope}.modal-head button{width:30px;height:30px;border-radius:50%;background:#f1f4f8;color:#69768c;font-size:21px;line-height:1}.crud-modal label{display:block;font-size:11px;font-weight:700;color:#536177;margin:12px 0 6px}.crud-modal input,.crud-modal textarea,.crud-modal select{width:100%;border:1px solid #dfe5ee;border-radius:9px;padding:10px 11px;outline-color:#1264ed;font-size:13px}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:19px}.modal-actions button{height:40px;border-radius:9px;padding:0 14px;background:#eef2f6;color:#536176;font-weight:700;font-size:12px}.modal-actions .primary{background:#1264ed;color:#fff}.confirm-modal{text-align:center;padding-top:24px}.confirm-modal>span{width:38px;height:38px;border-radius:50%;background:#fff0f1;color:#db4454;display:grid;place-items:center;font:800 18px Manrope;margin:auto auto 11px}.confirm-modal p{font-size:12px;color:#748198;line-height:1.45;margin:8px 0 0}.confirm-modal .modal-actions{justify-content:center}.modal-actions .delete-button{background:#d84252;color:#fff}.login-shell{min-height:100vh;background:radial-gradient(circle at 90% 0,#407dff 0,transparent 26%),linear-gradient(150deg,#081b43,#123d91);display:grid;place-items:center;padding:20px;font-family:DM Sans,sans-serif}.login-card{width:min(100%,420px);background:#fff;border-radius:24px;padding:30px 27px;box-shadow:0 25px 70px #0715347a}.login-brand{display:flex;align-items:center;gap:10px;color:#17233a;font:800 20px Manrope;letter-spacing:-1px}.login-brand .brand{display:block;line-height:1}.login-brand .brand span{color:#1264ed}.login-brand small{display:block;font:700 8px DM Sans;letter-spacing:1.1px;color:#7d899c;margin-top:5px}.login-intro{margin:31px 0 23px}.login-intro p{margin:0 0 5px;color:#66758e;font-size:12px;font-weight:700}.login-intro h1{font:800 27px Manrope;margin:0;letter-spacing:-1px}.login-intro span{display:block;margin-top:6px;color:#7b879a;font-size:13px}.google-button{height:47px;width:100%;background:#fff;border:1px solid #d9e0eb;border-radius:11px;color:#26344a;font-weight:700;font-size:13px;display:flex;align-items:center;justify-content:center;gap:9px}.google-button span{font:700 18px Arial;color:#4285f4}.divider{display:flex;align-items:center;gap:10px;color:#99a4b5;font-size:11px;margin:20px 0}.divider i{height:1px;background:#e7ebf1;flex:1}.login-card label{display:block;font-size:11px;color:#526077;font-weight:700;margin:13px 0 6px}.login-card input{width:100%;height:44px;border:1px solid #dce3ed;border-radius:10px;padding:0 12px;color:#27354b;outline-color:#1264ed;font-size:13px}.login-button{background:#1264ed;color:#fff;width:100%;height:47px;border-radius:11px;margin-top:21px;font-weight:700;font-size:13px;box-shadow:0 7px 14px #1264ed32}.login-error{font-size:11px;color:#cc4153;line-height:1.4;background:#fff0f1;padding:9px 10px;border-radius:8px;margin:12px 0 0}.demo-credentials{margin-top:23px;background:#f3f7fd;border:1px solid #e2eaf5;border-radius:11px;padding:11px 12px;color:#58677d;font-size:11px}.demo-credentials b{font:700 11px Manrope;color:#33445e}.demo-credentials p{margin:6px 0 0}.demo-credentials p span{display:inline-block;min-width:38px;color:#1264ed;font-weight:700}.demo-credentials small{display:block;margin-top:7px;color:#7d8a9f}.logout{color:#b74858;background:#fff1f2}.top-actions{gap:8px}
