:root{--crm-bg: #F9FAFB;--crm-sidebar-bg: #111827;--crm-accent-navy: #111827;--crm-accent-navy-hover: #1F2937;--crm-primary: #2563EB;--crm-primary-hover: #1D4ED8;--crm-primary-soft: rgba(37, 99, 235, .12);--crm-text-primary: #111827;--crm-text-secondary: #4B5563;--crm-text-muted: #6B7280;--crm-text-light: #9CA3AF;--crm-border: #E5E7EB;--crm-card-bg: #FFFFFF;--crm-input-border: #E5E7EB;--crm-toggle-off: #D1D5DB;--crm-branch-bg: #EFF6FF;--crm-branch-border: #BFDBFE;--crm-branch-text: #1E40AF;--crm-avatar-bg: #DBEAFE;--crm-avatar-text: #1E40AF;--crm-sidebar-text: #9CA3AF;--crm-sidebar-section: #6B7280;--crm-sidebar-hover: rgba(255, 255, 255, .06)}*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:var(--crm-bg);color:var(--crm-text-primary);overflow-x:hidden}img,svg{max-width:100%;height:auto}.crm-layout{display:flex;min-height:100vh;background:var(--crm-bg)}.crm-layout__main{flex:1;display:flex;flex-direction:column;min-width:0}.crm-layout__content{flex:1;padding:1.5rem 1.75rem 2rem;overflow-y:auto}.crm-sidebar{width:248px;min-width:248px;background:var(--crm-sidebar-bg);color:#f2f4f7;display:flex;flex-direction:column;height:100vh;position:sticky;top:0}.crm-sidebar__brand{display:flex;align-items:center;gap:.75rem;padding:1.25rem 1.125rem;border-bottom:1px solid rgba(255,255,255,.06)}.crm-sidebar__logo{width:36px;height:36px;background:var(--crm-primary);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9375rem;color:#fff;flex-shrink:0}.crm-sidebar__logo--image{object-fit:cover;background:#fff;padding:2px}.crm-sidebar__brand-text{display:flex;flex-direction:column;min-width:0;line-height:1.25}.crm-sidebar__brand-name{font-weight:600;font-size:.875rem;color:#fff}.crm-sidebar__brand-sub{font-size:.75rem;color:var(--crm-sidebar-text);font-weight:400}.crm-sidebar__nav{flex:1;overflow-y:auto;padding:1rem .75rem;scrollbar-width:none;-ms-overflow-style:none}.crm-sidebar__nav::-webkit-scrollbar{display:none}.crm-sidebar__section{margin-bottom:1.125rem}.crm-sidebar__section-title{display:block;font-size:.6875rem;font-weight:600;letter-spacing:.08em;color:var(--crm-sidebar-section);padding:0 .75rem;margin-bottom:.375rem}.crm-sidebar__list{list-style:none}.crm-sidebar__link{display:flex;align-items:center;gap:.625rem;padding:.5625rem .75rem;border-radius:8px;color:var(--crm-sidebar-text);text-decoration:none;font-size:.875rem;font-weight:500;transition:background .15s,color .15s}.crm-sidebar__link:hover{background:var(--crm-sidebar-hover);color:#fff}.crm-sidebar__link--active{background:var(--crm-primary);color:#fff}.crm-sidebar__user{display:flex;align-items:center;gap:.75rem;padding:1rem 1.125rem;border-top:1px solid rgba(255,255,255,.06);margin-top:auto}.crm-sidebar__avatar{width:36px;height:36px;border-radius:50%;background:var(--crm-avatar-bg);color:var(--crm-avatar-text);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;flex-shrink:0;overflow:hidden}.crm-sidebar__avatar-image{width:100%;height:100%;object-fit:cover;display:block}.crm-sidebar__user-info{display:flex;flex-direction:column;min-width:0}.crm-sidebar__user-name{font-size:.8125rem;font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.crm-sidebar__user-role{font-size:.6875rem;color:var(--crm-sidebar-text)}.crm-header{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.875rem 1.75rem;background:var(--crm-card-bg);border-bottom:1px solid var(--crm-border);position:sticky;top:0;z-index:10}.crm-header__search{flex:1;max-width:560px;position:relative}.crm-header__search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.crm-header__search-input{width:100%;padding:.625rem 1rem .625rem 2.5rem;border:1px solid var(--crm-border);border-radius:999px;font-size:.875rem;color:var(--crm-text-primary);background:var(--crm-card-bg);outline:none;transition:border-color .15s,box-shadow .15s}.crm-header__search-input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px var(--crm-primary-soft);background:var(--crm-card-bg)}.crm-header__search-input::placeholder{color:var(--crm-text-light)}.crm-header__menu-btn{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--crm-border);border-radius:10px;background:#fff;color:var(--crm-text-secondary);cursor:pointer;flex-shrink:0;transition:background .15s}.crm-header__menu-btn:hover{background:var(--crm-bg)}.crm-sidebar-overlay{display:none}.crm-header__actions{display:flex;align-items:center;gap:.625rem;flex-shrink:0}.crm-header__branch{position:relative}.crm-header__branch-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem .875rem;border:1px solid var(--crm-branch-border);border-radius:10px;font-size:.875rem;font-weight:500;font-family:inherit;color:var(--crm-branch-text);background:var(--crm-branch-bg);cursor:pointer;outline:none;min-width:150px;transition:background .15s}.crm-header__branch-control{display:flex;align-items:center;gap:.375rem;padding:.25rem .375rem .25rem .75rem;border:1px solid var(--crm-branch-border);border-radius:10px;background:var(--crm-branch-bg);min-width:160px;transition:background .15s,box-shadow .15s}.crm-header__branch-control:focus-within,.crm-header__branch-control--open{background:#dbeafe;box-shadow:0 0 0 3px var(--crm-primary-soft)}.crm-header__branch-icon{color:var(--crm-branch-text);flex-shrink:0}.crm-header__branch-input{flex:1;min-width:0;border:none;outline:none;background:transparent;font-size:.875rem;font-weight:500;font-family:inherit;color:var(--crm-branch-text);padding:.375rem 0}.crm-header__branch-input::placeholder{color:#60a5fa;font-weight:500}.crm-header__branch-chevron-btn{display:flex;align-items:center;justify-content:center;border:none;background:transparent;cursor:pointer;padding:.25rem;color:var(--crm-primary-hover)}.crm-header__branch-btn:hover{background:#dbeafe}.crm-header__branch-chevron{margin-left:auto;color:var(--crm-primary-hover)}.branch-dropdown{position:absolute;top:calc(100% + 6px);left:0;min-width:220px;background:#fff;border:1px solid var(--crm-border);border-radius:12px;box-shadow:0 12px 24px #1018281f;z-index:30;overflow:hidden}.branch-dropdown__header{padding:.75rem 1rem .5rem;font-size:.875rem;font-weight:700;color:var(--crm-text-primary);border-bottom:1px solid #F2F4F7}.branch-dropdown__search{display:flex;align-items:center;gap:.5rem;padding:.625rem .75rem;border-bottom:1px solid var(--crm-border)}.branch-dropdown__search svg{color:var(--crm-text-light);flex-shrink:0}.branch-dropdown__search input{flex:1;border:none;outline:none;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary);background:transparent;min-width:0}.branch-dropdown__search input::placeholder{color:var(--crm-text-light)}.branch-dropdown__list{list-style:none;padding:.375rem;max-height:220px;overflow-y:auto}.branch-dropdown__empty{padding:.875rem .75rem;text-align:center;color:var(--crm-text-muted);font-size:.8125rem}.branch-dropdown__item{display:block;width:100%;text-align:left;padding:.5625rem .75rem;border:none;border-radius:8px;background:none;font-size:.875rem;font-family:inherit;color:#344054;cursor:pointer;transition:background .15s}.branch-dropdown__item:hover{background:var(--crm-bg)}.branch-dropdown__item--selected{background:var(--crm-branch-bg);color:var(--crm-branch-text);font-weight:500}.crm-header__icon-btn{position:relative;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--crm-border);border-radius:10px;background:#fff;color:var(--crm-text-secondary);cursor:pointer;transition:background .15s}.crm-header__icon-btn:hover,.crm-header__icon-btn--active{background:var(--crm-bg)}.crm-header__notifications{position:relative}.crm-header__notif-dot{position:absolute;top:8px;right:9px;width:8px;height:8px;border-radius:50%;background:#f04438;border:1.5px solid #fff;pointer-events:none}.notif-dropdown{position:absolute;top:calc(100% + 10px);right:0;width:min(360px,calc(100vw - 2rem));background:var(--crm-card-bg);border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 16px 32px #0f172a1f;z-index:50;overflow:hidden}.notif-dropdown__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.875rem 1rem;border-bottom:1px solid var(--crm-border)}.notif-dropdown__header h3{margin:0;font-size:.9375rem;font-weight:700;color:var(--crm-text-primary)}.notif-dropdown__count{font-size:.75rem;font-weight:600;color:var(--crm-branch-text);background:var(--crm-branch-bg);padding:.125rem .5rem;border-radius:999px}.notif-dropdown__list{list-style:none;max-height:320px;overflow-y:auto}.notif-dropdown__item{display:flex;flex-direction:column;align-items:flex-start;gap:.125rem;width:100%;padding:.75rem 1rem;border:none;border-bottom:1px solid var(--crm-border);background:transparent;text-align:left;cursor:pointer;transition:background .15s ease}.notif-dropdown__item:hover{background:var(--crm-bg)}.notif-dropdown__item-title{font-size:.875rem;font-weight:600;color:var(--crm-text-primary)}.notif-dropdown__item-text{font-size:.75rem;color:var(--crm-text-muted)}.notif-dropdown__empty{margin:0;padding:1.5rem 1rem;text-align:center;font-size:.875rem;color:var(--crm-text-muted)}.notif-dropdown__error{padding:1.25rem 1rem;text-align:center}.notif-dropdown__error p{margin:0 0 .75rem;font-size:.875rem;color:var(--crm-text-muted)}.notif-dropdown__retry{border:1px solid var(--crm-border);border-radius:8px;background:var(--crm-card-bg);color:var(--crm-primary);font-size:.8125rem;font-weight:600;font-family:inherit;padding:.375rem .75rem;cursor:pointer}.notif-dropdown__retry:hover{background:var(--crm-bg)}.notif-dropdown__footer{width:100%;padding:.75rem 1rem;border:none;border-top:1px solid var(--crm-border);background:transparent;font-size:.8125rem;font-weight:600;font-family:inherit;color:var(--crm-primary);cursor:pointer;text-align:center;transition:background .15s ease}.notif-dropdown__footer:hover{background:var(--crm-bg)}.today-reminders-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.75rem}.today-reminders-list__item{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:.875rem 1rem;border:1px solid var(--crm-border);border-radius:12px;background:var(--crm-bg)}.today-reminders-list__main{display:flex;flex-direction:column;gap:.25rem;min-width:0}.today-reminders-list__customer{font-weight:600;color:var(--crm-text)}.today-reminders-list__meta{font-size:.8125rem;color:var(--crm-text-muted)}.today-reminders-list__side{display:flex;flex-direction:column;align-items:flex-end;gap:.375rem;flex-shrink:0}.today-reminders-list__due{font-size:.8125rem;font-weight:600;color:var(--crm-primary)}.crm-header__profile{position:relative}.crm-header__profile-btn{display:flex;align-items:center;gap:.625rem;padding:.25rem .375rem .25rem .25rem;border:none;border-radius:999px;background:transparent;cursor:pointer;transition:background .15s ease}.crm-header__profile-btn:hover,.crm-header__profile-btn--open{background:var(--crm-bg)}.crm-header__profile-avatar{width:36px;height:36px;border-radius:50%;background:var(--crm-avatar-bg);color:var(--crm-avatar-text);font-size:.8125rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;overflow:hidden}.crm-header__profile-avatar-image{width:100%;height:100%;object-fit:cover;display:block}.crm-header__profile-name{font-size:.9375rem;font-weight:600;color:var(--crm-text-primary);white-space:nowrap}.user-dropdown{position:absolute;top:calc(100% + 10px);right:0;min-width:190px;background:#fff;border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 16px 32px #0f172a1f;padding:.5rem;z-index:50}.user-dropdown__divider{height:1px;background:var(--crm-border);margin:.375rem 0}.user-dropdown__item{display:flex;align-items:center;gap:.5rem;width:100%;padding:.6875rem .875rem;border:none;border-radius:10px;background:transparent;font-size:.875rem;font-weight:500;color:var(--crm-text-primary);cursor:pointer;text-align:left;transition:background .15s ease}.user-dropdown__item:hover{background:var(--crm-bg)}.user-dropdown__item--logout{color:#d92d20}.user-dropdown__item--logout:hover{background:#fef3f2}.dashboard-page__header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:1.5rem;gap:1rem}.dashboard-page__greeting{font-size:1.5rem;font-weight:700;color:var(--crm-text-primary);margin-bottom:.25rem;letter-spacing:-.02em}.dashboard-page__subtitle{font-size:.875rem;color:var(--crm-text-muted)}.dashboard-page__export-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:1px solid var(--crm-border);border-radius:10px;background:#fff;color:#344054;font-size:.875rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:background .15s}.dashboard-page__export-btn:hover{background:var(--crm-bg)}.dashboard-page__kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.25rem}.dashboard-page__platform-panels{display:flex;flex-direction:column;gap:1.5rem}.dashboard-panel__title{margin:0 0 .75rem;font-size:1.0625rem;font-weight:700;color:var(--crm-text-primary);letter-spacing:-.01em}.dashboard-panel__heading{margin-bottom:.75rem}.dashboard-panel__heading .dashboard-panel__title{margin-bottom:.15rem}.dashboard-panel__subtitle{margin:0;font-size:.875rem;color:var(--crm-text-secondary)}.dashboard-activity-table__activity{color:var(--crm-text-primary)}.dashboard-panel__card{background:#fff;border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 1px 2px #1018280a;padding:1rem 1.125rem 1.125rem}.dashboard-panel__toolbar{display:flex;align-items:center;gap:.75rem;margin-bottom:.875rem}.dashboard-panel__search{position:relative;flex:1;max-width:320px}.dashboard-panel__search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:#98a2b3;pointer-events:none}.dashboard-panel__search input{width:100%;height:2.375rem;padding:0 .75rem 0 2.25rem;border:1px solid var(--crm-border);border-radius:10px;background:#fff;font-size:.875rem;font-family:inherit;color:var(--crm-text-primary)}.dashboard-panel__search input::placeholder{color:#98a2b3}.dashboard-panel__search input:focus{outline:none;border-color:var(--crm-primary, #2563EB);box-shadow:0 0 0 3px #2563eb1f}.dashboard-panel__empty{margin:0;padding:2.5rem 1rem;text-align:center;font-size:.875rem;color:var(--crm-text-secondary)}.dashboard-panel__table-wrap{overflow-x:auto}.dashboard-panel__pagination{margin-top:.875rem;padding-top:.75rem;border-top:1px solid var(--crm-border)}.dashboard-page__charts-row{display:grid;gap:1rem;margin-bottom:1.25rem}.dashboard-page__charts-row--trend{grid-template-columns:2fr 1fr}.dashboard-page__charts-row--activity{grid-template-columns:1fr 2fr}.stat-card{background:#fff;border:1px solid var(--crm-border);border-radius:14px;padding:1.125rem 1.25rem;transition:box-shadow .15s,border-color .15s,transform .15s;box-shadow:0 1px 2px #1018280a}a.stat-card--link{display:block;text-decoration:none;color:inherit;cursor:pointer}a.stat-card--link:hover{box-shadow:0 4px 12px #1018281a;border-color:var(--crm-branch-border);transform:translateY(-1px)}a.stat-card--link:hover .stat-card__arrow{color:var(--crm-primary)}a.stat-card--link:focus-visible{outline:2px solid var(--crm-primary);outline-offset:2px}.stat-card:hover{box-shadow:0 4px 12px #10182814}.stat-card__top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:.875rem}.stat-card__icon-wrap{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center}.stat-card__icon-wrap--blue{background:var(--crm-branch-bg);color:var(--crm-primary)}.stat-card__icon-wrap--gray{background:#f2f4f7;color:var(--crm-text-muted)}.stat-card__icon-wrap--orange{background:#fffaeb;color:#f79009}.stat-card__icon-wrap--green{background:#ecfdf3;color:#12b76a}.stat-card__icon-wrap--purple{background:#f4f3ff;color:#7a5af8}.stat-card__icon-wrap--pink{background:#fdf2fa;color:#dd2590}.stat-card__arrow{color:var(--crm-text-light)}.stat-card__value{font-size:1.75rem;font-weight:700;color:var(--crm-text-primary);line-height:1.15;margin-bottom:.25rem;letter-spacing:-.03em}.stat-card__label{font-size:.875rem;color:var(--crm-text-muted);margin-bottom:.5rem;font-weight:500}.stat-card__sub{font-size:.8125rem;font-weight:500}.stat-card__sub--success{color:#12b76a}.stat-card__sub--warning{color:#f79009}.stat-card__sub--danger{color:#f04438}.stat-card__sub--neutral{color:#667085}.chart-card{background:#fff;border:1px solid var(--crm-border);border-radius:16px;padding:1.25rem 1.375rem;box-shadow:0 1px 2px #1018280a;min-width:0;overflow:hidden}.chart-card__header{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:.75rem}.chart-card__title{font-size:1rem;font-weight:600;color:var(--crm-text-primary);margin-bottom:.125rem}.chart-card__subtitle{font-size:.8125rem;color:var(--crm-text-muted)}.chart-card__badge{font-size:.75rem;font-weight:600;padding:.25rem .625rem;border-radius:999px;white-space:nowrap}.chart-card__badge--info{background:var(--crm-branch-bg);color:var(--crm-branch-text)}.chart-card__badge--success{background:#ecfdf3;color:#027a48}.chart-card__link{background:none;border:none;color:var(--crm-primary);font-size:.875rem;font-weight:500;cursor:pointer;padding:0}.chart-card__link:hover{color:var(--crm-primary-hover)}.chart-card__body--donut{display:flex;flex-direction:column;align-items:center}.donut-legend{display:grid;grid-template-columns:1fr 1fr;gap:.5rem 1rem;width:100%;margin-top:.75rem;padding:0 .25rem}.donut-legend__item{display:flex;align-items:center;gap:.5rem}.donut-legend__dot{width:8px;height:8px;border-radius:50%;flex-shrink:0}.donut-legend__label{font-size:.75rem;color:var(--crm-text-secondary);line-height:1.3}.activity-list{display:flex;flex-direction:column}.activity-item{display:flex;align-items:center;gap:.875rem;padding:.875rem 0;border-bottom:1px solid #F2F4F7}.activity-item:last-child{border-bottom:none;padding-bottom:.25rem}.activity-item:first-child{padding-top:.25rem}.activity-item__avatar{width:40px;height:40px;border-radius:50%;background:var(--crm-branch-bg);color:var(--crm-primary-hover);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600;flex-shrink:0}.activity-item__content{flex:1;min-width:0}.activity-item__title{font-size:.875rem;color:var(--crm-text-secondary);margin-bottom:.125rem;line-height:1.4}.activity-item__title strong{color:var(--crm-text-primary);font-weight:600}.activity-item__detail{font-size:.8125rem;color:var(--crm-text-muted);line-height:1.35}.activity-item__meta{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;flex-shrink:0}.activity-item__branch{font-size:.75rem;font-weight:500;color:var(--crm-text-secondary);background:#f2f4f7;border:1px solid var(--crm-border);padding:.125rem .5rem;border-radius:6px}.activity-item__time{font-size:.75rem;color:var(--crm-text-light)}.reminders-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.reminders-page__title{font-size:1.5rem;font-weight:700;color:var(--crm-text-primary);margin-bottom:.25rem;letter-spacing:-.02em}.reminders-page__subtitle{font-size:.875rem;color:var(--crm-text-secondary)}.reminders-page__new-btn{display:flex;align-items:center;gap:.375rem;padding:.5625rem 1rem;background:var(--crm-primary);color:#fff;border:none;border-radius:10px;font-size:.875rem;font-weight:600;cursor:pointer;white-space:nowrap;transition:background .15s}.reminders-page__new-btn:hover{background:var(--crm-primary-hover)}.reminders-page__summary{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-bottom:1.25rem}.summary-card{display:flex;align-items:center;gap:.875rem;background:#fff;border:1px solid var(--crm-border);border-radius:14px;padding:1rem 1.25rem;box-shadow:0 1px 2px #1018280a}.summary-card__icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0}.summary-card__icon--danger{background:#fef3f2;color:#f04438}.summary-card__icon--warning{background:#fffaeb;color:#f79009}.summary-card__icon--info{background:var(--crm-branch-bg);color:var(--crm-primary)}.summary-card__icon--purple{background:#f4f3ff;color:#7a5af8}.summary-card__icon--neutral{background:#f2f4f7;color:#667085}.summary-card__info{display:flex;flex-direction:column}.summary-card__label{font-size:.8125rem;color:var(--crm-text-muted);font-weight:500}.summary-card__value{font-size:1.375rem;font-weight:700;color:var(--crm-text-primary);line-height:1.2}.reminders-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.875rem 1rem;background:#fff;border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 1px 2px #1018280a;margin-bottom:1rem;flex-wrap:wrap}.reminders-toolbar__search{position:relative;flex:1;min-width:220px;max-width:560px}.reminders-toolbar__search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.reminders-toolbar__search input{width:100%;padding:.625rem 1rem .625rem 2.5rem;border:1px solid var(--crm-border);border-radius:10px;font-size:.875rem;font-family:inherit;color:var(--crm-text-primary);background:var(--crm-bg);outline:none}.reminders-toolbar__search input:focus{border-color:var(--crm-primary);background:#fff}.reminders-toolbar__filters{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.filter-dd{position:relative;min-width:120px}.filter-dd .ls-select__input{color:#344054}.filter-dd .ls-select__input::placeholder{color:var(--crm-text-light)}.filter-dd__btn{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .75rem;border:1px solid var(--crm-border);border-radius:8px;font-size:.8125rem;font-family:inherit;color:var(--crm-text-light);background:#fff;cursor:pointer;outline:none;min-width:108px;transition:background .15s,border-color .15s}.filter-dd__control{display:flex;align-items:center;min-width:120px;border:1px solid var(--crm-border);border-radius:8px;background:#fff;transition:background .15s,border-color .15s,box-shadow .15s}.filter-dd__control:focus-within,.filter-dd__control--open{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.filter-dd__control--active .filter-dd__input{color:#344054}.filter-dd__input{flex:1;min-width:0;width:100%;padding:.5rem .25rem .5rem .75rem;border:none;outline:none;background:transparent;font-size:.8125rem;font-family:inherit;color:var(--crm-text-light)}.filter-dd__input::placeholder{color:var(--crm-text-light)}.filter-dd__chevron-btn{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.75rem;border:none;background:transparent;color:var(--crm-text-light);cursor:pointer;padding:0}.filter-dd__btn:hover{background:var(--crm-bg)}.filter-dd__btn--active{color:#344054;border-color:var(--crm-branch-border)}.filter-dd__chevron{color:var(--crm-text-light);flex-shrink:0}.filter-dd__menu{position:absolute;top:calc(100% + 6px);left:0;min-width:100%;width:max-content;max-height:280px;overflow-y:auto;background:#fff;border:1px solid var(--crm-border);border-radius:12px;box-shadow:0 12px 24px #1018281f;padding:.375rem;z-index:30}.filter-dd__menu--searchable{padding:0;overflow:hidden;min-width:200px}.filter-dd__search{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-bottom:1px solid var(--crm-border)}.filter-dd__search svg{color:var(--crm-text-light);flex-shrink:0}.filter-dd__search input{flex:1;border:none;outline:none;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary);background:transparent;min-width:0}.filter-dd__search input::placeholder{color:var(--crm-text-light)}.filter-dd__results{max-height:200px;overflow-y:auto;padding:.375rem}.filter-dd__empty{margin:0;padding:.875rem .75rem;text-align:center;color:var(--crm-text-muted);font-size:.8125rem}.filter-dd__item{display:block;width:100%;text-align:left;padding:.5625rem .75rem;border:none;border-radius:8px;background:none;font-size:.875rem;font-family:inherit;color:#344054;cursor:pointer;white-space:nowrap;transition:background .15s}.filter-dd__item:hover{background:var(--crm-bg)}.filter-dd__item--selected{background:var(--crm-branch-bg);color:var(--crm-branch-text);font-weight:500}.reminders-toolbar__filter-btn{display:flex;align-items:center;gap:.375rem;padding:.5rem .875rem;border:1px solid var(--crm-border);border-radius:8px;background:#fff;color:#344054;font-size:.8125rem;font-weight:500;font-family:inherit;cursor:pointer;transition:background .15s}.reminders-toolbar__filter-btn:hover{background:var(--crm-bg)}.reminders-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;background:#fff;border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 1px 2px #1018280a}.reminders-table{width:100%;min-width:720px;border-collapse:collapse;font-size:.8438rem}.reminders-table thead{background:var(--crm-bg)}.reminders-table th{text-align:left;padding:.75rem 1rem;font-size:.75rem;font-weight:600;color:var(--crm-text-muted);white-space:nowrap;border-bottom:1px solid var(--crm-border)}.reminders-table__th-actions,.reminders-table__actions-cell{width:1%;white-space:nowrap;vertical-align:middle}.reminders-table__th-actions{text-align:left;padding-left:1rem;padding-right:1rem}.reminders-table__actions-cell{position:relative;overflow:visible;text-align:left;padding-left:1rem;padding-right:1rem}.reminders-table__actions-group{display:inline-flex;justify-content:flex-start;align-items:center;min-width:0;gap:.125rem}.reminders-table__status-cell{position:relative;overflow:visible;min-width:9.5rem;text-align:left;vertical-align:middle}.reminders-table__status-cell .action-status-dropdown-wrap{display:inline-flex;justify-content:flex-start;max-width:100%}.reminders-table__status-cell .pending-btn{max-width:100%}.reminders-table td{padding:.875rem 1rem;border-bottom:1px solid #F2F4F7;vertical-align:middle;white-space:nowrap}.reminders-table tbody tr:hover{background:#fafbfc}.reminders-table tbody tr:last-child td{border-bottom:none}.reminders-table__index{color:var(--crm-text-muted)}.reminders-table__customer{color:var(--crm-primary-hover);font-weight:500;cursor:pointer}.reminders-table__customer:hover{text-decoration:underline}.reminders-table__vehicle{color:var(--crm-text-secondary)}.reminders-table__service{display:flex;flex-direction:column;gap:.25rem;color:#344054}.wear-chip{display:inline-flex;align-items:center;gap:.25rem;font-size:.6875rem;font-weight:500;padding:.125rem .5rem;border-radius:999px;width:fit-content}.wear-chip--danger{background:#fef3f2;color:#d92d20}.wear-chip--warning{background:#fffaeb;color:#b54708}.wear-chip--info{background:var(--crm-branch-bg);color:var(--crm-branch-text)}.reminders-table__km{color:#344054}.reminders-table__due--danger{color:#f04438;font-weight:500}.reminders-table__due--neutral{color:#344054}.reminders-table__due-stack{display:flex;flex-direction:column;gap:.15rem}.reminders-table__due-date{font-size:.75rem;color:var(--crm-text-muted, #667085);font-weight:500}.today-reminders-list__due-date{font-size:.75rem;color:var(--crm-text-muted, #667085);font-weight:600}.status-badge{display:inline-block;font-size:.6875rem;font-weight:600;padding:.1875rem .625rem;border-radius:999px;white-space:nowrap}.status-badge--overdue{background:#fef3f2;color:#d92d20}.status-badge--due_soon{background:#fffaeb;color:#b54708}.status-badge--tyre_wear{background:#f4f3ff;color:#6941c6}.status-badge--upcoming{background:var(--crm-branch-bg);color:var(--crm-branch-text)}.branch-chip{display:inline-block;font-size:.75rem;font-weight:500;color:var(--crm-text-secondary);background:#f2f4f7;border:1px solid var(--crm-border);padding:.125rem .5625rem;border-radius:6px}.reminders-table__contact{display:inline-flex;align-items:center;gap:.375rem}.reminders-table__contact--end{justify-content:flex-end}.table-icon-btn{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border:none;border-radius:8px;background:none;color:var(--crm-text-secondary);cursor:pointer;transition:background .15s}.table-icon-btn:hover{background:#f2f4f7}.table-icon-btn--whatsapp{color:#12b76a}.table-icon-btn--danger{color:#b42318}.table-icon-btn--danger:hover:not(:disabled){background:#fef3f2;border-color:#fda29b}.pending-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.375rem .875rem;border:1px solid #FEDF89;border-radius:999px;background:#fffaeb;color:#b54708;font-size:.75rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s}.pending-btn:hover{background:#fef0c7}.pending-btn--pending{border-color:#fedf89;background:#fffaeb;color:#b54708}.pending-btn--no-pick{border-color:#fecdca;background:#fef3f2;color:#b42318}.pending-btn--done{border-color:#abefc6;background:#ecfdf3;color:#067647}.pending-btn:disabled{opacity:.7;cursor:not-allowed}.action-status-dropdown-wrap{position:relative;display:inline-flex}.action-status-dropdown--portal{z-index:1200}.action-status-dropdown{min-width:11.5rem;padding:.375rem;border:1px solid #EAECF0;border-radius:.75rem;background:#fff;box-shadow:0 12px 16px -4px #10182814,0 4px 6px -2px #10182808}.action-status-dropdown__list{list-style:none;margin:0;padding:0}.action-status-dropdown__item{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.625rem .75rem;border:none;border-radius:.5rem;background:transparent;color:#344054;font-size:.875rem;font-family:inherit;text-align:left;cursor:pointer}.action-status-dropdown__item:hover{background:#f9fafb}.action-status-dropdown__item--selected{color:var(--crm-branch-text);font-weight:600}.reminders-table__empty{text-align:center;color:var(--crm-text-muted);padding:2rem 1rem!important}.enquiries-page__summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.25rem}.enquiry-cell{display:flex;flex-direction:column;gap:.125rem}.enquiry-cell__code{font-weight:600;color:var(--crm-text-primary)}.enquiry-cell__time{font-size:.75rem;color:var(--crm-text-light)}.enquiry-customer{display:flex;flex-direction:column;gap:.125rem}.enquiry-customer__name{font-weight:600;color:var(--crm-text-primary)}.enquiry-customer__phone{font-size:.75rem;color:var(--crm-text-muted)}.enquiry-customer__remark{font-size:.75rem;color:var(--crm-text-light)}.origin-chip{display:inline-block;font-size:.75rem;font-weight:500;color:#344054;background:#fff;border:1px solid var(--crm-border);padding:.25rem .625rem;border-radius:8px;white-space:nowrap}.status-pill{display:inline-block;font-size:.6875rem;font-weight:600;padding:.25rem .75rem;border-radius:999px;white-space:nowrap}.status-pill--warning{background:#fffaeb;color:#b54708}.status-pill--success{background:#ecfdf3;color:#027a48}.status-pill--success-solid{background:#12b76a;color:#fff}.status-pill--info{background:var(--crm-branch-bg);color:var(--crm-branch-text)}.status-pill--purple{background:#f4f3ff;color:#6941c6}.status-pill--danger{background:#fef3f2;color:#d92d20}.status-pill--neutral{background:#f2f4f7;color:var(--crm-text-secondary)}.reminder-view-value{padding:.625rem .75rem;background:#f9fafb;border:1px solid var(--crm-border);border-radius:8px;color:var(--crm-text-primary);font-size:.875rem;line-height:1.4}.reminder-view-value--multiline{min-height:5rem;white-space:pre-wrap}.reminder-view-loading{margin:0;color:var(--crm-text-secondary);font-size:.875rem}.servicelog-page__summary{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;margin-bottom:1.25rem}.sl-card{display:flex;flex-direction:column;align-items:flex-start;gap:.5rem;background:#fff;border:1px solid var(--crm-border);border-radius:14px;padding:1rem 1.25rem;box-shadow:0 1px 2px #1018280a}.sl-card__chip{display:inline-block;font-size:.6875rem;font-weight:600;padding:.1875rem .625rem;border-radius:999px;white-space:nowrap}.sl-card__chip--info{background:var(--crm-branch-bg);color:var(--crm-branch-text)}.sl-card__chip--neutral{background:#f2f4f7;color:var(--crm-text-secondary)}.sl-card__chip--warning{background:#fffaeb;color:#b54708}.sl-card__chip--danger{background:#fef3f2;color:#d92d20}.sl-card__chip--success{background:#ecfdf3;color:#027a48}.sl-card__value{font-size:1.375rem;font-weight:700;color:var(--crm-text-primary);line-height:1.2}.category-pills{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.category-pill{padding:.4375rem .875rem;border:1px solid var(--crm-border);border-radius:999px;background:#fff;color:#344054;font-size:.8125rem;font-weight:500;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s,border-color .15s}.category-pill:hover{background:var(--crm-bg)}.category-pill--active{background:var(--crm-primary);border-color:var(--crm-primary);color:#fff}.category-pill--active:hover{background:var(--crm-primary-hover)}.sl-table__service{font-weight:500;color:var(--crm-text-primary)}.sl-table__amount{font-weight:600;color:var(--crm-text-primary)}.loading-spinner{display:flex;justify-content:center;align-items:center;padding:4rem}.spinner{border:4px solid #F2F4F7;border-top:4px solid var(--crm-primary);border-radius:50%;width:40px;height:40px;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-message{padding:1rem;background:#fef3f2;color:#b42318;border-radius:8px;margin:1rem 0}.logservice-page{display:flex;flex-direction:column;gap:1.25rem}.logservice-page .reminders-page__header{align-items:flex-start;gap:1.5rem;margin-bottom:.25rem}.logservice-page .ls-form{gap:1.5rem}.logservice-page .ls-card{padding:1.5rem 1.75rem}.logservice-page .ls-card__header{margin-bottom:1.25rem}.logservice-page .ls-card__title{font-size:1rem}.logservice-page .ls-grid{gap:1.25rem 1.5rem}.logservice-page .ls-row{gap:1.5rem}.logservice-page .ls-visit-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.logservice-page .ls-branch-group{flex-wrap:wrap;gap:.5rem}.logservice-page .ls-branch-btn{padding:.5625rem 1.125rem}.logservice-page .ls-field label{font-size:.8125rem}.logservice-page .ls-field--full{margin-bottom:1.25rem}.logservice-page .ls-tabs{padding:.25rem}.logservice-page .ls-tab{padding:.4375rem 1rem;font-size:.8125rem}.logservice-page .ls-note{padding:1rem 1.125rem;font-size:.8125rem;line-height:1.6}.logservice-page .ls-textarea{min-height:7rem}.logservice-page .ls-btn{padding:.5625rem 1rem}.logservice-page .ls-payment-summary,.logservice-page .ls-tyre-schedule{margin-top:1.25rem}.logservice-page .ls-schedule-card{padding:1.125rem 1.25rem}.logservice-page__footer{display:flex;justify-content:flex-end;margin-top:.5rem;padding-top:.5rem}@media (max-width: 1280px){.logservice-page .ls-grid--4,.logservice-page .ls-visit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}.ls-actions{display:flex;align-items:center;gap:.625rem}.ls-btn{display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .875rem;border-radius:8px;font-size:.8125rem;font-weight:600;cursor:pointer;border:1px solid transparent;transition:background .15s ease,border-color .15s ease}.ls-btn:disabled{opacity:.6;cursor:not-allowed}.ls-btn--ghost,.ls-btn--outline{background:#fff;border-color:#e4e7ec;color:#344054}.ls-btn--ghost:hover,.ls-btn--outline:hover{background:#f9fafb}.ls-btn--primary{background:var(--crm-primary);color:#fff}.ls-btn--primary:hover{background:#1570cd}.ls-btn--danger{background:#fff;border-color:#fda29b;color:#b42318}.ls-btn--danger:hover:not(:disabled){background:#fef3f2;border-color:#f97066}.ls-form{display:flex;flex-direction:column;gap:1.25rem}.ls-card{background:#fff;border:1px solid var(--crm-border);border-radius:12px;padding:1.375rem 1.5rem;box-shadow:0 1px 2px #1018280a;overflow:visible}.ls-card--tint{background:#f5f9ff;border-color:#e0eaff}.ls-card__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.125rem;gap:.75rem}.ls-card__title{display:flex;align-items:center;gap:.5rem;font-size:.9375rem;font-weight:700;color:var(--crm-text-primary);margin:0}.ls-card__title svg{color:var(--crm-primary)}.ls-chip{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .625rem;border-radius:999px;background:#f2f4f7;color:var(--crm-text-secondary);font-size:.6875rem;font-weight:600}.ls-grid{display:grid;gap:1.125rem 1.25rem}.ls-grid--2{grid-template-columns:repeat(2,1fr)}.ls-grid--3{grid-template-columns:repeat(3,1fr)}.ls-grid--4{grid-template-columns:repeat(4,1fr)}.ls-row{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}.ls-field{display:flex;flex-direction:column;gap:.5rem}.ls-field--full{grid-column:1 / -1}.ls-field label{font-size:.75rem;font-weight:600;color:#344054}.ls-optional{color:#98a2b3;font-weight:400;font-size:.8125rem}.ls-field input,.ls-field select,.ls-field .ls-textarea,.ls-field .ls-select{width:100%}.ls-field input:not(.ls-select__input),.ls-field select,.ls-textarea{padding:.625rem .875rem;border:1px solid var(--crm-input-border);border-radius:10px;font-size:.8125rem;color:var(--crm-text-primary);background:#fff;outline:none;font-family:inherit;transition:border-color .15s ease,box-shadow .15s ease}.ls-field input:not(.ls-select__input):focus,.ls-field select:focus,.ls-textarea:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.ls-field input:not(.ls-select__input)::placeholder,.ls-textarea::placeholder{color:var(--crm-text-light)}.ls-field--invalid input:not(.ls-select__input),.ls-field--invalid select,.ls-field--invalid .ls-textarea,.ls-field--invalid .select-field__trigger,.ls-field--invalid .ls-select__control,.ls-field--invalid .ls-select__btn{border-color:#f04438}.ls-field--invalid input:not(.ls-select__input):focus,.ls-field--invalid select:focus,.ls-field--invalid .ls-textarea:focus,.ls-field--invalid .select-field__trigger:focus,.ls-field--invalid .ls-select__control:focus-within,.ls-field--invalid .ls-select__btn:focus,.ls-field--invalid .ls-select__btn--open{border-color:#f04438;box-shadow:0 0 0 3px #f044381f}.field-error{margin:.35rem 0 0;font-size:.75rem;font-weight:600;color:#d92d20;line-height:1.35}.ls-field__hint{margin:.35rem 0 0;font-size:.75rem;color:#667085;line-height:1.35}.form-error-banner{margin:0 0 1rem;padding:.75rem .9rem;border-radius:8px;border:1px solid #FECDCA;background:#fef3f2;color:#b42318;font-size:.875rem;font-weight:600;line-height:1.4}.ls-readonly{padding:.625rem .875rem;border-radius:8px;background:#f9fafb;border:1px solid var(--crm-border);font-size:.8125rem;color:#344054}.ls-readonly--green{background:#ecfdf3;border-color:#d1fadf;color:#027a48;font-weight:700}.ls-readonly--calc{background:#eff8ff;border-color:#b2ddff;color:var(--crm-text-primary, #111827);font-weight:700}.ls-hint{font-size:.6875rem;color:var(--crm-text-light)}.ls-link{background:none;border:none;padding:0;font-size:.6875rem;font-weight:600;color:var(--crm-primary);cursor:pointer;text-align:left}.ls-link:hover{text-decoration:underline}.ls-branch-group{display:flex;gap:.375rem}.ls-branch-btn{padding:.5rem .875rem;border-radius:8px;border:1px solid var(--crm-input-border);background:#fff;color:#344054;font-size:.8125rem;font-weight:600;cursor:pointer;transition:all .15s ease}.ls-branch-btn--active{background:var(--crm-primary);border-color:var(--crm-primary);color:#fff}.ls-tabs{display:inline-flex;background:#f2f4f7;border-radius:999px;padding:.2rem}.ls-tab{padding:.35rem .875rem;border-radius:999px;border:none;background:transparent;color:var(--crm-text-muted);font-size:.75rem;font-weight:600;cursor:pointer}.ls-tab--active{background:#fff;color:var(--crm-text-primary);box-shadow:0 1px 2px #1018281a}.ls-search{position:relative}.ls-search__icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light)}.ls-search input{width:100%;padding:.55rem .75rem .55rem 2.25rem;border:1px solid var(--crm-input-border);border-radius:8px;font-size:.8125rem;outline:none}.ls-search input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.ls-toggle{position:relative;width:40px;height:22px;border-radius:999px;border:none;background:var(--crm-toggle-off);cursor:pointer;transition:background .15s ease;flex-shrink:0}.ls-toggle--on{background:var(--crm-primary)}.ls-toggle__knob{position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #10182826;transition:transform .15s ease}.ls-toggle--on .ls-toggle__knob{transform:translate(18px)}.ls-card__header-actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.ls-new-tyres{display:flex;flex-direction:column;gap:1rem}.ls-new-tyres__row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1.35fr) minmax(0,1.15fr) 68px 40px;gap:.75rem;align-items:end}.ls-new-tyres__row .ls-field--qty input{text-align:center}.ls-icon-btn{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid #FECDCA;background:#fffbfa;color:#f04438;cursor:pointer;margin-bottom:2px;flex-shrink:0;transition:background .12s ease,border-color .12s ease}.ls-icon-btn:hover{background:#fef3f2;border-color:#fda29b}.ls-hint{margin:.25rem 0 0;font-size:.75rem;color:#98a2b3;line-height:1.4}@media (max-width: 900px){.ls-new-tyres__row{grid-template-columns:1fr 1fr}.ls-new-tyres__row .ls-icon-btn{grid-column:2;justify-self:end}}.ls-note{background:#f9fafb;border-radius:8px;padding:.875rem 1rem;font-size:.75rem;color:var(--crm-text-muted);line-height:1.5;margin:0}.ls-note--tight{margin-top:1rem}.ls-note--info{background:#eff8ff;color:#175cd3;border:1px solid #B2DDFF}.ls-schedule-card{display:flex;flex-direction:column;gap:.35rem;background:#fff;border:1px solid var(--crm-border);border-radius:12px;padding:1.125rem 1.25rem;min-height:6.5rem}.ls-projected__kpis{display:grid;grid-template-columns:1fr 1fr;gap:.875rem;margin-bottom:.25rem}@media (max-width: 720px){.ls-projected__kpis{grid-template-columns:1fr}.ls-tyre-schedule__row{grid-template-columns:1fr 1fr;gap:.875rem 1rem}}.ls-schedule-actions{display:flex;align-items:center;gap:.5rem}.ls-schedule-hint{margin:0 0 .75rem}.ls-btn--sm{padding:.35rem .7rem;font-size:.75rem}.ls-schedule-card__label{font-size:.75rem;font-weight:500;color:var(--crm-text-muted)}.ls-schedule-card__value{font-size:1.5rem;font-weight:800;letter-spacing:-.02em;color:var(--crm-text-primary);line-height:1.2}.ls-schedule-card__input-row{display:flex;align-items:center;gap:.4rem}.ls-schedule-card__input{width:100%;max-width:11rem;border:1px solid var(--crm-border);border-radius:8px;padding:.45rem .65rem;font-size:1.05rem;font-weight:700;color:var(--crm-text-primary);background:#fff}.ls-schedule-card__input--date{max-width:13rem}.ls-schedule-card__input--compact{max-width:8.5rem;font-size:.95rem;font-weight:700}.ls-schedule-card__suffix{font-size:.85rem;font-weight:600;color:var(--crm-text-muted)}.ls-schedule-card__sub{font-size:.6875rem;color:var(--crm-text-light);line-height:1.4}.ls-tyre-schedule{margin-top:1rem;background:#f3f4f6;border:1px solid var(--crm-border);border-radius:12px;overflow:hidden}.ls-tyre-schedule__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;padding:.85rem 1.125rem;background:transparent;border-bottom:1px solid rgba(15,23,42,.06);font-size:.8125rem;font-weight:700;color:var(--crm-text-primary)}.ls-tyre-schedule__meta{font-size:.6875rem;font-weight:500;color:var(--crm-text-muted)}.ls-tyre-schedule__row{display:grid;grid-template-columns:2fr 1fr 1.4fr 1.4fr;gap:1rem;padding:1.125rem;align-items:start;background:transparent}.ls-tyre-schedule__cell{display:flex;flex-direction:column;gap:.2rem}.ls-tyre-schedule__name{font-size:.875rem;font-weight:700;color:var(--crm-text-primary)}.ls-tyre-schedule__label{font-size:.625rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--crm-text-light)}.ls-tyre-schedule__strong{font-size:.95rem;font-weight:700;color:var(--crm-text-primary)}.ls-tyre-schedule__sub{font-size:.6875rem;color:var(--crm-text-light)}.ls-payment-summary{display:grid;grid-template-columns:repeat(3,1fr);margin-top:1.125rem;background:#f9fafb;border-radius:10px;padding:1rem}.ls-payment-summary__cell{display:flex;flex-direction:column;align-items:center;gap:.25rem}.ls-payment-summary__label{font-size:.625rem;font-weight:600;letter-spacing:.08em;color:var(--crm-text-light)}.ls-payment-summary__value{font-size:1rem;font-weight:800;color:#027a48}.ls-textarea{width:100%;resize:vertical;min-height:90px}.ls-select{position:relative;width:100%}.ls-select--open{z-index:60}.ls-select__btn{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;padding:.625rem .875rem;border:1px solid var(--crm-input-border);border-radius:10px;background:#fff;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary);cursor:pointer;text-align:left;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.ls-select__control{display:flex;align-items:center;width:100%;min-height:2.75rem;box-sizing:border-box;border:1px solid var(--crm-input-border);border-radius:10px;background:#fff;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;cursor:pointer;padding:0;font:inherit;text-align:left;color:inherit}.ls-select__control:hover:not(:focus-within){border-color:#d0d5dd}.ls-select__control:focus-within,.ls-select__control--open{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.ls-select__control--filled .ls-select__input{font-weight:500}.ls-select__input{flex:1;min-width:0;width:100%;padding:.6875rem .25rem .6875rem .875rem;border:none;outline:none;box-shadow:none;background:transparent;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary)}.ls-select__input:focus{border:none;outline:none;box-shadow:none}.ls-select__input--filled{color:#101828}.ls-select__input::placeholder{color:var(--crm-text-light);font-weight:400}.ls-select__input:disabled{background:#f9fafb;color:var(--crm-text-light);cursor:not-allowed}.ls-select__clear-btn{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.75rem;height:100%;min-height:2.75rem;border:none;background:transparent;color:var(--crm-text-light);cursor:pointer;padding:0}.ls-select__clear-btn:hover{color:#667085}.ls-select__chevron-btn{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:2.5rem;height:100%;min-height:2.75rem;border:none;background:transparent;color:var(--crm-text-light);cursor:pointer;padding:0;border-radius:0 10px 10px 0;transition:color .15s ease}.ls-select__chevron-btn:hover:not(:disabled){color:#667085}.ls-select__chevron-btn:disabled{cursor:not-allowed}.ls-select__control--blocked{background:var(--crm-branch-bg);border-color:var(--crm-branch-border)}.ls-select__control--blocked .ls-select__input{color:var(--crm-branch-text)}.ls-select__control--blocked .ls-select__input::placeholder{color:var(--crm-branch-text)}.ls-select__btn:focus,.ls-select__btn[aria-expanded=true]{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.ls-select__btn:disabled{background:#f9fafb;color:var(--crm-text-light);cursor:not-allowed}.ls-select__btn--blocked{background:var(--crm-branch-bg);border-color:var(--crm-branch-border);color:var(--crm-branch-text)}.ls-select__btn--blocked .ls-select__placeholder{color:var(--crm-branch-text)}.ls-select__btn--open{border-color:#84caff;box-shadow:0 0 0 3px #2563eb1f}.ls-select__btn--blocked.ls-select__btn--open{background:var(--crm-branch-bg)}.ls-select__menu--searchable{padding:0;overflow:hidden;display:flex;flex-direction:column}.ls-select__menu--searchable .ls-select__results{flex:1;min-height:0;max-height:none}.ls-select__search{display:flex;align-items:center;gap:.5rem;margin:.5rem .5rem 0;padding:.5rem .75rem;border:1px solid var(--crm-border);border-radius:10px;background:#f9fafb}.ls-select__search svg{color:#98a2b3;flex-shrink:0}.ls-select__search input{flex:1;border:none;outline:none;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary);background:transparent}.ls-select__search input::placeholder{color:#98a2b3}.ls-select__group-label{padding:.625rem .875rem .25rem;font-size:.6875rem;font-weight:600;letter-spacing:.02em;text-transform:none;color:#98a2b3}.ls-select__item--add{color:var(--crm-branch-text);font-weight:600}.ls-select__item--add:hover{background:var(--crm-branch-bg)}.ls-select__placeholder{color:var(--crm-text-light)}.ls-select__chevron{color:var(--crm-text-light);flex-shrink:0;transition:transform .15s ease}.ls-select__chevron--open{transform:rotate(180deg)}.ls-select__value{flex:1;min-width:0;padding:.6875rem .25rem .6875rem .875rem;font-size:.8125rem;color:var(--crm-text-light);font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ls-select__value--filled{color:#101828;font-weight:500}.ls-select__control--blocked .ls-select__value{color:var(--crm-branch-text)}.ls-select__menu{position:absolute;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid #EAECF0;border-radius:12px;box-shadow:0 12px 16px -4px #10182814,0 4px 6px -2px #10182808;padding:.375rem;z-index:100;max-height:280px;overflow:hidden}.ls-select__menu--portal{z-index:1100}.ls-select__results{max-height:inherit;overflow-y:auto;padding:.125rem}.ls-select__results::-webkit-scrollbar{width:6px}.ls-select__results::-webkit-scrollbar-thumb{background:#d0d5dd;border-radius:999px}.ls-select__item{display:flex;align-items:center;justify-content:space-between;gap:.75rem;width:100%;padding:.625rem .75rem;border:none;border-radius:10px;background:transparent;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary);cursor:pointer;text-align:left;transition:background .12s ease,color .12s ease}.ls-select__item--with-hint{padding-top:.6875rem;padding-bottom:.6875rem}.ls-select__item:hover,.ls-select__item--highlighted{background:#eff8ff}.ls-select__item-content{display:flex;flex-direction:column;gap:.1875rem;min-width:0}.ls-select__item-label{font-weight:500;line-height:1.35;color:#101828}.ls-select__item-hint{font-size:.75rem;color:#667085;font-weight:400;line-height:1.35}.ls-select__item-check-wrap{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:1.375rem;height:1.375rem;border-radius:999px;background:#d1e9ff}.ls-select__item-check{flex-shrink:0;color:var(--crm-branch-text)}.ls-select__item--selected{background:#eff8ff}.ls-select__item--selected .ls-select__item-label{color:var(--crm-branch-text);font-weight:600}.ls-select__item--selected .ls-select__item-hint{color:#528bcc}.ls-select__item--selected:hover,.ls-select__item--selected.ls-select__item--highlighted{background:#d1e9ff}.ls-select__empty{margin:0;padding:1.25rem .75rem;text-align:center;color:#667085;font-size:.8125rem}.customer-cell{display:flex;align-items:center;gap:.75rem}.customer-cell__avatar{width:34px;height:34px;border-radius:50%;background:var(--crm-branch-bg);color:var(--crm-branch-text);display:flex;align-items:center;justify-content:center;font-size:.6875rem;font-weight:700;flex-shrink:0}.customer-cell__info{display:flex;flex-direction:column;gap:.125rem}.customer-cell__name{display:inline-flex;align-items:center;gap:.3rem;font-size:.8125rem;font-weight:600;color:var(--crm-text-primary)}.customer-cell__star{color:#7f56d9}.customer-cell__phone{font-size:.75rem;color:var(--crm-text-muted)}.customers-table__count{font-size:.8125rem;font-weight:600;color:var(--crm-text-primary)}.customers-table{width:100%;table-layout:auto;min-width:860px}.customers-table th,.customers-table td{text-align:left;vertical-align:middle;padding:.875rem 1rem}.customers-table thead th{padding:.75rem 1rem}.customers-table td:first-child,.customers-table th:first-child{min-width:12.5rem;max-width:18rem}.customers-table .customer-cell{display:flex;align-items:center;gap:.75rem;min-width:0}.customers-table .customer-cell__info{min-width:0;display:flex;flex-direction:column;gap:.125rem}.customers-table .customer-cell__name,.customers-table .customer-cell__phone{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customers-table .reminders-table__th-actions,.customers-table .reminders-table__actions-cell{width:1%;white-space:nowrap;text-align:left;padding-left:1rem;padding-right:1rem}.customers-table .reminders-table__contact{display:inline-flex;align-items:center;justify-content:flex-start;gap:.125rem}.memberships-page__summary{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.25rem}.memberships-page__plans{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.25rem}.plan-benefits{margin-top:1.25rem;padding-top:1rem;border-top:1px solid #EAECF0}.plan-benefits__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.875rem}.plan-benefits__header .ne-section__label{margin:0}.plan-benefits__add-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.4rem .75rem;border:1px solid #D0D5DD;border-radius:8px;background:#fff;color:#344054;font-size:.8125rem;font-weight:600;cursor:pointer;flex-shrink:0}.plan-benefits__add-btn:hover{background:#f9fafb;border-color:var(--crm-text-light)}.plan-benefits__list{display:flex;flex-direction:column;gap:.75rem}.plan-benefits__row{display:grid;grid-template-columns:1fr 140px auto;gap:.625rem;align-items:end;padding:.75rem;border:1px solid #EAECF0;border-radius:10px;background:#f9fafb}.plan-benefits__remove{margin-bottom:2px}.plan-benefits__empty{margin:0;font-size:.8125rem;color:#667085}.plan-card{border-radius:14px;padding:1.25rem 1.375rem;background:color-mix(in srgb,var(--plan-accent, #2563EB) 8%,#ffffff);border:1px solid color-mix(in srgb,var(--plan-accent, #2563EB) 28%,#ffffff)}.plan-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.625rem}.plan-card__meta{display:flex;align-items:center;gap:.375rem;margin-bottom:.875rem;font-size:.75rem;font-weight:600;color:var(--crm-text-secondary)}.plan-card__meta-dot{color:#d0d5dd}.plan-card__header-right{display:flex;flex-direction:column;align-items:flex-end;gap:.5rem}.plan-card__actions{display:flex;align-items:center;gap:.375rem}.plan-card__kicker{font-size:.625rem;font-weight:700;letter-spacing:.08em;color:var(--crm-text-muted)}.plan-card__name{display:block;font-size:1.0625rem;font-weight:800;color:var(--plan-accent, var(--crm-text-primary));margin:.125rem 0 0}.plan-card__price{display:flex;flex-direction:column;align-items:flex-end}.plan-card__amount{font-size:1.375rem;font-weight:800;color:var(--plan-accent, var(--crm-primary))}.plan-card__per{font-size:.6875rem;color:var(--crm-text-muted)}.plan-card__benefits{display:grid;grid-template-columns:repeat(2,1fr);column-gap:1.5rem}.plan-card__benefit{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.45rem 0;border-bottom:1px dashed rgba(16,24,40,.08);font-size:.75rem}.plan-card__benefit-name{color:#344054;font-weight:500}.plan-card__benefit-usage{color:var(--crm-text-muted);font-weight:600;white-space:nowrap}.plan-card__note{margin:.875rem 0 0;font-size:.6875rem;font-weight:500;color:var(--plan-accent, var(--crm-text-secondary))}.plan-color-picker{display:block}.plan-color-picker__row{display:flex;align-items:center;gap:.5rem}.plan-color-picker__custom-trigger{position:relative;display:inline-flex;align-items:center;justify-content:center;width:2rem;height:2rem;border:1px solid var(--crm-border);border-radius:8px;background:#fff;cursor:pointer;overflow:hidden;flex-shrink:0}.plan-color-picker__custom-chip{width:100%;height:100%;display:block}.plan-color-picker__native{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;border:0;cursor:pointer}.plan-color-picker__hex{width:100%;max-width:7.5rem;height:2rem;padding:0 .625rem;border:1px solid var(--crm-border);border-radius:8px;background:#fff;font-size:.75rem;font-weight:600;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;color:var(--crm-text-primary);text-transform:uppercase;letter-spacing:.01em}.plan-color-picker__hex:focus{outline:none;border-color:var(--crm-primary, #2563EB);box-shadow:0 0 0 3px #2563eb1f}.memberships-table__id{font-size:.8125rem;font-weight:700;color:var(--crm-text-primary)}.membership-vehicles{display:flex;flex-direction:column;gap:.25rem}.membership-vehicles__row{display:inline-flex;align-items:center;gap:.375rem;font-size:.75rem;color:var(--crm-text-muted)}.membership-vehicles__row svg{color:var(--crm-text-light);flex-shrink:0}.membership-vehicles__row strong{color:#344054;font-weight:600}.tier-pill{display:inline-block;padding:.25rem .625rem;border-radius:999px;font-size:.6875rem;font-weight:700;color:#fff;white-space:nowrap}.tier-pill--purple{background:#7f56d9}.tier-pill--blue{background:var(--crm-primary)}.membership-renewal{display:flex;flex-direction:column;gap:.125rem}.membership-renewal__date{font-size:.8125rem;font-weight:600;color:var(--crm-text-primary)}.membership-renewal__note{font-size:.6875rem;color:var(--crm-text-light)}.benefit-usage{display:flex;flex-direction:column;gap:.375rem;min-width:110px}.benefit-usage__label{font-size:.75rem;font-weight:600;color:#027a48}.benefit-usage__track{height:5px;border-radius:999px;background:var(--crm-border);overflow:hidden}.benefit-usage__fill{height:100%;border-radius:999px;background:var(--crm-primary)}.renew-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.45rem .75rem;border:1px solid var(--crm-input-border);border-radius:8px;background:#fff;color:#344054;font-size:.75rem;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease;white-space:nowrap}.renew-btn:hover{background:#f9fafb;border-color:var(--crm-text-light)}.login-page{display:grid;grid-template-columns:45% 55%;min-height:100vh}.login-page__left{display:flex;flex-direction:column;justify-content:space-between;background:#16283e;color:#fff;padding:2.5rem 3rem;position:relative;overflow:hidden}.login-page__brand{display:flex;align-items:center;gap:.75rem}.login-page__logo{width:42px;height:42px;border-radius:50%;background:#fff;color:#16283e;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.125rem}.login-page__brand-name{font-size:1.0625rem;font-weight:700}.login-page__hero{max-width:380px}.login-page__hero-title{font-size:2rem;font-weight:800;margin:0 0 1rem;line-height:1.25}.login-page__hero-text{font-size:.9375rem;line-height:1.65;color:#c7d2e0;margin:0}.login-page__footer{display:flex;flex-direction:column;gap:.25rem;font-size:.75rem;color:#8da0b8}.login-page__powered-link,.login-form__powered-link{color:inherit;text-decoration:underline;text-underline-offset:2px}.login-page__powered-link:hover,.login-form__powered-link:hover{color:#fff}.login-form__powered-link:hover{color:#16283e}.login-page__right{display:flex;align-items:center;justify-content:center;background:#fafcfa;padding:2rem}.login-form{width:100%;max-width:380px}.login-form__title{font-size:1.5rem;font-weight:800;color:var(--crm-text-primary);margin:0 0 .625rem}.login-form__subtitle{font-size:.875rem;color:var(--crm-text-muted);line-height:1.55;margin:0 0 2rem}.login-form__error{background:#fef3f2;color:#b42318;border-radius:8px;padding:.625rem .875rem;font-size:.8125rem;margin-bottom:1.25rem}.login-form__field{position:relative;margin-bottom:1.5rem}.login-form__field input{width:100%;border:none;border-bottom:1px solid #D0D5DD;background:transparent;padding:.625rem .125rem;font-size:.875rem;color:var(--crm-text-primary);outline:none;transition:border-color .15s ease}.login-form__field input:focus{border-bottom-color:#16283e}.login-form__field input::placeholder{color:var(--crm-text-light)}.login-form__field--password input{padding-right:2.25rem}.login-form__eye{position:absolute;right:.25rem;top:50%;transform:translateY(-50%);background:none;border:none;color:var(--crm-text-muted);cursor:pointer;display:flex;align-items:center;padding:.25rem}.login-form__submit{width:100%;margin-top:.5rem;padding:.75rem 1rem;border:none;border-radius:10px;background:#16283e;color:#fff;font-size:.875rem;font-weight:700;cursor:pointer;transition:background .15s ease}.login-form__submit:hover{background:#1f3652}.login-form__submit:disabled{opacity:.7;cursor:not-allowed}.login-form__powered-by{margin:1.25rem 0 0;text-align:center;font-size:.75rem;color:var(--crm-text-muted)}.crm-sidebar__logout{margin-left:auto;background:none;border:none;color:var(--crm-text-light);cursor:pointer;display:flex;align-items:center;padding:.375rem;border-radius:6px;transition:background .15s ease,color .15s ease}.crm-sidebar__logout:hover{background:#334155;color:#fff}.analytics-page__exports{display:flex;align-items:center;gap:.5rem}.analytics-export-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5rem .875rem;border:1px solid var(--crm-input-border);border-radius:8px;background:#fff;color:#344054;font-size:.8125rem;font-weight:600;cursor:pointer;transition:background .15s ease,border-color .15s ease}.analytics-export-btn:hover{background:#f9fafb}.analytics-export-btn--primary{background:var(--crm-primary);border-color:var(--crm-primary);color:#fff}.analytics-export-btn--primary:hover{background:var(--crm-primary-hover);border-color:var(--crm-primary-hover)}.analytics-page__kpi-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1rem;margin-bottom:1.25rem}.analytics-kpi{background:#fff;border:1px solid var(--crm-border);border-radius:12px;padding:1rem 1.125rem;box-shadow:0 1px 2px #1018280a;display:flex;flex-direction:column;gap:.25rem}.analytics-kpi__label{font-size:.75rem;font-weight:500;color:var(--crm-text-muted)}.analytics-kpi__value{font-size:1.375rem;font-weight:800;color:var(--crm-text-primary);letter-spacing:-.02em}.analytics-kpi__change{font-size:.75rem;font-weight:600;color:#027a48}.analytics-page__charts-row{display:grid;grid-template-columns:1.4fr 1fr;gap:1rem;margin-bottom:1.25rem}.analytics-page__charts-row .chart-card{min-width:0}@media (max-width: 1280px){.dashboard-page__kpi-grid,.reminders-page__summary{grid-template-columns:repeat(2,1fr)}.enquiries-page__summary{grid-template-columns:1fr}.servicelog-page__summary{grid-template-columns:repeat(2,1fr)}.memberships-page__summary,.memberships-page__plans{grid-template-columns:1fr}.analytics-page__kpi-grid{grid-template-columns:repeat(3,1fr)}.analytics-page__charts-row{grid-template-columns:1fr}.ls-grid--3,.ls-grid--4{grid-template-columns:repeat(2,1fr)}.ls-row,.login-page{grid-template-columns:1fr}.login-page__left{display:none}}@media (max-width: 1100px){.dashboard-page__charts-row--trend,.dashboard-page__charts-row--activity,.dashboard-page__charts-row{grid-template-columns:1fr}}@media (max-width: 1024px){.branches-page__grid{grid-template-columns:repeat(2,1fr)}.servicelog-page__summary{grid-template-columns:repeat(3,1fr)}.analytics-page__kpi-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width: 768px){.crm-sidebar{position:fixed;top:0;left:0;z-index:200;width:248px;min-width:248px;height:100vh;transform:translate(-100%);transition:transform .25s ease}.crm-sidebar--open{transform:translate(0)}.crm-sidebar-overlay{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:150;border:none;background:#10182873;cursor:pointer}.crm-header{flex-wrap:wrap;padding:.75rem 1rem;gap:.625rem}.crm-header__menu-btn{display:flex}.crm-header__search{flex:1;min-width:0;max-width:none;order:1}.crm-header__menu-btn{order:0}.crm-header__actions{order:2;width:100%;justify-content:flex-end;flex-wrap:wrap;gap:.5rem}.crm-header__branch{flex:1;min-width:0}.crm-header__branch-btn,.crm-header__branch-control{width:100%;min-width:0}.crm-header__branch-btn span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.crm-header__profile-name{display:none}.crm-layout__content{padding:1rem}.dashboard-page__header,.reminders-page__header{flex-direction:column;align-items:stretch}.dashboard-page__greeting,.reminders-page__title{font-size:1.25rem}.dashboard-page__export-btn,.reminders-page__new-btn{align-self:flex-start}.team-page__actions{width:100%}.team-page__actions .reminders-page__new-btn{flex:1;justify-content:center}.reminders-page__summary{grid-template-columns:1fr}.servicelog-page__summary{grid-template-columns:repeat(2,1fr)}.memberships-page__summary,.memberships-page__plans,.branches-page__grid{grid-template-columns:1fr}.reminders-toolbar{flex-direction:column;align-items:stretch}.reminders-toolbar__search{max-width:none;min-width:0;width:100%}.reminders-toolbar__filters{flex-wrap:wrap;width:100%}.team-page__search-bar{flex-wrap:wrap}.team-page__search-filters{width:100%}.team-page__search-filters .filter-dd,.filter-dd{flex:1 1 calc(50% - .25rem);min-width:0}.filter-dd__btn{width:100%;min-width:0}.category-pills{width:100%}.reminders-table{min-width:640px}.dashboard-page__kpi-grid,.analytics-page__kpi-grid{grid-template-columns:1fr}.analytics-page__exports{flex-wrap:wrap;width:100%}.analytics-page__exports .analytics-export-btn{flex:1;min-width:0;justify-content:center}.chart-card{padding:1rem}.chart-card__header{flex-wrap:wrap;gap:.5rem}.logservice-page .reminders-page__header .ls-actions{display:none}.logservice-page__footer{position:sticky;bottom:0;z-index:5;margin:0 -1rem -1rem;padding:.75rem 1rem 1rem;background:linear-gradient(to top,var(--crm-bg) 70%,transparent);border-top:1px solid var(--crm-border)}.logservice-page__footer .ls-actions{flex-wrap:wrap;gap:.5rem}.logservice-page__footer .ls-btn{flex:1;justify-content:center;min-width:calc(50% - .25rem)}.ls-grid--2,.ls-grid--3,.ls-grid--4,.ls-row{grid-template-columns:1fr}.ls-branch-group{flex-wrap:wrap}.ls-branch-btn{flex:1;min-width:calc(33.333% - .25rem);text-align:center}.ls-card{padding:1rem}.ls-card__header{flex-wrap:wrap;gap:.5rem}.modal-overlay{padding:.75rem;align-items:flex-end}.modal{max-height:calc(100vh - 1.5rem);border-radius:16px 16px 0 0}.modal__header,.modal__body{padding:1rem 1.125rem}.modal__footer{flex-wrap:wrap;padding:.875rem 1.125rem}.plan-benefits__row{grid-template-columns:1fr}.plan-benefits__remove{justify-self:start}.modal__footer .modal-btn{flex:1;justify-content:center;min-width:calc(50% - .375rem)}.ne-form__grid--2,.ne-form__grid--3,.ne-followup__grid{grid-template-columns:1fr}.login-page__right{padding:2.5rem 1rem 1.5rem;align-items:flex-start}.login-form__title{font-size:1.25rem}.login-form__subtitle{margin-bottom:1.5rem}.branch-card__stats{grid-template-columns:repeat(2,1fr)}}@media (max-width: 480px){.crm-layout__content{padding:.75rem}.dashboard-page__greeting,.reminders-page__title{font-size:1.125rem}.reminders-page__subtitle,.dashboard-page__subtitle{font-size:.8125rem}.servicelog-page__summary{grid-template-columns:1fr}.filter-dd{flex:1 1 100%}.summary-card{padding:.875rem 1rem}.summary-card__value{font-size:1.125rem}.ls-branch-btn{min-width:calc(50% - .1875rem)}.logservice-page__footer .ls-btn{min-width:100%}.modal-overlay{padding:0}.modal{border-radius:16px 16px 0 0;max-height:92vh}.branch-card__stats{grid-template-columns:1fr}}.staff-page{display:flex;flex-direction:column;gap:1.25rem}.staff-chip{display:inline-block;font-size:.75rem;font-weight:500;padding:.1875rem .625rem;border-radius:999px;white-space:nowrap}.staff-chip--role{color:#344054;background:#f2f4f7}.staff-chip--branch{color:var(--crm-branch-text);background:var(--crm-branch-bg)}.staff-table__phone,.staff-table__email{font-size:.8125rem;color:#344054;white-space:nowrap}.staff-table__email{color:var(--crm-text-secondary)}.staff-table__status{display:inline-flex;align-items:center;gap:.625rem}.staff-form-toggle-field__control{display:flex;align-items:center;min-height:42px}.password-input-wrap{position:relative}.password-input-wrap input{width:100%;padding-right:2.5rem}.password-input-wrap__toggle{position:absolute;right:.625rem;top:50%;transform:translateY(-50%);display:flex;align-items:center;padding:.25rem;border:none;background:none;color:var(--crm-text-muted);cursor:pointer}.branches-page{display:flex;flex-direction:column;gap:1.25rem}.branches-page__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.branch-card{background:#fff;border:1px solid var(--crm-border);border-radius:14px;padding:1.25rem;box-shadow:0 1px 2px #1018280a;display:flex;flex-direction:column;gap:1.25rem}.branch-card__header{display:flex;align-items:flex-start;gap:.875rem;flex:1;min-width:0}.branch-card__top{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.branch-card__actions{display:inline-flex;align-items:center;gap:.375rem;flex-shrink:0}.branch-card__icon{width:38px;height:38px;border-radius:10px;background:var(--crm-branch-bg);color:var(--crm-branch-text);display:flex;align-items:center;justify-content:center;flex-shrink:0}.branch-card__name{font-size:1rem;font-weight:700;color:var(--crm-text-primary);margin:0 0 .25rem;line-height:1.3}.branch-card__location{display:inline-flex;align-items:center;gap:.25rem;margin:0;font-size:.75rem;color:var(--crm-text-muted)}.branch-card__stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}.branch-card__stat{display:flex;flex-direction:column;gap:.125rem}.branch-card__stat-value{font-size:1.125rem;font-weight:700;color:var(--crm-text-primary);line-height:1.2}.branch-card__stat-label{font-size:.625rem;font-weight:600;letter-spacing:.04em;color:var(--crm-text-light)}.branch-card__footer{display:flex;align-items:center;justify-content:space-between;padding-top:.75rem;border-top:1px solid #F2F4F7}.branch-card__phone{display:inline-flex;align-items:center;gap:.375rem;margin:0;font-size:.8125rem;color:var(--crm-text-muted)}.team-page{display:flex;flex-direction:column;gap:1.25rem}.team-page__actions{display:flex;flex-wrap:wrap;align-items:center;gap:.625rem}.team-page__search-bar{display:flex;align-items:center;gap:.75rem}.team-page__search-filters{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.team-page__search-filters .filter-dd{min-width:140px}.team-page__search-input{position:relative;flex:1;width:100%}.team-page__search-icon{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.team-page__search-input input{width:100%;padding:.625rem .875rem .625rem 2.25rem;border:1px solid var(--crm-input-border);border-radius:8px;background:#fff;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.team-page__search-input input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.team-page__search-input input::placeholder{color:var(--crm-text-light)}.team-page__section{display:flex;flex-direction:column;gap:.75rem}.team-page__section-title{margin:0;font-size:.9375rem;font-weight:600;color:var(--crm-text-primary)}.reminders-page__new-btn--secondary{background:#fff;color:var(--crm-primary);border:1px solid var(--crm-primary)}.reminders-page__new-btn--secondary:hover{background:color-mix(in srgb,var(--crm-primary) 8%,#fff)}.team-table th.team-table__col-actions,.team-table td.team-table__col-actions{width:120px;text-align:left;white-space:nowrap;vertical-align:middle}.team-table__actions{display:inline-flex;align-items:center;justify-content:flex-start;gap:.25rem}.services-page{display:flex;flex-direction:column;gap:1.25rem}.services-table{table-layout:fixed;min-width:780px}.services-table th,.services-table td{vertical-align:middle;padding:.875rem 1rem}.services-table th.services-table__col-name,.services-table td.services-table__col-name{width:36%;text-align:left}.services-table th.services-table__col-category,.services-table td.services-table__col-category{width:22%;text-align:left}.services-table th.services-table__col-price,.services-table td.services-table__col-price{width:16%;text-align:left}.services-table th.services-table__col-active,.services-table td.services-table__col-active{width:100px;text-align:left}.services-table th.services-table__col-actions,.services-table td.services-table__col-actions{width:110px;text-align:left;padding-right:1.25rem}.services-table__name{font-size:.8438rem;font-weight:500;color:#344054}.services-table__price{font-size:.8438rem;color:var(--crm-text-secondary);font-variant-numeric:tabular-nums}.services-table__col-active .sc-toggle{display:inline-block;vertical-align:middle}.services-table__actions{display:inline-flex;align-items:center;justify-content:flex-start;gap:.25rem}.service-categories-page{display:flex;flex-direction:column;gap:1.25rem}.service-categories-table{table-layout:fixed;min-width:860px}.service-categories-table th,.service-categories-table td{vertical-align:middle;padding:.875rem 1rem}.service-categories-table th.service-categories-table__col-name,.service-categories-table td.service-categories-table__col-name{width:30%;text-align:left}.service-categories-table th.service-categories-table__col-num,.service-categories-table td.service-categories-table__col-num{width:14%;text-align:left}.service-categories-table th.service-categories-table__col-services,.service-categories-table td.service-categories-table__col-services{width:16%;text-align:left}.service-categories-table th.service-categories-table__col-active,.service-categories-table td.service-categories-table__col-active{width:100px;text-align:left}.service-categories-table th.service-categories-table__col-actions,.service-categories-table td.service-categories-table__col-actions{width:110px;text-align:left;padding-right:1.25rem}.service-categories-table__name{font-size:.8438rem;font-weight:500;color:#344054}.service-categories-table__num{font-size:.8438rem;color:var(--crm-text-secondary);font-variant-numeric:tabular-nums}.service-categories-table__col-active .sc-toggle{display:inline-block;vertical-align:middle}.service-categories-table__actions{display:inline-flex;align-items:center;justify-content:flex-start;gap:.25rem}.service-count-chip{display:inline-block;font-size:.75rem;font-weight:500;color:var(--crm-text-secondary);background:#f2f4f7;padding:.25rem .625rem;border-radius:999px;white-space:nowrap}.sc-toggle{position:relative;width:36px;height:20px;border-radius:999px;border:none;background:var(--crm-toggle-off);cursor:pointer;transition:background .15s ease;flex-shrink:0}.sc-toggle--on{background:var(--crm-primary)}.sc-toggle__knob{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 2px #10182826;transition:transform .15s ease}.sc-toggle--on .sc-toggle__knob{transform:translate(16px)}.sc-toggle:disabled{opacity:.45;cursor:not-allowed}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1.5rem;background:#10182873;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{width:100%;max-height:calc(100vh - 3rem);background:#fff;border-radius:16px;box-shadow:0 20px 40px #1018282e;display:flex;flex-direction:column;overflow:hidden}.modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.5rem 1.75rem;border-bottom:1px solid #F2F4F7}.modal__header-text{display:flex;align-items:flex-start;gap:.875rem}.modal__icon{width:40px;height:40px;border-radius:10px;background:var(--crm-branch-bg);color:var(--crm-branch-text);display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal__title{margin:0;font-size:1.125rem;font-weight:700;color:var(--crm-text-primary);line-height:1.3}.modal__subtitle{margin:.25rem 0 0;font-size:.8125rem;color:var(--crm-text-muted);line-height:1.4}.modal__close{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;border-radius:8px;background:transparent;color:var(--crm-text-muted);cursor:pointer;flex-shrink:0;transition:background .15s}.modal__close:hover{background:#f2f4f7}.modal__body{padding:1.5rem 1.75rem;overflow-y:auto}.modal__footer{display:flex;align-items:center;justify-content:flex-end;gap:.75rem;padding:1.125rem 1.75rem;border-top:1px solid #F2F4F7;background:#fafbfc}.modal-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.5625rem 1rem;border-radius:8px;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s}.modal-btn--secondary{border:1px solid var(--crm-input-border);background:#fff;color:#344054}.modal-btn--secondary:hover{background:#f9fafb}.modal-btn--primary{border:1px solid var(--crm-primary-hover);background:var(--crm-primary);color:#fff}.modal-btn--primary:hover:not(:disabled){background:var(--crm-primary-hover)}.modal-btn--primary:disabled{opacity:.5;cursor:not-allowed}.ne-form{display:flex;flex-direction:column;gap:1.75rem}.ne-section{display:flex;flex-direction:column;gap:1.125rem}.ne-section:not(:last-child){padding-bottom:1.75rem;border-bottom:1px solid #F2F4F7}.ne-form .ls-grid{gap:1.25rem}.ne-section__label{margin:0;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--crm-text-light)}.ne-required{color:#f04438}.ne-followup{margin:0}.ne-followup__header{margin-bottom:1rem}.ne-followup__title{display:inline-flex;align-items:center;gap:.375rem;font-size:.875rem;font-weight:700;color:var(--crm-branch-text)}.ne-followup__hint{margin:.25rem 0 0;font-size:.75rem;color:var(--crm-text-muted)}.ne-followup__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1rem}.ne-input-icon{position:relative}.ne-input-icon svg{position:absolute;left:.75rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.ne-input-icon input{width:100%;padding:.625rem .875rem .625rem 2.375rem;border:1px solid var(--crm-input-border);border-radius:8px;font-size:.8125rem;color:var(--crm-text-primary);background:#fff;outline:none;font-family:inherit}.ne-input-icon input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.ne-datetime-input{width:100%;height:2.5rem;padding:.5rem .875rem;border:1px solid var(--crm-input-border);border-radius:8px;font-size:.8125rem;color:var(--crm-text-primary);background:#fff;outline:none;font-family:inherit;color-scheme:light}.ne-datetime-input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.ne-datetime-input::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.65}.ne-via-group{display:flex;flex-wrap:wrap;gap:.625rem}.ne-via-btn{display:inline-flex;align-items:center;gap:.4375rem;padding:.5rem 1rem;border:1px solid var(--crm-input-border);border-radius:8px;background:#fff;color:#344054;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;transition:all .15s ease}.ne-via-btn:hover{background:#f9fafb}.ne-via-btn--active{background:var(--crm-primary);border-color:var(--crm-primary);color:#fff}.ne-via-btn--active:hover{background:var(--crm-primary-hover)}.reminder-new-name{width:100%;margin-top:.625rem;padding:.625rem .875rem;border:1px solid var(--crm-input-border);border-radius:8px;font-size:.8125rem;color:var(--crm-text-primary);background:#fff;outline:none;font-family:inherit;transition:border-color .15s ease,box-shadow .15s ease}.reminder-new-name:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.reminder-new-name::placeholder{color:var(--crm-text-light)}.ac-field-full{margin-top:1rem}.ac-section-label{display:inline-flex;align-items:center;gap:.375rem}.ac-section-label svg{color:var(--crm-text-muted)}.customers-page__save-error{margin:0;padding:.625rem .875rem;border-radius:8px;background:#fef3f2;border:1px solid #FECDCA;color:#b42318;font-size:.8125rem}.settings-page{width:100%;display:flex;flex-direction:column;gap:1.25rem}.settings-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}.settings-page__title{margin:0;color:var(--crm-text-primary);font-size:1.75rem;font-weight:700;letter-spacing:-.025em;line-height:1.2}.settings-page__subtitle{margin:.375rem 0 0;color:var(--crm-text-secondary);font-size:.9375rem}.settings-panel{width:100%;background:var(--crm-card-bg);border:1px solid var(--crm-border);border-radius:12px;box-shadow:0 1px 2px #0f172a0a;padding:1.75rem 2rem}.settings-panel__divider{height:1px;margin:2rem 0;background:var(--crm-border)}.settings-block__title{margin:0 0 1.25rem;font-size:1rem;font-weight:700;color:var(--crm-text-primary)}.settings-block__title--inline{margin-bottom:.35rem}.settings-block__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:1rem}.settings-block__hint{margin:-.5rem 0 1rem;font-size:.8125rem;color:var(--crm-text-muted, #667085);line-height:1.4}.settings-block__header .settings-block__hint{margin:0}.settings-block__actions{display:flex;align-items:center;gap:.5rem;flex-shrink:0}.settings-block__action-btn{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--crm-border, #D0D5DD);background:#fff;color:var(--crm-text-primary, #111827);font-size:.8125rem;font-weight:600;font-family:inherit;padding:.45rem .8rem;border-radius:8px;cursor:pointer;white-space:nowrap}.settings-block__action-btn:hover:not(:disabled){background:#f9fafb}.settings-block__action-btn:disabled{opacity:.6;cursor:not-allowed}.settings-block__action-btn--primary{background:var(--crm-primary, #2563EB);border-color:var(--crm-primary, #2563EB);color:#fff}.settings-block__action-btn--primary:hover:not(:disabled){background:#1d4ed8}.settings-block__action-btn--ghost{background:#fff}.settings-page .settings-input--readonly{background:#f9fafb;color:var(--crm-text-primary, #111827);cursor:default}.settings-block__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.25rem 1.5rem}.settings-block__grid--single{grid-template-columns:minmax(0,20rem)}.settings-page .ls-field label{color:var(--crm-text-primary);font-size:.8125rem;font-weight:600}.settings-page .ls-field input{border-color:var(--crm-input-border);color:var(--crm-text-primary);font-size:.875rem}.settings-page .ls-field input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px var(--crm-primary-soft)}.settings-toggle-list{display:flex;flex-direction:column}.settings-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:2rem;padding:1rem 0;border-bottom:1px solid var(--crm-border);font-size:.9375rem;font-weight:500;color:var(--crm-text-primary)}.settings-toggle-row__label{flex:1}.settings-toggle-row:last-child{border-bottom:none;padding-bottom:0}.settings-toggle-row:first-child{padding-top:0}.settings-page .ls-toggle--on{background:var(--crm-primary)}.settings-page__save-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.125rem;border:none;border-radius:8px;background:var(--crm-primary);color:#fff;font-size:.875rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s ease;flex-shrink:0}.settings-page__save-btn:hover:not(:disabled){background:var(--crm-primary-hover)}.settings-page__save-btn:disabled{opacity:.65;cursor:not-allowed}.settings-page__saved{margin:0;padding:.625rem .875rem;border-radius:8px;background:#ecfdf3;border:1px solid #ABEFC6;color:#027a48;font-size:.8125rem}@media (max-width: 1200px){.settings-block__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 768px){.settings-page__header{flex-direction:column;align-items:stretch}.settings-panel{padding:1.25rem 1rem}.settings-block__grid{grid-template-columns:1fr}.settings-page__save-btn{width:100%;justify-content:center}}.edit-service-page{width:100%;max-width:none;padding:0 0 2rem}.edit-service-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1.5rem;margin-bottom:1.5rem}.edit-service-page__title{margin:0;font-size:1.5rem;font-weight:700;color:var(--crm-text-primary)}.edit-service-page__subtitle{margin:.375rem 0 0;color:var(--crm-text-secondary);font-size:.9375rem}.edit-service-panel{width:100%;background:var(--crm-card-bg);border:1px solid var(--crm-border);border-radius:12px;box-shadow:0 1px 2px #0f172a0a;padding:1.75rem 2rem}.edit-service-panel__divider{height:1px;margin:2rem 0;background:var(--crm-border)}.edit-service-block__title{margin:0 0 1.25rem;font-size:1rem;font-weight:700;color:var(--crm-text-primary)}.edit-service-block__grid{display:grid;gap:1.25rem 1.5rem}.edit-service-block__grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}.edit-service-block__grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.edit-service-block__grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.edit-service-page .ls-field label{color:var(--crm-text-primary);font-size:.8125rem;font-weight:600}.edit-service-page .ls-field input{border-color:var(--crm-input-border);color:var(--crm-text-primary);font-size:.875rem}.edit-service-page .ls-field input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px var(--crm-primary-soft)}.edit-service-page .ls-textarea{width:100%;min-height:7rem;resize:vertical}.edit-service-page__footer{display:none}@media (max-width: 1200px){.edit-service-block__grid--4,.edit-service-block__grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width: 768px){.edit-service-page__header{flex-direction:column;align-items:stretch}.edit-service-page__header .ls-actions{flex-wrap:wrap}.edit-service-panel{padding:1.25rem 1rem}.edit-service-block__grid--4,.edit-service-block__grid--3,.edit-service-block__grid--2{grid-template-columns:1fr}.edit-service-page__footer{display:block;margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--crm-border)}.edit-service-page__footer .ls-actions{flex-direction:column}.edit-service-page__footer .ls-btn{width:100%;justify-content:center}.edit-service-page__header .ls-actions{display:none}}.roles-page__panel{background:#fff;border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 1px 2px #1018280a;overflow:hidden}.roles-page__toolbar{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.875rem 1rem;border-bottom:1px solid #F2F4F7}.roles-page__search{position:relative;flex:1;min-width:0}.roles-page__search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.roles-page__search input{width:100%;padding:.625rem .875rem .625rem 2.375rem;border:1px solid var(--crm-border);border-radius:10px;font-size:.875rem;font-family:inherit;color:var(--crm-text-primary);background:#fff;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.roles-page__search input:focus{border-color:#84caff;box-shadow:0 0 0 3px #2563eb1f}.roles-page__add-btn{display:inline-flex;align-items:center;gap:.375rem;flex-shrink:0;padding:.625rem 1rem;border:none;border-radius:10px;background:var(--crm-primary, #2563EB);color:#fff;font-size:.875rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s ease}.roles-page__add-btn:hover{background:#1d4ed8}.roles-page__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem;padding:1.25rem;align-items:stretch}.roles-page__empty{margin:0;padding:2.5rem 1rem;text-align:center;color:var(--crm-text-secondary);font-size:.875rem}.role-card{--role-accent: var(--crm-primary, #2563EB);--role-accent-soft: var(--crm-primary-soft, rgba(37, 99, 235, .12));--role-accent-border: #BFDBFE;--role-accent-text: var(--crm-branch-text, #1E40AF);display:flex;flex-direction:column;gap:1rem;height:100%;min-height:100%;padding:1.375rem;border:1px solid var(--crm-border, #E5E7EB);border-radius:16px;background:var(--crm-card-bg, #fff);box-shadow:0 1px 2px #1018280a;overflow:hidden;position:relative;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.role-card:hover{transform:translateY(-1px);border-color:#d0d5dd;box-shadow:0 2px 4px #1018280a,0 10px 24px #1018280f}.role-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--role-accent)}.role-card--navy,.role-card--blue,.role-card--slate{--role-accent: var(--crm-primary, #2563EB);--role-accent-soft: var(--crm-primary-soft, rgba(37, 99, 235, .12));--role-accent-border: #BFDBFE;--role-accent-text: var(--crm-branch-text, #1E40AF)}.role-card__top{display:flex;align-items:flex-start;gap:.875rem}.role-card__icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.5rem;height:2.5rem;border-radius:12px;background:var(--role-accent-soft);border:1px solid var(--role-accent-border);color:var(--role-accent-text)}.role-card__heading{display:flex;flex-direction:column;gap:.375rem;min-width:0}.role-card__title-row{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.role-card__name{margin:0;font-size:1.0625rem;font-weight:700;color:var(--crm-text-primary);line-height:1.3}.role-card__badge{flex-shrink:0;padding:.2rem .5rem;border-radius:6px;background:var(--role-accent-soft);color:var(--role-accent-text);border:1px solid var(--role-accent-border);font-size:.625rem;font-weight:700;letter-spacing:.04em}.role-card__description{margin:0;font-size:.8125rem;line-height:1.5;color:var(--crm-text-secondary);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.5rem}.role-card__permissions{display:flex;flex-direction:column;gap:.75rem;flex:1 1 auto;min-height:15.5rem;padding:.875rem;border-radius:12px;background:#f9fafb;border:1px solid #F2F4F7}.role-card__permissions-head{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-shrink:0}.role-card__permissions-title{margin:0;font-size:.6875rem;font-weight:700;color:var(--crm-text-muted);text-transform:uppercase;letter-spacing:.06em}.role-card__permissions-count{display:inline-flex;align-items:center;justify-content:center;min-width:1.5rem;height:1.5rem;padding:0 .45rem;border-radius:6px;background:#fff;border:1px solid var(--role-accent-border);color:var(--role-accent-text);font-size:.6875rem;font-weight:700}.role-card__module-scroll{flex:1 1 auto;min-height:11.5rem;max-height:11.5rem;overflow-y:auto;padding-right:.15rem;scrollbar-width:thin}.role-card__module-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;align-content:start}.role-card__module-item{display:flex;align-items:center;gap:.45rem;min-width:0;min-height:2rem;padding:.35rem .5rem;border-radius:8px;background:#fff;border:1px solid #EEF2F7}.role-card__module-check{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:1rem;height:1rem;border-radius:999px;background:var(--role-accent);color:#fff}.role-card__module-label{font-size:.75rem;line-height:1.3;font-weight:500;color:var(--crm-text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.role-card__more{align-self:flex-start;margin:0;padding:0;border:none;background:none;color:var(--crm-primary);font-size:.75rem;font-weight:600;font-family:inherit;cursor:pointer}.role-card__more:hover{text-decoration:underline;color:var(--crm-primary-hover)}.role-card__empty{margin:0;padding:.875rem;border-radius:10px;background:#f8fafc;color:var(--crm-text-secondary);font-size:.8125rem}.role-card__footer{display:grid;grid-template-columns:1fr 1fr;gap:.625rem;margin-top:auto;padding-top:.25rem}.role-card__action{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;width:100%;padding:.625rem .75rem;border-radius:10px;font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.role-card__action--ghost{border:1px solid var(--crm-border);background:#fff;color:var(--crm-text-secondary)}.role-card__action--ghost:hover{background:#f9fafb;color:var(--crm-text-primary)}.role-card__action--primary{border:1px solid transparent;background:var(--crm-primary);color:#fff}.role-card__action--primary:hover{background:var(--crm-primary-hover)}.role-card__footer .role-card__action:only-child{grid-column:1 / -1}.role-card__chips{display:flex;flex-wrap:wrap;gap:.375rem}.role-card__chip{display:inline-flex;align-items:center;max-width:100%;padding:.3125rem .625rem;border-radius:8px;border:1px solid #E4E7EC;background:#fff;color:var(--crm-text-primary);font-size:.75rem;font-weight:500;line-height:1.3}.role-card__staff-note{margin:0;padding:.75rem;border-radius:10px;background:#f9fafb;color:var(--crm-text-secondary);font-size:.8125rem}.role-card__saving{font-size:.75rem;color:var(--crm-text-secondary)}.add-role-modal{display:flex;flex-direction:column;gap:1rem}.add-role-modal__permissions{display:flex;flex-direction:column;gap:.625rem;max-height:320px;overflow-y:auto;padding-right:.25rem}.add-role-modal__permissions .role-perm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem 1rem}.add-role-modal__submit{width:100%;margin-top:.25rem;padding:.75rem 1rem;border:none;border-radius:10px;background:#1f2a44;color:#fff;font-size:.9375rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s ease}.add-role-modal__submit:hover:not(:disabled){background:#162033}.add-role-modal__submit:disabled{opacity:.6;cursor:not-allowed}.role-perm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem 1rem}.role-perm-grid__item{display:flex;align-items:center;gap:.5rem;min-width:0;padding:.375rem .5rem;border-radius:8px;border:1px solid #F2F4F7;background:#fcfcfd;cursor:pointer;-webkit-user-select:none;user-select:none}.role-perm-grid__item--disabled{cursor:default;opacity:.72}.role-perm-grid__input{position:absolute;opacity:0;width:0;height:0;pointer-events:none}.role-perm-grid__check{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:1rem;height:1rem;border:1.5px solid #D0D5DD;border-radius:4px;background:#fff;color:#fff}.role-perm-grid__check--on{border-color:var(--crm-branch-text);background:var(--crm-branch-text)}.role-perm-grid__label{font-size:.8125rem;line-height:1.35;color:var(--crm-text-primary)}.roles-page__filters{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;padding:.75rem 1rem;border-bottom:1px solid #F2F4F7;background:#fcfcfd}.roles-page__filter-btn{padding:.4375rem .875rem;border:1px solid var(--crm-border);border-radius:999px;background:#fff;color:var(--crm-text-secondary);font-size:.8125rem;font-family:inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.roles-page__filter-btn:hover{background:#f9fafb}.roles-page__filter-btn--active{background:var(--crm-branch-bg);border-color:var(--crm-branch-border);color:var(--crm-branch-text);font-weight:600}.perm-picker{display:flex;flex-direction:column;gap:.875rem}.perm-picker--invalid .perm-picker__panel{border-color:#fda29b}.perm-picker__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.perm-picker__title{margin:0 0 .25rem;font-size:.9375rem;font-weight:600;color:var(--crm-text-primary)}.perm-picker__hint{margin:0;font-size:.8125rem;color:var(--crm-text-secondary);line-height:1.45}.perm-picker__count{flex-shrink:0;padding:.3125rem .625rem;border-radius:999px;background:var(--crm-branch-bg);color:var(--crm-branch-text);font-size:.75rem;font-weight:600}.perm-picker__toolbar{display:flex;flex-direction:column;gap:.625rem}.perm-picker__search{position:relative;width:100%}.perm-picker__search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.perm-picker__search input{width:100%;padding:.625rem .875rem .625rem 2.375rem;border:1px solid var(--crm-input-border);border-radius:10px;background:#fff;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary);outline:none;transition:border-color .15s ease,box-shadow .15s ease}.perm-picker__search input:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px #2563eb1f}.perm-picker__actions{display:flex;flex-wrap:wrap;gap:.5rem}.perm-picker__action{padding:.375rem .75rem;border:1px solid var(--crm-border);border-radius:999px;background:#fff;color:#344054;font-size:.75rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}.perm-picker__action:hover{background:#f9fafb;border-color:#d0d5dd}.perm-picker__panel{display:flex;flex-direction:column;gap:.75rem;max-height:22rem;overflow-y:auto;padding:.875rem;border:1px solid var(--crm-border);border-radius:14px;background:#f9fafb}.perm-picker__panel::-webkit-scrollbar{width:6px}.perm-picker__panel::-webkit-scrollbar-thumb{background:#d0d5dd;border-radius:999px}.perm-picker__empty{margin:0;padding:1.5rem .5rem;text-align:center;color:var(--crm-text-secondary);font-size:.8125rem}.perm-picker__group{padding:.875rem;border:1px solid #EAECF0;border-radius:12px;background:#fff}.perm-picker__group-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.perm-picker__group-title{margin:0;font-size:.8125rem;font-weight:700;color:#101828}.perm-picker__group-meta{margin:.1875rem 0 0;font-size:.75rem;color:#667085}.perm-picker__group-toggle{flex-shrink:0;border:none;background:transparent;color:var(--crm-branch-text);font-size:.75rem;font-weight:600;font-family:inherit;cursor:pointer;padding:0}.perm-picker__group-toggle:hover{text-decoration:underline}.perm-picker__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.perm-picker__item{display:flex;align-items:center;gap:.625rem;width:100%;padding:.6875rem .75rem;border:1px solid #EAECF0;border-radius:10px;background:#fff;text-align:left;font-family:inherit;cursor:pointer;transition:background .12s ease,border-color .12s ease,box-shadow .12s ease}.perm-picker__item:hover{border-color:var(--crm-branch-border);background:#f8fbff}.perm-picker__item--selected{border-color:#84caff;background:var(--crm-branch-bg);box-shadow:0 0 0 1px #175cd314}.perm-picker__check{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:1.125rem;height:1.125rem;border:1.5px solid #D0D5DD;border-radius:4px;background:#fff;color:#fff}.perm-picker__check--on{border-color:var(--crm-branch-text);background:var(--crm-branch-text)}.perm-picker__item-label{font-size:.8125rem;font-weight:500;color:#344054;line-height:1.35}.perm-picker__item--selected .perm-picker__item-label{color:var(--crm-branch-text);font-weight:600}.perm-picker__chips{display:flex;flex-wrap:wrap;gap:.5rem}.perm-picker__chip{display:inline-flex;align-items:center;padding:.375rem .625rem;border-radius:999px;background:var(--crm-branch-bg);color:var(--crm-branch-text);font-size:.75rem;font-weight:600}.perm-picker--readonly .perm-picker__panel{background:#fff}@media (max-width: 640px){.perm-picker__grid{grid-template-columns:1fr}.perm-picker__header{flex-direction:column;align-items:stretch}.perm-picker__count{align-self:flex-start}}.roles-page__permissions{display:flex;flex-wrap:wrap;gap:.375rem;max-width:18rem}.roles-page__checkbox{display:flex;align-items:center;gap:.625rem;margin-top:.75rem;font-size:.8125rem;color:var(--crm-text-secondary);cursor:pointer}.roles-page__checkbox input{width:1rem;height:1rem;accent-color:var(--crm-primary)}.roles-page__permissions-title{margin:0 0 .25rem;font-size:.9375rem;font-weight:600;color:var(--crm-text-primary)}.roles-page__permissions-hint{margin:0 0 .875rem;font-size:.8125rem;color:var(--crm-text-secondary)}.roles-page__permission-groups{display:flex;flex-direction:column;gap:1rem}.roles-page__permission-group-title{margin:0 0 .5rem;font-size:.75rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--crm-text-secondary)}.roles-page__permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem}.roles-page__permission-item{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:var(--crm-text-primary);cursor:pointer}.roles-page__permission-item input{width:1rem;height:1rem;accent-color:var(--crm-primary);flex-shrink:0}.account-page{display:flex;flex-direction:column;gap:1rem;width:100%}.account-page__header{margin-bottom:.25rem}.account-page__title{margin:0;font-size:1.5rem;font-weight:700;color:var(--crm-text-primary);letter-spacing:-.02em}.account-card{background:var(--crm-card-bg);border:1px solid var(--crm-border);border-radius:12px;padding:1.5rem 1.75rem;box-shadow:0 1px 2px #1018280a;display:flex;flex-direction:column;gap:1.25rem}.account-card .ls-field label{font-size:.8125rem;font-weight:600;color:var(--crm-text-primary)}.account-card .ls-field input:not(.ls-select__input),.account-card .ls-textarea{border-color:var(--crm-input-border);border-radius:8px;font-size:.875rem}.account-card .ls-field input:not(.ls-select__input):focus,.account-card .ls-textarea:focus{border-color:var(--crm-primary);box-shadow:0 0 0 3px var(--crm-primary-soft)}.account-card__submit{width:100%;margin-top:.5rem;padding:.875rem 1rem;border:none;border-radius:10px;background:var(--crm-primary);color:#fff;font-size:.9375rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s ease}.account-card__submit:hover:not(:disabled){background:var(--crm-primary-hover)}.account-card__submit:disabled{opacity:.6;cursor:not-allowed}.profile-form__photo-row{display:flex;align-items:center;gap:1rem;flex-wrap:wrap;padding-bottom:1.25rem;border-bottom:1px solid var(--crm-border)}.profile-form__avatar{width:80px;height:80px;border-radius:50%;background:var(--crm-branch-bg);color:var(--crm-primary);display:inline-flex;align-items:center;justify-content:center;font-size:1.75rem;font-weight:700;overflow:hidden;flex-shrink:0}.profile-form__avatar-image{width:100%;height:100%;object-fit:cover}.profile-form__upload-btn{padding:.5rem .875rem;border:1px solid var(--crm-border);border-radius:8px;background:var(--crm-card-bg);color:var(--crm-text-secondary);font-size:.8125rem;font-weight:500;font-family:inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease}.profile-form__upload-btn:hover{background:var(--crm-bg);border-color:#d0d5dd}.profile-form__photo-hint{margin:.375rem 0 0;font-size:.75rem;color:var(--crm-text-muted)}.profile-form__file-input{display:none}.profile-form__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.profile-form__readonly{background:#f9fafb;color:var(--crm-text-secondary);cursor:default}.support-page{width:100%;display:flex;flex-direction:column;gap:1rem}.support-page__empty{margin:3rem 0;padding:0 1rem 2rem;text-align:center;color:var(--crm-text-light);font-size:.9375rem}.support-panel__table-wrap{overflow-x:auto}.support-table th,.support-table td{white-space:nowrap;vertical-align:top}.support-table__subject{display:inline-block;max-width:12rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-table__company,.support-table__date{white-space:nowrap}.support-table__status-select{min-width:8.5rem;height:2rem;padding:0 .5rem;border:1px solid var(--crm-border);border-radius:8px;background:#fff;font-size:.8125rem;font-family:inherit;color:var(--crm-text-primary)}.support-table__message{max-width:12rem;min-width:8rem;white-space:nowrap!important;color:var(--crm-text-secondary)}.support-table__message-text{display:block;max-width:12rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:normal;line-height:1.4}.support-table__th-actions,.support-table__actions-cell{white-space:nowrap}.support-table__actions{display:inline-flex;align-items:center;gap:.5rem}.support-table__action-btn{display:inline-flex;align-items:center;gap:.3rem;border:1px solid var(--crm-border, #D0D5DD);background:#fff;color:var(--crm-text-primary, #111827);font-size:.75rem;font-weight:600;font-family:inherit;padding:.35rem .65rem;border-radius:8px;cursor:pointer}.support-table__action-btn:hover:not(:disabled){background:#f9fafb;border-color:#b2ddff}.support-table__action-btn--edit{color:var(--crm-primary, #2563EB);border-color:#b2ddff;background:#eff8ff}.support-table__action-btn--edit:hover:not(:disabled){background:#dbeafe}.support-table__action-btn:disabled{opacity:.6;cursor:not-allowed}.support-table__solution-cell{min-width:180px;max-width:280px;white-space:normal}.support-table__solution{margin:0 0 .4rem;font-size:.8125rem;color:var(--crm-text-primary);white-space:pre-wrap}.support-table__solution-empty{color:var(--crm-text-muted, #98A2B3)}.support-table__solution-btn{display:inline-flex;align-items:center;gap:.3rem;border:none;background:transparent;color:var(--crm-primary, #2563EB);font-size:.75rem;font-weight:600;font-family:inherit;padding:0;cursor:pointer}.support-table__solution-btn:hover:not(:disabled){text-decoration:underline}.support-table__solution-btn:disabled{opacity:.6;cursor:not-allowed}.support-ticket-view__grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem 1.25rem}.support-ticket-view__field{display:flex;flex-direction:column;gap:.35rem;min-width:0}.support-ticket-view__field--full{grid-column:1 / -1}.support-ticket-view__label{font-size:.75rem;font-weight:600;color:var(--crm-text-muted, #667085);text-transform:uppercase;letter-spacing:.02em}.support-ticket-view__value{font-size:.9375rem;font-weight:600;color:var(--crm-text-primary, #111827);word-break:break-word}.support-ticket-view__value--muted{font-weight:500;color:var(--crm-text-muted, #98A2B3)}.support-ticket-view__message{margin:0;padding:.75rem .875rem;border:1px solid var(--crm-border, #E4E7EC);border-radius:10px;background:#f9fafb;font-size:.875rem;line-height:1.5;color:var(--crm-text-primary, #111827);white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;max-height:16rem;overflow-y:auto}@media (max-width: 640px){.support-ticket-view__grid{grid-template-columns:1fr}}.support-upload{display:flex;align-items:center;justify-content:center;min-height:110px;padding:.875rem;border:1.5px dashed #D0D5DD;border-radius:12px;background:#fcfcfd;cursor:pointer;transition:border-color .15s,background .15s}.support-upload--compact{min-height:72px;margin-top:.5rem}.support-upload:hover{border-color:var(--crm-primary, #2563EB);background:#f5f8ff}.support-upload--filled{border-style:solid;border-color:var(--crm-border, #E4E7EC);background:#fff}.support-upload input{display:none}.support-upload__count{margin-left:.5rem;font-size:.75rem;font-weight:500;color:var(--crm-text-muted, #667085)}.support-upload__empty{display:flex;flex-direction:column;align-items:center;gap:.25rem;color:var(--crm-text-secondary);text-align:center}.support-upload__empty span{font-size:.875rem;font-weight:600;color:#344054}.support-upload__empty small{font-size:.75rem;color:var(--crm-text-muted, #667085)}.support-upload__preview{display:flex;align-items:center;gap:.75rem;width:100%}.support-upload__preview img{width:56px;height:56px;object-fit:cover;border-radius:8px;border:1px solid var(--crm-border, #E4E7EC);flex-shrink:0}.support-upload__preview span{font-size:.8125rem;color:#344054;word-break:break-word}.support-upload__gallery{display:flex;flex-wrap:wrap;gap:.5rem;list-style:none;margin:0;padding:0}.support-upload__thumb{position:relative;width:72px;height:72px}.support-upload__thumb img{width:100%;height:100%;object-fit:cover;border-radius:10px;border:1px solid var(--crm-border, #E4E7EC);display:block}.support-upload__remove{position:absolute;top:-6px;right:-6px;width:22px;height:22px;border:none;border-radius:999px;background:#101828;color:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 3px #10182840}.support-upload__remove:hover{background:#344054}.support-proof-preview--grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem}.support-proof-preview--grid img{width:100%;max-height:280px;object-fit:contain;border-radius:10px;background:#f8fafc;border:1px solid var(--crm-border, #E4E7EC)}.account-modal{width:min(100%,520px)}.profile-page__card{padding:1.75rem 2rem;border-radius:16px;gap:1.5rem}.profile-page .profile-form__photo-row{padding-bottom:0;border-bottom:none;margin-bottom:0}.profile-page .account-card .ls-field label{font-size:.75rem;font-weight:600;color:#344054}.profile-page .account-card .ls-field input:not(.ls-select__input),.profile-page .account-card .ls-textarea{padding:.6875rem .875rem;border-radius:8px;background:#fff;color:var(--crm-text-primary)}.profile-page .profile-form__readonly{background:#fff;color:var(--crm-text-primary);cursor:default}.profile-page .account-card .ls-textarea{min-height:7.5rem;resize:vertical}.profile-page .account-card__submit{margin-top:.25rem;padding:.9375rem 1rem;border-radius:12px;font-weight:700}@media (max-width: 768px){.account-card,.profile-page__card{padding:1.25rem 1rem}.profile-form__grid{grid-template-columns:1fr}.companies-panel__create-btn{width:100%}}.companies-page{display:flex;flex-direction:column;gap:1rem}.companies-panel{background:var(--crm-card-bg);border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 1px 2px #1018280a;overflow:hidden}.companies-panel__toolbar{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-bottom:1px solid var(--crm-border);flex-wrap:wrap}.companies-panel__search{position:relative;flex:1;min-width:240px}.companies-panel__search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.companies-panel__search input{width:100%;padding:.625rem 1rem .625rem 2.5rem;border:1px solid var(--crm-border);border-radius:10px;font-size:.875rem;font-family:inherit;color:var(--crm-text-primary);background:var(--crm-bg);outline:none}.companies-panel__search input:focus{border-color:var(--crm-primary);background:var(--crm-card-bg);box-shadow:0 0 0 3px var(--crm-primary-soft)}.companies-panel__toolbar-actions{display:flex;align-items:center;gap:.625rem;flex-shrink:0}.companies-panel__toolbar-actions .filter-dd{min-width:150px}.companies-panel__create-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.625rem 1rem;border:none;border-radius:10px;background:var(--crm-primary);color:#fff;font-size:.875rem;font-weight:600;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .15s ease}.companies-panel__create-btn:hover{background:var(--crm-primary-hover)}.companies-panel__table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}.companies-table{min-width:980px;border:none;box-shadow:none;border-radius:0}.companies-table thead{background:var(--crm-bg)}.companies-table th{font-size:.6875rem;letter-spacing:.04em;text-transform:uppercase}.companies-table th,.companies-table td{vertical-align:middle}.companies-table__company{display:inline-flex;align-items:center;gap:.65rem;min-width:0}.companies-table__logo{width:32px;height:32px;border-radius:8px;object-fit:cover;flex-shrink:0;background:var(--crm-surface-muted, #f3f4f6);border:1px solid var(--crm-border, #e5e7eb)}.companies-table__logo--placeholder{display:inline-flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:700;color:var(--crm-text-secondary, #6b7280)}.companies-table__name{font-weight:600;color:var(--crm-text-primary)}.companies-logo-clear{margin-top:.5rem;border:0;background:transparent;color:var(--crm-danger, #dc2626);font-size:.8125rem;cursor:pointer;padding:0}.companies-view-logo{display:flex;justify-content:flex-start;margin-bottom:1rem}.companies-view-logo img{width:72px;height:72px;border-radius:12px;object-fit:cover;border:1px solid var(--crm-border, #e5e7eb);background:var(--crm-surface-muted, #f3f4f6)}.companies-table__slug{color:var(--crm-text-secondary);font-size:.8125rem}.companies-table__email{color:var(--crm-text-secondary);word-break:break-all}.companies-table__wallet{font-weight:600;color:var(--crm-text-primary);font-variant-numeric:tabular-nums}.companies-table__actions{display:inline-flex;align-items:center;gap:.25rem}@media (max-width: 768px){.companies-panel__toolbar{flex-direction:column;align-items:stretch}.companies-panel__toolbar-actions{width:100%;flex-wrap:wrap}.companies-panel__toolbar-actions .filter-dd{flex:1;min-width:0}.companies-panel__create-btn{width:100%;justify-content:center}.roles-page__toolbar{flex-direction:column;align-items:stretch}.roles-page__add-btn{width:100%;justify-content:center}.roles-page__grid,.role-perm-grid,.role-card__module-list{grid-template-columns:1fr}}.orders-panel{background:var(--crm-card-bg);border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 1px 2px #1018280a;overflow:hidden}.orders-panel__toolbar{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-bottom:1px solid var(--crm-border)}.orders-panel__search{position:relative;flex:1;min-width:240px}.orders-panel__search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.orders-panel__search input{width:100%;padding:.625rem .875rem .625rem 2.375rem;border:1px solid var(--crm-border);border-radius:10px;font-size:.875rem;font-family:inherit;color:var(--crm-text-primary);background:#fff;outline:none}.orders-panel__search input:focus{border-color:#84caff;box-shadow:0 0 0 3px #2563eb1f}.orders-panel__table-wrap{overflow-x:auto}.orders-table th,.orders-table td{white-space:nowrap;vertical-align:middle}.orders-table__company-cell{display:flex;flex-direction:column;gap:.15rem;min-width:0}.orders-table__company{font-weight:600;color:var(--crm-text-primary)}.orders-table__plan,.orders-table__method{color:var(--crm-text-secondary, #475467)}.orders-table__amount{font-weight:700;color:var(--crm-text-primary);font-variant-numeric:tabular-nums}.orders-table__utr,.orders-table__reason{display:inline-block;max-width:12rem;overflow:hidden;text-overflow:ellipsis;color:var(--crm-text-secondary, #475467);font-size:.8125rem}.orders-table__reason{max-width:14rem;white-space:nowrap}.orders-table__proof-btn{display:inline-flex;align-items:center;gap:.3rem;border:1px solid var(--crm-input-border, #D0D5DD);background:#fff;color:var(--crm-primary, #2563EB);font-size:.8125rem;font-weight:600;font-family:inherit;padding:.35rem .65rem;border-radius:8px;cursor:pointer}.orders-table__proof-btn:hover{background:#eff8ff;border-color:#b2ddff}.orders-table__proof-empty{display:inline-flex;align-items:center;gap:.3rem;color:var(--crm-text-muted, #98A2B3);font-size:.8125rem}.orders-table__action-empty{color:var(--crm-text-muted, #98A2B3)}.orders-action-dropdown{position:relative;display:inline-flex}.orders-action-dropdown__trigger{display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-width:6.5rem;padding:.4rem .7rem;border:1px solid var(--crm-input-border, #D0D5DD);border-radius:8px;background:#fff;color:var(--crm-text-primary, #101828);font-size:.8125rem;font-weight:600;font-family:inherit;cursor:pointer}.orders-action-dropdown__trigger:hover:not(:disabled){background:#f9fafb;border-color:#98a2b3}.orders-action-dropdown__trigger:disabled{opacity:.65;cursor:not-allowed}.orders-action-dropdown__spin{animation:orders-spin .8s linear infinite}@keyframes orders-spin{to{transform:rotate(360deg)}}.orders-action-menu{padding:.5rem;border:1px solid #EAECF0;border-radius:12px;background:#fff;box-shadow:0 12px 16px -4px #10182814,0 4px 6px -2px #10182808}.orders-action-menu--portal{z-index:1200}.orders-action-menu__label{margin:0 0 .35rem;padding:.2rem .55rem;color:#98a2b3;font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}.orders-action-menu__list{list-style:none;margin:0;padding:0;display:grid;gap:.2rem}.orders-action-menu__item{display:flex;align-items:flex-start;gap:.65rem;width:100%;padding:.55rem .6rem;border:none;border-radius:8px;background:transparent;color:#344054;font-family:inherit;text-align:left;cursor:pointer}.orders-action-menu__item:hover:not(:disabled){background:#f9fafb}.orders-action-menu__item:disabled{opacity:.55;cursor:not-allowed}.orders-action-menu__icon{display:inline-flex;align-items:center;justify-content:center;width:1.75rem;height:1.75rem;border-radius:8px;flex-shrink:0;margin-top:.05rem}.orders-action-menu__item--paid .orders-action-menu__icon{color:#027a48;background:#ecfdf3}.orders-action-menu__item--cancelled .orders-action-menu__icon{color:#b54708;background:#fffaeb}.orders-action-menu__item--rejected .orders-action-menu__icon{color:#b42318;background:#fef3f2}.orders-action-menu__copy{display:flex;flex-direction:column;gap:.1rem;min-width:0}.orders-action-menu__copy strong{font-size:.875rem;font-weight:600;line-height:1.25}.orders-action-menu__copy small{color:#667085;font-size:.75rem;line-height:1.3}.orders-action-menu__item--paid .orders-action-menu__copy strong{color:#027a48}.orders-action-menu__item--cancelled .orders-action-menu__copy strong{color:#b54708}.orders-action-menu__item--rejected .orders-action-menu__copy strong{color:#b42318}.orders-proof-preview{display:flex;justify-content:center;background:#f9fafb;border:1px solid var(--crm-border, #E4E7EC);border-radius:12px;padding:1rem;max-height:min(70vh,560px);overflow:auto}.orders-proof-preview img{max-width:100%;height:auto;border-radius:8px;object-fit:contain}.orders-panel__pagination{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.875rem 1rem;border-top:1px solid var(--crm-border);flex-wrap:wrap}.orders-panel__rows{display:inline-flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--crm-text-secondary)}.orders-panel__rows select{padding:.375rem .625rem;border:1px solid var(--crm-border);border-radius:8px;font-family:inherit;font-size:.875rem;background:#fff}.orders-panel__pager{display:inline-flex;align-items:center;gap:.375rem}.orders-panel__pager-btn{min-width:2.25rem;padding:.4375rem .75rem;border:1px solid var(--crm-border);border-radius:8px;background:#fff;color:var(--crm-text-primary);font-size:.8125rem;font-family:inherit;cursor:pointer}.orders-panel__pager-btn:disabled{opacity:.5;cursor:not-allowed}.orders-panel__pager-btn--active{background:var(--crm-primary, #2563EB);border-color:var(--crm-primary, #2563EB);color:#fff}.payment-settings-page{width:100%;display:flex;flex-direction:column;gap:1.25rem}.payment-settings-panel{width:100%;padding:1.75rem 2rem;background:#fff;border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 1px 2px #1018280a;display:flex;flex-direction:column;gap:1.25rem}.payment-settings-panel__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}@media (max-width: 768px){.payment-settings-panel{padding:1.25rem}.payment-settings-panel__grid{grid-template-columns:1fr}}.payment-settings-panel__hint{margin:.375rem 0 0;font-size:.8125rem;color:var(--crm-text-secondary)}.payment-settings-panel__actions{display:flex;flex-wrap:wrap;gap:.75rem;padding-top:.25rem}.payment-settings-panel__qr-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.625rem 1.125rem;border:1px solid #6EE7B7;border-radius:8px;background:linear-gradient(180deg,#ecfdf5,#d1fae5);color:#047857;font-size:.875rem;font-weight:600;font-family:inherit;cursor:pointer;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;flex-shrink:0}.payment-settings-panel__qr-btn:hover:not(:disabled){background:linear-gradient(180deg,#d1fae5,#a7f3d0);border-color:#34d399;box-shadow:0 1px 2px #0478571f}.payment-settings-panel__qr-btn:disabled{opacity:.65;cursor:not-allowed}.payment-settings-panel__qr-preview{margin-top:.5rem;padding:1rem;border:1px solid var(--crm-border);border-radius:12px;background:#fcfcfd;display:flex;flex-direction:column;align-items:flex-start;gap:.75rem}.payment-settings-panel__qr-header{display:flex;align-items:center;justify-content:space-between;width:100%;gap:1rem}.payment-settings-panel__qr-header h3{margin:0;font-size:.9375rem;font-weight:600}.payment-settings-panel__qr-close{border:none;background:transparent;color:var(--crm-primary, #2563EB);font-size:.8125rem;font-family:inherit;cursor:pointer}.payment-settings-panel__qr-preview img{width:220px;height:220px;border-radius:8px;border:1px solid var(--crm-border);background:#fff}.payment-settings-panel__qr-link{margin:0;font-size:.75rem;color:var(--crm-text-secondary);word-break:break-all}.subscriptions-table__extend-btn{border:none;background:transparent;color:var(--crm-primary, #2563EB);font-size:.8125rem;font-family:inherit;cursor:pointer;padding:0}.subscriptions-table__extend-btn:hover:not(:disabled){text-decoration:underline}.subscriptions-table__extend-btn:disabled{opacity:.6;cursor:not-allowed}@media (max-width: 768px){.orders-panel__pagination{flex-direction:column;align-items:stretch}.orders-panel__pager{justify-content:center}}.audit-logs-page{width:100%;display:flex;flex-direction:column;gap:1rem}.audit-logs-panel__table-wrap{overflow-x:auto}.audit-logs-table th{font-size:.6875rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--crm-text-light);background:var(--crm-bg)}.audit-logs-table td{font-size:.875rem;color:var(--crm-text-primary);vertical-align:middle}.audit-logs-table__action{font-weight:600;letter-spacing:.02em}.ca-subscription-page{width:100%;display:flex;flex-direction:column;gap:1.25rem}.ca-subscription-page__success{margin:0;padding:.75rem 1rem;border-radius:8px;background:#ecfdf3;color:#027a48;font-size:.875rem}.ca-subscription-summary{padding:1.25rem 1.5rem}.ca-billing-card--current{box-shadow:0 0 0 1px var(--plan-accent, #2563EB)}.ca-billing-card--paying{box-shadow:0 0 0 2px var(--plan-accent, #2563EB)}.ca-upgrade-anchor{scroll-margin-top:1rem}.ca-billing-card__badge{position:absolute;top:.75rem;right:.75rem;background:#eff8ff;color:#175cd3;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:.2rem .5rem;border-radius:999px}.ca-billing-plans__grid .plan-card{position:relative}.ca-billing-plan-card{display:block;width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;transition:box-shadow .15s ease,transform .15s ease,border-color .15s ease}.ca-billing-plan-card:hover{transform:translateY(-1px);box-shadow:0 8px 20px #10182814}.ca-billing-plan-card:focus-visible{outline:2px solid var(--plan-accent, #2563EB);outline-offset:2px}.ca-billing-card__gst{margin:0 0 .5rem;font-size:.8125rem;color:var(--crm-text-secondary)}.ca-billing-card__cta{display:inline-block;margin-top:.75rem;color:var(--crm-primary, #2563EB);font-size:.875rem;font-weight:700}.ca-billing-plan-card:hover .ca-billing-card__cta{text-decoration:underline}.ca-subscription-summary__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:start}.ca-subscription-summary__label{display:block;font-size:.75rem;color:var(--crm-text-secondary);margin-bottom:.25rem}.ca-subscription-summary__upgrade-hint{margin:1rem 0 .75rem;font-size:.875rem;color:var(--crm-text-secondary)}.ca-subscription-summary__usage{display:flex;flex-wrap:wrap;gap:1rem 1.5rem;font-size:.875rem;font-weight:600;color:var(--crm-text-primary)}.ca-subscription-summary__note{margin:.75rem 0 0;font-size:.8125rem;color:var(--crm-text-light)}.ca-billing-plans__title{margin:0 0 .75rem;font-size:1.125rem;font-weight:700;color:var(--crm-text-primary)}.ca-billing-plans__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.ca-upgrade-panel{background:#fff;border:1px solid var(--crm-border, #E4E7EC);border-radius:16px;box-shadow:0 8px 24px #1018280f;overflow:hidden;width:100%;max-width:none}.ca-upgrade-panel__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.5rem 1.75rem;border-bottom:1px solid #F2F4F7;background:color-mix(in srgb,var(--plan-accent, #2563EB) 6%,#ffffff)}.ca-upgrade-panel__header-main{display:flex;align-items:flex-start;gap:.875rem;min-width:0}.ca-upgrade-panel__icon{width:40px;height:40px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;background:color-mix(in srgb,var(--plan-accent, #2563EB) 14%,#ffffff);color:var(--plan-accent, #2563EB)}.ca-upgrade-panel__eyebrow{margin:0;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--crm-text-muted, #667085)}.ca-upgrade-panel__title{margin:.2rem 0 .25rem;font-size:1.125rem;font-weight:700;color:#101828}.ca-upgrade-panel__subtitle{margin:0;font-size:.8125rem;color:var(--crm-text-secondary);line-height:1.45}.ca-upgrade-panel__close{border:none;background:transparent;color:#667085;width:32px;height:32px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.ca-upgrade-panel__close:hover{background:#f2f4f7;color:#101828}.ca-upgrade-panel__body{display:grid;grid-template-columns:minmax(320px,.9fr) minmax(0,1.1fr);gap:2rem;padding:1.75rem;align-items:start}.ca-upgrade-panel__pay{display:flex;flex-direction:column;gap:.875rem}.ca-upgrade-panel__qr-box{display:flex;align-items:center;justify-content:center;min-height:320px;border:1px solid var(--crm-border, #E4E7EC);border-radius:14px;background:linear-gradient(180deg,#f9fafb,#fff);padding:1.25rem}.ca-upgrade-panel__qr{width:min(280px,100%);height:auto;aspect-ratio:1;object-fit:contain;border-radius:8px;background:#fff}.ca-upgrade-panel__qr-state{display:flex;flex-direction:column;align-items:center;gap:.5rem;color:var(--crm-text-secondary);font-size:.8125rem}.ca-upgrade-panel__spin{animation:ca-upgrade-spin 1s linear infinite}@keyframes ca-upgrade-spin{to{transform:rotate(360deg)}}.ca-upgrade-panel__refresh{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;align-self:flex-start;border:none;background:#fff4ed;color:#b54708;font-size:.8125rem;font-weight:600;font-family:inherit;padding:.5rem .85rem;border-radius:8px;cursor:pointer}.ca-upgrade-panel__refresh:hover:not(:disabled){background:#ffe6d5}.ca-upgrade-panel__refresh:disabled{opacity:.6;cursor:not-allowed}.ca-upgrade-panel__amount-card{border:1px solid var(--crm-border, #E4E7EC);border-radius:12px;padding:.875rem;background:#fff;display:flex;flex-direction:column;gap:.75rem}.ca-upgrade-panel__upi-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.ca-upgrade-panel__label{display:block;font-size:.6875rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--crm-text-muted, #667085);margin-bottom:.2rem}.ca-upgrade-panel__upi-id{display:block;font-size:.875rem;color:#101828;word-break:break-all}.ca-upgrade-panel__copy{display:inline-flex;align-items:center;gap:.3rem;border:1px solid var(--crm-input-border, #D0D5DD);background:#fff;color:#344054;font-size:.75rem;font-weight:600;font-family:inherit;padding:.35rem .6rem;border-radius:8px;cursor:pointer;white-space:nowrap}.ca-upgrade-panel__copy:hover{background:#f9fafb}.ca-upgrade-panel__breakdown{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem}.ca-upgrade-panel__breakdown>div{background:#f9fafb;border-radius:8px;padding:.55rem .6rem}.ca-upgrade-panel__breakdown span{display:block;font-size:.6875rem;color:var(--crm-text-secondary);margin-bottom:.15rem}.ca-upgrade-panel__breakdown strong{font-size:.8125rem;color:#101828}.ca-upgrade-panel__pay-total{background:color-mix(in srgb,var(--plan-accent, #2563EB) 10%,#ffffff)!important}.ca-upgrade-panel__pay-total strong{color:var(--plan-accent, #2563EB)}.ca-upgrade-panel__form{display:flex;flex-direction:column;gap:1rem}.ca-upgrade-panel__upload{display:flex;align-items:center;justify-content:center;min-height:180px;padding:1.25rem;border:1.5px dashed #D0D5DD;border-radius:12px;background:#fcfcfd;cursor:pointer;transition:border-color .15s,background .15s}.ca-upgrade-panel__upload:hover{border-color:var(--plan-accent, #2563EB);background:color-mix(in srgb,var(--plan-accent, #2563EB) 4%,#ffffff)}.ca-upgrade-panel__upload--filled{border-style:solid;border-color:var(--crm-border, #E4E7EC);background:#fff}.ca-upgrade-panel__upload input{display:none}.ca-upgrade-panel__upload-empty{display:flex;flex-direction:column;align-items:center;gap:.25rem;color:var(--crm-text-secondary);text-align:center}.ca-upgrade-panel__upload-empty span{font-size:.875rem;font-weight:600;color:#344054}.ca-upgrade-panel__upload-empty small{font-size:.75rem;color:var(--crm-text-muted, #667085)}.ca-upgrade-panel__upload-preview{display:flex;align-items:center;gap:.75rem;width:100%}.ca-upgrade-panel__upload-preview img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid var(--crm-border, #E4E7EC);flex-shrink:0}.ca-upgrade-panel__upload-preview span{font-size:.8125rem;color:#344054;word-break:break-word}.ca-upgrade-panel__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.25rem}.ca-transactions{margin-top:.25rem}@media (max-width: 960px){.ca-subscription-summary__grid,.ca-billing-plans__grid{grid-template-columns:1fr}}@media (max-width: 800px){.ca-upgrade-panel__body,.ca-upgrade-panel__breakdown{grid-template-columns:1fr}}.customer-report-page{display:flex;flex-direction:column;gap:1rem}.customer-report-page__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.customer-report-page__title-block{display:flex;align-items:flex-start;gap:.875rem;min-width:0}.customer-report-page__icon{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:2.5rem;height:2.5rem;border-radius:12px;background:var(--crm-primary-soft);border:1px solid var(--crm-branch-border);color:var(--crm-branch-text)}.customer-report-page__title{margin:0;font-size:1.375rem;font-weight:700;color:var(--crm-text-primary);line-height:1.25}.customer-report-page__subtitle{margin:.25rem 0 0;font-size:.875rem;color:var(--crm-text-secondary);line-height:1.45}.customer-report-page__meta{display:inline-flex;align-items:center;gap:.4rem;flex-shrink:0;padding:.5rem .75rem;border-radius:10px;background:#fff;border:1px solid var(--crm-border)}.customer-report-page__count{font-size:.9375rem;font-weight:700;color:var(--crm-primary)}.customer-report-page__count-label{font-size:.8125rem;color:var(--crm-text-secondary)}.customer-report-panel{background:var(--crm-card-bg);border:1px solid var(--crm-border);border-radius:14px;box-shadow:0 1px 2px #1018280a;overflow:hidden}.customer-report-panel__toolbar{display:flex;align-items:center;gap:.75rem;padding:.875rem 1rem;border-bottom:1px solid #F2F4F7;background:#fcfcfd}.customer-report-panel__search{position:relative;flex:1;min-width:0;max-width:28rem}.customer-report-panel__search-icon{position:absolute;left:.875rem;top:50%;transform:translateY(-50%);color:var(--crm-text-light);pointer-events:none}.customer-report-panel__search input{width:100%;padding:.625rem .875rem .625rem 2.375rem;border:1px solid var(--crm-border);border-radius:10px;font-size:.875rem;font-family:inherit;color:var(--crm-text-primary);background:#fff;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.customer-report-panel__search input:focus{border-color:#84caff;box-shadow:0 0 0 3px #2563eb1f}.customer-report-panel__empty{padding:2.5rem 1rem;text-align:center;color:var(--crm-text-secondary);font-size:.875rem}.cr-table-wrap{overflow-x:auto}.cr-table{width:100%;min-width:1080px;border-collapse:separate;border-spacing:0}.cr-table thead{background:#f8fafc}.cr-table__th{padding:.75rem .875rem;text-align:left;vertical-align:bottom;font-size:.6875rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#98a2b3;border-bottom:1px solid #E5E7EB;white-space:nowrap}.cr-table__th-stack{display:flex;flex-direction:column;gap:.1rem;line-height:1.25}.cr-table__th--num,.cr-table__cell--num{text-align:right;font-variant-numeric:tabular-nums}.cr-table__th--date,.cr-table__cell--date,.cr-table__th--req,.cr-table__cell--req{text-align:left}.cr-table__th--name{min-width:8.5rem}.cr-table__th--mobile{min-width:7.5rem}.cr-table__th--vehicle{min-width:8rem}.cr-table__row:nth-child(2n){background:#fcfcfd}.cr-table__row:hover{background:#f5f8ff}.cr-table__cell{padding:.8125rem .875rem;font-size:.8125rem;line-height:1.4;color:#667085;border-bottom:1px solid #F2F4F7;white-space:nowrap;vertical-align:middle}.cr-table__cell--strong{font-weight:600;color:#475467}.cr-table__cell--name{min-width:8.5rem}.cr-table__cell--mobile,.cr-table__cell--vehicle,.cr-table__cell--tyre{font-variant-numeric:tabular-nums}.cr-table__cell--muted{color:#d0d5dd;font-weight:400}.cr-table__row:last-child .cr-table__cell{border-bottom:none}@media (max-width: 768px){.customer-report-page__header{flex-direction:column}.customer-report-panel__search{max-width:none}}
