@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');

:root{--brand:#009ee2;--brand-hover:#008cc9;--navy:#152b3e;--ink:#23394a;--muted:#82909c;--line:#e8edf1;--pale:#eef9ff;--canvas:#f7f9fb;--green:#269d8b;--radius:14px;--sidebar:252px}
*{box-sizing:border-box}
body{margin:0;font-family:"DM Sans",sans-serif;font-size:14px;color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:"Manrope",sans-serif;letter-spacing:-.04em;color:var(--navy)}
a{color:var(--brand);text-decoration:none;transition:color .18s,background .18s,transform .18s}
a:hover{color:var(--brand-hover)}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{touch-action:manipulation}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.5}
button:focus-visible,a:focus-visible{outline:3px solid #54c9fa;outline-offset:4px}
.svg-defs{position:absolute;width:0;height:0;overflow:hidden}
.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.text-brand{color:var(--brand)}
.muted,.muted-text{color:var(--muted)}
.eyebrow{font-size:10px;letter-spacing:1.85px;font-weight:700;display:block}
.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border:1px solid transparent;border-radius:7px;line-height:1.35;font-weight:600;font-size:12px;white-space:nowrap;transition:all .2s}
.button:hover{transform:translateY(-1px)}
.button-primary{background:var(--brand);color:#fff;box-shadow:0 3px 7px #009ee21c}
.button-primary:hover{background:var(--brand-hover);color:#fff;box-shadow:0 5px 14px #009ee22b}
.button-secondary{border-color:#e0e7ec;background:#fff;color:#496071}
.button-secondary:hover{background:#f4f9fc;color:var(--navy);border-color:#c7dbe7}
.button-small{min-height:36px;padding:8px 13px;font-size:11px}
.button .icon{width:16px;height:16px}
.button-danger{background:#d64f56;color:#fff}.button-danger:hover{background:#bd3940;color:#fff}
.button-group{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.icon-button{display:inline-flex;align-items:center;justify-content:center;width:33px;height:33px;border:0;background:transparent;color:#8c9aa5;border-radius:7px}
.icon-button:hover{background:var(--pale);color:var(--brand)}
.icon-button .icon{width:17px;height:17px}
.text-button{border:0;padding:0;background:transparent;color:var(--brand);font-size:12px;font-weight:600}
.text-button:hover{color:var(--brand-hover);text-decoration:underline}
.subtle-link{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:600}.subtle-link .icon{width:15px}
.tiny-note{font-size:11px;color:var(--muted)}
.live-dot{width:6px;height:6px;border-radius:50%;display:inline-block;background:#42b3a0;flex-shrink:0}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);background:#fff;border-right:1px solid var(--line);z-index:30;display:flex;flex-direction:column;padding:0 19px;overflow-y:auto}
.brand{height:110px;display:flex;align-items:center;padding:4px 11px 0;gap:11px}
.brand img{width:89px;height:89px;object-fit:contain}.brand>span{font-size:8px;letter-spacing:1.5px;font-weight:650;color:#92a0aa;border-left:1px solid var(--line);padding-left:13px;margin-top:15px}
.workspace-switch{display:flex;align-items:center;gap:10px;background:#f8fafc;border:1px solid var(--line);border-radius:8px;padding:11px 10px;margin:1px 0 28px}
.workspace-mark{font-family:Georgia,serif;font-style:italic;font-size:24px;color:var(--brand);background:#e7f5fd;border-radius:6px;width:33px;height:34px;display:flex;align-items:center;justify-content:center}
.workspace-switch strong{display:block;font-size:10px;font-weight:650;color:#3b5162}.workspace-switch small{display:block;color:#94a0a9;font-size:9px;margin-top:2px}.workspace-switch .live-dot{margin-left:auto;width:5px;height:5px}
.nav-caption{font-size:8px;font-weight:600;letter-spacing:1.6px;color:#9ca7b0;padding:0 13px;margin-bottom:12px}
.main-nav>a{display:flex;align-items:center;gap:12px;height:43px;padding:0 13px;margin-bottom:5px;border-radius:7px;color:#73818f;font-size:11px;font-weight:500}
.main-nav>a .icon{width:17px;height:17px}
.main-nav>a:hover{background:#f6fbff;color:var(--brand)}
.main-nav>a.active{background:#eaf7fe;color:#0097da;font-weight:650}
.active-dot{display:none}.active .active-dot{display:block;background:var(--brand);width:5px;height:5px;border-radius:50%;margin-left:auto}
.nav-subcaption{margin-top:30px}
.sidebar-bottom{margin-top:auto;padding-top:45px}
.telegram-nudge{background:linear-gradient(130deg,#eff9ff,#f6fbfe);border:1px solid #e3f0f8;border-radius:10px;padding:17px 15px;margin-bottom:22px}
.nudge-icon{background:#dff3ff;width:29px;height:29px;border-radius:8px;display:flex;align-items:center;justify-content:center;color:var(--brand);margin-bottom:12px}
.nudge-icon .icon{width:17px;height:17px}
.telegram-nudge strong{font-size:11px;letter-spacing:-.15px;font-weight:650}.telegram-nudge p{font-size:10px;line-height:1.7;color:#8194a3;margin:7px 0 13px}
.telegram-nudge a{font-size:9px;font-weight:650;display:flex;align-items:center;justify-content:space-between}.telegram-nudge a .icon{width:14px;height:14px}
.profile-nav{border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;padding:20px 0 23px}.profile-nav strong{font-size:10px;display:block;color:#344c5f}.profile-nav small{font-size:9px;color:#9aa5af}.profile-nav>.icon{width:13px;margin-left:auto}
.avatar{width:32px;height:32px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%;background:#e4f4ff;color:#118dc5;border:3px solid #f3faff;font-size:10px;font-weight:700}.avatar-large{width:42px;height:42px;font-size:14px}
.main-shell{margin-left:var(--sidebar)}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;gap:15px}
.breadcrumbs{font-size:11px;color:#92a0ab;display:flex;align-items:center;gap:14px}.breadcrumbs span{color:#c8d0d6}.breadcrumbs strong{color:#536576;font-weight:500}
.topbar-right{display:flex;align-items:center;gap:12px}.topbar-right form{margin:0}.topbar-date{display:flex;align-items:center;gap:8px;color:#8c9aa5;font-size:10px}.topbar-date .icon{width:14px;height:14px}
.topbar-divider{height:22px;width:1px;background:var(--line);margin:0 5px}.mobile-menu{display:none}.sidebar-shade{display:none}
.page-content{max-width:1640px;padding:37px 38px 0;margin:auto;min-height:calc(100vh - 76px);display:flex;flex-direction:column}
.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:27px}
.page-heading .eyebrow{font-size:8px;letter-spacing:1.65px;margin-bottom:12px}
.page-heading h1{font-weight:750;font-size:29px;margin:0 0 10px;line-height:1.3}
.page-heading p{font-size:11px;color:#8a98a4;line-height:1.6;margin:0}.page-heading>.button,.page-heading>.button-group{flex-shrink:0}
.overview-banner{display:flex;align-items:center;justify-content:space-between;position:relative;border:1px solid #dceef9;background:linear-gradient(106deg,#eaf7ff 0%,#edf8fe 53%,#e4f4fd 100%);border-radius:12px;padding:25px 30px;margin-bottom:24px;min-height:215px;overflow:hidden}
.overview-banner>div:first-child{z-index:1}.banner-label{font-size:7px;letter-spacing:1.75px;font-weight:650;color:#60a8c9;display:flex;gap:7px;align-items:center}.banner-label .live-dot{width:4px;height:4px;background:var(--brand)}
.overview-banner h2{font-size:27px;line-height:1.28;margin:12px 0 8px;font-weight:750;letter-spacing:-1px}.overview-banner p{font-size:10px;color:#83a1b4;line-height:1.6;margin-bottom:11px}.overview-banner a{font-size:9px;font-weight:650;display:flex;align-items:center;gap:12px}.overview-banner a .icon{width:14px;height:14px}
.banner-stat{display:flex;flex-direction:column;align-items:flex-start;padding-right:32px;z-index:1}.banner-stat-number{font-family:Manrope,sans-serif;font-size:68px;font-weight:500;line-height:1;color:#188fca;letter-spacing:-5px}.banner-stat>span:not(.banner-stat-number){font-size:10px;color:#54869f;margin-top:12px}.banner-stat small{font-size:8px;color:#87abbd;margin-top:9px}
.banner-flower{width:220px;height:220px;position:absolute;top:5px;left:49%;transform:rotate(-12deg);opacity:.55}.banner-flower span{width:103px;height:103px;background:linear-gradient(145deg,#bfe9ff95,#6fc9f4a0);position:absolute;border-radius:70% 20% 15% 20%}.banner-flower span:nth-child(2){left:113px;transform:rotate(90deg)}.banner-flower span:nth-child(3){top:113px;transform:rotate(-90deg)}.banner-flower span:nth-child(4){left:113px;top:113px;transform:rotate(180deg)}
.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:26px}
.stat-card{border:1px solid var(--line);border-radius:11px;background:#fff;padding:19px 20px;transition:box-shadow .2s,transform .2s}.stat-card:hover{box-shadow:0 6px 20px #173c5b05;transform:translateY(-2px)}.stat-label{display:flex;justify-content:space-between;align-items:center;color:#7c8c99;font-size:10px;font-weight:500}.stat-label>.icon{width:16px;color:#87bdd7}.stat-card>strong{font-family:Manrope,sans-serif;display:block;font-size:29px;font-weight:650;color:#213c50;margin:9px 0 10px;line-height:1.2;letter-spacing:-1px}
.stat-caption{display:flex;gap:5px;flex-wrap:wrap;color:#a0abb4;font-size:8px;line-height:1.7}.stat-accent{color:#3aa38f;font-weight:550}.stat-icon{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px}.stat-icon .icon{width:15px;height:15px}.blue{background:#ecf7ff;color:#299bd3}.teal{background:#eaf9f4!important;color:#38a38e!important}.violet{background:#f2edfc;color:#a18bc6}.orange{background:#fff5e9;color:#d6a768}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,1fr);gap:22px;margin-bottom:23px}
.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:22px 23px;border-bottom:1px solid #f0f3f6}.panel-heading h2{font-size:13px;font-weight:700;letter-spacing:-.3px;margin:0}.panel-heading p{font-size:9px;color:#9aa7b2;margin:5px 0 0}.panel-heading>.icon{color:#a3bfce;width:19px}
.heading-inline{display:flex;align-items:center;gap:12px}
.portal-table{width:100%;border-collapse:collapse;text-align:left;white-space:normal}
.portal-table th{font-size:7px;color:#9aa6af;letter-spacing:1px;font-weight:550;background:#fdfefe;padding:13px 19px;white-space:nowrap;border-bottom:1px solid #f0f3f6}
.portal-table td{padding:16px 19px;border-bottom:1px solid #f0f3f6;font-size:10px;color:#7e8f9c}.portal-table tr:last-child td{border-bottom:0}.portal-table tbody tr:hover{background:#fcfeff}.portal-table td:first-child,.portal-table th:first-child{padding-left:23px}.portal-table td:last-child,.portal-table th:last-child{padding-right:23px}
.entity{display:flex;align-items:center;gap:10px;color:inherit;min-width:150px}.entity-avatar{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;background:#ecf5fc;color:#6b9dbb;font-weight:600;font-size:12px;border-radius:9px;flex-shrink:0}.entity strong,.entity-title{display:block;font-size:10px;color:#3c5467;font-weight:600}.entity small{display:block;font-size:8px;color:#a0adb7;margin-top:4px}.entity small>span{padding:0 4px;color:#c4d0d9}.entity-avatar+.entity-title{display:inline}.table-small{display:block;font-size:8px;color:#a5b0ba;margin-top:4px}.no-wrap{white-space:nowrap}.record-id{font-size:10px;font-family:monospace;color:#7190a6;letter-spacing:.25px}.row-actions{display:flex;gap:3px}
.connections-panel{display:flex;flex-direction:column}.connections-list{flex:1}.connection-row{padding:18px 23px;border-bottom:1px solid #f2f5f7;display:flex;align-items:center;gap:13px}.connection-position{font-size:9px;color:#b6c2cb}.connection-row strong{font-size:10px;color:#466173;display:block;font-weight:550}.connection-row small{display:block;font-size:8px;color:#a5b0b9;margin-top:4px}.count-badge{margin-left:auto;font-size:13px;color:#5096b8;text-align:center}.count-badge small{font-size:7px;margin-top:1px}.panel-bottom-link{display:flex;justify-content:space-between;align-items:center;padding:16px 23px;background:#fcfdff;border-top:1px solid var(--line);font-size:9px;font-weight:550}.panel-bottom-link .icon{width:15px}
.empty-state{text-align:center;padding:37px 20px 41px}.empty-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;background:#f0f8fd;border-radius:14px;color:#80b7d4;margin-bottom:16px}.empty-icon .icon{width:22px;height:22px}.empty-state h3{font-size:13px;letter-spacing:-.2px;margin-bottom:8px;font-weight:650}.empty-state p{font-size:10px;color:#9aabb7;margin-bottom:16px;line-height:1.7}.empty-state.large{padding:64px 20px 70px}.empty-state.large .empty-icon{width:58px;height:58px;border-radius:18px}.empty-state.large h3{font-size:18px}.empty-state.large p{font-size:12px}.empty-state.compact{padding:28px 20px}.empty-state.compact p{margin-bottom:0}
.workspace-tip{display:flex;align-items:center;gap:11px;background:#f0f5f8;border:1px solid #e9eff4;border-radius:8px;padding:14px 18px}.workspace-tip>.icon{width:16px;height:16px;color:#7e9caf}.workspace-tip p{font-size:9px;color:#93a4b0;margin:0;line-height:1.6}.workspace-tip strong{color:#7992a5;font-weight:550;margin-right:6px}.workspace-tip>span{margin-left:auto;font-size:8px;color:#829dac;white-space:nowrap}
.page-footer{margin-top:auto;padding:29px 0 22px;display:flex;justify-content:space-between;font-size:8px;color:#acb8c1}.footer-dot{margin:0 7px;color:#b4c2cc}
.filter-bar{display:flex;align-items:center;gap:10px;padding:17px 23px;flex-wrap:wrap;border-bottom:1px solid var(--line)}
.search-field{display:flex;align-items:center;gap:8px;flex:1;min-width:200px;background:#fcfdfe;border:1px solid var(--line);border-radius:6px;padding:0 11px}
.search-field .icon{width:15px;height:15px;color:#a6b4bf}
.search-field input{width:100%;min-width:100px;border:0;background:transparent;height:35px;outline:none;font-size:10px;color:#567083}.search-field:focus-within{border-color:#8cd2f4;box-shadow:0 0 0 3px #009ee20b}
.search-field input::placeholder{color:#a6b3be}
.filter-bar select{height:36px;min-width:137px;font-size:10px;border:1px solid var(--line);border-radius:6px;color:#7e91a0;padding:0 10px;background:#fff}
.date-filter{font-size:8px;color:#9aa8b2;display:flex;gap:5px;align-items:center}.date-filter input{padding:8px 6px;border:1px solid var(--line);border-radius:6px;color:#7c91a1;font-size:9px;background:white;min-height:36px}
.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;line-height:1.2;font-size:8px;font-weight:550;white-space:nowrap}.pill .icon{width:12px;height:12px}.pill-blue{background:#ecf7fe;color:#429fc8}.pill-teal{background:#edf9f4;color:#43a18a}.pill-neutral{background:#f3f6f8;color:#8799a7}
.pagination-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);padding:17px 23px;font-size:10px;color:#a0aeb9}.pagination-bar>div{display:flex;gap:8px}
.product-avatar{display:flex;align-items:center;justify-content:center;width:34px;height:38px;background:#f0f8fa;color:#8bb6c5;border-radius:9px;flex-shrink:0}.product-avatar .icon{width:19px;height:19px}.arabic-title{font-size:13px!important;text-align:left;min-width:120px}
.back-link{display:inline-flex;align-items:center;color:#8b9fac;gap:8px;font-size:10px;align-self:flex-start;margin-bottom:23px}
.form-panel{max-width:1040px}.form-panel-body{padding:25px 26px}.fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px}.field-group{display:flex;flex-direction:column;gap:8px;min-width:0}.field-group label{font-size:11px;color:#607588;font-weight:550;line-height:1.6}
.field-group input:not([type=checkbox]),.field-group select,.field-group textarea{display:block;width:100%;background:#fff;border:1px solid #e0e8ee;border-radius:6px;min-height:43px;padding:10px 12px;font-size:12px;color:#3f596d;outline:0;transition:border .2s,box-shadow .2s}
.field-group select{padding-right:25px}.field-group input:focus,.field-group textarea:focus,.field-group select:focus{border-color:#83d1f5;box-shadow:0 0 0 3px #009ee20b}
.field-group input[type=checkbox]{align-self:flex-start;width:17px;height:17px;accent-color:var(--brand);margin-top:5px}.field-group textarea{resize:vertical;line-height:1.8}
.required-mark{color:#64b3d8;margin-left:3px}.field-wide{grid-column:1/-1}.field-help{color:#9aaab6;font-size:10px;line-height:1.7}.field-help ul{padding-left:16px;margin-bottom:0}.field-error,.form-error,.errorlist{color:#c56868;font-size:11px;margin:0;line-height:1.7}.errorlist{padding-left:15px}.form-error{background:#fff5f4;padding:12px;border-radius:6px;margin-bottom:20px}
.form-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px;padding:18px 26px;border-top:1px solid var(--line);background:#fdfefe}.form-actions>.text-button{margin-right:auto;font-size:10px}.form-actions>.text-button .icon{width:13px;height:13px}
.section-heading{display:flex;align-items:center;gap:13px}.step-number{background:#edf8fe;color:#71afd0;font-size:10px;width:31px;height:31px;display:flex;align-items:center;justify-content:center;border-radius:9px}
.visit-entry-form>.panel{margin-bottom:23px}.product-form-row{display:grid;grid-template-columns:2fr 1fr 100px 30px;align-items:end;gap:15px;margin-bottom:18px}.product-form-row[hidden]{display:none}.line-delete{display:none}.remove-line{margin-bottom:5px}
.visit-form-bottom{max-width:1040px;display:flex;justify-content:space-between;align-items:center;gap:20px}.visit-form-bottom>span{color:#99aab6;font-size:9px;display:flex;align-items:center;gap:7px}.visit-form-bottom>span .icon{width:14px;height:14px}
.details-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:0}.details-grid dt{font-size:8px;letter-spacing:1px;font-weight:500;color:#9cabb5;margin-bottom:10px}.details-grid dd{font-size:12px;color:#4a667b;margin:0;font-weight:550}.details-grid dd small{display:block;font-size:10px;font-weight:400;color:#a3b0ba;margin-top:7px;line-height:1.6}.visit-notes{margin-top:29px;padding-top:24px;border-top:1px solid var(--line)}.visit-notes>.eyebrow{font-size:8px;letter-spacing:1px;margin-bottom:12px}.visit-notes>div{font-size:12px;color:#7e94a3;line-height:1.9;overflow-wrap:anywhere}
.record-metadata{display:flex;justify-content:space-between;padding:17px 2px;color:#adb9c3;font-size:9px}
.profile-columns{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px;align-items:start}.profile-username{border:1px solid var(--line);border-radius:8px;padding:14px;display:flex;gap:12px;flex-wrap:wrap;margin-top:23px}.profile-username strong{font-size:11px;font-weight:500;color:#7590a5}.profile-username .tiny-note:last-child{margin-left:auto;font-size:9px}
.telegram-heading{display:flex;align-items:center;gap:13px}.telegram-circle{background:#eaf7fe;width:38px;height:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--brand)}
.connect-steps{padding:0;list-style:none;margin:0 0 25px}.connect-steps li{display:flex;align-items:flex-start;gap:12px;margin-bottom:20px}.connect-steps li>span{display:flex;align-items:center;justify-content:center;font-size:9px;color:#5aabd1;background:#eef8fd;width:22px;height:22px;border-radius:50%;flex-shrink:0}.connect-steps strong{font-size:11px;font-weight:600;color:#547185}.connect-steps p{font-size:10px;line-height:1.8;color:#9aabb6;margin:5px 0 0}.connect-steps code{font-size:10px;color:#69a5be;background:#f4f9fc;padding:2px 4px;border-radius:3px}
.configuration-note{font-size:10px;color:#a39165;background:#fdf9ee;border:1px solid #f5efdf;border-radius:7px;padding:12px;display:flex;align-items:center;gap:9px;line-height:1.7;margin-bottom:20px}.configuration-note .icon{width:17px;height:17px}
.telegram-connect-form .field-group,.verification-form .field-group{margin-bottom:13px}.verification-form{border-top:1px solid var(--line);padding-top:22px;margin-top:22px}.verification-form input{letter-spacing:8px;font-size:19px!important}.connected-id{padding:15px;background:#f6fafc;border:1px solid var(--line);border-radius:8px;font-size:10px;color:#9aacb8}.connected-id strong{float:right;color:#5484a1}.telegram-panel h3{font-size:18px}.telegram-panel .muted-text{font-size:12px;line-height:1.9}
.you-tag{font-size:8px;color:#8bb9ce;background:#edf7fb;border-radius:3px;padding:2px 5px;margin-left:5px}.status-text{font-size:10px;color:#66a394;display:flex;align-items:center;gap:6px}.status-text .live-dot{width:4px;height:4px}
.role-explainer{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:25px}.role-explainer article{padding:24px;border:1px solid var(--line);background:#fff;border-radius:12px}.role-explainer h3{font-size:12px;margin:16px 0 8px;letter-spacing:-.2px}.role-explainer p{font-size:11px;color:#9baab5;line-height:1.8;margin:0}
.danger-text{color:#cc8383!important}.delete-panel{max-width:550px;align-self:center;text-align:center;padding:44px;margin:15px auto}.delete-panel h1{font-size:24px;margin:16px 0}.delete-panel p{font-size:12px;color:#9aaab6;line-height:1.8}.delete-panel p>strong{font-weight:550;color:#6f8799}.delete-panel .button-group{margin-top:27px}.delete-symbol{display:inline-flex;align-items:center;justify-content:center;width:55px;height:55px;color:#ca8686;background:#fff0ee;border-radius:18px;margin-bottom:23px}
.portal-alert{padding:14px 17px;border:1px solid;border-radius:8px;display:flex;align-items:center;gap:10px;font-size:11px;line-height:1.7;margin-bottom:23px;animation:reveal .3s both}.portal-alert>.icon{width:16px;height:16px}.portal-alert button{margin-left:auto;background:none;border:0;color:inherit;font-size:20px;line-height:1}.alert-success{background:#effaf5;color:#4e9c81;border-color:#d7efe4}.alert-error{background:#fff4f2;color:#c37a76;border-color:#f5dedb}
.error-page{min-height:100vh;max-width:700px;margin:auto;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px}.error-number{font-family:Manrope,sans-serif;font-size:150px;font-weight:800;line-height:1.3;letter-spacing:-10px;color:#d4effc}.error-page h1{font-size:28px;margin:20px 0 13px}.error-page p{font-size:13px;color:#93a5b4;margin-bottom:25px;line-height:1.8}

/* Sign-in */
.auth-page{background:#fff}
.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}
.auth-story{position:relative;display:flex;flex-direction:column;min-height:800px;overflow:hidden;background:#eaf7ff;background:linear-gradient(140deg,#f3faff 0%,#e5f5ff 47%,#d6effd 100%);border-right:1px solid #dff0fb;padding:37px 45px 31px}
.auth-story-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2;gap:20px}
.auth-logo{display:block;width:89px;height:90px;position:relative;isolation:isolate}.auth-logo img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.story-label{font-size:7px;font-weight:600;letter-spacing:1.5px;color:#799fb5}
.auth-story-content{position:relative;z-index:2;margin-top:77px;padding-left:15px}
.auth-story-content .eyebrow{font-size:8px;color:#5c9ebf;display:flex;gap:10px;align-items:center;letter-spacing:2px}
.mini-line{height:1px;width:24px;background:#5aa8cb;display:inline-block}
.auth-story h1{font-size:clamp(52px,5.8vw,91px);line-height:1.1;margin:25px 0 22px;letter-spacing:-5px;font-weight:650;color:#1c4057}.auth-story h1>span{color:var(--brand);position:relative}
.auth-story-content>p{font-size:12px;line-height:1.95;color:#7c9aac;letter-spacing:.05px;margin-bottom:24px}
.story-pills{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.story-pills>span{display:flex;align-items:center;gap:6px;border:1px solid #cde5f3;border-radius:20px;padding:7px 10px;font-size:7px;color:#6b9bb5;background:#f7fcff60;backdrop-filter:blur(5px)}.story-pills .icon{width:11px;height:11px}
.bloom-art{width:320px;height:320px;position:absolute;bottom:28px;right:-14px;transform:rotate(-13deg);opacity:.86}
.bloom-petal{width:116px;height:119px;position:absolute;background:linear-gradient(140deg,#76cef6a0,#009ee240);box-shadow:inset 0 1px 2px #ffffffb0,inset 0 -3px 20px #82d3f620;border:1px solid #99d8f480;backdrop-filter:blur(2px);border-radius:72% 25% 13% 22%;left:37px;top:7px}
.bloom-petal.p2{left:165px;transform:rotate(90deg);top:7px;background:linear-gradient(140deg,#d5f1ffb0,#5ab9e480)}
.bloom-petal.p3{top:139px;transform:rotate(-90deg)}.bloom-petal.p4{left:165px;top:139px;transform:rotate(180deg);background:linear-gradient(140deg,#d5f1ffb0,#5ab9e480)}
.bloom-center{position:absolute;left:147px;top:116px;width:28px;height:28px;background:#e9f8ff;transform:rotate(45deg);border-radius:3px;box-shadow:0 0 15px #e7f7ff}
.bloom-drop{position:absolute;width:35px;height:46px;left:146px;top:256px;transform:rotate(45deg);border-radius:0 55% 55%;background:linear-gradient(135deg,#ffffff90,#7dc8ec80);border:1px solid #d7f3ff;box-shadow:inset -2px -3px 5px #51aed825}
.bloom-ring{border:1px solid #b9deee65;border-radius:50%;position:absolute;inset:-47px}.bloom-ring.ring-two{inset:-94px;border-style:dashed;border-color:#b9deee45}
.auth-story-bottom{margin-top:auto;padding-top:280px;position:relative;z-index:2;display:flex;justify-content:space-between;gap:10px;font-size:6px;letter-spacing:1.35px;color:#88a9bb}.tiny-spark{font-size:13px;vertical-align:middle;margin-left:10px;color:#4a9ec7}
.auth-form-side{display:flex;flex-direction:column;padding:49px 55px 31px;position:relative;min-width:0}
.auth-top-note{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:8px;color:#9cabb5;letter-spacing:.1px}.auth-top-note .icon{width:13px;height:13px;color:#7fb2ca}
.auth-form-wrap{width:100%;max-width:363px;margin:auto;position:relative;padding:45px 0 60px}
.welcome-symbol{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border:1px solid #e3f2fa;background:#f2faff;border-radius:12px;color:var(--brand);margin-bottom:25px}.welcome-symbol .icon{width:21px;height:21px}
.auth-form-wrap>.eyebrow{font-size:7px;letter-spacing:1.6px;color:#a4b2bd;margin-bottom:12px}
.auth-form-wrap h2{font-size:26px;font-weight:750;letter-spacing:-1px;line-height:1.45;margin:0 0 11px}
.auth-subtitle{font-size:11px;color:#9caab6;line-height:1.9;margin:0 0 32px;max-width:315px}
.auth-form>label,.label-row label{color:#657b8d;font-size:10px;font-weight:550;display:block;margin-bottom:9px}
.input-icon-wrap{display:flex;align-items:center;position:relative;margin-bottom:23px;border:1px solid #e2e9ee;border-radius:6px;background:#fff;transition:border .2s,box-shadow .2s}
.input-icon-wrap:focus-within{border-color:#85cfee;box-shadow:0 0 0 3px #009ee209}
.input-icon-wrap>.icon{width:14px;height:14px;color:#a9bdca;margin-left:13px}
.input-icon-wrap input{width:100%;border:0;background:transparent;outline:0;color:#486277;font-size:10px;padding:14px 12px;height:44px;min-width:0}
.input-icon-wrap input::placeholder{color:#b5c1c9}
.label-row{display:flex;align-items:center;justify-content:space-between}.label-row .text-button{font-size:8px;font-weight:400;margin-bottom:9px;color:#8aacc1}
.show-password{background:transparent;border:0;color:#95aebb;font-size:8px;font-weight:500;padding:10px 13px}
.auth-submit{width:100%;display:flex;justify-content:space-between;font-size:10px;padding:13px 16px;min-height:45px;margin-top:5px}.auth-submit .icon{width:16px;height:16px}
.auth-access-note{display:flex;align-items:center;gap:13px;margin:31px 0 21px}.auth-access-note>span:not(.access-line){font-size:6px;letter-spacing:1.2px;color:#b1bdc6;white-space:nowrap}.access-line{height:1px;background:#edf1f4;flex:1}
.invitation-note{font-size:9px;color:#a6b4be;text-align:center;margin:0}.invitation-note .text-button{font-size:9px;font-weight:500;color:#7aa3b9;margin-left:3px}
.auth-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;color:#b0bdc6;font-size:7px;letter-spacing:.1px}.auth-footer>span:last-child{display:flex;align-items:center;gap:5px}.auth-footer .icon{width:10px;height:10px}
.auth-help{font-size:10px;padding:12px;background:#f1f9ff;color:#6b96ad;line-height:1.8;border-radius:6px;margin:-8px 0 17px}
.auth-form-wrap .portal-alert{font-size:10px;padding:12px;margin-top:-12px}

@keyframes reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.page-heading,.overview-banner,.stat-grid,.auth-form-wrap,.auth-story-content{animation:reveal .55s both}.stat-grid{animation-delay:.07s}.overview-banner{animation-delay:.03s}
@media(min-width:1500px){.page-heading h1{font-size:33px}.auth-story-content{margin-top:85px}.auth-story{padding:40px 65px}.auth-story-content>p{font-size:15px}.auth-story h1{font-size:100px}.auth-form-wrap{max-width:400px}.auth-form-wrap h2{font-size:29px}.auth-subtitle{font-size:12px}.auth-form>label,.label-row label{font-size:11px}.input-icon-wrap input{font-size:12px;height:48px}.auth-submit{min-height:49px;font-size:12px}.bloom-art{right:30px;bottom:65px;transform:rotate(-13deg) scale(1.15)}}
@media(max-width:1200px){:root{--sidebar:225px}.sidebar{padding:0 14px}.page-content{padding:29px 26px 0}.topbar{padding:0 26px}.stat-grid{gap:12px}.stat-card{padding:17px 15px}.stat-caption{font-size:7px}.dashboard-columns{gap:16px;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr)}.portal-table th,.portal-table td{padding-left:13px;padding-right:13px}.banner-flower{left:43%}.banner-stat{padding-right:7px}.page-heading h1{font-size:26px}.page-heading p{font-size:10px}.auth-story{padding:30px 33px}.auth-story-content{padding-left:7px}.auth-form-side{padding:42px 36px 28px}.auth-form-wrap h2{font-size:23px}.auth-story h1{letter-spacing:-4px}.auth-story-content>p{font-size:11px}.story-label{font-size:6px}.bloom-art{right:-30px;bottom:30px;transform:rotate(-13deg) scale(.92)}.auth-footer{font-size:6px}.profile-columns{grid-template-columns:1.25fr 1fr}.details-grid{grid-template-columns:repeat(2,1fr);gap:25px}.page-heading .button-group{gap:6px}.page-heading .button{font-size:10px;padding:10px 13px}}
@media(max-width:980px){:root{--sidebar:205px}.brand{padding:3px 6px 0;gap:5px}.brand>span{font-size:7px;padding-left:8px}.brand img{width:78px;height:78px}.main-nav>a{font-size:10px;gap:9px;padding:0 10px}.workspace-switch{padding:9px 8px;gap:8px}.workspace-switch strong{font-size:9px}.workspace-switch small{font-size:8px}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-columns{grid-template-columns:1fr}.connections-list{display:grid;grid-template-columns:repeat(2,1fr)}.connection-row{border-right:1px solid var(--line)}.profile-columns{grid-template-columns:1fr}.telegram-panel{max-width:600px}.page-heading{align-items:flex-start;flex-wrap:wrap}.auth-form-side{padding:38px 30px 25px}.auth-story{padding:30px 25px;min-height:760px}.auth-story-content{margin-top:75px}.auth-story h1{font-size:64px}.auth-story-content>p{font-size:10px}.story-pills{gap:7px}.story-pills>span{font-size:6px;padding:6px 8px}.story-label{max-width:110px;line-height:1.8;text-align:right}.auth-story-bottom{font-size:5px;letter-spacing:.8px}.auth-form-wrap h2{font-size:21px}.auth-subtitle{font-size:10px}.auth-top-note{font-size:7px}.auth-footer>span:last-child{font-size:6px}.auth-form-wrap{padding-bottom:45px}.bloom-art{bottom:38px;right:-45px;transform:rotate(-13deg) scale(.83)}.role-explainer{gap:12px}.role-explainer article{padding:19px}.page-heading>.button-group{align-self:flex-start}}
@media(max-width:767px){:root{--sidebar:245px}.sidebar{transform:translateX(-100%);transition:transform .25s;padding:0 20px}.sidebar .brand{height:95px}.main-shell{margin-left:0}.menu-open .sidebar{transform:translateX(0)}.sidebar-shade{position:fixed;inset:0;background:#163e5460;backdrop-filter:blur(2px);z-index:29}.menu-open .sidebar-shade{display:block}.mobile-menu{display:flex}.topbar{height:64px;padding:0 20px;justify-content:flex-start;gap:12px}.topbar-right{margin-left:auto;gap:6px}.topbar-date{font-size:9px}.breadcrumbs{font-size:10px;gap:8px}.breadcrumbs>span,.breadcrumbs{color:#a1b1bd}.breadcrumbs>strong{font-size:10px}.page-content{padding:27px 20px 0;min-height:calc(100vh - 64px)}.page-heading{margin-bottom:23px;gap:17px}.page-heading h1{font-size:28px}.page-heading .eyebrow{font-size:7px;margin-bottom:12px}.page-heading p{font-size:11px}.overview-banner{padding:24px;min-height:210px}.overview-banner h2{font-size:27px}.banner-stat-number{font-size:60px}.banner-stat>span:not(.banner-stat-number){font-size:8px}.banner-flower{left:45%;opacity:.3;transform:rotate(-12deg) scale(.85)}.stat-card{padding:17px}.stat-label{font-size:10px}.stat-card>strong{font-size:28px}.stat-caption{font-size:8px}.stat-grid{gap:12px;margin-bottom:20px}.dashboard-columns{gap:20px}.workspace-tip{padding:14px}.workspace-tip>span{display:none}.workspace-tip p{font-size:9px}.panel-heading{padding:19px}.portal-table th:first-child,.portal-table td:first-child{padding-left:19px}.portal-table th,.portal-table td{padding:13px}.portal-table{min-width:550px}.connections-list{display:block}.panel-heading h2{font-size:13px}.filter-bar{padding:16px 19px}.search-field{flex-basis:100%;min-width:100%}.filter-bar select{flex:1}.filter-bar .date-filter{flex:1;min-width:135px;justify-content:space-between}.date-filter input{flex:1}.filter-bar>.button{flex:1}.fields-grid{gap:20px;grid-template-columns:1fr}.field-wide{grid-column:auto}.form-panel-body{padding:23px 20px}.form-actions{padding:17px 20px}.product-form-row{grid-template-columns:1fr 1fr 30px;gap:12px;border-bottom:1px solid var(--line);padding-bottom:21px;margin-bottom:21px}.product-form-row .field-group:first-of-type{grid-column:1/-1}.product-form-row .quantity-field{grid-column:2;grid-row:2}.product-form-row .field-group:nth-of-type(2){grid-column:1;grid-row:2}.remove-line{grid-column:3;grid-row:2}.visit-form-bottom{flex-direction:column-reverse;align-items:flex-end;gap:15px}.visit-form-bottom>.button-group{width:100%;justify-content:flex-end}.details-grid{grid-template-columns:1fr 1fr}.record-metadata{font-size:8px;gap:10px;line-height:1.7}.page-footer{gap:15px;line-height:1.8;font-size:7px}.page-footer>span:last-child{text-align:right}.role-explainer{grid-template-columns:1fr}.role-explainer article{display:grid;grid-template-columns:35px 1fr;column-gap:15px}.role-explainer .stat-icon{grid-row:1/3}.role-explainer h3{margin:0 0 6px}.role-explainer p{grid-column:2;font-size:10px}.auth-layout{grid-template-columns:1fr;min-height:100svh}.auth-story{min-height:0;padding:22px 27px 33px;border:0;border-bottom:1px solid #dceef9}.auth-logo{width:63px;height:63px}.auth-story-top{align-items:center}.story-label{max-width:none;font-size:6px}.auth-story-content{margin-top:23px;padding-left:0}.auth-story-content .eyebrow{font-size:6px;letter-spacing:1.3px}.auth-story h1{font-size:44px;letter-spacing:-2px;line-height:1.12;margin:15px 0 13px}.auth-story h1 br{display:none}.auth-story-content>p{font-size:10px;line-height:1.9;margin:0;max-width:265px}.auth-story-content>p br{display:none}.story-pills{margin-top:16px;gap:8px}.story-pills>span{font-size:6px}.auth-story-bottom{display:none}.bloom-art{width:320px;height:320px;right:-124px;bottom:-160px;transform:rotate(-18deg) scale(.58);opacity:.45;transform-origin:top left}.auth-form-side{padding:27px 28px 24px;min-height:520px}.auth-top-note{display:none}.auth-form-wrap{max-width:420px;padding:8px 0 40px}.welcome-symbol{display:none}.auth-form-wrap>.eyebrow{font-size:6px;margin-bottom:9px}.auth-form-wrap h2{font-size:24px;letter-spacing:-.8px}.auth-subtitle{font-size:10px;max-width:100%;margin-bottom:27px}.input-icon-wrap input{font-size:11px;height:46px}.auth-form>label,.label-row label{font-size:10px}.auth-submit{font-size:11px;min-height:46px}.auth-access-note{margin:25px 0 18px}.auth-footer{font-size:7px}.auth-footer>span:last-child{font-size:6px}.auth-layout .auth-form-wrap{animation:none}}
@media(max-width:390px){.auth-story{padding:18px 24px 28px}.auth-story h1{font-size:38px}.auth-form-side{padding:25px 24px 22px}.auth-form-wrap h2{font-size:21px}.topbar-date{display:none}.topbar-divider{display:none}.breadcrumbs{font-size:9px}.page-content{padding:23px 16px 0}.overview-banner{padding:21px}.banner-stat{padding-right:0}.banner-stat-number{font-size:50px}.overview-banner h2{font-size:25px}.stat-card{padding:14px}.stat-label{font-size:9px}.stat-caption{font-size:7px}.stat-icon{width:25px;height:25px}.page-heading h1{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
