.collection-module-button.is-field-visits{background:linear-gradient(145deg,rgba(34,197,94,.2),rgba(14,165,233,.12));color:#0f8a4c;border-color:rgba(15,138,76,.2)}
.collection-fv-badge{position:absolute;top:-7px;left:-7px;background:#16a34a;color:#fff;border:2px solid #fff;border-radius:999px;min-width:30px;height:24px;padding:0 7px;display:grid;place-items:center;font-size:10px;font-weight:900;box-shadow:0 6px 18px rgba(22,163,74,.25)}
#field-visit-root{position:fixed;inset:0;z-index:1090;display:none;font-family:inherit;direction:rtl;color:#112035}
#field-visit-root.open{display:block}.fv-shell{min-height:100dvh;background:linear-gradient(180deg,#effaf5,#f8fbff);position:relative;overflow:hidden}.fv-shell:before{content:"";position:fixed;inset:0;background:radial-gradient(circle at 85% 0,rgba(34,197,94,.16),transparent 36%),radial-gradient(circle at 10% 35%,rgba(14,165,233,.11),transparent 33%);pointer-events:none}
.fv-head{height:82px;padding:calc(env(safe-area-inset-top,0px) + 12px) 16px 10px;display:grid;grid-template-columns:46px 1fr auto;align-items:center;gap:10px;background:rgba(255,255,255,.78);backdrop-filter:blur(22px);border-bottom:1px solid rgba(49,79,101,.1);position:sticky;top:0;z-index:6}.fv-head>button{width:42px;height:42px;border:0;border-radius:15px;background:#fff;color:#31465d;display:grid;place-items:center;box-shadow:0 7px 22px rgba(24,49,72,.09)}.fv-head>div:nth-child(2){display:flex;flex-direction:column}.fv-head strong{font-size:18px}.fv-head span{font-size:12px;color:#718096}.fv-live-dot{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:800;color:#64748b}.fv-live-dot i{width:9px;height:9px;border-radius:50%;background:#94a3b8}.fv-live-dot.on{color:#15803d}.fv-live-dot.on i{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}
.fv-shell main{position:relative;z-index:2;padding:18px 14px 108px;max-width:720px;margin:0 auto}.fv-hero,.fv-active-card,.fv-section,.fv-empty-manager{background:rgba(255,255,255,.82);backdrop-filter:blur(24px);border:1px solid rgba(65,92,115,.12);border-radius:28px;box-shadow:0 18px 55px rgba(25,50,71,.09)}.fv-hero{padding:30px 22px;text-align:center}.fv-hero-icon{width:76px;height:76px;border-radius:25px;margin:0 auto 14px;display:grid;place-items:center;color:#0f8a4c;background:linear-gradient(145deg,rgba(34,197,94,.2),rgba(14,165,233,.12));border:1px solid rgba(34,197,94,.18)}.fv-hero small,.fv-section-title small,.fv-step-head>span{color:#0f8a4c;font-weight:900;font-size:12px}.fv-hero h1{margin:8px 0 8px;font-size:25px}.fv-hero p,.fv-step-head p{font-size:14px;line-height:1.9;color:#65758a;margin:0 0 20px}.fv-privacy{margin-top:14px;color:#7c8da0;font-size:11px}.fv-primary{border:0!important;border-radius:16px!important;background:linear-gradient(135deg,#16a34a,#0f8a4c)!important;color:#fff!important;font-weight:900!important;min-height:46px;padding:11px 18px;box-shadow:0 10px 28px rgba(22,163,74,.22);font-family:inherit;font-size:14px}.fv-primary.big{width:100%;min-height:54px;font-size:16px}.fv-primary:disabled{opacity:.45;box-shadow:none}.fv-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}.fv-stats>div{background:rgba(255,255,255,.75);border:1px solid rgba(65,92,115,.1);border-radius:20px;text-align:center;padding:13px 6px}.fv-stats b{display:block;font-size:20px;color:#17314a}.fv-stats span{font-size:11px;color:#78889a}
.fv-active-card{padding:20px}.fv-active-top{display:grid;grid-template-columns:1fr 1fr;gap:10px}.fv-active-top>div{padding:13px;border-radius:18px;background:#f7fafc}.fv-active-top small{display:block;color:#8593a2;font-size:11px}.fv-active-top strong{font-size:17px}.fv-tracking-state{display:grid;grid-template-columns:24px 1fr auto;align-items:center;gap:7px;margin:14px 0;padding:13px;border-radius:18px;background:rgba(34,197,94,.1);color:#13743b}.fv-tracking-state span{font-size:13px;font-weight:900}.fv-tracking-state small{font-size:10px}.fv-current-visit{padding:16px;border:1px solid rgba(15,138,76,.16);border-radius:20px;margin:10px 0;background:rgba(240,253,244,.7)}.fv-current-visit>span{font-size:11px;color:#0f8a4c;font-weight:900}.fv-current-visit strong{display:block;font-size:18px;margin-top:5px}.fv-current-visit p{font-size:12px;color:#718096;margin:4px 0 12px}.fv-link-danger{width:100%;margin-top:10px;border:0;background:transparent;color:#dc2626;font-weight:800;font-family:inherit;padding:10px}
.fv-section{padding:18px;margin-bottom:13px}.fv-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}.fv-section-title h2{margin:3px 0 0;font-size:20px}.fv-list{display:grid;gap:10px}.fv-visit-card{border:1px solid rgba(65,92,115,.11);background:#fff;border-radius:20px;padding:14px}.fv-visit-card>div:first-child{display:flex;justify-content:space-between;gap:8px;align-items:center}.fv-visit-card small{color:#8a98a8;font-size:10px}.fv-visit-card h3{font-size:16px;margin:9px 0 3px}.fv-visit-card p{font-size:12px;color:#64748b;margin:0}.fv-visit-card footer{display:flex;justify-content:space-between;gap:8px;border-top:1px dashed #e2e8f0;margin-top:12px;padding-top:10px;font-size:11px}.fv-visit-card footer span,.fv-visit-card footer a{display:flex;gap:5px;align-items:center;color:#526476;text-decoration:none}.fv-result{padding:5px 9px;border-radius:999px;background:#e2e8f0;font-size:10px;font-weight:900}.fv-result.successful{background:#dcfce7;color:#15803d}.fv-result.follow_up{background:#fef3c7;color:#a16207}.fv-result.unsuccessful{background:#fee2e2;color:#b91c1c}.fv-empty,.fv-empty-manager{text-align:center;padding:30px 16px;color:#6b7b8c}.fv-empty strong,.fv-empty-manager h2{display:block;color:#273b50;margin:8px 0}.fv-empty.compact{padding:18px}.fv-empty-manager{padding:28px 22px}.fv-empty-manager p{font-size:13px;line-height:1.8}
.fv-team-grid{display:grid;gap:10px}.fv-live-card{border:1px solid rgba(65,92,115,.12);border-radius:21px;padding:14px;background:#fff;position:relative}.fv-live-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;border-radius:20px;background:#94a3b8}.fv-live-card.fresh:before{background:#22c55e}.fv-live-card.warm:before{background:#f59e0b}.fv-live-card.stale:before{background:#ef4444}.fv-person{display:flex;align-items:center;gap:10px}.fv-person img{width:44px;height:44px;border-radius:50%;object-fit:cover}.fv-person div{flex:1;display:flex;flex-direction:column}.fv-person strong{font-size:14px}.fv-person small{font-size:10px;color:#7c8a99}.fv-person i{width:10px;height:10px;border-radius:50%;background:#94a3b8}.fresh .fv-person i{background:#22c55e}.warm .fv-person i{background:#f59e0b}.stale .fv-person i{background:#ef4444}.fv-live-meta{display:flex;justify-content:space-between;margin-top:12px;font-size:11px;color:#637487}.fv-live-meta span{display:flex;gap:5px;align-items:center}.fv-live-card p{font-size:12px;margin:9px 0;color:#506274}.fv-live-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.fv-live-actions a,.fv-live-actions button,.fv-ghost{border:1px solid #dce5ec;background:#f8fafc;color:#334155;border-radius:13px;padding:9px;font-family:inherit;font-weight:800;font-size:11px;text-decoration:none;text-align:center}.fv-team-history{border-radius:18px;background:#f8fafc;padding:8px}.fv-team-history>div:first-child{display:flex;justify-content:space-between;padding:4px 6px 8px}.fv-team-history>div:first-child strong{font-size:12px}.fv-team-history>div:first-child small{font-size:10px;color:#7b8998}.fv-date{border:1px solid #d8e1e9;border-radius:12px;padding:8px;background:#fff;color:#203246;font-family:inherit}
.fv-bottom{position:fixed;z-index:9;left:10px;right:10px;bottom:max(8px,env(safe-area-inset-bottom));min-height:72px;border-radius:24px;background:rgba(255,255,255,.92);backdrop-filter:blur(24px);border:1px solid rgba(65,92,115,.13);box-shadow:0 18px 50px rgba(26,49,70,.15);display:flex;align-items:flex-end;justify-content:space-around;padding:9px 5px}.fv-bottom button{border:0;background:transparent;color:#718096;font-family:inherit;min-width:54px;display:flex;flex-direction:column;align-items:center;gap:3px;font-size:9px;font-weight:800}.fv-bottom button.active{color:#0f8a4c}.fv-bottom button.center{width:64px;height:64px;border-radius:22px;margin-top:-28px;background:linear-gradient(145deg,#16a34a,#0f8a4c);color:#fff;justify-content:center;box-shadow:0 12px 28px rgba(22,163,74,.28)}.fv-bottom button:disabled{opacity:.3}
.fv-modal-back{position:fixed;z-index:1100;inset:0;background:rgba(8,18,29,.48);backdrop-filter:blur(7px);padding:18px 12px;display:flex;align-items:flex-end;justify-content:center}.fv-modal{width:min(620px,100%);max-height:92dvh;overflow:auto;background:#fff;border-radius:28px 28px 20px 20px;padding:22px 18px calc(20px + env(safe-area-inset-bottom));position:relative;box-shadow:0 25px 80px rgba(0,0,0,.25)}.fv-modal-x{position:absolute;top:12px;left:12px;width:38px;height:38px;border:0;border-radius:14px;background:#f1f5f9;color:#475569;display:grid;place-items:center}.fv-step-head{padding-left:42px;margin-bottom:16px}.fv-step-head h2{font-size:22px;margin:5px 0 3px}.fv-modal form{display:grid;gap:12px}.fv-modal label{display:grid;gap:6px;font-size:12px;font-weight:900;color:#34495e}.fv-modal input,.fv-modal select,.fv-modal textarea{width:100%;box-sizing:border-box;border:1px solid #dbe4ec;border-radius:15px;background:#f8fafc;color:#15283c;padding:12px 13px;font:inherit;font-size:14px;outline:none}.fv-modal input:focus,.fv-modal select:focus,.fv-modal textarea:focus{border-color:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.09)}.fv-upload{grid-template-columns:42px 1fr;align-items:center;border:1px dashed #b6c7d4;border-radius:18px;padding:13px;background:#f8fbfc;color:#244052!important;cursor:pointer}.fv-upload input{grid-column:1/-1;padding:8px;background:#fff}.fv-upload span{display:flex;flex-direction:column}.fv-upload small{font-size:10px;color:#7a8b9b;font-weight:500}.fv-wizard-actions{display:grid;grid-template-columns:90px 1fr;gap:8px;margin-top:4px}.fv-media-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px}.fv-media-grid figure{margin:0;border-radius:16px;overflow:hidden;background:#edf2f7}.fv-media-grid img{display:block;width:100%;height:130px;object-fit:cover}.fv-media-grid figcaption{display:flex;justify-content:space-between;padding:8px;font-size:10px}.fv-media-grid button{border:0;background:transparent;color:#dc2626;font-family:inherit}.fv-sms-note{display:flex;gap:10px;align-items:flex-start;padding:12px;border-radius:16px;background:#eff6ff;color:#1e4e7a}.fv-sms-note div{display:flex;flex-direction:column}.fv-sms-note b{font-size:12px}.fv-sms-note span{font-size:10px;line-height:1.6}.fv-provider-status{display:flex;justify-content:space-between;gap:10px;padding:12px;border-radius:15px;background:#fff7ed;color:#9a4b0c;font-size:11px}.fv-route-svg{height:190px;border-radius:20px;background:linear-gradient(180deg,#ecfdf5,#eff6ff);position:relative;overflow:hidden;color:#16a34a;margin:10px 0 14px}.fv-route-svg svg{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px)}.fv-route-svg span,.fv-route-svg b{position:absolute;bottom:9px;font-size:10px}.fv-route-svg span{right:10px}.fv-route-svg b{left:10px}.fv-route-empty{text-align:center;padding:30px;background:#f8fafc;border-radius:18px;color:#748496}.fv-run-visits{display:grid;gap:9px}.fv-loading{min-height:45dvh;display:grid;place-items:center;align-content:center;gap:12px;color:#617386}.fv-loading span{width:32px;height:32px;border:3px solid #dce8e1;border-top-color:#16a34a;border-radius:50%;animation:fv-spin .8s linear infinite}@keyframes fv-spin{to{transform:rotate(360deg)}}.fv-toast-root{position:fixed;z-index:1200;top:max(14px,env(safe-area-inset-top));left:12px;right:12px;display:grid;gap:8px;pointer-events:none}.fv-toast{margin:auto;max-width:520px;background:#173b2a;color:#fff;border-radius:15px;padding:11px 14px;box-shadow:0 12px 35px rgba(0,0,0,.2);font-size:12px;font-weight:800}.fv-toast.error{background:#991b1b}
@media(min-width:700px){.fv-team-grid{grid-template-columns:1fr 1fr}.fv-shell main{padding-top:24px}.fv-bottom{left:50%;right:auto;transform:translateX(-50%);width:620px}.fv-modal-back{align-items:center}.fv-modal{border-radius:28px}}
.fv-visit-thumb{width:100%;height:150px;object-fit:cover;border-radius:14px;margin-bottom:10px;background:#eef2f5}
/* v25.1 SMS settings polish */
.fv-check{display:flex!important;grid-template-columns:none!important;flex-direction:row!important;align-items:center;gap:9px!important;padding:12px 13px;border:1px solid #dbe4ec;border-radius:15px;background:#f8fafc}
.fv-check input{width:20px!important;height:20px!important;min-width:20px;padding:0!important;margin:0;accent-color:#16a34a}
.fv-sms-test{display:grid;grid-template-columns:1fr 120px;gap:8px;align-items:center;padding-top:4px}
.fv-sms-test input{min-width:0}
@media(max-width:380px){.fv-sms-test{grid-template-columns:1fr}.fv-sms-test button{min-height:44px}}

/* v25.2 provider-based SMS settings */
#fv-sms-form .sms-provider-status,#fv-sms-form .sms-provider-section{border:1px solid rgba(15,23,42,.09);border-radius:18px;padding:14px;background:rgba(255,255,255,.72);margin-bottom:12px}
#fv-sms-form .sms-provider-status{display:flex;justify-content:space-between;gap:12px;align-items:center}
#fv-sms-form .sms-provider-status span{font-size:12px;color:#64748b}
#fv-sms-form .sms-provider-section>b{display:block;margin-bottom:10px;color:#0f172a}
#fv-sms-form .sms-provider-fields{display:grid;grid-template-columns:1fr;gap:8px}
#fv-sms-form .sms-provider-warning{display:block;border-radius:12px;padding:10px;background:#fff7ed;color:#9a3412;line-height:1.8;margin:8px 0 12px}
#fv-sms-form .sms-provider-test{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
#fv-sms-form [hidden]{display:none!important}
@media(max-width:520px){#fv-sms-form .sms-provider-test{grid-template-columns:1fr}}
