*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Inter,Segoe UI,sans-serif;background:#f4f9ff;color:#16324f;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.site-wrapper{overflow:hidden}.container{width:min(1180px,calc(100% - 32px));margin:0 auto}.header{position:sticky;top:0;z-index:100;background:#ffffffc7;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(18,79,143,.1)}.header-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:12px}.brand-logo{width:52px;height:52px;border-radius:17px;object-fit:cover;box-shadow:0 10px 30px #1560c524;background:#fff}.brand-fallback{display:grid;place-items:center;color:#fff;font-weight:800;background:linear-gradient(135deg,#0d6bff,#33c7ff)}.brand-text{display:flex;flex-direction:column;line-height:1.2}.brand-name{display:block;font-weight:800;font-size:18px}.brand-sub{display:block;font-size:13px;color:#6682a0}.nav{display:flex;gap:22px;color:#2f4f6d;font-weight:600}.nav a:hover{color:#0e63d8}.header-btn{padding:12px 20px;border-radius:14px;color:#fff;font-weight:700;background:linear-gradient(135deg,#0c6bff,#2ec5ff);box-shadow:0 12px 30px #1a76ff40}.header-btn:hover{transform:translateY(-2px)}.hero-section{padding:68px 0 56px}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}.hero-badge{display:inline-block;margin-bottom:18px;padding:10px 16px;border-radius:999px;font-weight:700;color:#0e63d8;background:#1473ff17;border:1px solid rgba(20,115,255,.14)}.hero-title{font-size:clamp(36px,5vw,66px);line-height:1.05;margin-bottom:16px;color:#0c2741}.lead-form{display:flex;gap:10px;max-width:560px;padding:10px;margin-bottom:16px;border-radius:16px;background:#ffffffbf;border:1px solid rgba(18,79,143,.12)}.lead-form input{flex:1;border:1px solid rgba(18,79,143,.14);border-radius:11px;padding:13px 12px;font:inherit}.lead-form button{border:none;border-radius:12px;padding:0 18px;color:#fff;font:inherit;font-weight:700;background:linear-gradient(135deg,#0b6cff,#19b7ff);min-width:170px}.lead-form button:disabled{opacity:.75;cursor:not-allowed}.hero-subtitle{font-size:17px;color:#5b7692;margin-bottom:16px;max-width:620px}.hero-alert{max-width:560px;margin-bottom:14px;padding:10px 12px;border-radius:10px;font-size:14px;font-weight:600}.hero-alert.success{border:1px solid rgba(22,163,74,.28);background:#dcfce7d9;color:#166534}.hero-alert.error{border:1px solid rgba(220,38,38,.24);background:#fee2e2d9;color:#991b1b}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:30px}.btn{min-height:52px;padding:0 24px;border-radius:16px;display:inline-flex;align-items:center;justify-content:center;font-weight:700}.btn-primary{color:#fff;background:linear-gradient(135deg,#0b6cff,#19b7ff)}.btn-secondary{background:#fff;border:1px solid rgba(18,74,123,.15)}.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat-card{background:#ffffffd1;border:1px solid rgba(15,108,255,.1);border-radius:20px;padding:18px}.stat-card strong{display:block;font-size:42px;line-height:1;color:#0c63da}.stat-card span{color:#62809f}.hero-image-card{position:relative;border-radius:34px;padding:22px;background:linear-gradient(180deg,#fffffff2,#e9f4ffe6);border:1px solid rgba(22,113,217,.09);box-shadow:0 25px 70px #114d9824}.hero-main-image{width:100%;height:560px;border-radius:26px;object-fit:contain;background:linear-gradient(135deg,#eef7ff,#f8fcff)}.hero-main-fallback{width:100%;height:560px;border-radius:26px;display:grid;place-items:center;color:#fff;font-size:64px;font-weight:800;background:linear-gradient(135deg,#0e72ff,#4ce0ff)}.floating-card{position:absolute;display:flex;gap:10px;align-items:center;padding:14px 16px;border-radius:18px;background:#fffffff0;border:1px solid rgba(21,99,197,.11)}.floating-card strong{display:block;font-size:15px}.floating-card p{color:#6b87a1;font-size:13px}.top-card{top:36px;left:-26px}.bottom-card{right:-16px;bottom:28px}.icon-circle{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,#0e72ff,#4ce0ff)}.trust-section,.services-section,.advantages-section{padding:76px 0}.section-head{margin-bottom:30px}.section-head.center{text-align:center}.section-label{display:inline-block;margin-bottom:12px;color:#0e6eea;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.section-label.dark{color:#ffffffd6}.section-head h2,.advantages-content h2{font-size:clamp(28px,4vw,54px)}.section-head p,.advantages-content p{color:#64809c;font-size:16px}.trust-grid,.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.trust-box,.service-card,.mini-card{background:#fff;border-radius:22px;border:1px solid rgba(17,99,196,.09);box-shadow:0 18px 44px #12458214}.trust-box{padding:24px 20px}.trust-icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;font-size:24px;background:linear-gradient(135deg,#0b6cff1f,#4ce0ff2e);margin-bottom:14px}.trust-box h3{font-size:20px;line-height:1.2;margin-bottom:8px}.trust-box p{color:#6a86a2;font-size:15px}.service-card{padding:0 0 18px;overflow:hidden;background:linear-gradient(180deg,#fff,#f5fbff)}.service-image{width:100%;aspect-ratio:5 / 4;object-fit:contain;background:#fff}.service-image-fallback{display:grid;place-items:center;color:#1762da;font-size:66px;font-weight:800}.service-icon{width:60px;height:60px;border-radius:18px;display:grid;place-items:center;font-size:26px;background:linear-gradient(135deg,#0d6bff,#4edfff);color:#fff;margin:12px 20px 10px}.service-card h3{font-size:21px;margin:0 20px 8px}.service-card p{margin:0 20px;color:#6a86a2;font-size:15px}.advantages-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.adv-list{list-style:none;margin-top:16px;display:grid;gap:12px}.adv-list li{position:relative;padding-left:22px;color:#20405f;font-weight:500}.adv-list li:before{content:"✓";position:absolute;left:0;color:#0b6cff;font-weight:800}.mini-stack,.advantages-cards{display:grid;gap:14px}.mini-card{padding:22px}.mini-card strong{display:inline-flex;width:44px;height:44px;align-items:center;justify-content:center;border-radius:14px;color:#fff;margin-bottom:10px;background:linear-gradient(135deg,#0d6bff,#4edfff)}.mini-card h3{font-size:21px;margin-bottom:6px}.mini-card p{color:#6d88a1;font-size:15px}.cta-section{padding:30px 0 90px}.cta-box{background:linear-gradient(135deg,#0b63e6,#19aaf8);border-radius:34px;padding:42px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:0 26px 65px #0f67e647}.cta-box h2{font-size:clamp(28px,4vw,52px);line-height:1.1;margin-bottom:12px}.cta-box p{max-width:620px;color:#ffffffdb}.cta-actions{display:flex;gap:14px;flex-wrap:wrap}.btn-white{background:#fff;color:#0d63de}.btn-outline-white{color:#fff;border:1px solid rgba(255,255,255,.35);background:#ffffff14}.footer{padding:36px 0 46px;border-top:1px solid rgba(18,79,143,.08);background:#f8fbff}.footer-grid{display:grid;grid-template-columns:1.2fr .7fr 1fr;gap:24px}.footer h3,.footer h4{color:#0f2d49;margin-bottom:8px}.footer p,.footer a{color:#6f88a3}@media (max-width: 1080px){.nav{display:none}.hero-grid,.trust-grid,.services-grid,.advantages-grid,.footer-grid{grid-template-columns:1fr 1fr}.hero-main-fallback,.hero-main-image{height:420px}.cta-box{flex-direction:column;align-items:flex-start}}@media (max-width: 760px){.header-btn{display:none}.hero-grid,.hero-stats,.trust-grid,.services-grid,.advantages-grid,.footer-grid{grid-template-columns:1fr}.lead-form{flex-direction:column}.lead-form button,.btn,.btn-white,.btn-outline-white{width:100%}.hero-main-fallback,.hero-main-image{height:300px;font-size:44px}.floating-card{position:static;margin-top:12px}.cta-box{padding:28px 22px}}.auth-wrap{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(165deg,#eef6ff,#f8fbff)}.auth-card{width:min(460px,100%);background:#fff;border:1px solid rgba(17,99,196,.12);border-radius:20px;padding:26px;display:grid;gap:12px}.auth-card h1{font-size:30px}.auth-card p{color:#5f7a95}.auth-card input{width:100%;border:1px solid rgba(18,79,143,.16);border-radius:12px;padding:12px;font:inherit}.auth-card button{min-height:46px;border:none;border-radius:12px;color:#fff;font:inherit;font-weight:700;background:linear-gradient(135deg,#0b6cff,#19b7ff)}.auth-error{background:#fef2f2;border:1px solid #fecaca;color:#991b1b;border-radius:12px;padding:10px 12px}.auth-back{color:#0b6cff;font-weight:600}.dash-wrap{max-width:1200px;margin:0 auto;padding:24px}.dash-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.dash-top p{color:#5f7a95}.dash-top button{border:none;border-radius:10px;padding:10px 14px;color:#fff;font:inherit;font-weight:700;background:#0f766e}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:16px}.metric-card{background:#fff;border:1px solid #dce6eb;border-radius:12px;padding:16px}.metric-card p{color:#5c6c74}.metric-card strong{font-size:28px}.grid-two{display:grid;grid-template-columns:1.3fr 1fr;gap:16px}.workspace-grid{grid-template-columns:1fr}.panel{background:#fff;border:1px solid #dce6eb;border-radius:12px;padding:16px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}.panel-head form{display:flex;gap:8px}.panel-head input{border:1px solid #dce6eb;border-radius:8px;padding:8px 10px}.panel-head button{border:none;border-radius:8px;padding:8px 12px;background:#0f766e;color:#fff}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px;border-bottom:1px solid #dce6eb}th{color:#5c6c74;font-size:13px}.visit-list{list-style:none;display:grid;gap:10px}.visit-list li{border:1px solid #dce6eb;border-radius:10px;padding:12px;display:flex;justify-content:space-between;gap:8px}.visit-list p,.visit-list time{color:#5c6c74}.boot-loading{min-height:100vh;display:grid;place-items:center;font-size:18px;color:#44586e}.db-shell{min-height:100vh;height:100vh;display:grid;grid-template-columns:270px 1fr;background:#f4f9ff}.db-sidebar{background:#0f2f4f;color:#d8e8f8;padding:18px 14px;display:grid;grid-template-rows:auto 1fr auto;gap:16px}.db-brand strong{display:block;color:#fff}.db-brand p{font-size:13px;color:#9ec1e3}.db-nav{display:grid;gap:6px;align-content:start;overflow-y:auto}.db-nav a{color:#d8e8f8;padding:8px 10px;border-radius:8px;font-size:14px}.db-nav a:hover{background:#ffffff1f}.db-nav a.active{background:#4c9dff47;color:#fff;border-left:3px solid #4ec5ff;padding-left:7px}.db-logout{border:1px solid rgba(255,255,255,.2);background:transparent;color:#fff;border-radius:10px;padding:10px;font:inherit}.db-content{min-width:0;max-height:100vh;overflow-y:auto}.db-content.db-content-no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.db-content.db-content-no-scrollbar::-webkit-scrollbar{width:0;height:0;display:none}.module-page{background:#fff;border:1px solid #dce6eb;border-radius:16px;padding:20px}.module-page h1{margin-bottom:8px}.module-page p{color:#5f7a95;margin-bottom:14px}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.module-card{border:1px dashed #b5ccdf;background:#f8fcff;border-radius:12px;padding:18px}.module-wide{grid-column:1 / -1}.module-card h3{margin-bottom:8px;text-transform:capitalize}.module-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.module-head-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.module-settings-btn{border:1px solid #b8cfe1;background:#fff;color:#16406a;padding:7px 12px;border-radius:10px;font-weight:700;font-size:13px}.module-settings-btn:hover{background:#eef6fd}.admin-center-page{background:radial-gradient(1200px 300px at 10% 0%,rgba(31,120,220,.08),transparent 60%),#fff}.landing-admin-page{background:radial-gradient(1000px 260px at 0% 0%,rgba(26,149,255,.08),transparent 60%),radial-gradient(800px 220px at 100% 0%,rgba(20,184,166,.08),transparent 55%),#fff}.landing-admin-page .module-card{border:1px solid #c6ddf1;border-style:solid;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f6faff);box-shadow:0 6px 24px #113b680f}.landing-admin-page .module-head{margin-bottom:16px}.landing-admin-page .module-head h1{font-size:clamp(30px,3vw,42px);line-height:1.08}.landing-admin-page .module-head p{font-size:16px}.landing-admin-page .report-filter-form{margin-bottom:12px;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end}.landing-admin-page label{display:grid;gap:6px;color:#1e3a5b;font-weight:600;font-size:13px}.landing-admin-page input,.landing-admin-page select,.landing-admin-page textarea{width:100%;min-height:44px;border-radius:12px;border:1px solid #bcd3e7;background:#fff;padding:10px 12px;color:#113b68;font:inherit;transition:border-color .2s ease,box-shadow .2s ease}.landing-admin-page textarea{min-height:96px;resize:vertical;box-sizing:border-box}.landing-admin-page input:focus,.landing-admin-page select:focus,.landing-admin-page textarea:focus{outline:none;border-color:#2d7ff9;box-shadow:0 0 0 3px #2d7ff929}.landing-admin-page .hero-actions{margin-bottom:0}.landing-admin-page .landing-field{display:grid;gap:8px;width:100%;margin-bottom:12px}.landing-admin-page .landing-field-full{grid-column:1 / -1}.landing-admin-page .landing-field textarea{width:100%;min-height:110px}.landing-admin-page .landing-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.landing-admin-page .module-settings-btn{min-height:42px;padding:0 16px;border-radius:12px}.module-settings-btn.is-primary{border-color:#2b7cf0;color:#fff;background:linear-gradient(135deg,#2b7cf0,#1aa0f5)}.module-settings-btn.is-primary:hover{background:linear-gradient(135deg,#2168cc,#1587d3)}.module-settings-btn.is-danger{border-color:#f3b3b3;color:#a11f1f;background:#fff5f5}.module-settings-btn.is-danger:hover{background:#ffe8e8}.module-settings-btn.is-muted{border-color:#b8cfe1;color:#0f4f7e;background:#f3f8ff}.module-settings-btn.is-muted:hover{background:#e8f2ff}.landing-admin-page .mini-table{font-size:14px}.landing-admin-page .mini-table th{color:#365b7f;font-weight:700}.landing-admin-page .mini-table td{color:#0f3559}.landing-admin-page .mini-table td input,.landing-admin-page .mini-table td select{min-height:36px;padding:6px 8px;border-radius:10px;font-size:13px}.landing-admin-page .mini-table td:nth-child(2) input,.landing-admin-page .mini-table td:nth-child(3) input,.landing-admin-page .mini-table td:nth-child(5) input,.landing-admin-page .mini-table td:nth-child(6) input{min-width:160px}.landing-admin-page .mini-table td:last-child{white-space:nowrap}.landing-admin-page .mini-table td{padding-top:8px;padding-bottom:8px}.landing-admin-page .module-grid>.module-card h3{margin-bottom:2px}.landing-admin-page .module-grid>.module-card p{margin:0;font-size:28px;font-weight:800;color:#113b68}.landing-section-page .module-card{padding:20px 18px}.landing-section-page .module-card+.module-card{margin-top:12px}.landing-section-page .module-card h3{margin-bottom:14px}.landing-section-page .report-filter-form{row-gap:14px;column-gap:12px;margin-bottom:14px}.landing-section-page .landing-field{margin-top:4px;margin-bottom:14px}.landing-section-page .landing-field input{min-height:46px}.landing-section-page .landing-actions{display:flex;gap:10px;align-items:center;padding-top:4px}.landing-section-page .module-settings-btn{min-height:40px;min-width:96px}.landing-section-page .mini-table td:last-child{white-space:nowrap}.landing-section-page .mini-table td input,.landing-section-page .mini-table td select{min-height:34px;border-radius:8px;border:1px solid #bcd3e7;padding:6px 8px}.sms-settings-page .module-head p{margin-bottom:0}.sms-plus-btn{min-width:126px}.sms-settings-add{margin-bottom:12px}.sms-settings-form{grid-template-columns:repeat(5,minmax(0,1fr));width:100%;max-width:none}.sms-settings-form>button{justify-self:start;min-height:42px;min-width:120px}.sms-settings-enabled{display:inline-flex!important;align-items:center;gap:8px;min-height:42px}.sms-settings-enabled input[type=checkbox]{width:16px;height:16px;min-height:auto}.sms-settings-table th:last-child,.sms-settings-table td:last-child{min-width:235px}.sms-settings-table th:nth-child(6),.sms-settings-table td:nth-child(6){min-width:150px;white-space:normal}.sms-row-time{display:inline-flex;align-items:center;gap:6px}.sms-row-time input{min-width:94px}.row-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.table-view-btn.is-danger{border-color:#f3b3b3;color:#a11f1f;background:#fff5f5}.table-view-btn.is-danger:hover{background:#ffe8e8}.plan-grafika-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.plan-grafika-card{border-style:solid}.plan-grafika-card-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px}.plan-grafika-form{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.plan-grafika-form-3{grid-template-columns:repeat(3,minmax(0,1fr))}.plan-switch{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:#0f3559;font-weight:700}.plan-switch input{width:16px;height:16px}.plan-readonly-input{font-size:13px;padding:8px 9px}.plan-status-line{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:10px}.plan-status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 10px;font-weight:700;font-size:12px;border:1px solid #b8cfe1;color:#0f4f7e;background:#f1f8ff}.plan-status-badge.success{border-color:#9ad8bc;color:#0a6a44;background:#e9f8f0}.plan-status-badge.failed{border-color:#f3b3b3;color:#a11f1f;background:#fff1f1}.plan-status-badge.running{border-color:#9dc8ff;color:#1955a6;background:#e9f2ff}.plan-status-running{font-size:12px;color:#2b5d8a;font-weight:600}.plan-error-text{margin-top:0;color:#9b1c1c;background:#fff4f4;border:1px solid #f4c4c4;border-radius:10px;padding:8px 10px}.admin-landing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-landing-card p{margin-bottom:12px}.mini-table-wrap{overflow-x:auto}.mini-table{width:100%;border-collapse:collapse;font-size:13px}.mini-table th,.mini-table td{border-bottom:1px solid #dce6eb;padding:6px 8px;text-align:left;vertical-align:top}.mini-table .itogo-row td{font-weight:800;background:#eef5ff}.sms-template-table td:nth-child(2){min-width:420px}.status-badge{display:inline-flex;align-items:center;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}.eskiz-status{color:#184f86;background:#e8f0fb}.eskiz-status-moderation{color:#7a5100;background:#fff3c4}.asmir-active{color:#116530;background:#dcfce7}.asmir-passive{color:#b91c1c;background:#fee2e2}.kv-list{list-style:none;display:grid;gap:6px}.eskiz-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;margin-bottom:14px;background:linear-gradient(120deg,#0e3a65,#0f766e);color:#fff;border-radius:16px;padding:18px}.eskiz-hero h1{margin-bottom:4px}.eskiz-filters{display:grid;gap:8px;justify-items:end;min-width:360px}.eskiz-filters input,.eskiz-filters select,.eskiz-filters button{border:1px solid rgba(255,255,255,.25);background:#ffffff1f;color:#fff;border-radius:10px;padding:8px 10px;font:inherit}.eskiz-filters button{cursor:pointer;font-weight:700;min-width:170px}.eskiz-filters button:disabled{cursor:not-allowed;opacity:.72;border-color:#ffffff38}.eskiz-refresh-progress-wrap{width:min(360px,100%);display:grid;gap:6px}.eskiz-refresh-progress-head{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#ffffffe6}.eskiz-refresh-progress-head strong{color:#fff}.eskiz-refresh-progress{width:100%;height:8px;border-radius:999px;background:#ffffff2e;border:1px solid rgba(255,255,255,.2);overflow:hidden}.eskiz-refresh-progress span{display:block;height:100%;width:0;border-radius:999px;transition:width .6s ease;background:linear-gradient(90deg,#79d6ff,#d1f9ff)}.eskiz-refresh-progress.is-syncing span{background:linear-gradient(90deg,#7effcb,#b8fff2)}.eskiz-last-sync{font-size:13px;color:#ffffffe0;padding:0 2px}.eskiz-filters select option{color:#12395f;background:#fff}.patients-sync-head{display:grid;gap:6px;justify-items:end;min-width:320px}.patients-sync-head p{margin:0;font-size:13px;color:#ffffffe6}.patients-sync-btn{border:1px solid rgba(255,255,255,.24);background:#ffffff1f;color:#fff;border-radius:10px;padding:9px 14px;font:inherit;font-weight:700;cursor:pointer;min-width:170px}.patients-sync-btn:disabled{opacity:.75;cursor:not-allowed}.eskiz-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.eskiz-card{background:#fff;border:1px solid #cde0ef;border-radius:12px;padding:14px}.eskiz-card p{color:#4f6d88}.eskiz-card strong{font-size:26px;display:block}.metric-value-row{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:10px}.metric-link-btn{margin-top:10px;margin-left:auto;display:inline-flex;align-items:center;justify-content:center;border:1px solid #2f7be8;background:linear-gradient(135deg,#2f80ed,#1f6fe0);color:#fff;border-radius:9px;padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 6px 14px #2f7be83d}.metric-link-btn:hover{background:linear-gradient(135deg,#3a8bf5,#2a78e5);border-color:#2a78e5}.metric-value-row .metric-link-btn{margin-top:0;margin-left:0;flex-shrink:0}.eskiz-errors{margin-bottom:12px;border:1px solid #fecaca;border-radius:12px;background:#fff1f2;padding:10px 12px;color:#881337}.eskiz-notice{margin-bottom:12px;border:1px solid #cce4ff;border-radius:12px;background:#ecf6ff;padding:10px 12px;color:#114570;font-weight:600}.report-head{align-items:flex-start}.report-result-note{margin:4px 0 0;font-size:12px;color:#4b6780}.report-result-note strong{color:#0e3a65}.report-filter-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;width:min(100%,930px)}.report-actions{display:grid;grid-template-rows:1fr 1fr;gap:8px}.report-detail-btn{border:1px solid #2f7dd7;border-radius:9px;background:#e9f2ff;color:#114a86;font-weight:700;cursor:pointer}.report-filter-form label{display:grid;gap:6px;font-size:13px;color:#355674}.report-filter-form input,.report-filter-form select,.report-filter-form button{border:1px solid #c8d9e7;border-radius:9px;background:#fff;color:#163a5b;padding:8px 10px;font:inherit;font-size:14px}.report-filter-form input:focus,.report-filter-form select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f626}.report-filter-form button{align-self:end;background:#4f7df3;border-color:#4f7df3;color:#fff;font-weight:700;cursor:pointer}.report-filter-form button:hover{background:#3c66d3;border-color:#3c66d3}.details-filter-form{grid-template-columns:repeat(6,minmax(0,1fr));width:min(100%,1120px);margin-bottom:10px}.sms-warning-note{margin:4px 0 12px;border:1px solid #fde2b8;border-left:4px solid #f59e0b;border-radius:10px;background:#fff9ee;padding:9px 11px}.sms-warning-note p{margin:0;font-size:12px;line-height:1.45;color:#8a4d00}.sms-status-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;margin-top:8px}.sms-status-guide span{font-size:12px;line-height:1.45;color:#8a4d00}.sms-status-guide strong{color:#a04400}.table-view-btn{border:1px solid #c2d6ea;border-radius:8px;background:#fff;color:#16406a;padding:5px 9px;font-size:12px;font-weight:700;cursor:pointer}.table-view-btn:hover{background:#eef6fd}.sms-full-text{white-space:pre-wrap;word-break:break-word;border:1px dashed #c9d9e8;border-radius:8px;background:#fff;padding:10px;color:#153a5f}.details-pagination{margin-top:10px;display:flex;align-items:center;gap:10px}.details-pagination button{border:1px solid #bfd2e5;border-radius:8px;background:#fff;color:#153e65;padding:7px 11px;font-weight:700;cursor:pointer}.details-pagination button:disabled{opacity:.5;cursor:not-allowed}.sms-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0814227a;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:grid;place-items:center;padding:16px;z-index:1200}.sms-modal-card{width:min(780px,100%);max-height:min(86vh,920px);overflow:auto;border-radius:14px;border:1px solid #d8e5f2;background:#fff;box-shadow:0 20px 50px #05162959;padding:14px}.sms-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.sms-modal-head h3{margin:0;color:#113a63}.sms-modal-close{border:1px solid #c6d8ea;border-radius:9px;width:34px;height:34px;background:#f4f9ff;color:#1b436a;font-size:22px;line-height:1;cursor:pointer}.sms-modal-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;margin-bottom:10px}.sms-modal-grid p{margin:0;font-size:13px;color:#2f5577}.sms-modal-text-label{margin:0 0 7px;color:#113a63;font-weight:700}.template-form{display:grid;gap:10px;margin-bottom:14px}.template-form textarea{width:100%;border:1px solid #c8d9e7;border-radius:10px;padding:10px;font:inherit;resize:vertical;min-height:110px}.template-form button{border:none;border-radius:10px;background:#0f766e;color:#fff;font:inherit;font-weight:700;padding:10px 14px;width:fit-content}.template-success{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46;border-radius:12px;padding:10px 12px;margin-bottom:12px}.template-list-title{margin-bottom:10px}.template-workspace{background:radial-gradient(1200px 260px at -10% -30%,rgba(35,145,255,.08),transparent 58%),radial-gradient(900px 220px at 110% -20%,rgba(15,118,110,.1),transparent 60%),#f7fafc}.eskiz-template-modal{width:100%;border:1px solid #d8e4ef;border-radius:16px;background:#fff;box-shadow:0 14px 30px #1136581a;margin:0 auto 16px;padding:18px;font-family:Poppins,Trebuchet MS,Segoe UI,sans-serif}.template-composer-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.template-composer-top h1{margin:0;font-size:clamp(24px,2.2vw,32px);font-weight:800;color:#12395f}.template-kicker{margin:0 0 4px;color:#0f766e;text-transform:uppercase;letter-spacing:.08em;font-size:11px;font-weight:700}.template-back-btn{border:1px solid #bfd4e8;border-radius:10px;background:#f6fbff;color:#18456f;font:inherit;font-weight:700;padding:8px 12px;cursor:pointer;white-space:nowrap}.template-back-btn:hover{transform:translateY(-1px);border-color:#9cc1e1;background:#eef7ff}.template-workspace .eskiz-warning-text{color:#b91c1c;font-size:clamp(13px,1vw,16px);line-height:1.4;padding:0;margin:0}.eskiz-template-example{margin-top:12px;border:1px solid #d8e5f2;border-left:4px solid #4f7df3;border-radius:12px;background:linear-gradient(180deg,#f8fbff,#f4f8fd);padding:10px 12px}.eskiz-template-example-title{margin:0 0 8px;font-size:13px;font-weight:700;color:#18456f;text-transform:uppercase;letter-spacing:.04em}.eskiz-template-example-row{margin:0 0 8px}.eskiz-template-example-row:last-child{margin-bottom:0}.eskiz-template-example-row span{display:inline-block;margin-bottom:4px;font-weight:700;color:#294b6d;font-size:13px}.eskiz-template-example-row p{margin:0;color:#1e3e5e;font-size:14px;line-height:1.45;word-break:break-word}.eskiz-template-example-row code{display:inline-block;padding:2px 8px;border-radius:999px;background:#e7effb;color:#1d4f8a;border:1px solid #c9d9ef;font-size:13px}.template-main-grid{margin-top:12px;display:grid;grid-template-columns:1.2fr 1fr;gap:14px}.template-field{border:1px solid #dce8f2;border-radius:14px;background:#fbfdff;padding:12px}.template-label{display:block;margin-bottom:8px;font-size:14px;font-weight:700;color:#294b6d}.eskiz-main-textarea{width:100%;border:1px solid #f2acac;border-radius:10px;padding:11px;font:inherit;font-size:16px;resize:vertical;min-height:170px;background:#fffefe;transition:box-shadow .2s ease,border-color .2s ease}.eskiz-main-textarea:focus{outline:none;border-color:#f48989;box-shadow:0 0 0 4px #f4898929}.eskiz-main-textarea.is-filled{border-color:#22c55e;box-shadow:0 0 0 3px #22c55e24}.eskiz-main-textarea.is-filled:focus{border-color:#16a34a;box-shadow:0 0 0 4px #16a34a33}.eskiz-counter-text{padding:10px 0 0;margin:0;font-size:14px;color:#2f4b67;display:flex;gap:8px;flex-wrap:wrap}.eskiz-counter-text span{border:1px solid #c9ddf0;background:#f4f9ff;border-radius:999px;padding:5px 10px}.eskiz-counter-text strong{color:#0f3b67}.eskiz-note-label{display:none}.eskiz-note-textarea{margin:0;width:100%;border:1px solid #d1d5db;border-radius:10px;padding:10px;font:inherit;font-size:15px;min-height:120px;resize:vertical;transition:box-shadow .2s ease,border-color .2s ease}.eskiz-note-textarea:focus{outline:none;border-color:#7fb2df;box-shadow:0 0 0 4px #7fb2df29}.eskiz-guide-link{display:inline-block;margin:12px 0 8px;color:#0d63d2;font-size:14px;font-weight:600;text-decoration:underline;text-decoration-color:#0d63d247;text-underline-offset:3px}.eskiz-check-line{display:flex;align-items:flex-start;gap:8px;margin:5px 0;font-size:14px;color:#374151}.eskiz-check-line input{width:16px;height:16px;accent-color:#0f766e}.eskiz-modal-actions{display:flex;align-items:center;gap:10px;padding:14px 0 2px;border-top:1px solid #e4edf5;margin-top:8px}.eskiz-save-btn{border:none;border-radius:12px;background:linear-gradient(135deg,#17a06e,#0f766e);color:#fff;font-weight:700;font-size:14px;padding:8px 16px;cursor:pointer;box-shadow:0 8px 20px #0f766e33}.eskiz-save-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.eskiz-cancel-btn{border:1px solid #f1d162;border-radius:12px;background:linear-gradient(135deg,#ffe780,#f8d643);color:#3f3b11;font-weight:700;font-size:14px;padding:8px 16px;cursor:pointer;box-shadow:0 8px 20px #f4d24c33}.guide-page h1{margin-bottom:8px}.guide-card{border:1px solid #d6e0ea;background:#f9fbfe;border-radius:10px;padding:14px;display:grid;gap:12px;margin-bottom:14px}.guide-subtitle{margin-bottom:8px}.guide-table th,.guide-table td{padding:10px}.guide-important{margin-top:14px;display:grid;gap:8px}.guide-important h3{margin-bottom:2px}.debtors-wrap{padding-bottom:24px;max-width:1420px}.debtors-card{background:#f7fbff;border:1px solid #d5e2ef;border-radius:16px;padding:14px}.debtors-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.debtors-head h1{margin:0;color:#153a61;font-size:clamp(28px,3vw,42px)}.debtors-back-btn{min-height:34px;border-radius:9px;border:1px solid #8fb0cf;background:#ecf4fc;color:#264a6f;font-weight:700;font-size:13px;padding:0 14px}.debtors-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:8px}.deb-summary-item{border:1px solid #c9d9ea;border-radius:12px;background:#fff;padding:8px 10px}.deb-summary-item p{color:#5e7f9f;font-size:11px;margin:0 0 2px}.deb-summary-item strong{font-size:clamp(22px,2vw,44px);line-height:1;color:#0f2f4f}.deb-summary-item.issued{border-left:4px solid #2f79e2}.deb-summary-item.paid{border-left:4px solid #11ad75}.deb-summary-item.balance{border-left:4px solid #e04848}.deb-summary-item.balance.neg strong{color:#df2626}.deb-summary-item.balance.pos strong{color:#13824b}.debtors-filters{display:grid;gap:8px;margin-bottom:10px}.debtors-filter-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.debtors-filter-col{display:grid;gap:8px}.debtors-pill-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.debtors-pill{border:1px solid #c8d9eb;background:#edf3fb;color:#2a4d72;border-radius:999px;min-height:30px;padding:0 12px;font-size:12px;font-weight:700}.debtors-pill.active{border-color:#2f67db;background:#2f67db;color:#fff}.action-row{justify-content:flex-end}.debtors-actions-pills{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.debtors-search{display:inline-flex;align-items:center;gap:6px}.debtors-search input{min-width:220px;min-height:30px;border-radius:9px;border:1px solid #c4d7ea;background:#fff;padding:0 9px;color:#13385d;font:inherit;font-size:12px}.debtors-search button{min-height:30px;border-radius:8px;border:0;background:#2d63da;color:#fff;padding:0 14px;font-size:12px;font-weight:700}.debtors-notice{margin-bottom:8px;border-radius:10px;border:1px solid #b9d6c5;background:#e6f8ec;color:#10653a;font-size:13px;font-weight:600;padding:8px 10px}.debtors-notice.warning{border-color:#f1df95;background:#fff8da;color:#7f5d00}.patients-list-meta{margin:12px 0;font-size:13px;color:#4b6780}.debtors-table-wrap{border:1px solid #d5e2ef;border-radius:12px;background:#fff;overflow:auto}.debtors-table{font-size:13px}.debtors-table thead th{white-space:nowrap;color:#123559;font-weight:800;background:#f2f7ff}.debtors-table td{color:#16324f;vertical-align:middle}.debt-patient-status{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;border:1px solid #c3d8ea;background:#edf5ff;color:#18456f;padding:0 9px;font-size:11px;font-weight:700;white-space:nowrap}.debtors-table .money-cell{font-weight:700;white-space:nowrap}.debtors-table .debt-balance.neg{color:#e02424;font-weight:800}.debtors-table .debt-balance.pos{color:#13824b;font-weight:800}.debt-status{display:inline-flex;align-items:center;justify-content:center;min-height:20px;border-radius:999px;padding:0 8px;font-size:10px;font-weight:800}.status-await{background:#facc15;color:#2d2d2d}.status-sent{background:#dbeafe;color:#1d4ed8}.status-passive{background:#edf2f7;color:#64748b}.debt-sms-btn{border:0;min-height:38px;border-radius:6px;background:#e63946;color:#fff;font-size:13px;font-weight:700;padding:0 12px}.debt-sms-btn:disabled{background:#c7d2e0;color:#5d6f83}.debtors-pagination{margin-top:10px;display:flex;align-items:center;justify-content:flex-end;gap:10px}.debtors-pagination button{min-height:32px;border-radius:8px;border:1px solid #b6cae0;background:#fff;color:#1c466f;font-size:12px;font-weight:700;padding:0 12px}.debtors-pagination button:disabled{opacity:.45}.debtors-pagination span{font-size:13px;font-weight:700;color:#234c75}.manual-sms-page .module-head p{margin-bottom:0}.manual-sms-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:18px;align-items:stretch}.manual-sms-form-card{min-height:100%}.manual-sms-form{display:grid;gap:14px}.manual-sms-field{display:grid;gap:8px;color:#123a62;font-size:13px;font-weight:800}.manual-sms-field input,.manual-sms-field select,.manual-sms-field textarea{width:100%;border:1px solid #bcd3e7;border-radius:14px;padding:12px 14px;background:#fff;color:#082f55;outline:none;font:inherit;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.manual-sms-field input:focus,.manual-sms-field select:focus,.manual-sms-field textarea:focus{border-color:#22c55e;box-shadow:0 0 0 4px #22c55e1f}.manual-sms-field textarea{min-height:190px;line-height:1.55;resize:vertical}.manual-sms-counter-row{display:flex;flex-wrap:wrap;gap:8px}.manual-sms-counter-chip{display:inline-flex;align-items:center;gap:4px;border:1px solid #bcd3e7;border-radius:999px;background:#eef7ff;color:#16406a;padding:7px 11px;font-size:13px}.manual-sms-submit{min-height:48px;border:0;border-radius:14px;background:linear-gradient(135deg,#2378f2,#15a8ef);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 12px 24px #2378f233;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}.manual-sms-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 16px 28px #2378f23d}.manual-sms-submit:disabled{opacity:.62;cursor:not-allowed;box-shadow:none}.manual-sms-side{display:grid;gap:14px;align-content:start}.manual-sms-note{border:1px solid #fed7aa;border-left:5px solid #f97316;border-radius:16px;background:#fff7ed;color:#9a3412;padding:16px;line-height:1.55}.manual-sms-note strong{color:#7c2d12}.manual-sms-note b{color:#0f4c81}.manual-sms-preview-card{border:1px solid #c6ddf1;border-radius:18px;background:radial-gradient(320px 180px at 95% 0%,rgba(20,184,166,.16),transparent 60%),#fff;padding:18px;box-shadow:0 12px 28px #113b6812}.manual-sms-preview-card span{color:#2b7cf0;font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.manual-sms-preview-card h3{margin:10px 0;color:#082f55;font-size:22px}.manual-sms-preview-card p{min-height:120px;border:1px dashed #b5ccdf;border-radius:14px;background:#f8fcff;padding:14px;color:#244c73;white-space:pre-wrap}.manual-sms-preview-card small{color:#5f7a95}@media (max-width: 900px){.db-shell{grid-template-columns:1fr}.db-sidebar{grid-template-rows:auto auto auto}.db-nav,.metrics,.eskiz-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two,.template-main-grid{grid-template-columns:1fr}.eskiz-template-modal{padding:14px}.template-composer-top h1{font-size:22px}.report-filter-form{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.debtors-summary,.debtors-filter-grid{grid-template-columns:1fr}.action-row{justify-content:flex-start}.debtors-search{width:100%}.debtors-search input{min-width:0;flex:1}.plan-grafika-grid,.manual-sms-grid{grid-template-columns:1fr}}@media (max-width: 640px){.db-nav,.module-grid,.admin-landing-grid,.landing-admin-page .report-filter-form{grid-template-columns:1fr}.eskiz-hero{flex-direction:column;align-items:flex-start}.eskiz-filters,.patients-sync-head{width:100%;justify-items:start;min-width:0}.eskiz-refresh-progress-wrap{width:100%}.report-filter-form{grid-template-columns:1fr}.dash-wrap{padding:16px}.dash-top,.panel-head{flex-direction:column;align-items:flex-start}.panel-head form{width:100%}.panel-head input{flex:1;width:100%}.sms-modal-grid{grid-template-columns:1fr}}
