:root{--blue:#1c3f55;--blue2:#11364b;--red:#de3126;--bg:#f4f7fb;--card:#fff;--line:#dfe7ef;--text:#122130;--muted:#66758a;--soft:#edf4f8;--shadow:0 18px 45px rgba(28,63,85,.1)}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}.app-shell{display:flex;min-height:100vh}.sidebar{width:280px;background:linear-gradient(180deg,var(--blue),#0e3145);color:#fff;padding:24px 16px;position:fixed;inset:0 auto 0 0;z-index:10}.brand{display:flex;gap:14px;align-items:center;margin-bottom:34px}.brand-logo{width:54px;height:54px;border-radius:16px;background:var(--red);display:grid;place-items:center;font-weight:900;overflow:hidden;position:relative}.brand-logo img{width:100%;height:100%;object-fit:contain;background:#fff}.brand-logo span{position:absolute}.brand-logo img:not([style*=none])+span{display:none}.brand b{font-size:22px;display:block}.brand small{opacity:.8}.sidebar nav{display:grid;gap:10px}.sidebar nav button{border:0;background:transparent;color:#fff;display:flex;gap:14px;align-items:center;padding:15px 16px;border-radius:16px;cursor:pointer;font-size:18px;text-align:left}.sidebar nav button.active,.sidebar nav button:hover{background:#ffffff24}main{margin-left:280px;flex:1;min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:5}.top-title{text-align:center}.top-title b{display:block}.top-title small{color:var(--muted)}.user-area{display:flex;gap:14px;align-items:center}.content{padding:34px}.menu-btn{display:none}.page{display:grid;gap:26px}.grid{display:grid;gap:24px}.hero-grid{grid-template-columns:1fr 360px}.card-grid{grid-template-columns:repeat(4,1fr)}.card{background:var(--card);border:1px solid var(--line);border-radius:26px;box-shadow:var(--shadow);padding:30px}.hero-card h1{font-size:56px;line-height:1.06;margin:10px 0;color:var(--blue)}.hero-card p{font-size:20px;color:var(--muted);max-width:960px}.eyebrow{text-transform:uppercase;letter-spacing:.22em;font-size:14px;font-weight:800;color:var(--muted);margin:0 0 4px}.pill-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.pill,.stage{padding:8px 14px;border-radius:999px;background:var(--soft);font-weight:800;color:var(--blue);text-transform:capitalize}.check-card ul{line-height:2;font-size:19px}.btn{border:0;border-radius:16px;padding:12px 18px;background:var(--soft);font-weight:800;color:var(--blue);display:inline-flex;align-items:center;gap:8px;cursor:pointer}.btn.primary{background:var(--red);color:#fff}.btn.full{width:100%;justify-content:center}.icon-only{border:0;background:var(--soft);border-radius:16px;font-size:32px;width:58px;height:58px;cursor:pointer}.login-screen{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--red));padding:22px}.login-card,.splash{width:min(720px,100%);background:#fff;border-radius:30px;padding:44px;box-shadow:var(--shadow)}.login-logo,.splash img{width:130px;max-height:90px;object-fit:contain}.login-card h1,.splash h1{font-size:46px;margin:18px 0}.login-card label{display:grid;gap:7px;margin:14px 0;font-weight:800}.login-card input{height:52px;border:1px solid var(--line);border-radius:14px;padding:0 16px}.error-box{background:#fff1f0;border:1px solid #ffc7c3;color:#bf2018;border-radius:16px;padding:14px 16px;margin:14px 30px}.page-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.page-head h1{font-size:52px;margin:6px 0;color:var(--blue)}.page-head p{font-size:20px;color:var(--muted)}.toolbar{display:flex;gap:14px;flex-wrap:wrap}.toolbar input,.toolbar select{height:56px;border:1px solid var(--line);border-radius:16px;padding:0 18px;background:#fff;font-size:18px}.toolbar input{min-width:430px}.table-card{overflow:auto}table{width:100%;border-collapse:collapse;min-width:1080px}th{text-align:left;color:var(--muted);text-transform:uppercase;letter-spacing:.12em;font-size:14px;border-bottom:1px solid var(--line);padding:14px 18px}td{padding:18px;border-bottom:1px solid var(--line);font-size:17px}td small{color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:40px}.actions{display:flex;gap:8px}.actions button{width:44px;height:44px;border:0;border-radius:14px;background:var(--soft);color:var(--blue);cursor:pointer}.stage.converted{background:#def7e9;color:#0c6b39}.stage.not_converted{background:#ffe2df;color:#b32017}.stage.waiting{background:#fff3cf}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000070;z-index:30;display:grid;place-items:center;padding:20px}.modal{background:#fff;border-radius:26px;width:min(980px,100%);max-height:92vh;overflow:auto}.modal.large{width:min(1320px,100%)}.modal-head,.modal-foot{display:flex;align-items:center;justify-content:space-between;padding:24px 30px;border-bottom:1px solid var(--line)}.modal-foot{border-top:1px solid var(--line);border-bottom:0;justify-content:flex-end;gap:12px}.modal h2{font-size:34px;color:var(--blue);margin:0}.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:30px}.form-grid label{display:grid;gap:8px;font-weight:800;color:var(--blue)}.form-grid input,.form-grid select,.form-grid textarea{border:1px solid var(--line);border-radius:16px;padding:0 16px;min-height:54px;background:#fff}.form-grid textarea{min-height:120px;padding:14px 16px}@media (max-width:900px){.sidebar{transform:translate(-100%);transition:.2s}.sidebar.open{transform:translate(0)}main{margin-left:0}.menu-btn{display:inline-flex}.top-title{text-align:left}.content{padding:20px}.hero-grid,.card-grid{grid-template-columns:1fr}.hero-card h1,.page-head h1{font-size:38px}.page-head{display:grid}.form-grid{grid-template-columns:1fr}.span-3{grid-column:auto}.toolbar input{min-width:100%;width:100%}}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.page-head h1{font-size:34px;line-height:1.12;margin:4px 0 8px;color:var(--blue)}.page-head p{color:var(--muted);font-size:16px;margin:0;max-width:880px}.card h3{display:flex;align-items:center;gap:8px;margin-top:0;color:var(--blue)}.card p{line-height:1.55}.table-card{padding:0;overflow:hidden}.table-card table{width:100%;border-collapse:collapse;font-size:14px}.table-card th{background:var(--blue);color:#fff;text-align:left;padding:14px 16px;font-size:13px;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap}.table-card td{padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top}.table-card tr:hover td{background:#fbfdff}.actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.actions button{border:0;background:var(--soft);color:var(--blue);border-radius:12px;width:38px;height:38px;display:inline-grid;place-items:center;cursor:pointer}.actions button:hover,.btn:hover{filter:brightness(.96);transform:translateY(-1px)}.toolbar{display:grid;grid-template-columns:1fr auto auto auto;gap:12px;align-items:center}.toolbar input,.toolbar select,.form-grid input,.form-grid select,.form-grid textarea{width:100%;border:1px solid var(--line);border-radius:14px;padding:13px 14px;background:#fff;color:var(--text);outline:none}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.toolbar input:focus,.toolbar select:focus{border-color:var(--blue);box-shadow:0 0 0 3px #1c3f551a}.form-grid textarea{min-height:94px;resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 30px 22px}.form-grid label{display:grid;gap:7px;font-weight:800;color:var(--blue)}.form-section-title{padding:20px 30px 12px;font-size:16px;font-weight:900;color:var(--blue);text-transform:uppercase;letter-spacing:.08em}.span-2{grid-column:span 2}.span-3{grid-column:span 3}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#12213085;display:grid;place-items:center;z-index:99;padding:24px}.modal{width:min(720px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:26px;box-shadow:0 30px 80px #00000040;border:1px solid var(--line)}.modal.large{width:min(1120px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:24px 30px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:1}.modal-head h2{margin:0;color:var(--blue);font-size:26px}.modal-foot{display:flex;justify-content:flex-end;gap:12px;padding:18px 30px;border-top:1px solid var(--line);position:sticky;bottom:0;background:#fff}.error-box{background:#fff4f2;border:1px solid #ffd0c9;color:#9f241b;border-radius:16px;padding:14px 16px;font-weight:800}.empty{text-align:center;color:var(--muted);padding:30px!important}.reminder-top-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}.reminder-card{padding:22px}.reminder-card h3{font-size:17px;margin-bottom:8px}.muted{color:var(--muted)}.family-box{margin:0 30px 22px;border:1px solid var(--line);border-radius:18px;padding:18px;background:#fbfdff}.family-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:12px}.family-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;margin-bottom:10px}.more-toggle{padding:0 30px 20px}@media (max-width:1100px){.card-grid{grid-template-columns:repeat(2,1fr)}.hero-grid,.toolbar{grid-template-columns:1fr}.table-card{overflow-x:auto}.table-card table{min-width:980px}}@media (max-width:760px){.sidebar{transform:translate(-100%);transition:.25s ease}.sidebar.open{transform:translate(0)}main{margin-left:0}.topbar{padding:0 16px}.content{padding:18px}.page-head{display:grid;gap:14px}.hero-card h1{font-size:34px}.card{padding:20px;border-radius:20px}.form-grid{grid-template-columns:1fr;padding:0 18px 18px}.span-2,.span-3{grid-column:span 1}.modal-backdrop{padding:0;place-items:stretch}.modal,.modal.large{width:100%;height:100vh;max-height:100vh;border-radius:0}.modal-head,.modal-foot{padding:16px 18px}.modal-foot{flex-wrap:wrap}.modal-foot .btn{flex:1;justify-content:center}.family-row{grid-template-columns:1fr}.family-box{margin:0 18px 18px}}.table-card th:last-child,.table-card td:last-child{min-width:150px}.table-card .actions{min-width:130px;justify-content:flex-start}select option{font-weight:600}@media (min-width: 900px){.table-card th:last-child,.table-card td:last-child{position:sticky;right:0;background:#fff;z-index:2}.table-card th:last-child{background:var(--blue);color:#fff}}:root{--spt-blue: #1c3f55;--spt-blue-dark: #143041;--spt-red: #de3126;--spt-bg: #f4f7fb;--spt-card: #ffffff;--spt-line: #e6e8ee;--spt-muted: #66758a;--spt-text: #102233;--spt-soft: #eef5f8;--spt-shadow: 0 12px 28px rgba(10,35,66,.06);--spt-shadow-strong: 0 20px 48px rgba(10,35,66,.1);--spt-radius: 20px;--spt-radius-lg: 24px;--spt-gold: #c79b45}html,body,button,input,select,textarea{font-family:Arial,Helvetica,sans-serif!important}body{background:radial-gradient(circle at top right,rgba(28,63,85,.06),transparent 28%),linear-gradient(180deg,#f7f9fc 0%,var(--spt-bg) 100%)!important;color:var(--spt-text)!important;font-size:14px!important;line-height:1.45!important}.topbar,.app-header,.header{background:#fff!important;border-bottom:1px solid var(--spt-line)!important;box-shadow:0 6px 18px #0a234209!important}.topbar strong,.app-header strong,.header strong{color:var(--spt-blue)!important;font-size:15px!important;font-weight:800!important}.sidebar,.side-nav,nav.sidebar{background:linear-gradient(180deg,var(--spt-blue) 0%,var(--spt-blue-dark) 100%)!important;box-shadow:8px 0 28px #0a23421f!important}.sidebar .brand,.side-nav .brand{border-bottom:1px solid rgba(255,255,255,.1)!important}.sidebar a,.sidebar button,.side-nav a,.side-nav button{font-size:14px!important;font-weight:700!important;border-radius:14px!important}.sidebar a.active,.sidebar button.active,.side-nav a.active,.side-nav button.active{background:#ffffff21!important;box-shadow:inset 0 0 0 1px #ffffff14!important}.page{font-size:14px!important}.page-head{margin-bottom:24px!important}.page-head h1,.hero-card h1,.page h1{font-size:clamp(28px,3vw,34px)!important;line-height:1.12!important;letter-spacing:-.03em!important;color:var(--spt-blue)!important;font-weight:800!important;margin:4px 0 8px!important}.page-head p,.hero-card p,.page>p,.muted{font-size:14px!important;color:var(--spt-muted)!important;line-height:1.55!important}.eyebrow{font-size:13px!important;letter-spacing:.18em!important;text-transform:uppercase!important;font-weight:800!important;color:var(--spt-muted)!important}.card,.hero-card,.check-card,.table-card,.reminder-card,section.card{background:var(--spt-card)!important;border:1px solid var(--spt-line)!important;border-radius:var(--spt-radius-lg)!important;box-shadow:var(--spt-shadow)!important}.card{padding:22px!important}.card+.card,section.card+section.card{margin-top:24px!important}.card h2{font-size:20px!important;color:var(--spt-blue)!important;font-weight:800!important}.card h3{font-size:17px!important;color:var(--spt-blue)!important;font-weight:800!important;margin-bottom:10px!important}.table-card{padding:0!important;overflow:auto!important}.table-card table,table{width:100%!important;border-collapse:collapse!important;font-size:13px!important}.table-card th,table th{background:linear-gradient(90deg,var(--spt-blue) 0%,var(--spt-blue-dark) 100%)!important;color:#fff!important;font-size:12px!important;line-height:1.25!important;letter-spacing:.08em!important;text-transform:uppercase!important;font-weight:800!important;padding:13px 15px!important;border-bottom:0!important;white-space:nowrap!important}.table-card th:first-child{border-top-left-radius:18px!important}.table-card th:last-child{border-top-right-radius:18px!important}.table-card td,table td{font-size:13px!important;padding:14px 15px!important;border-bottom:1px solid var(--spt-line)!important;color:var(--spt-text)!important;vertical-align:middle!important}.table-card tbody tr:nth-child(2n) td{background:#fbfdff!important}.table-card tbody tr:hover td{background:#f4f8fb!important}.table-card small,table small{color:var(--spt-muted)!important;font-size:12px!important}input,select,textarea{border:1px solid #dfe6ee!important;border-radius:14px!important;background:#fff!important;font-size:14px!important;min-height:42px!important;padding:11px 14px!important;color:var(--spt-text)!important;box-shadow:inset 0 1px #0a234205!important}textarea{min-height:94px!important}input:focus,select:focus,textarea:focus{border-color:var(--spt-blue)!important;box-shadow:0 0 0 3px #1c3f551a!important;outline:none!important}label{font-size:13px!important;font-weight:800!important;color:var(--spt-blue)!important}.form-grid{gap:16px!important}.btn,button{border-radius:14px!important;font-size:14px!important;font-weight:800!important;letter-spacing:-.01em!important;transition:transform .15s ease,box-shadow .15s ease,filter .15s ease!important}.btn{min-height:42px!important;padding:10px 16px!important;border:1px solid transparent!important;box-shadow:0 8px 16px #0a23420d!important}.btn.primary,button.primary,.primary{background:linear-gradient(180deg,#e43b31 0%,var(--spt-red) 100%)!important;color:#fff!important;box-shadow:0 12px 24px #de31262e!important}.btn:not(.primary){background:var(--spt-soft)!important;color:var(--spt-blue)!important}.btn:hover,button:hover{transform:translateY(-1px)!important;filter:brightness(.98)!important}.actions button,.icon-only{width:38px!important;height:38px!important;border-radius:13px!important;background:var(--spt-soft)!important;color:var(--spt-blue)!important;border:0!important;box-shadow:none!important}.modal-backdrop{background:#0c1c2b8c!important;-webkit-backdrop-filter:blur(3px)!important;backdrop-filter:blur(3px)!important}.modal,.modal.large{border-radius:24px!important;border:1px solid rgba(230,232,238,.9)!important;box-shadow:var(--spt-shadow-strong)!important;overflow:hidden!important}.modal-head{background:linear-gradient(180deg,#fffffff2,#f8fbfdf2)!important;border-bottom:1px solid var(--spt-line)!important;padding:20px 24px!important}.modal-head h2{color:var(--spt-blue)!important;font-size:24px!important;font-weight:800!important;letter-spacing:-.02em!important}.modal-foot{border-top:1px solid var(--spt-line)!important;background:#fbfdff!important;padding:16px 24px!important}.pill,.stage,.badge,.status{border-radius:999px!important;font-size:12px!important;font-weight:800!important;padding:7px 12px!important;background:var(--spt-soft)!important;color:var(--spt-blue)!important;display:inline-flex!important;align-items:center!important;gap:6px!important;line-height:1!important}.stage.converted,.pill.converted{background:#dff7ea!important;color:#146c43!important}.stage.waiting{background:#fff4d8!important;color:#8a6417!important}.stage.not_converted{background:#ffe4e0!important;color:#9f241b!important}.stage.follow_up{background:#e4f0ff!important;color:#1c5792!important}.stage.quoted{background:#fff3da!important;color:#946a15!important}.stage.assigned{background:#ecf4f8!important;color:var(--spt-blue)!important}.error-box{border-radius:18px!important;font-size:14px!important;padding:14px 16px!important}.reminder-top-grid{gap:18px!important}.reminder-card{padding:20px!important}*::-webkit-scrollbar{width:10px;height:10px}*::-webkit-scrollbar-track{background:#edf3f7;border-radius:999px}*::-webkit-scrollbar-thumb{background:#1c3f5547;border-radius:999px}*::-webkit-scrollbar-thumb:hover{background:#1c3f556b}@media (max-width: 760px){body{font-size:14px!important}.page-head h1,.hero-card h1,.page h1{font-size:28px!important}.card{padding:18px!important;border-radius:20px!important}.modal,.modal.large{border-radius:0!important}.table-card table{min-width:920px!important}}.form-section-title{padding:18px 26px 10px;font-size:13px;letter-spacing:.16em;text-transform:uppercase;font-weight:900;color:#1c3f55}.modal.large{width:min(1180px,100%)}.table-card td{vertical-align:top}.payment-chip,.finance-chip{display:inline-flex;border-radius:999px;background:#eef5f8;color:#1c3f55;padding:6px 10px;font-size:12px;font-weight:800}.modal-backdrop{overflow-y:auto!important;align-items:flex-start!important;padding-top:22px!important;padding-bottom:22px!important}.modal,.modal.large{max-height:calc(100vh - 44px)!important;overflow-y:auto!important;outline:none!important}.modal-head{position:sticky!important;top:0!important;z-index:5!important}.modal-foot{position:sticky!important;bottom:0!important;z-index:5!important}input[type=number]::placeholder{color:#98a5b6!important}
