*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#142033;background:#f6f8fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{margin:0}body.modal-scroll-lock{overflow:hidden}#root{min-height:100svh}:root{--bike-number-font: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace}.auth-shell,.app-shell{min-height:100svh;color:#020817;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}.auth-shell{display:grid;place-items:center;padding:32px}.app-shell{display:grid;grid-template-columns:256px minmax(0,1fr);background:#f5f6f8}.auth-card{width:min(100%,520px)}.auth-card h1{margin:0 0 16px;color:#101828;font-size:clamp(40px,8vw,72px);font-weight:700;line-height:1}.auth-actions,.auth-flow,.auth-flow form,.settings-panel form{display:grid;gap:12px}.primary-action{min-height:96px;color:#fff;font-size:24px;font-weight:700;background:#31c900}.secondary-action{min-height:64px}.crm-sidebar{position:sticky;top:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100svh;min-height:100svh;overflow:hidden;border-right:1px solid #e5e7eb;background:#fff}.brand{display:flex;gap:12px;align-items:center;justify-content:flex-start;min-height:58px;width:100%;padding:14px 16px;border-bottom:1px solid #e5e7eb;border-radius:0;color:inherit;text-align:left;background:#fff;box-shadow:none}.brand:hover:not(:disabled){background:#f8fafc}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;color:#fff;font-size:12px;font-weight:800;background:#31c900}.brand strong,.sidebar-user strong{display:block;color:#001533}.brand span{color:#31c900}.brand small,.sidebar-user small{color:#98a2b3;font-size:12px}.sidebar-nav{display:grid;align-content:start;gap:4px;min-height:0;padding:26px 10px;overflow-y:auto}.sidebar-nav button,.sidebar-nav a{display:flex;align-items:center;gap:10px;min-height:38px;justify-content:flex-start;padding:0 12px;border-radius:8px;color:#58677a;font-size:14px;font-weight:400;text-align:left;text-decoration:none;background:transparent}.sidebar-nav-icon{flex:0 0 auto;color:#98a2b3}.sidebar-nav button span,.sidebar-nav a span{min-width:0;line-height:1.25}.sidebar-nav button:disabled{cursor:default;opacity:1}.sidebar-nav a.active{color:#217a00;font-weight:700;background:#e9fbdc;box-shadow:inset -4px 0 #31c900}.sidebar-nav a.active .sidebar-nav-icon{color:#31c900}.sidebar-nav a:hover:not(.active){background:#e9fbdc;color:#217a00}.sidebar-nav a:hover:not(.active) .sidebar-nav-icon{color:#31c900}.sidebar-nav a.active:hover{background:#e9fbdc;color:#217a00;cursor:default}.sidebar-nav a.active:hover .sidebar-nav-icon{color:#31c900}.sidebar-user{display:flex;align-items:center;gap:8px;padding:14px;border-top:1px solid #e5e7eb;background:#fff}.sidebar-user>div{min-width:0;flex:1}.sidebar-user button{width:36px;min-height:36px;color:#94a3b8;background:#f1f5f9}.crm-main{min-width:0;padding:0 24px 40px}.topbar{display:flex;justify-content:flex-end;gap:24px;align-items:center;min-height:60px;margin:0 -24px 24px;padding:0 16px;border-bottom:1px solid #e5e7eb;background:#fff}.topbar-actions{display:flex;align-items:center;gap:8px}.topbar-section-link{display:flex;align-items:center;width:auto;min-height:38px;gap:8px;padding:0 12px;border:1px solid #dfe4ec;border-radius:10px;color:#344054;font-size:14px;font-weight:600;line-height:1;text-decoration:none;background:#fff;box-shadow:0 1px 2px #10182808}.topbar-section-link svg{color:#667085}.topbar-section-link:hover,.topbar-section-link.active{border-color:#b8ef9a;color:#217a00;background:#e9fbdc}.topbar-section-link:hover svg,.topbar-section-link.active svg{color:#31c900}.branch-switcher{position:relative}.branch-switcher-button{width:auto;min-width:150px;min-height:38px;gap:8px;padding:0 12px;border:1px solid #dfe4ec;border-radius:10px;color:#344054;font-size:14px;font-weight:600;background:#fff;box-shadow:0 1px 2px #10182808}.branch-switcher-button svg{color:#667085}.branch-switcher-button span{overflow:hidden;max-width:180px;text-overflow:ellipsis;white-space:nowrap}.branch-switcher-button:disabled{cursor:default;opacity:1}.branch-switcher-button:hover:not(:disabled){border-color:#cfd6e3;color:#344054;background:#f8fafc}.branch-switcher-button .open{transform:rotate(180deg)}.branch-switcher-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:25;display:grid;gap:4px;min-width:230px;padding:6px;border:1px solid #e4e7ec;border-radius:12px;background:#fff;box-shadow:0 18px 45px #10182829;animation:fade-in .12s ease-out}.branch-switcher-option{width:100%;min-height:36px;justify-content:flex-start;gap:9px;padding:0 9px;border-radius:8px;color:#344054;font-size:13px;font-weight:600;background:transparent}.branch-switcher-option:hover:not(:disabled),.branch-switcher-option.selected{color:#217a00;background:#e9fbdc}.branch-switcher-dot{flex:0 0 auto;width:9px;height:9px;border-radius:999px;box-shadow:0 0 0 2px #fff,0 0 0 3px #10182814}.branch-switcher-option span:nth-child(2){min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.branch-switcher-check{margin-left:auto;color:#31c900}.notification-button{position:relative;transition:color .2s}.notification-button.has-unread{color:#f59e0b;animation:bell-pulse 2.8s ease-in-out infinite}@keyframes bell-pulse{0%,to{transform:rotate(0)}10%{transform:rotate(12deg)}20%{transform:rotate(-10deg)}30%{transform:rotate(8deg)}40%{transform:rotate(-6deg)}50%{transform:rotate(0)}}.notification-badge{position:absolute;top:-5px;right:-5px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border:2px solid #ffffff;border-radius:999px;color:#fff;font-size:11px;font-weight:700;line-height:1;background:#ef4444}.notifications-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:15}.notifications-panel{position:fixed;top:72px;right:24px;z-index:16;display:flex;flex-direction:column;width:min(560px,calc(100vw - 48px));max-height:min(620px,calc(100svh - 96px));border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 18px 40px #10182824;animation:modal-in .18s ease-out}.notifications-panel .panel-heading{flex-shrink:0;padding:18px 18px 14px;border-bottom:1px solid #e5e7eb}.notifications-scroll{overflow-y:auto;overflow-x:hidden;padding:14px 18px 18px}.workspace{width:100%;max-width:none}.section-heading{margin-bottom:0}.section-heading h1{margin:0;color:#020817;font-size:24px;font-weight:700;line-height:1.35}.crm-section{display:grid;gap:20px}.crm-panel{display:grid;gap:16px;padding:20px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.panel-heading{display:flex;justify-content:flex-start;align-items:center;gap:12px}.panel-heading>h2{margin:0;color:#020817;font-size:22px;font-weight:700;line-height:1.2}.panel-heading>span{display:grid;place-items:center;min-width:32px;min-height:28px;border-radius:999px;color:#217a00;font-weight:700;background:#e9fbdc}.panel-actions{display:flex;align-items:center;gap:8px;margin-left:auto}.settings-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:18;display:flex;justify-content:flex-end;padding:16px;background:#0f172a47;animation:fade-in .18s ease-out}.settings-panel{position:fixed;top:16px;right:16px;bottom:16px;width:min(420px,calc(100vw - 64px));overflow:auto;display:grid;align-content:start;gap:18px;padding:24px;border:1px solid #e5e7eb;border-radius:16px;background:#fff;box-shadow:0 18px 40px #1018281f;animation:drawer-in .22s ease-out}.settings-panel form{padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#fbfcfd}.settings-action-block{display:grid;gap:8px}.settings-inline-message{margin:0;padding:9px 11px;border:1px solid #bfdbfe;border-radius:8px;color:#175cd3;font-size:13px;line-height:1.35;background:#eff6ff}.settings-inline-message--error{border-color:#fecaca;color:#b42318;background:#fef3f2}.settings-camera-selectors{display:grid;gap:12px;padding:16px;border:1px solid #e5e7eb;border-radius:16px;background:#fbfcfd}.settings-camera-selectors label{display:grid;gap:6px}.settings-camera-selectors select{min-height:38px}.pin-section{display:grid;gap:14px}.recognized-user{display:grid;justify-items:center;gap:8px;padding:8px 0 2px;color:#101828}.recognized-user strong{font-size:16px}.user-avatar{flex:0 0 auto;display:grid;place-items:center;overflow:hidden;border-radius:999px;color:#217a00;font-weight:800;background:#e9fbdc;border:1px solid #d4f7bf}.user-avatar img{width:100%;height:100%;object-fit:cover}.user-avatar-sm{width:36px;height:36px;font-size:12px}.user-avatar-md{width:44px;height:44px;font-size:14px}.user-avatar-lg{width:86px;height:86px;font-size:24px}.user-avatar-button{padding:0;box-shadow:none;cursor:zoom-in}.user-avatar-button:hover:not(:disabled){color:#217a00;background:#e9fbdc}.pin-label{color:#475467;font-size:14px;font-weight:600;text-align:center}.pin-field{position:relative;display:flex;justify-content:center;cursor:text}.pin-dots{display:flex;gap:18px;padding:14px 0}.pin-dots.pin-dots-error{animation:pin-shake .38s ease}.pin-dot{width:22px;height:22px;border-radius:50%;border:2px solid #d0d5dd;background:transparent;transition:background-color .12s ease,border-color .12s ease,transform .12s ease}.pin-dot.filled{border-color:#31c900;background:#31c900;transform:scale(1.1)}.pin-dots.pin-dots-error .pin-dot{border-color:#ef4444}.pin-dots.pin-dots-error .pin-dot.filled{background:#ef4444}.pin-real-input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;border:0;padding:0}.pin-error-text{margin:0;color:#b42318;font-size:13px;text-align:center}@keyframes pin-shake{0%,to{transform:translate(0)}18%{transform:translate(-7px)}36%{transform:translate(7px)}54%{transform:translate(-5px)}72%{transform:translate(5px)}90%{transform:translate(-2px)}}.camera-preview{width:100%;max-height:280px;border-radius:16px;background:#111827}.lock-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;-webkit-backdrop-filter:blur(12px) brightness(.7);backdrop-filter:blur(12px) brightness(.7);animation:fade-in .2s ease-out}.lock-modal{width:min(100%,460px);display:grid;gap:0;padding:32px;border-radius:20px;background:#fff;box-shadow:0 32px 80px #10182847;animation:modal-in .22s ease-out}.lock-modal .eyebrow{margin-bottom:6px}.lock-title{margin:0 0 6px;font-size:22px}.lock-subtitle{margin:0 0 22px;color:#667085;font-size:14px}.lock-actions{margin-bottom:0}.lock-actions .primary-action{min-height:72px;font-size:18px}.lock-logout-link{display:flex;align-items:center;gap:6px;justify-content:center;margin-top:16px;min-height:auto;padding:8px;color:#98a2b3;font-size:13px;font-weight:500;background:transparent;border:none;box-shadow:none}.lock-logout-link:hover:not(:disabled){color:#667085;background:transparent}.spoiler-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding:10px 0 4px;font-size:13px;font-weight:500;color:#344054}.admin-sessions-list{display:grid;gap:6px;padding:8px 0 0;margin:0;list-style:none}.admin-session-item{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border-radius:8px;border:1px solid #e5e7eb;background:#fff}.admin-session-info{flex:1;display:flex;flex-wrap:wrap;gap:5px 14px;min-width:0}.admin-session-time,.admin-session-ip{font-size:12px;color:#344054;font-weight:500}.admin-session-ua{flex-basis:100%;font-size:11px;color:#98a2b3;line-height:1.45;overflow-wrap:anywhere;word-break:break-word}.show-all-btn{width:100%;margin-top:12px;padding:10px 16px;border-radius:10px;background:#f9fafb;border:1px solid #e4e7ec;color:#344054;font-size:13px;font-weight:600;text-align:center;cursor:pointer}.show-all-btn:hover:not(:disabled){background:#f2f4f7;border-color:#d0d5dd;color:#344054}.all-notif-modal{width:min(100%,860px);max-height:82vh;display:flex;flex-direction:column;border-radius:18px;background:#fff;box-shadow:0 24px 64px #10182833;animation:modal-in .22s ease-out}.all-notif-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 24px 16px;border-bottom:1px solid #f2f4f7;flex-shrink:0}.all-notif-header h2{margin:0 0 4px;font-size:18px}.all-notif-meta{display:flex;align-items:center;gap:10px;margin:0;color:#667085;font-size:13px}.all-notif-unread-count{padding:2px 8px;border-radius:999px;background:#fef3c7;color:#92400e;font-weight:600;font-size:12px}.all-notif-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.mark-read-btn{display:flex;align-items:center;gap:6px;padding:7px 14px;border-radius:8px;background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0;font-size:13px;font-weight:600;white-space:nowrap}.mark-read-btn:hover:not(:disabled){background:#dcfce7;color:#16a34a}.mark-read-btn:disabled{opacity:.6}.all-notif-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:16px 24px}.all-notif-pagination{display:flex;align-items:center;justify-content:center;gap:16px;padding:14px 24px;border-top:1px solid #f2f4f7;flex-shrink:0;font-size:14px;font-weight:500;color:#344054}.info-modal{width:min(100%,680px);max-height:82vh;display:flex;flex-direction:column;border-radius:18px;background:#fff;box-shadow:0 24px 64px #10182833;animation:modal-in .22s ease-out}.sessions-list{display:grid;gap:8px;list-style:none;padding:0;margin:0}.session-item{display:flex;align-items:flex-start;gap:12px;padding:14px;border-radius:12px;border:1px solid #f2f4f7;background:#fafafa}.session-item.current{border-color:#c7d7fe;background:#f5f8ff}.session-icon{flex-shrink:0;display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f2f4f7;color:#667085}.session-item.current .session-icon{background:#eef4ff;color:#3538cd}.session-info{flex:1;min-width:0}.session-row{display:flex;align-items:center;gap:8px;margin-bottom:4px}.session-device{font-weight:600;font-size:13px;color:#101828;font-family:monospace}.session-current-badge{padding:2px 8px;border-radius:999px;background:#eef4ff;color:#3538cd;font-size:11px;font-weight:600}.session-ua{margin:0 0 3px;font-size:12px;color:#667085;word-break:break-word;overflow-wrap:anywhere}.session-time{margin:0;font-size:12px;color:#98a2b3}.session-revoke{flex-shrink:0;color:#f04438}.session-revoke:hover:not(:disabled){background:#fef3f2;color:#d92d20}.panel-heading .add-employee-btn,.panel-heading .panel-tool-btn{width:auto;min-height:36px;height:36px;padding:0 14px;border-radius:8px;font-size:13px}.add-employee-modal{width:min(100%,520px);max-height:90vh;overflow-y:auto;border-radius:18px;background:#fff;box-shadow:0 24px 64px #10182833;animation:modal-in .22s ease-out}.add-employee-form{padding:20px 24px 24px;display:grid;gap:18px}.add-employee-fields{display:grid;gap:16px}.add-employee-fields label{display:flex;flex-direction:column;gap:0;font-size:14px;font-weight:500;color:#344054}.add-employee-fields label>input,.add-employee-fields label>select,.add-employee-fields label>textarea,.add-employee-fields label>div{margin-top:8px}.add-employee-fields small{font-size:12px;color:#98a2b3;font-weight:400}.add-employee-fields textarea{width:100%;resize:vertical;min-height:96px;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;color:#020817;background:#fff;font:inherit;line-height:1.45;outline:none;transition:border-color .14s ease,box-shadow .14s ease}.add-employee-fields input:focus,.add-employee-fields select:focus,.add-employee-fields textarea:focus{border-color:#31c900;box-shadow:0 0 0 3px #31c9001f;outline:none}.role-selector-label{margin:0 0 10px;font-size:14px;font-weight:500;color:#344054}.role-options{display:grid;gap:8px}.role-option{display:grid;grid-template-columns:auto 1fr;align-items:center;column-gap:10px;min-height:44px;padding:10px 14px;border-radius:10px;border:1.5px solid #e4e7ec;cursor:pointer;transition:border-color .15s,background .15s}.role-option input[type=radio]{-moz-appearance:none;appearance:none;-webkit-appearance:none;width:18px;min-width:18px;height:18px;min-height:18px;border:2px solid #d1d5db;border-radius:50%;background:#fff;cursor:pointer;flex-shrink:0;margin:0;padding:0;transition:border-color .15s,background .15s}.role-option input[type=radio]:checked{border-color:#31c900;background:#31c900;box-shadow:inset 0 0 0 3px #fff}.role-option.selected{border-color:#b8ef9a;background:#f0f7ea}.role-option-label{font-size:14px;font-weight:600;color:#101828;line-height:1.2}.branch-selector{display:grid;gap:8px}.branch-selector-options{display:flex;flex-wrap:wrap;gap:6px}.branch-option{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;border:1px solid #e4e7ec;background:#f8fafc;font-size:13px;font-weight:500;color:#475467;cursor:pointer;transition:border-color .12s,background .12s,color .12s;-webkit-user-select:none;user-select:none}.branch-option input[type=checkbox],.branch-option input[type=radio]{width:auto;min-height:0;accent-color:#31c900}.branch-option:hover,.branch-option.selected{border-color:#b8ef9a;background:#f0f7ea;color:#1a4d0a}.branch-option.implicit{opacity:.7}.role-settings-modal{width:min(100%,820px);max-height:88vh;display:flex;flex-direction:column;border-radius:18px;background:#fff;box-shadow:0 24px 64px #10182833;animation:modal-in .22s ease-out}.role-settings-body{display:grid;gap:14px;overflow-y:auto;padding:18px 24px 24px}.role-create-form,.role-settings-card{display:grid;gap:14px;padding:16px;border:1px solid #e4e7ec;border-radius:12px;background:#fbfcfd}.role-create-heading,.role-settings-card-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.role-create-heading{justify-content:flex-start;color:#101828}.role-create-grid{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,1fr);gap:12px}.role-create-grid label,.role-settings-card label{display:grid;gap:6px}.role-settings-list{display:grid;gap:10px}.role-settings-card-header strong{display:block;color:#101828;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}.role-settings-card-header span{color:#98a2b3;font-size:12px}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:8px}.permission-option{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:8px;min-height:34px;padding:7px 9px;border:1px solid #edf0f3;border-radius:8px;color:#344054;font-size:12px;font-weight:500;background:#fff}.permission-option input{width:16px;min-height:16px;accent-color:#31c900}.permission-option-danger{border-color:#fecaca;color:#b42318;background:#fff5f5}.permission-option-danger input{accent-color:#ef4444}.role-save-btn{width:auto;min-height:34px;padding:0 12px;font-size:13px}.form-error{padding:10px 14px;border-radius:8px;background:#fef3f2;color:#d92d20;font-size:13px;margin:0}.add-employee-submit{width:100%;min-height:42px}.logout-modal{width:min(100%,380px);display:grid;gap:6px;padding:24px;border-radius:18px;background:#fff;box-shadow:0 24px 70px #10182838;animation:modal-in .2s ease-out}.logout-modal-title{margin:0 0 2px;color:#020817;font-size:18px;font-weight:700}.logout-modal-user{margin:0 0 16px;color:#667085;font-size:13px}.logout-modal-actions{display:grid;gap:8px;margin-bottom:8px}.logout-option{display:grid;gap:2px;text-align:center;justify-items:center;padding:14px 16px;border-radius:12px;color:#020817;background:#f8fafc;border:1px solid #e5e7eb;box-shadow:none;min-height:auto}.logout-option:hover:not(:disabled){background:#f1f5f9;border-color:#d0d5dd;color:#020817}.logout-option-title{font-size:14px;font-weight:600;color:#020817}.logout-option-desc{font-size:12px;font-weight:400;color:#667085}.logout-option-danger .logout-option-title{color:#b42318}.logout-option-danger{border-color:#fecdca;background:#fff5f5}.logout-option-danger:hover:not(:disabled){background:#fee2e2;border-color:#fca5a5;color:#b42318}.logout-cancel{color:#475467;background:transparent;border:1px solid #e5e7eb;min-height:38px;font-size:13px;font-weight:500}.logout-cancel:hover:not(:disabled){background:#f8fafc;color:#475467}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:24px;overflow-y:auto;overscroll-behavior:contain;background:#0f172a6b;animation:fade-in .18s ease-out}.face-modal{width:min(100%,520px);display:grid;gap:18px;padding:24px;border-radius:16px;background:#fff;box-shadow:0 24px 70px #1018283d;animation:modal-in .22s ease-out}.modal-header,.modal-actions{display:flex;gap:12px;align-items:center;justify-content:space-between}.settings-identity{display:flex;align-items:center;gap:14px;min-width:0}.icon-button{display:grid;place-items:center;width:40px;min-height:40px;padding:0;border:1px solid #e4e7ec;border-radius:8px;color:#667085;background:#f8fafc;box-shadow:none}.face-capture{position:relative;overflow:hidden;border-radius:16px;background:#111827}.face-capture .camera-preview,.face-preview{display:block;width:100%;height:min(52svh,340px);max-height:none;object-fit:cover}.face-preview.blurred{filter:blur(3px);transform:scale(1.02)}.result-mark{position:absolute;inset:50% auto auto 50%;display:grid;place-items:center;width:84px;height:84px;border-radius:999px;color:#fff;font-size:52px;font-weight:800;transform:translate(-50%,-50%);box-shadow:0 16px 34px #1018283d}.result-mark.success{background:#12b76a}.result-mark.error-mark{background:#d92d20}.modal-actions button{flex:1}.eyebrow{margin:0 0 12px;color:#8a94a6;font-size:12px;font-weight:600;text-transform:uppercase}.description,.status,.error{margin:0;color:#667085;font-size:14px}.error{color:#b42318}.status{color:#175cd3}h2,h3{margin:0;color:#020817}h3{display:flex;gap:8px;align-items:center;font-size:15px}button,input,select{width:100%;min-height:42px;border-radius:10px;font:inherit}button{display:inline-flex;justify-content:center;align-items:center;gap:8px;cursor:pointer;border:0;color:#fff;font-weight:600;background:#31c900;transition:background-color .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease}button:hover:not(:disabled){background:#2db800;color:#fff}button:disabled{cursor:not-allowed;opacity:.7}.crm-btn{width:auto;min-height:36px;padding:0 14px;border:1px solid #d0d5dd;border-radius:8px;background:#fff;color:#344054;font-size:13px;font-weight:600;line-height:1;box-shadow:none}.crm-btn:hover:not(:disabled){border-color:#b8c2d0;background:#f8fafc;color:#101828}.crm-btn-primary{border-color:#31c900;background:#31c900;color:#fff}.crm-btn-primary:hover:not(:disabled){border-color:#2db800;background:#2db800;color:#fff}.crm-btn-secondary{border-color:#d9e2ef;background:#fff;color:#344054}.crm-btn-danger{border-color:#fecaca;background:#fff5f5;color:#dc2626}.crm-btn-danger:hover:not(:disabled){border-color:#f87171;background:#fee2e2;color:#b91c1c}button.secondary-action,.topbar button:not(.branch-switcher-button):not(.branch-switcher-option),.auth-flow button[type=button]{color:#0f172a;background:#f1f5f9}.auth-flow button[type=button],button.secondary-action{border:1px solid #d0d5dd;background:#fff;box-shadow:0 1px 2px #1018280d}button.secondary-action:hover:not(:disabled),.topbar button:not(.branch-switcher-button):not(.branch-switcher-option):hover:not(:disabled),.auth-flow button[type=button]:hover:not(:disabled),.icon-button:hover:not(:disabled),.icon-only:hover:not(:disabled){background:#e5eaf0;color:#475467}.auth-flow button[type=button]:hover:not(:disabled),button.secondary-action:hover:not(:disabled){border-color:#98a2b3;background:#f8fafc;color:#0f172a}.icon-only{width:40px;min-height:40px;padding:0}.danger-ghost{color:#ef4444}.danger-ghost:hover:not(:disabled){color:#dc2626;background:#fee2e2}input,select{border:1px solid #e5e7eb;padding:0 12px;color:#020817;background:#fff}select{-moz-appearance:none;appearance:none;-webkit-appearance:none;padding-right:38px;background-image:url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%23101828' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:right 14px center;background-repeat:no-repeat;background-size:16px 16px}label{color:#475467;font-size:14px;font-weight:600}.auth-history{display:grid;gap:12px}.auth-history-list,.action-log-list{display:grid;gap:6px;padding:8px 0 0;margin:0;list-style:none;min-width:0}.auth-history-list li,.action-log-list li{min-width:0;padding:8px 12px;border-radius:8px;border:1px solid #e5e7eb;background:#fff}.action-log-list li.unread{border-left:3px solid #16a34a;background:#f0fdf4;padding-left:8px}.history-row{display:flex;align-items:center;gap:8px;min-width:0}.history-method{flex:1;font-size:13px;font-weight:600;color:#101828;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.action-log-list li.unread .history-method{color:#15803d}.history-status{flex-shrink:0;padding:1px 7px;border-radius:999px;font-size:11px;font-weight:600}.history-status--success{background:#ecfdf3;color:#027a48}.history-status--warn{background:#fffaeb;color:#b54708}.history-status--fail{background:#fef3f2;color:#b42318}.history-status--{background:#f2f4f7;color:#344054}.history-time{flex-shrink:0;font-size:11px;color:#98a2b3;white-space:nowrap}.history-scores{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.history-score-pill{padding:1px 6px;border-radius:999px;background:#f2f4f7;color:#667085;font-size:11px}.history-who{margin:2px 0 0;font-size:11px;color:#98a2b3}.action-log-expand-btn{display:inline-grid;place-items:center;flex-shrink:0;width:26px;height:26px;min-height:0;padding:0;border-radius:7px;border:1px solid #e5e7eb;background:#fff;color:#667085}.action-log-expand-btn:hover:not(:disabled){background:#f8fafc;color:#344054}.action-log-detail{min-width:0;margin-top:8px;padding:8px;border-radius:8px;background:#f8fafc;border:1px solid #eef2f7}.action-log-meta{display:grid;gap:6px;margin:0;min-width:0}.action-log-meta-row{display:grid;grid-template-columns:minmax(96px,.28fr) minmax(0,1fr);gap:10px;align-items:start;min-width:0}.action-log-meta-row dt{color:#667085;font-size:11px;font-weight:600}.action-log-meta-row dd{margin:0;color:#101828;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.action-log-meta-empty{margin:0;color:#98a2b3;font-size:12px}.face-photo-thumb-btn{flex-shrink:0;width:30px;height:30px;min-height:0;padding:0;border-radius:6px;overflow:hidden;border:1px solid #e5e7eb;background:#f2f4f7;cursor:pointer;width:auto}.face-photo-thumb{display:block;width:30px;height:30px;object-fit:cover;border-radius:5px}.face-photo-placeholder{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:6px;background:#f2f4f7;color:#98a2b3;flex-shrink:0}.face-photo-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:200;display:flex;align-items:center;justify-content:center;background:#000000bf;animation:modal-in .15s ease-out}.face-photo-lightbox-inner{position:relative;max-width:min(90vw,640px);max-height:90vh;border-radius:12px;overflow:hidden;box-shadow:0 24px 64px #00000080}.face-photo-full{display:block;max-width:100%;max-height:90vh;object-fit:contain}.face-photo-close{position:absolute;top:10px;right:10px;background:#00000080;color:#fff;border-radius:8px;border:none}.unread-dot{flex-shrink:0;width:7px;height:7px;border-radius:50%;background:#16a34a}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-in{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes drawer-in{0%{opacity:0;transform:translate(16px)}to{opacity:1;transform:translate(0)}}@keyframes details-in{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media (max-width: 720px){.auth-shell,.app-shell{display:block}.auth-shell{padding:20px}.crm-sidebar{position:static;height:auto;min-height:auto;overflow:visible}.crm-main{padding:0 16px 28px}.topbar{align-items:stretch;flex-direction:column;margin:0 -16px 24px;padding:14px 16px}.settings-panel{position:static;width:100%;height:auto;margin:0}.settings-backdrop{display:grid;place-items:start center}}.audit-heading{justify-content:flex-start}.audit-heading-title{display:flex;align-items:center;gap:10px;min-width:0;flex-wrap:wrap}.audit-heading strong{font-size:1.5em;font-weight:700;line-height:1.2;color:#020817}.audit-metadata-toggle{display:inline-flex;align-items:center;gap:6px;box-sizing:border-box;height:24px;min-height:24px;max-height:24px;padding:0 8px;border:1px solid #d7f5c9;border-radius:999px;color:#217a00;font-size:13px;font-weight:700;line-height:22px;background:#f6fff1;cursor:pointer;-webkit-user-select:none;user-select:none}.audit-metadata-toggle input{box-sizing:border-box;width:12px;height:12px;margin:0;padding:0;flex:0 0 auto;accent-color:#31c900}.audit-error,.audit-empty{margin:0;padding:22px 20px;color:#667085;font-size:14px}.audit-error{color:#b42318;background:#fff1f0;border-bottom:1px solid #ffd7d3}.crm-table{display:grid;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.crm-table-header,.crm-table-row{display:grid;align-items:center;gap:8px}.crm-table-header{padding:10px 16px;background:#f8fafc;border-bottom:1px solid #e5e7eb;color:#9ca3af;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.5px}.crm-table-sort{justify-content:flex-start;width:fit-content;min-height:0;padding:0;border:none;border-radius:4px;background:transparent;color:inherit;font-size:inherit;font-weight:inherit;line-height:1.2;text-transform:inherit;letter-spacing:inherit;box-shadow:none}.crm-table-sort:hover:not(:disabled),.crm-table-sort.active{background:transparent;color:#020817}.crm-table-sort svg{flex:0 0 auto}.crm-table-row{padding:12px 16px;border-bottom:1px solid #f2f4f7;transition:background .1s}.crm-table-row:last-child{border-bottom:none}.crm-table-row:hover{background:#fafbfc}.crm-table-row-clickable{cursor:pointer}.crm-table-row-clickable:focus-visible{outline:2px solid rgba(49,201,0,.35);outline-offset:-2px}.crm-table-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px}.crm-table-empty{padding:32px;text-align:center;color:#9ca3af;font-size:14px}.document-template-header,.document-template-row{grid-template-columns:minmax(220px,1.4fr) 140px minmax(240px,1.2fr) 100px 150px 120px}.document-template-row{min-height:64px;color:#344054;font-size:13px}.document-template-row strong,.document-template-row small{display:block}.document-template-row strong{color:#020817;font-size:14px}.document-template-row small{margin-top:4px;color:#98a2b3}.document-template-type{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700}.document-template-type.rental{color:#217a00;background:#e9fbdc}.document-template-type.bike_sale{color:#175cd3;background:#eaf2ff}.document-template-file{display:flex;align-items:center;gap:8px;min-width:0}.document-template-file span{overflow-wrap:anywhere}.document-template-upload-info{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;color:#344054;background:#f8fafc;font-size:13px}.document-template-upload-info span{min-width:0;overflow-wrap:anywhere;font-weight:700}.document-template-upload-info small{margin-left:auto;color:#98a2b3}.template-file-field{min-width:0}.template-file-field>span{color:#344054}.template-file-picker{display:flex;align-items:center;gap:10px;min-height:42px;padding:5px;border:1px solid #d0d5dd;border-radius:10px;background:#fff}.template-file-picker .crm-btn{flex-shrink:0}.template-file-picker>span{min-width:0;color:#667085;font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.template-variables-modal{width:min(calc(100vw - 24px),680px)}.template-variable-groups{display:grid;gap:12px;padding:0 24px 24px}.template-variable-group{display:grid;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}.template-variable-group h3{margin:0;color:#020817;font-size:14px;font-weight:700}.template-variable-list{display:grid;gap:6px}.template-variable-row{display:grid;grid-template-columns:minmax(120px,180px) 1fr;gap:12px;align-items:center;min-width:0;color:#667085;font-size:13px}.template-variable-row span{min-width:0;overflow-wrap:anywhere}.template-variable-row code{display:inline-flex;width:fit-content;padding:4px 8px;border-radius:6px;color:#217a00;background:#e9fbdc;font-family:inherit;font-size:12px;font-weight:700}.audit-header,.audit-row{grid-template-columns:140px 160px 150px 1.4fr 1.2fr 150px;gap:12px;align-items:start}.audit-row{min-height:64px;color:#344054;font-size:13px}.audit-row.clickable{cursor:pointer}.audit-row.clickable:hover{background:#f8fafc}.audit-row time{color:#667085;line-height:1.35}.audit-row span{min-width:0;overflow-wrap:anywhere;line-height:1.35}.audit-row small{display:block;margin-top:3px;color:#98a2b3;font-size:11px}.audit-branch{display:inline-flex;align-items:center;gap:6px;color:#344054;font-size:12px}.audit-branch svg{flex:0 0 auto;color:#667085}.audit-branch-dot{flex:0 0 auto;width:9px;height:9px;border-radius:999px;box-shadow:0 0 0 2px #fff,0 0 0 3px #10182814}.audit-branch.all{color:#059669;font-weight:600}.audit-context{width:fit-content;max-width:100%;padding:3px 8px;border-radius:999px;background:#e9fbdc;color:#217a00;font-size:12px;font-weight:700;white-space:nowrap}.audit-metadata{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0 0;padding:10px 12px;border-radius:8px;background:#f9fafb}.audit-metadata div{min-width:0}.audit-metadata div.wide,.audit-metadata div:only-child{grid-column:1 / -1}.audit-metadata dt{color:#98a2b3;font-size:11px;font-weight:600;text-transform:uppercase}.audit-metadata dd{margin:2px 0 0;color:#344054;font-size:12px;overflow-wrap:anywhere}.crm-pagination{display:flex;align-items:center;justify-content:center;gap:12px;color:#344054;font-size:13px;font-weight:600}.crm-pagination-bordered{padding:14px 20px;border-top:1px solid #f2f4f7}.bt-header,.bt-row{grid-template-columns:160px 1fr 155px 120px 200px 100px 44px}.bt-row{min-height:56px}.bt-row.bt-row-editing{background:#f5f8ff;border-bottom-color:#e5e7eb}.bt-cell{display:flex;align-items:center;gap:6px;font-size:13px;color:#374151;min-width:0;padding:0 6px 0 0}.bt-cell-icon{flex-shrink:0;color:#9ca3af}.bt-name{gap:10px}.bt-name strong{font-size:14px;font-weight:600;color:#020817;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bt-color-dot{flex-shrink:0;width:10px;height:10px;border-radius:50%}.bt-empty{color:#d1d5db}.bt-status{justify-content:flex-start}.bt-expanded{border-bottom:1px solid #e5e7eb;background:#f9fafb;padding:20px;animation:fade-in .15s ease-out}.branch-status-pill{flex:0 0 auto;padding:3px 10px;border-radius:999px;color:#217a00;font-size:12px;font-weight:600;background:#e9fbdc}.branch-status-pill.inactive{color:#6b7280;background:#f3f4f6}.branch-edit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:12px}.branch-edit-row{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;margin-bottom:12px}.branch-edit-row .branch-field-group{flex:0 0 auto}.branch-edit-row .branch-active-label{align-self:flex-end;padding-bottom:4px}.branch-edit-form{display:grid;gap:12px}.branch-active-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:500;color:#374151}.branch-active-label input[type=checkbox]{flex:0 0 auto;width:16px;min-height:unset;accent-color:#31c900}.branch-edit-actions{display:flex;gap:8px;align-items:center}.branch-save-btn{width:auto;min-height:36px;padding:0 16px}.branch-field-group{display:grid;gap:8px}.branch-field-label{margin:0;font-size:13px;font-weight:500;color:#374151}.color-picker-grid{display:grid;grid-template-columns:repeat(10,28px);gap:6px}.color-swatch{width:28px;height:28px;min-height:0;border-radius:50%;border:2px solid transparent;outline:none;cursor:pointer;transition:transform .1s,border-color .1s}.color-swatch:hover{transform:scale(1.15)}.color-swatch.selected{border-color:#020817;box-shadow:0 0 0 2px #fff inset;cursor:default}.color-swatch.selected:hover{transform:none}.work-hours-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.work-days-grid{display:flex;gap:6px;flex-wrap:wrap}.work-day-btn{width:auto;min-width:38px;min-height:34px;padding:0 8px;border-radius:8px;color:#9ca3af;font-size:12px;font-weight:600;background:#f3f4f6}.work-day-btn.active{color:#217a00;background:#e9fbdc}.work-days-view{display:flex;gap:4px;flex-wrap:wrap}.work-day-chip{display:inline-grid;place-items:center;min-width:30px;height:22px;padding:0 6px;border-radius:6px;color:#d1d5db;font-size:11px;font-weight:600;background:#f9fafb}.work-day-chip.active{color:#217a00;background:#e9fbdc}.employees-table-header,.employees-table-row{grid-template-columns:1.8fr 1.15fr 1.35fr 1fr 2.25fr 132px}.et-cell{min-width:0}.et-employee{display:flex;align-items:center;gap:10px}.et-employee-info{display:flex;flex-direction:column;gap:1px;min-width:0}.et-employee-info strong{font-size:13px;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.et-employee-info small{font-size:11px;color:#9ca3af}.et-phone{padding:0 4px;color:#344054;font-size:13px;line-height:1.35;overflow-wrap:anywhere}.et-branch{display:flex;flex-direction:column;gap:4px;padding:0 4px}.et-branch-item{display:flex;align-items:center;gap:5px;min-width:0}.et-branch-dot{flex-shrink:0;width:8px;height:8px;border-radius:50%}.et-branch-name{font-size:12px;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.et-branch-text{font-size:12px;color:#9ca3af}.et-branch-all{color:#059669;font-weight:600}.et-role{padding:0 4px}.role-chip{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600;white-space:nowrap}.et-perms{padding:0 4px}.perm-pills-grid{display:flex;align-items:center;flex-wrap:wrap;gap:5px;max-width:420px}.perm-pill{display:inline-flex;align-items:center;min-height:22px;max-width:220px;padding:3px 8px;border-radius:6px;font-size:11px;font-weight:600;border:1px solid transparent;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.2}.perm-pill.active{background:#dcfce7;border-color:#bbf7d0;color:#166534}.perm-pill.danger{background:#fee2e2;border-color:#fecaca;color:#991b1b}.perm-pill-more{min-width:34px;justify-content:center;background:#dcfce7;border-color:#bbf7d0;color:#166534;letter-spacing:1px}.et-action-btn{display:grid;place-items:center;width:32px;height:32px;min-height:0;padding:0;border-radius:8px;border:1px solid #e4e7ec;background:#fff;color:#667085;box-shadow:none}.et-action-btn:hover:not(:disabled){background:#f8fafc;color:#374151}.permissions-section{display:grid;gap:10px}.permissions-pills-toggle{display:flex;flex-wrap:wrap;gap:6px}.perm-toggle{display:flex;align-items:center;gap:6px;padding:6px 10px;min-height:0;border-radius:8px;border:1px solid #e5e7eb;background:#fff;font-size:13px;font-weight:500;color:#344054;cursor:pointer;-webkit-user-select:none;user-select:none;transition:border-color .15s,background .15s,color .15s}.perm-toggle input[type=checkbox]{width:auto;min-height:0;accent-color:#31c900;flex-shrink:0}.perm-toggle:hover:not(.implicit){border-color:#b8ef9a;background:#f0f7ea;color:#1a4d0a}.perm-toggle.active{border-color:#b8ef9a;background:#f0f7ea;color:#1a4d0a}.perm-toggle-danger{border-color:#fecaca;color:#b42318;background:#fff5f5}.perm-toggle-danger input[type=checkbox]{accent-color:#ef4444}.perm-toggle-danger:hover:not(.implicit),.perm-toggle-danger.active{border-color:#f87171;background:#fee2e2;color:#991b1b}.perm-toggle-all{font-weight:600}.perm-toggle-all.active{border-color:#b8ef9a;background:#f0f7ea;color:#1a4d0a}.perm-toggle.implicit{opacity:.7;cursor:default}.branch-color-dot{flex-shrink:0;width:10px;height:10px;border-radius:50%;display:inline-block}.edit-modal-header-left{display:flex;align-items:center;gap:10px}.block-employee-btn{width:100%;min-height:40px;font-size:13px;font-weight:500}.block-employee-btn.unblock{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.block-employee-btn.unblock:hover:not(:disabled){background:#dcfce7;color:#14532d;border-color:#86efac}.employees-table-row.blocked{opacity:.55;filter:grayscale(.6)}.blocked-badge{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:4px;background:#fee2e2;color:#dc2626;font-size:10px;font-weight:600;vertical-align:middle}.et-action-expand{color:#9ca3af}.et-action-expand.active{background:#f0f7ea;color:#217a00;border-color:#b8ef9a}.employee-detail-modal{width:min(100%,620px);max-height:80vh;display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000002e;animation:modal-in .2s ease-out;overflow:hidden}.employee-detail-body{flex:1;overflow-y:auto;padding:16px 20px 20px}.employee-detail-footer{flex-shrink:0;border-top:1px solid #e5e7eb;padding:10px 20px}.clients-search{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border:1px solid #d0d5dd;border-radius:8px;background:#fff}.clients-search:focus-within{border-color:#d0d5dd;background:#fff;box-shadow:none}.clients-search svg{color:#98a2b3}.clients-search input{min-height:34px;padding:0;border:0;background:transparent;box-shadow:none}.clients-search input:focus{outline:none}.clients-search>button[type=submit]:not(.clients-search-clear){display:none}.clients-search-clear{display:grid;place-items:center;width:26px;height:26px;min-height:26px;padding:0;border:none;border-radius:6px;background:#f2f4f7;color:#667085}.clients-search-clear:hover:not(:disabled){background:#e5e7eb;color:#344054}.clients-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}.client-filter-group{display:grid;gap:6px;min-width:0}.client-filter-label{color:#98a2b3;font-size:11px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.client-filter-group select{width:180px;min-height:34px;border-radius:8px;font-size:13px}.client-filter-check{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 12px;border:1px solid #d0d5dd;border-radius:8px;color:#344054;background:#fff;font-size:13px;font-weight:600;cursor:pointer}.client-filter-check:hover,.client-filter-check.active{border-color:#8fe77b;color:#217a00;background:#f4ffef}.client-filter-check input{width:14px;height:14px;min-height:14px;flex:0 0 14px;padding:0;margin:0;accent-color:#24c800}.client-filter-numeric select{width:150px}.client-filter-range{display:flex;gap:6px}.client-filter-range input{width:104px;min-height:34px;border-radius:8px;font-size:13px}.clients-filter-reset,.clients-filter-face{min-height:34px;padding:0 12px}.clients-filter-face.active{color:#217a00;border-color:#b8ef9a;background:#e9fbdc}.clients-filter-face.active:hover:not(:disabled){color:#217a00;background:#dff8cc}.product-categories-header,.product-categories-row{grid-template-columns:minmax(220px,1.5fr) 120px 150px 150px 130px 86px;padding:14px 16px}.product-categories-row{min-height:58px;color:#344054;font-size:13px}.product-category-name{display:flex;align-items:center;gap:10px;min-width:0}.product-category-name>div{display:grid;gap:3px;min-width:0}.product-category-name strong{min-width:0;color:#020817;font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-category-name small{color:#98a2b3;overflow-wrap:anywhere}.product-category-color-dot{width:10px;min-width:10px;height:10px;border-radius:50%}.product-category-status{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700}.product-category-status.normal{color:#217a00;background:#e9fbdc}.product-category-status.critical{color:#dc2626;background:#fff1f1}.product-category-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-category-card{display:grid;gap:8px;min-height:150px;padding:18px 20px;border:1px solid #e5e7eb;border-top:3px solid #22c55e;border-radius:16px;background:#fff}.product-category-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.product-category-card h3,.product-category-card p{margin:0}.product-category-card h3{display:inline-flex;align-items:center;gap:8px;color:#020817;font-size:16px;font-weight:700}.product-category-card p{color:#667085;font-size:13px}.product-category-card-branch{display:inline-flex;align-items:center;gap:8px;font-weight:600}.product-category-card strong{color:#0f172a}.product-category-card .crm-btn{justify-self:flex-start;min-height:30px}.product-category-modal{width:min(calc(100vw - 24px),430px)}.product-category-modal .add-employee-form{padding-top:14px}.product-category-modal-icon{display:grid;place-items:center;justify-self:center;width:54px;height:54px;border-radius:14px;color:#175cd3;background:#eef4ff}.clients-table-header,.clients-table-row{grid-template-columns:2fr .9fr 1.4fr 110px 1.5fr 86px;padding:14px 16px}.clients-table-header{padding-top:10px;padding-bottom:10px}.crm-modal-actions{display:flex;justify-content:flex-end;align-items:stretch;gap:10px;padding-top:4px}.crm-modal-actions button[type=submit],.crm-modal-actions button[type=button],.crm-modal-actions .secondary-action{width:auto;min-height:unset;padding:10px 24px}.client-reviews-book{display:grid;gap:14px;margin:0;padding:16px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc}.client-reviews-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.client-reviews-heading h3{display:inline-flex;align-items:center;gap:8px;margin:0;color:#020817;font-size:16px;font-weight:700}.client-reviews-heading p{margin:4px 0 0;color:#98a2b3;font-size:13px}.client-reviews-heading>span{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;color:#217a00;background:#e9fbdc;font-size:12px;font-weight:700}.client-review-form{display:grid;gap:10px}.client-review-form textarea{width:100%;min-height:86px;resize:vertical;border:1px solid #d0d5dd;border-radius:10px;padding:10px 12px;color:#020817;background:#fff;font:inherit;outline:none}.client-review-form textarea:focus{border-color:#31c900;box-shadow:0 0 0 3px #31c9001f}.client-review-form .crm-btn{justify-self:flex-end}.client-review-photo-panel{display:grid;gap:10px}.client-review-photo-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.client-review-photo-actions .crm-btn{justify-self:auto;min-height:34px;padding:0 12px}.client-review-photo-drafts,.client-review-photos{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.client-review-photo-draft{display:grid;grid-template-columns:58px minmax(0,1fr) 30px;align-items:center;gap:8px;min-width:min(100%,280px);padding:7px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}.client-review-photo-draft img{width:58px;height:44px;object-fit:cover;border-radius:8px}.client-review-photo-draft div{display:grid;gap:2px;min-width:0}.client-review-photo-draft strong,.client-review-photo-draft span{min-width:0;overflow-wrap:anywhere}.client-review-photo-draft strong{color:#111827;font-size:12px}.client-review-photo-draft span{color:#667085;font-size:11px}.client-review-photo-draft .icon-button{width:30px;min-height:30px;border-radius:8px}.client-review-list{display:grid;gap:10px}.client-review-entry{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.client-review-entry>div{display:grid;gap:7px;min-width:0}.client-review-author{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.client-review-author strong{color:#020817;font-size:14px}.client-review-author time{color:#98a2b3;font-size:12px}.client-review-entry p,.client-review-empty{margin:0;color:#475467;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.client-review-empty{padding:12px;border:1px dashed #d0d5dd;border-radius:12px;background:#fff}.client-review-photo-thumb{display:grid;place-items:center;width:76px;height:54px;padding:0;overflow:hidden;border:1px solid #e4e7ec;border-radius:8px;color:#98a2b3;background:#f8fafc;box-shadow:none}.client-review-photo-thumb img{width:100%;height:100%;object-fit:cover}.client-main-cell{display:flex;align-items:center;gap:10px;min-width:0}.client-avatar{display:grid;place-items:center;width:52px;height:52px;flex-shrink:0;border-radius:14px;color:#217a00;background:#e9fbdc;border:1px solid #d4f7bf}.client-main-info{display:grid;gap:2px;min-width:0}.client-main-info strong{min-width:0;color:#111827;font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.client-main-info small{color:#98a2b3;font-size:11px}.client-birthdate{margin-left:6px;font-size:11px;font-weight:500;color:#9ca3af}.client-face-match{display:inline-flex;align-items:center;min-height:20px;margin-left:6px;padding:1px 7px;border-radius:999px;color:#217a00;font-size:11px;font-weight:700;background:#e9fbdc}.client-category{display:inline-flex;align-items:center;min-height:24px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;border:1px solid transparent}.client-category.new{color:#175cd3;background:#eff8ff;border-color:#b2ddff}.client-category.loyal,.client-category.regular{color:#217a00;background:#e9fbdc;border-color:#b8ef9a}.client-category.gray{color:#475467;background:#f2f4f7;border-color:#e4e7ec}.client-category.black{color:#fff;background:#111827;border-color:#111827}.client-contact-cell,.client-doc-cell{display:flex;flex-direction:column;gap:4px;min-width:0;color:#344054;font-size:12px;line-height:1.35}.client-contact-cell span,.client-doc-cell span{min-width:0;overflow-wrap:anywhere}.client-contact-cell span{display:inline-flex;align-items:center;gap:5px}.client-contact-cell svg{flex:0 0 auto;color:#98a2b3}.client-balance-cell{font-size:13px;font-weight:600;color:#111827;white-space:nowrap}.client-balance-negative{color:#dc2626}.client-view-modal{display:flex;flex-direction:column;max-height:90vh}.cv-header-left{display:flex;align-items:flex-start;gap:12px}.cv-title{margin:0 0 4px;font-size:18px;font-weight:700;color:#111827}.cv-header-meta{display:flex;align-items:center;gap:8px;font-size:13px;color:#6b7280}.cv-id{font-family:monospace;font-size:11px;color:#9ca3af;background:#f3f4f6;padding:1px 6px;border-radius:4px}.cv-header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.cv-edit-btn{min-height:34px;padding:0 12px;font-size:13px;font-weight:500}.cv-body{overflow-y:auto;padding:0 24px 24px;display:flex;flex-direction:column;gap:20px}.cv-balance-banner{display:flex;align-items:center;gap:12px;padding:12px 16px;margin-top:10px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px}.cv-balance-label{font-size:13px;color:#6b7280;font-weight:500}.cv-balance-value{font-size:20px;font-weight:700;color:#111827;letter-spacing:-.3px}.cv-balance-value.negative{color:#dc2626}.cv-section{display:flex;flex-direction:column;gap:8px}.cv-section-title{margin:0;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:#9ca3af}.cv-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:6px 16px}.cv-field{display:flex;flex-direction:column;gap:1px}.cv-label{font-size:11px;color:#9ca3af;font-weight:500}.cv-value{font-size:14px;color:#111827;font-weight:500;word-break:break-word}.cv-document-field{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:10px;min-width:0}.cv-document-text{display:grid;gap:2px;min-width:0}.cv-document-text .cv-label,.cv-document-text .cv-value{display:block}.cv-spoiler{display:flex;flex-direction:column}.cv-spoiler-header{display:flex;align-items:center;justify-content:space-between;width:100%;padding:9px 14px;border:1px solid #e4e7ec;background:#f8fafc;box-shadow:none;cursor:pointer;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.6px;color:#4b5563;min-height:unset;border-radius:8px;transition:background .15s,border-color .15s}.cv-spoiler-header:hover{background:#f1f5f9;border-color:#c9d2df;color:#1f2937}.cv-spoiler-header.open{background:#edf2f7;border-color:#c3ccd8;border-radius:8px 8px 0 0}.cv-spoiler-chevron{transition:transform .2s ease;flex-shrink:0}.cv-spoiler-chevron.open{transform:rotate(180deg)}.cv-spoiler-body{display:flex;flex-direction:column;gap:14px;padding:14px 14px 12px;border:1px solid #c3ccd8;border-top:none;border-radius:0 0 8px 8px;background:#fafbfc}.client-doc-preview{display:grid;place-items:center;width:76px;height:54px;min-height:54px;padding:0;overflow:hidden;border:1px solid #e4e7ec;border-radius:8px;color:#98a2b3;background:#f8fafc;box-shadow:none}.client-doc-preview img{width:100%;height:100%;object-fit:cover}.client-doc-preview.empty,.client-doc-preview.loading{cursor:default}.client-documents-section{display:grid;gap:10px;padding:14px;border:1px solid #e5e7eb;border-radius:12px;background:#fbfcfd}.client-documents-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px}.client-documents-title strong{color:#111827;font-size:14px}.client-documents-title span{color:#98a2b3;font-size:12px}.client-document-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.client-document-slot{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:start;gap:10px;padding:10px;border:1px solid #e4e7ec;border-radius:10px;background:#fff}.client-document-main{display:grid;gap:8px;min-width:0}.client-document-info{display:grid;gap:3px;min-width:0}.client-document-info strong{color:#111827;font-size:13px}.client-document-info span,.client-document-info small{min-width:0;color:#667085;font-size:12px;overflow-wrap:anywhere}.client-document-info .client-document-error{color:#dc2626}.client-document-copy{justify-self:start;min-height:32px;max-width:100%;padding:0 10px}.client-document-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.client-document-actions .crm-btn{min-height:32px;padding:0 9px}.client-document-view-btn{width:34px}.client-document-recognition{display:grid;gap:6px;max-width:100%;padding:8px 10px;border-radius:8px;background:#f8fafc;border:1px solid #eef2f7}.client-document-recognition strong{color:#111827;font-size:12px}.client-document-recognition-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.client-document-recognition-refresh{width:26px;min-height:26px;border-radius:7px;color:#667085;background:#fff}.client-document-recognition dl{display:grid;gap:4px;margin:0}.client-document-recognition dl>div{display:grid;grid-template-columns:minmax(92px,.38fr) minmax(0,1fr);gap:8px;min-width:0}.client-document-recognition dt{color:#98a2b3;font-size:11px;font-weight:600}.client-document-recognition dd{margin:0;color:#111827;font-size:12px;overflow-wrap:anywhere}.client-document-recognition>span{color:#667085;font-size:11px}.image-preview-backdrop{z-index:220}.image-preview-modal{position:relative;line-height:0;max-width:min(94vw,1000px);max-height:88vh}.image-preview-modal img{display:block;max-width:100%;max-height:88vh;border-radius:10px;box-shadow:0 4px 40px #0000008c}.image-preview-close{position:absolute;top:-14px;right:-14px;z-index:1;width:32px;height:32px;min-height:32px;border-radius:50%;background:#0f172ad9;color:#fff;border:2px solid rgba(255,255,255,.25);display:grid;place-items:center;cursor:pointer;padding:0;box-shadow:0 2px 8px #0006}.document-camera-modal{display:grid;gap:14px;width:min(96vw,720px);max-height:92vh;padding-bottom:18px;overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 24px 64px #10182838}.document-camera-video{width:calc(100% - 36px);max-height:58vh;margin:0 18px;border-radius:12px;background:#111827;object-fit:contain}.document-camera-actions{justify-content:flex-end;align-items:center;flex-wrap:wrap;padding:0 18px}.document-camera-actions .crm-btn{flex:0 0 auto;min-height:38px;padding:0 16px}.bike-list-filters{margin:14px 0 16px}.bikes-table{overflow:visible}.bikes-header,.bikes-row{grid-template-columns:88px minmax(270px,1.35fr) minmax(120px,.65fr) minmax(170px,.85fr) 130px 90px 38px}.bikes-row .crm-table-actions{min-width:38px;justify-content:flex-start}.bikes-row .et-action-btn{flex:0 0 32px}.bikes-row{position:relative;min-height:86px}.bike-number-cell{color:#020817;font-family:var(--bike-number-font);font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}.bike-number-inline,.bike-number-badge{font-family:var(--bike-number-font);font-variant-numeric:tabular-nums}.bike-number-badge{padding:3px 8px;border-radius:7px;color:#475467;background:#eef2f6;font-size:13px;font-weight:800;line-height:1.2}.bike-view-number{color:#020817;font-size:17px;font-weight:850}.bike-table-model,.bike-profile-header,.bike-branch-cell,.bike-photo-actions,.bike-subheading{display:flex;align-items:center;gap:10px;min-width:0}.bike-table-model>div{display:grid;gap:3px;min-width:0}.bike-model-title-row{display:flex;align-items:center;gap:8px;min-width:0}.bike-table-model strong,.bike-profile-header h3{margin:0;color:#020817;font-weight:700;overflow-wrap:anywhere}.bike-model-meta,.bike-profile-header p{margin:0;color:#98a2b3;font-size:12px}.bike-model-meta,.bike-color-inline{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px}.bike-color-dot{display:inline-block;width:8px;height:8px;flex:0 0 auto;border-radius:999px}.bike-photo-placeholder,.bike-photo-button{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;overflow:hidden;border:1px solid #e4e7ec;border-radius:10px;color:#98a2b3;background:#f8fafc;padding:0}.bike-photo-button{cursor:pointer}.bike-photo-button img{width:100%;height:100%;object-fit:cover}.client-review-photos .bike-photo-placeholder,.client-review-photos .bike-photo-button{width:76px;height:54px;border-radius:8px}.bikes-row .bike-photo-placeholder,.bikes-row .bike-photo-button{width:58px;height:58px;border-radius:12px}.bike-table-price{display:grid;gap:3px;min-width:0}.bike-table-price strong{color:#020817;font-size:12px;font-weight:700;overflow-wrap:anywhere}.bike-table-price span{color:#98a2b3;font-size:12px;font-weight:500}.bike-status{display:inline-flex;align-items:center;min-height:24px;width:fit-content;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.bike-status.ready_rent,.bike-status.ready_sale{color:#217a00;background:#e9fbdc}.bike-status.rented{color:#1455d9;background:#eaf2ff}.bike-status.repair,.bike-status.prepaid_sale{color:#d35400;background:#fff4e5}.bike-status.sold{color:#475467;background:#f2f4f7}.bike-status.unavailable,.bike-status.written_off{color:#d92d20;background:#fff1f3}.bike-avito-status{display:inline-flex;align-items:center;width:fit-content;min-height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.bike-avito-status.none{color:#98a2b3;background:transparent;padding:0}.bike-avito-status.pending{color:#d35400;background:#fff4e5}.bike-avito-status.published{color:#217a00;background:#e9fbdc}.bike-avito-status.blocked{color:#d92d20;background:#fff1f3}.bike-avito-inline{display:inline-flex;align-items:center;gap:4px;min-height:20px;padding:0 7px;border-radius:999px;font-size:10px;font-weight:800;line-height:1;white-space:nowrap}.bike-avito-logo{letter-spacing:0}.bike-avito-inline.pending{color:#d35400;background:#fff4e5}.bike-avito-inline.pending svg{animation:bike-avito-spin 1s linear infinite}.bike-avito-inline.published{color:#217a00;background:#e9fbdc}.bike-avito-inline.blocked{color:#d92d20;background:#fff1f3}@keyframes bike-avito-spin{to{transform:rotate(360deg)}}.bike-modal{width:min(100%,980px);max-height:92vh;overflow-y:auto}.bike-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.bike-form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.bike-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.bike-form-toolbar{flex-wrap:wrap}.bike-form-toolbar .bike-purpose-field{order:1}.bike-form-toolbar .bike-form-avatar-actions{order:2;flex:1;justify-content:center;margin-left:0}.bike-form-toolbar>label{order:3}.bike-form-toolbar>label,.bike-form-toolbar .bike-form-field{display:grid;gap:6px;color:#344054;font-size:13px;font-weight:700}.bike-form-toolbar>label select{min-width:220px;min-height:38px}.bike-form-toolbar .bike-purpose-toggle{width:auto;min-height:38px}.bike-form-toolbar .bike-purpose-toggle button{flex:0 0 auto;min-height:30px;padding:0 12px}.bike-form-grid label,.bike-form-field{display:flex;min-width:0;flex-direction:column;gap:8px;color:#344054;font-size:13px;font-weight:700}.bike-purpose-toggle{display:flex;width:100%;min-height:42px;padding:3px}.bike-purpose-toggle button{flex:1;justify-content:center;min-height:34px}.bike-model-choice-field{grid-column:span 2}.bike-color-choice-field{grid-column:span 1}.bike-radio-options{gap:8px}.bike-radio-options .role-option{display:grid;grid-template-columns:auto auto minmax(0,1fr);min-height:44px;flex-direction:initial;padding:8px 12px}.bike-color-radio-options .role-option{grid-template-columns:auto auto minmax(0,1fr)}.bike-radio-options .role-option-label{align-self:center}.bike-model-radio-options{grid-template-columns:repeat(2,minmax(0,1fr))}.bike-branch-field{grid-column:span 2}.bike-branch-options{gap:8px;padding:0;border:0;border-radius:0;background:transparent}.bike-branch-options .branch-option{display:inline-flex;width:fit-content;min-height:34px;flex-direction:row;align-items:center;justify-content:flex-start;gap:7px;padding:0 12px;border-color:#d7e2d1;border-radius:8px;background:#fff;font-size:13px;font-weight:700}.bike-branch-options .branch-option span{margin:0}.bike-branch-options .branch-option:hover,.bike-branch-options .branch-option.selected{border-color:#8ee96f;color:#217a00;background:#f0fbe9}.bike-branch-options .branch-option input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:14px;min-width:14px;height:14px;min-height:14px;margin:0;padding:0;border:1.5px solid #d0d5dd;border-radius:3px;background:#fff;cursor:pointer}.bike-branch-options .branch-option input[type=radio]:checked{border-color:#31c900;background-color:#31c900;background-image:url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6.1 5 8l4-4.5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-position:center;background-repeat:no-repeat;background-size:12px 12px}.bike-branch-options.disabled{opacity:.58}.bike-branch-empty-dot{background:#d0d5dd}.bike-avito-box{display:grid;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}.bike-avito-toggle,.bike-model-apply-prices{display:inline-flex;align-items:center;gap:8px;width:fit-content;color:#344054;font-size:13px;font-weight:700}.bike-avito-toggle{min-height:36px;padding:0 12px;border:1px solid #d0d5dd;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s,color .15s}.bike-avito-toggle:hover,.bike-avito-toggle.active{border-color:#31c900;color:#217a00;background:#efffe7}.bike-avito-toggle input,.bike-model-apply-prices input{width:16px;height:16px;padding:0;accent-color:#31c900}.bike-avito-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.bike-avito-panel label{display:grid;gap:8px;color:#344054;font-size:13px;font-weight:700}.bike-avito-panel label:last-child{grid-column:1 / -1}.bike-avito-panel textarea{width:100%;min-height:132px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;color:#020817;background:#fff;font:inherit;font-weight:500;line-height:1.45;resize:vertical}.bike-avito-panel textarea:focus{outline:none;border-color:#31c900;box-shadow:0 0 0 3px #31c9001f}.bike-serials-field{grid-column:1 / -1;display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}.bike-serials-field>span,.bike-subheading strong{color:#344054;font-size:13px;font-weight:700}.bike-serials-field>span{flex:0 0 100%}.bike-serial-row,.bike-equipment-row{display:grid;gap:8px;align-items:center}.bike-serial-row{grid-template-columns:138px;flex:0 0 auto}.bike-serial-remove-between{min-width:38px;height:52px;align-self:flex-end}.bike-serial-row input,.bike-serial-single-field input{min-height:52px;border-color:#cbd5e1;color:#020817;font-family:var(--bike-number-font);font-size:22px;font-weight:800;letter-spacing:0;text-align:center;font-variant-numeric:tabular-nums}.bike-serials-field>.crm-btn{min-height:52px;flex:0 0 auto;padding:0 18px}.bike-serial-single-field{grid-column:1 / -1;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}.bike-serial-single-field input{max-width:260px}.bike-equipment-editor{display:grid;gap:8px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}.bike-subheading{justify-content:space-between}.bike-equipment-row{grid-template-columns:minmax(0,1fr) 96px 34px}.bike-photos-editor{display:grid;gap:10px}.bike-photo-card{display:grid;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.bike-photo-card>div:first-child{display:grid;gap:2px}.bike-photo-card strong{color:#020817;font-size:14px}.bike-photo-card span{color:#98a2b3;font-size:12px}.bike-photo-actions .crm-btn{display:inline-flex;align-items:center;justify-content:center;flex-direction:row;width:auto;min-height:36px;gap:8px;padding:0 12px;line-height:1}.bike-photo-actions label.crm-btn{cursor:pointer}.bike-sale-photo-strip,.bike-sale-gallery>div{display:flex;flex-wrap:wrap;gap:8px}.bike-sale-photo-strip .bike-photo-placeholder,.bike-sale-photo-strip .bike-photo-button{width:126px;height:126px;border-radius:14px}.bike-sale-photo-item{position:relative}.bike-sale-photo-item .icon-button{position:absolute;top:-7px;right:-7px;width:24px;min-height:24px;border-radius:999px;background:#fff}.bike-catalog-modal{width:min(100%,640px);max-height:90vh;overflow-y:auto}.bike-catalog-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 24px 0}.bike-catalog-title{display:inline-flex;align-items:center;gap:8px;min-width:0}.bike-catalog-title strong{color:#020817;font-size:15px;font-weight:700}.bike-catalog-title span{display:inline-flex;align-items:center;min-height:24px;padding:0 10px;border-radius:999px;color:#217a00;background:#e9fbdc;font-size:12px;font-weight:700}.bike-catalog-list{display:grid;gap:8px;padding:14px 24px 0;max-height:220px;overflow-y:auto}.bike-catalog-radio-list .role-option{grid-template-columns:auto auto minmax(0,1fr) auto auto;min-height:42px;padding:8px 12px}.bike-catalog-radio-list .bike-catalog-create-item{grid-template-columns:auto auto minmax(0,1fr)}.bike-catalog-radio-list .role-option>span:last-child:not(.role-option-label){color:#98a2b3;font-size:12px}.bike-catalog-hide-btn{grid-column:-2 / -1;justify-self:end}.bike-catalog-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;justify-items:start;gap:10px;min-height:42px;padding:0 12px;border:1px solid #e4e7ec;border-radius:10px;color:#344054;background:#fff;cursor:pointer;text-align:left}.bike-ad-template-item,.bike-catalog-create-item{grid-template-columns:auto minmax(0,1fr)}.bike-catalog-item:hover{border-color:#31c900;background:#f7fff2}.bike-catalog-item.active{border-color:#31c900;color:#217a00;background:#efffe7}.bike-catalog-item strong{min-width:0;color:#020817;overflow-wrap:anywhere}.bike-catalog-item.active strong{color:#217a00}.bike-catalog-item span:last-child{color:#98a2b3;font-size:12px}.bike-model-catalog-avatar{width:34px;height:34px;border-radius:8px}.bike-table-photo-preview{position:relative;display:inline-flex;align-items:center;width:58px;height:58px;flex:0 0 58px;outline:none;z-index:1}.bike-table-photo-tooltip{position:absolute;z-index:10;left:66px;top:50%;width:176px;height:176px;padding:4px;border:1px solid #d9e2ef;border-radius:16px;background:#fff;box-shadow:0 18px 42px #1018283d;opacity:0;pointer-events:none;transform:translateY(-50%) scale(.96);transition:opacity .14s ease,transform .14s ease}.bike-table-photo-preview:hover{z-index:11}.bike-table-photo-preview:hover .bike-table-photo-tooltip{opacity:1;transform:translateY(-50%) scale(1)}.bike-table-photo-tooltip .bike-photo-button,.bike-table-photo-tooltip .bike-photo-placeholder{width:100%;height:100%;border-radius:12px}.bike-table-photo-tooltip img{width:100%;height:100%;object-fit:cover}.bike-color-form-row{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:12px}.bike-model-price-sections{display:grid;gap:12px}.bike-model-price-section{display:grid;align-items:end;gap:10px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc}.bike-model-price-section.sale{grid-template-columns:88px repeat(2,minmax(0,1fr))}.bike-model-price-section.rent{grid-template-columns:88px repeat(3,minmax(0,1fr))}.bike-model-price-section strong{align-self:center;color:#020817;font-size:14px}.bike-model-avatar-card{background:#f8fafc}.add-employee-fields .bike-model-apply-prices{display:inline-flex;grid-template-columns:none;flex-direction:row;align-items:center;gap:10px;width:fit-content;min-height:38px;padding:0 12px;border:1px solid #d9e2ef;border-radius:10px;background:#fff;cursor:pointer}.add-employee-fields .bike-model-apply-prices input{width:16px;height:16px;min-height:16px;margin:0;padding:0;flex:0 0 16px}.bike-note-field{display:grid;gap:8px;color:#344054;font-size:13px;font-weight:700}.bike-note-field textarea{width:100%;min-height:110px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:10px;color:#020817;background:#fff;font:inherit;font-weight:500;line-height:1.45;resize:vertical}.bike-note-field textarea:focus{outline:none;border-color:#31c900;box-shadow:0 0 0 3px #31c9001f}.bike-view-modal{width:min(100%,980px)}.bike-view-avatar.bike-photo-placeholder,.bike-view-avatar.bike-photo-button,.bike-form-avatar.bike-photo-placeholder,.bike-form-avatar.bike-photo-button{width:72px;height:72px;border-radius:18px}.bike-form-avatar-actions{flex-wrap:wrap;justify-content:flex-end}.bike-view-body{padding-top:14px}.bike-view-body .cv-section{padding:14px;border:1px solid #eef2f6;border-radius:14px;background:#fbfdff}.bike-view-body .bike-sale-gallery,.bike-view-body .client-reviews-book{margin:0}.bike-view-body .bike-sale-gallery .bike-photo-placeholder,.bike-view-body .bike-sale-gallery .bike-photo-button{width:126px;height:126px;border-radius:14px}.bike-profile-header{margin:0 24px 16px;padding:12px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc}.bike-profile-header .bike-status{margin-left:auto}.bike-detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:0 24px 16px}.bike-detail-grid div,.bike-equipment-table,.bike-note,.bike-sale-gallery{min-width:0}.bike-detail-grid span{display:block;color:#98a2b3;font-size:12px;font-weight:700}.bike-detail-grid strong{display:block;margin-top:4px;color:#020817;font-size:14px;overflow-wrap:anywhere}.cv-value .bike-detail-branch{display:inline-flex;align-items:center;gap:8px}.bike-equipment-table,.bike-note,.bike-sale-gallery{display:grid;gap:8px;margin:0 24px 16px}.bike-equipment-table h3,.bike-note h3,.bike-sale-gallery h3{margin:0;color:#020817;font-size:15px}.bike-equipment-table>div{display:grid;grid-template-columns:minmax(0,1fr) 80px;gap:10px;padding:8px 10px;border:1px solid #eef2f6;border-radius:8px;background:#f8fafc}.bike-note p{margin:0;color:#475467;font-size:13px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.bike-view-modal .client-reviews-book{margin:0 24px 16px}.bike-view-body .client-reviews-book{margin:0}.bike-note-text,.bike-multiline-value{white-space:pre-wrap;overflow-wrap:anywhere}.bike-note-text{margin:0;color:#101828;font-size:14px;font-weight:600;line-height:1.45}.bike-ad-tags{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.bike-ad-tag{display:grid;grid-template-columns:minmax(118px,max-content) minmax(0,1fr);align-items:center;gap:10px;min-height:34px;padding:6px 10px;border:1px solid #e5e7eb;border-radius:10px;background:#f8fafc}.bike-ad-tag code{width:fit-content;padding:3px 8px;border-radius:999px;color:#217a00;background:#e9fbdc;font-family:inherit;font-size:12px;font-weight:700}.bike-ad-tag span{color:#667085;font-size:12px;font-weight:600}@media (max-width: 980px){.bikes-header,.bikes-row,.bike-form-grid,.bike-form-grid.two,.bike-form-grid.three,.bike-model-price-section.sale,.bike-model-price-section.rent,.bike-avito-panel,.bike-ad-tags,.bike-detail-grid{grid-template-columns:1fr}.bike-model-choice-field,.bike-color-choice-field,.bike-branch-field,.bike-serials-field,.bike-serial-single-field{grid-column:auto}.bike-model-radio-options{grid-template-columns:1fr}.panel-actions{width:100%;margin-left:0;flex-wrap:wrap}}.client-modal{width:min(100%,980px);max-height:90vh;display:flex;flex-direction:column;border-radius:18px;background:#fff;box-shadow:0 24px 64px #10182833;animation:modal-in .22s ease-out;overflow:hidden}.client-form{display:grid;gap:18px;overflow-y:auto;padding:18px 24px 24px}.client-form-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px}.client-type-toggle{display:inline-flex;gap:3px;padding:2px;border:1px solid #e4e7ec;border-radius:10px;background:#f8fafc}.client-type-toggle button{width:auto;min-height:28px;padding:0 11px;border-radius:8px;color:#475467;background:transparent;box-shadow:none;font-size:13px}.client-type-toggle button:hover:not(:disabled),.client-type-toggle button.active{color:#217a00;background:#e9fbdc}.client-category-select{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:14px;font-weight:500;color:#344054}.client-category-select select{min-height:38px;width:auto;min-width:160px}.client-face-action{width:auto;min-height:38px;padding:0 12px}.client-form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.client-form-grid label{display:grid;gap:6px;min-width:0}.client-field-label{display:inline-flex;align-items:center;gap:4px}.required-mark{color:#dc2626;font-weight:800}.client-field-required input:required:invalid{border-color:#fca5a5;background:snow}.client-field-required input:required:focus:invalid{border-color:#ef4444;box-shadow:0 0 0 3px #ef444414}.city-field,.city-field-input-wrap{position:relative}.city-suggestions{position:absolute;top:calc(100% + 2px);left:0;right:0;z-index:200;margin:0;padding:4px;list-style:none;background:#fff;border:1px solid #d1d5db;border-radius:10px;box-shadow:0 4px 14px #0f172a1a;max-height:220px;overflow-y:auto}.city-suggestions li{padding:7px 10px;border-radius:7px;cursor:pointer;font-size:14px;color:#344054}.city-suggestions li:hover{background:#f0fdf4;color:#166534}.city-suggestions-loading{color:#9ca3af;font-size:13px;cursor:default;padding:8px 10px}.city-suggestions-loading{pointer-events:none}.client-field-wide{grid-column:span 2}.client-form textarea{width:100%;min-height:88px;resize:vertical;border:1px solid #e5e7eb;border-radius:10px;padding:10px 12px;color:#020817;background:#fff;font:inherit}.crm-pagination-section{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 0 4px}.crm-pagination-info{font-size:13px;color:#374151;font-weight:500}.crm-pagination-info small{font-size:11px;color:#9ca3af}
