@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideInUp{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}*{box-sizing:border-box;margin:0;padding:0}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{background-color:#f9fafb;color:#111827}.space-x-2>*+*{margin-left:.5rem}.space-x-3>*+*{margin-left:.75rem}.space-x-4>*+*{margin-left:1rem}.space-y-2>*+*{margin-top:.5rem}.space-y-4>*+*{margin-top:1rem}.space-y-6>*+*{margin-top:1.5rem}.grid{display:grid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}@media (min-width: 768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.w-64{width:16rem}.h-screen{height:100vh}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-10{height:2.5rem}.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.pl-10{padding-left:2.5rem}.ml-5{margin-left:1.25rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-gray-200{border-color:#e5e7eb}.border-gray-300{border-color:#d1d5db}.divide-y>*+*{border-top-width:1px;border-color:#e5e7eb}.rounded{border-radius:.375rem}.rounded-md{border-radius:.5rem}.rounded-full{border-radius:9999px}.bg-white{background-color:#fff}.bg-gray-50{background-color:#f9fafb}.bg-gray-100{background-color:#f3f4f6}.bg-gray-300{background-color:#d1d5db}.text-xs{font-size:.75rem;line-height:1rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-gray-300{color:#d1d5db}.text-gray-400{color:#9ca3af}.shadow,.shadow-sm{box-shadow:0 1px 2px #0000000d}.block{display:block}.inline-flex{display:inline-flex}.inset-y-0{top:0;bottom:0}.left-0{left:0}.transition-colors{transition-property:color,background-color,border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-1:focus{box-shadow:0 0 0 1px #3b82f680}.focus\:ring-2:focus{box-shadow:0 0 0 2px #3b82f680}.hover\:bg-gray-50:hover{background-color:#f9fafb}.hover\:text-gray-600:hover{color:#4b5563}.hover\:text-white:hover{color:#fff}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f1f1f1}::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#a8a8a8}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}body{background-color:#f9fafb;color:#111827;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}h1{font-size:1.875rem;line-height:2.25rem;font-weight:700;color:#111827;line-height:1.2}h2{font-size:1.5rem;line-height:2rem;font-weight:600;color:#111827;line-height:1.3}h3{font-size:1.125rem;line-height:1.75rem;font-weight:500;color:#111827;line-height:1.4}h4{font-size:1rem;line-height:1.5rem;font-weight:500;color:#111827;line-height:1.5}p{color:#4b5563;line-height:1.6}a{color:#2563eb;transition:color .2s ease-in-out;text-decoration:none}a:hover{color:#1e40af;text-decoration:underline}.form-container{background-color:#fff;border-radius:.75rem}.form-header{margin-bottom:1.5rem}.form-title{font-size:1.25rem;font-weight:600;color:#111827;line-height:1.25;margin-bottom:.5rem}@media (min-width: 768px){.form-title{font-size:1.5rem}}.form-description{font-size:.875rem;color:#6b7280;line-height:1.5}.form{display:flex;flex-direction:column;gap:1.5rem}.form-fields{display:grid;grid-template-columns:1fr;gap:1.5rem}@media (min-width: 640px){.form-fields{grid-template-columns:repeat(2,1fr)}}.form-field{display:flex;flex-direction:column}@media (min-width: 640px){.form-field--full{grid-column:span 2}}.form-label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem}.form-label__required{color:#ef4444;margin-left:.25rem}.form-input{display:block;width:100%;padding:.625rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;background-color:#fff;color:#111827;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1)}.form-input::placeholder{color:#6b7280}.form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f680}.form-input:disabled{background-color:#f9fafb;color:#6b7280;cursor:not-allowed}.form-input.error{border-color:#ef4444}.form-input.error:focus{box-shadow:0 0 0 2px #ef444480}.form-input--error{border-color:#ef4444;background-color:#fef2f2;color:#7f1d1d}.form-input--error::placeholder{color:#f87171}.form-input--error:focus{border-color:#ef4444;box-shadow:0 0 0 2px #ef444480}.form-input--disabled{background-color:#f9fafb;color:#6b7280;cursor:not-allowed}.form-help{font-size:.875rem;color:#6b7280;margin-top:.25rem}.form-error{font-size:.875rem;color:#dc2626;margin-top:.25rem}.form-actions{display:flex;justify-content:flex-end;gap:.75rem;padding-top:1rem;border-top:1px solid #e5e7eb}.btn-loading{display:flex;align-items:center;gap:.5rem}.btn-spinner{border:2px solid currentColor;border-top-color:transparent;border-radius:50%;animation:spin 1s linear infinite}.btn-spinner__track{opacity:.25}.btn-spinner__path{opacity:.75}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.form-select-wrapper{position:relative}.form-select-wrapper .form-select-loading{position:absolute;right:2rem;top:50%;transform:translateY(-50%)}.form-select-wrapper .form-select-loading .spinner{width:1rem;height:1rem;animation:spin 1s linear infinite;color:#9ca3af}.page{display:flex;height:100vh;background-color:#f9fafb}.page__sidebar{flex-shrink:0}.page__main{flex:1;display:flex;flex-direction:column;overflow:hidden}.page__topbar{flex-shrink:0;border-bottom:1px solid #e5e7eb;background-color:#fff}.page__content{flex:1;overflow:auto;padding:1.5rem}.confirmation-modal{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:1rem}.confirmation-modal__backdrop{position:absolute;top:0;left:0;right:0;bottom:0;background-color:#00000080;transition:opacity .3s ease}.confirmation-modal__content{position:relative;background-color:#fff;border-radius:.75rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;max-width:28rem;width:100%;overflow:hidden}.confirmation-modal__header{position:absolute;top:0;right:0;padding:1rem}.confirmation-modal__close{background:#fff;border:none;border-radius:.5rem;color:#9ca3af;cursor:pointer;padding:.5rem;transition:color .15s ease}.confirmation-modal__close:hover{color:#4b5563}.confirmation-modal__close:disabled{cursor:not-allowed;opacity:.5}.confirmation-modal__close-icon{width:1.5rem;height:1.5rem}.confirmation-modal__body{display:flex;align-items:flex-start;padding:1.5rem;gap:1rem}@media (min-width: 640px){.confirmation-modal__body{gap:1.5rem}}.confirmation-modal__icon{flex-shrink:0;width:3rem;height:3rem;border-radius:50%;display:flex;align-items:center;justify-content:center}@media (min-width: 640px){.confirmation-modal__icon{width:2.5rem;height:2.5rem}}.confirmation-modal__icon--danger{background-color:#fee2e2;color:#dc2626}.confirmation-modal__icon--warning{background-color:#fef3c7;color:#d97706}.confirmation-modal__icon--info{background-color:#dbeafe;color:#2563eb}.confirmation-modal__warning-icon{width:1.5rem;height:1.5rem}.confirmation-modal__text{flex:1;text-align:center}@media (min-width: 640px){.confirmation-modal__text{text-align:left}}.confirmation-modal__title{font-size:1.125rem;font-weight:600;color:#111827;line-height:1.25;margin-bottom:.5rem}@media (min-width: 768px){.confirmation-modal__title{font-size:1.25rem}}.confirmation-modal__message{font-size:.875rem;color:#6b7280;line-height:1.5;white-space:pre-line}.confirmation-modal__actions{display:flex;flex-direction:column-reverse;gap:.75rem;padding:1.25rem 1.5rem 1.5rem}@media (min-width: 640px){.confirmation-modal__actions{flex-direction:row-reverse;justify-content:flex-start}}.confirmation-modal__actions .btn{width:100%}@media (min-width: 640px){.confirmation-modal__actions .btn{width:auto}}.sidebar{width:16rem;height:100vh;min-height:100vh;background-color:#1e293b;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;overflow-y:auto;position:relative}.sidebar__header{padding:1.5rem}.sidebar__header h1{font-size:1.5rem;font-weight:700;color:#fff}.sidebar__nav{margin-top:1.5rem;padding-bottom:2rem}.sidebar__nav-container{padding:0 1rem;display:flex;flex-direction:column;gap:.5rem}.sidebar__nav-link{display:flex;align-items:center;justify-content:center;justify-content:flex-start;padding:.75rem 1rem;font-size:.875rem;font-weight:500;border-radius:.75rem;transition:all .2s ease-in-out;text-decoration:none}.sidebar__nav-link--active{background-color:#2563eb;color:#fff}.sidebar__nav-link--inactive{color:#d1d5db}.sidebar__nav-link--inactive:hover{background-color:#334155;color:#fff}.sidebar__nav-link svg{margin-right:.75rem;height:1.25rem;width:1.25rem}.topbar{background-color:#fff;box-shadow:0 1px 2px #0000000d;border-bottom:1px solid #e5e7eb}.topbar__container{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem}.topbar__search-container{display:flex;align-items:center;justify-content:center;flex:1 1 0%}.topbar__search-container .search-wrapper{max-width:28rem;width:100%}.topbar__search-container .search-wrapper .search-input-wrapper{position:relative}.topbar__search-container .search-wrapper .search-input-wrapper .search-icon{position:absolute;top:0;bottom:0;left:0;padding-left:.75rem;display:flex;align-items:center;justify-content:center;pointer-events:none}.topbar__search-container .search-wrapper .search-input-wrapper .search-icon svg{height:1.25rem;width:1.25rem;color:#9ca3af}.topbar__search-container .search-wrapper .search-input-wrapper input{display:block;width:100%;padding:.5rem .75rem .5rem 2.5rem;border:1px solid #d1d5db;border-radius:.5rem;background-color:#fff;color:#111827}.topbar__search-container .search-wrapper .search-input-wrapper input::placeholder{color:#6b7280}.topbar__search-container .search-wrapper .search-input-wrapper input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f6}.topbar__actions{display:flex;align-items:center;justify-content:center;gap:1rem}.topbar__actions .notification-btn{padding:.5rem;color:#9ca3af;background:none;border:none;cursor:pointer;transition:color .2s ease-in-out}.topbar__actions .notification-btn:hover{color:#4b5563}.topbar__actions .notification-btn svg{height:1.5rem;width:1.5rem}.topbar__actions .user-menu{display:flex;align-items:center;justify-content:center;gap:.75rem;position:relative}.topbar__actions .user-menu .user-info{text-align:right}.topbar__actions .user-menu .user-info .user-name{font-size:.875rem;font-weight:500;color:#111827;margin:0}.topbar__actions .user-menu .user-info .user-role{font-size:.75rem;color:#6b7280;margin:0}.topbar__actions .user-menu .user-avatar{display:flex;align-items:center;justify-content:center;gap:.25rem;padding:.25rem;color:#9ca3af;background:none;border:none;cursor:pointer;transition:color .2s ease-in-out;border-radius:.5rem}.topbar__actions .user-menu .user-avatar:hover{color:#4b5563;background-color:#f9fafb}.topbar__actions .user-menu .user-avatar:focus{outline:none}.topbar__actions .user-menu .user-avatar:focus:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:0 0 0 2px #3b82f680}.topbar__actions .user-menu .user-avatar svg{height:2rem;width:2rem}.topbar__actions .user-menu .user-avatar .dropdown-icon{height:1rem;width:1rem;transition:transform .2s ease-in-out}.topbar__actions .user-menu .user-avatar[aria-expanded=true] .dropdown-icon{transform:rotate(180deg)}.topbar__actions .user-menu .user-dropdown{position:absolute;top:100%;right:0;margin-top:.5rem;width:18rem;background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;z-index:1000;overflow:hidden;animation:slideInDown .15s ease-out}.topbar__actions .user-menu .user-dropdown__header{padding:1rem;display:flex;align-items:center;gap:.75rem;background-color:#f9fafb}.topbar__actions .user-menu .user-dropdown__header .user-avatar-large{flex-shrink:0}.topbar__actions .user-menu .user-dropdown__header .user-avatar-large svg{height:2.5rem;width:2.5rem;color:#9ca3af}.topbar__actions .user-menu .user-dropdown__header .dropdown-user-name{font-size:.875rem;font-weight:600;color:#111827;margin:0 0 .25rem}.topbar__actions .user-menu .user-dropdown__header .dropdown-user-email{font-size:.75rem;color:#6b7280;margin:0 0 .25rem}.topbar__actions .user-menu .user-dropdown__header .dropdown-user-role{font-size:.75rem;color:#2563eb;font-weight:500;margin:0}.topbar__actions .user-menu .user-dropdown__divider{height:1px;background-color:#e5e7eb}.topbar__actions .user-menu .user-dropdown__item{width:100%;padding:.75rem 1rem;display:flex;align-items:center;gap:.75rem;background:none;border:none;cursor:pointer;transition:background-color .15s ease-in-out;font-size:.875rem;color:#374151}.topbar__actions .user-menu .user-dropdown__item:hover{background-color:#f9fafb}.topbar__actions .user-menu .user-dropdown__item:focus{outline:none;background-color:#eff6ff;color:#1d4ed8}.topbar__actions .user-menu .user-dropdown__item svg{height:1.25rem;width:1.25rem;flex-shrink:0}.topbar__actions .user-menu .user-dropdown__item.logout-btn{color:#dc2626}.topbar__actions .user-menu .user-dropdown__item.logout-btn:hover{background-color:#fef2f2;color:#b91c1c}.topbar__actions .user-menu .user-dropdown__item.logout-btn .logout-icon{color:#ef4444}.topbar .search-wrapper--dropdown{position:relative}.topbar .search-dropdown{position:absolute;top:calc(100% + 6px);left:0;right:0;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 20px 40px #00000014;z-index:50;overflow:hidden}.topbar .search-dropdown__empty{padding:.75rem 1rem;color:#6b7280;font-size:.9rem}.topbar .search-dropdown__list{margin:0;padding:.25rem;list-style:none;max-height:320px;overflow-y:auto}.topbar .search-result{width:100%;text-align:left;display:block;padding:.625rem .75rem;border-radius:8px;color:#111827}.topbar .search-result:hover{background:#f3f4f6}.topbar .search-result__title{font-weight:600}.topbar .search-result__subtitle{font-size:.85rem;color:#6b7280;margin-top:2px}@keyframes slideInDown{0%{opacity:0;transform:translateY(-10px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}.btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1)}.btn:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.btn--primary{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:#2563eb;color:#fff}.btn--primary:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.btn--primary:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.btn--primary:hover:not(:disabled){background-color:#1d4ed8}.btn--primary:active:not(:disabled){background-color:#1e40af}.btn--secondary{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:#fff;color:#374151;border-color:#d1d5db}.btn--secondary:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.btn--secondary:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.btn--secondary:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.btn--secondary:active:not(:disabled){background-color:#f3f4f6}.btn--ghost{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:transparent;color:#374151}.btn--ghost:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.btn--ghost:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.btn--ghost:hover:not(:disabled){background-color:#f3f4f6}.btn--ghost:active:not(:disabled){background-color:#e5e7eb}.btn--danger{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:#dc2626;color:#fff}.btn--danger:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.btn--danger:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.btn--danger:hover:not(:disabled){background-color:#b91c1c}.btn--danger:active:not(:disabled){background-color:#991b1b}.btn--danger:focus{box-shadow:0 0 0 2px #ef444480}.btn--warning{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:#f59e0b;color:#fff}.btn--warning:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.btn--warning:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.btn--warning:hover:not(:disabled){background-color:#d97706}.btn--warning:active:not(:disabled){background-color:#b45309}.btn--warning:focus{box-shadow:0 0 0 3px #fbbf244d}.btn--sm{padding:.375rem .75rem;font-size:.75rem}.btn--lg{padding:.75rem 1.5rem;font-size:1rem}.card__header{padding:1.25rem 1.5rem;border-bottom:1px solid #e5e7eb;background-color:#f9fafb}.card__body{padding:1.5rem}.card__title{font-size:1.125rem;font-weight:500;color:#111827}.card__description{margin-top:.25rem;color:#4b5563;font-size:.875rem}.badge{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap}.badge--success{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#dcfce7;color:#166534}.badge--warning{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#fef3c7;color:#92400e}.badge--danger{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#fee2e2;color:#991b1b}.badge--info{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#dbeafe;color:#1e40af}.badge--gray{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#f3f4f6;color:#1f2937}.chat{display:flex;flex-direction:column;gap:.75rem}.chat .chat__list{max-height:380px;overflow-y:auto;padding-right:6px}.chat .chat__empty{color:#9ca3af;text-align:center;padding:1rem 0}.chat .chat__items{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.5rem}.chat .chat__item{display:flex}.chat .chat__item--mine{justify-content:flex-end}.chat .chat__item--other{justify-content:flex-start}.chat .chat__bubble{max-width:70%;background:#f3f4f6;color:#111827;padding:.625rem .75rem;border-radius:14px;border:1px solid #e5e7eb}.chat .chat__bubble .chat__text{white-space:pre-wrap}.chat .chat__bubble .chat__meta{margin-top:4px;font-size:.75rem;color:#6b7280;display:flex;gap:6px;align-items:center}.chat .chat__bubble .chat__author{font-weight:500}.chat .chat__item--mine .chat__bubble{background:#eef2ff;border-color:#e0e7ff}.chat .chat__action{margin-left:6px;background:transparent;border:none;color:#6b7280;font-size:.75rem;cursor:pointer}.chat .chat__composer{display:flex;gap:.5rem;align-items:center;border-top:1px solid #f3f4f6;padding-top:.5rem}.chat .chat__composer .chat__input{flex:1 1 auto}.chat .chat__composer .chat__send{flex-shrink:0}.auth-page{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#eff6ff,#eff6ff);padding:1rem}@media (min-width: 768px){.auth-page{padding:2rem}}.auth-card{border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 1px 2px #0000000d;overflow:hidden;width:100%;max-width:24rem;background-color:#fff;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}@media (min-width: 640px){.auth-card{max-width:28rem}}.auth-card__header{padding:1.5rem 1.5rem 1rem;text-align:center;border-bottom:1px solid #f3f4f6}.auth-card__header .auth-logo{width:3rem;height:3rem;margin:0 auto 1rem;background:linear-gradient(135deg,#2563eb,#1d4ed8);border-radius:.75rem;display:flex;align-items:center;justify-content:center;font-size:1.25rem;font-weight:700;color:#fff}.auth-card__header .auth-title{font-weight:600;line-height:1.25;color:#111827;font-size:1.25rem}@media (min-width: 768px){.auth-card__header .auth-title{font-size:1.5rem}}.auth-card__header .auth-title{margin-bottom:.5rem;color:#111827}.auth-card__header .auth-subtitle{font-size:1rem;line-height:1.625;color:#4b5563;margin:0}.auth-card__body{padding:1.5rem}.auth-form .form-group{margin-bottom:1.25rem}.auth-form .form-group:last-child{margin-bottom:0}.auth-form .form-label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.25rem;margin-bottom:.375rem}.auth-form .form-input{display:block;width:100%;padding:.625rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;background-color:#fff;color:#111827;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1)}.auth-form .form-input::placeholder{color:#6b7280}.auth-form .form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f680}.auth-form .form-input:disabled{background-color:#f9fafb;color:#6b7280;cursor:not-allowed}.auth-form .form-input.error{border-color:#ef4444}.auth-form .form-input.error:focus{box-shadow:0 0 0 2px #ef444480}.auth-form .form-select{display:block;width:100%;padding:.625rem 2.5rem .625rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;font-size:.875rem;background-color:#fff;color:#111827;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");background-position:right .625rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;-webkit-appearance:none;-moz-appearance:none;appearance:none}.auth-form .form-select::placeholder{color:#6b7280}.auth-form .form-select:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px #3b82f680}.auth-form .form-select:disabled{background-color:#f9fafb;color:#6b7280;cursor:not-allowed}.auth-form .form-select.error{border-color:#ef4444}.auth-form .form-select.error:focus{box-shadow:0 0 0 2px #ef444480}.auth-form .form-error{font-size:.875rem;color:#dc2626;margin-top:.25rem;display:flex;align-items:center;gap:.25rem}.auth-form .form-error .error-icon{width:1rem;height:1rem;flex-shrink:0}.auth-form .form-help{font-size:.875rem;color:#6b7280;margin-top:.25rem}.auth-form .form-loading-state{display:flex;align-items:center;gap:.5rem;padding:.75rem;background-color:#f9fafb;border:1px solid #e5e7eb;border-radius:.5rem}.auth-form .form-loading-state span{font-size:.875rem;line-height:1.5;color:#6b7280;color:#4b5563}.auth-form .form-error-state .retry-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:#fff;color:#374151;border-color:#d1d5db;margin-top:.5rem;padding:.25rem .75rem;font-size:.875rem;height:auto}.auth-form .form-error-state .retry-btn:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.auth-form .form-error-state .retry-btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.auth-form .form-error-state .retry-btn:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.auth-form .form-error-state .retry-btn:active:not(:disabled){background-color:#f3f4f6}.auth-form .submit-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:#2563eb;color:#fff;width:100%;height:3rem;font-size:1rem;position:relative}.auth-form .submit-btn:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.auth-form .submit-btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.auth-form .submit-btn:hover:not(:disabled){background-color:#1d4ed8}.auth-form .submit-btn:active:not(:disabled){background-color:#1e40af}.auth-form .submit-btn:disabled{background-color:#60a5fa;cursor:not-allowed;opacity:.7}.auth-form .submit-btn .btn-text{transition:opacity .15s ease}.auth-form .submit-btn .btn-text.loading{opacity:0}.auth-form .submit-btn .btn-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);opacity:0;transition:opacity .15s ease}.auth-form .submit-btn .btn-loader.loading{opacity:1}.auth-card__footer{padding:1.25rem 1.5rem 1.5rem;text-align:center;border-top:1px solid #f3f4f6}.auth-card__footer .auth-link-text{font-size:.875rem;line-height:1.5;color:#6b7280;margin:0}.auth-card__footer .auth-link-text .auth-link{color:#2563eb;text-decoration:none;font-weight:500;transition:color .15s ease}.auth-card__footer .auth-link-text .auth-link:hover{color:#1d4ed8;text-decoration:underline}.auth-card__footer .auth-link-text .auth-link:focus{border-radius:.375rem}.auth-card__footer .auth-link-text .auth-link:focus:focus{outline:2px solid transparent;outline-offset:2px;box-shadow:0 0 0 2px #3b82f680}.loading-container{display:flex;align-items:center;justify-content:center;min-height:100vh;background:linear-gradient(135deg,#eff6ff,#eff6ff)}.loading-spinner{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem}.loading-spinner p{font-size:1rem;line-height:1.625;color:#4b5563;margin:0;font-weight:500}.spinner{width:1rem;height:1rem;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.auth-toast.error{background-color:#dc2626;color:#fff}.auth-toast.success{background-color:#16a34a;color:#fff}.dashboard__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.dashboard__header h1{font-size:1.875rem;font-weight:700;color:#111827}.dashboard__metrics{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.5rem;margin-bottom:1.5rem}@media (min-width: 768px){.dashboard__metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (min-width: 1024px){.dashboard__metrics{grid-template-columns:repeat(4,minmax(0,1fr))}}.dashboard__metric-card{background-color:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 1px 2px #0000000d;overflow:hidden}.dashboard__metric-card .metric-content{padding:1.25rem}.dashboard__metric-card .metric-content .metric-header{display:flex;align-items:center;justify-content:center;justify-content:flex-start}.dashboard__metric-card .metric-content .metric-header .metric-icon{flex-shrink:0;width:2rem;height:2rem;border-radius:.5rem;display:flex;align-items:center;justify-content:center}.dashboard__metric-card .metric-content .metric-header .metric-icon--primary{background-color:#3b82f6}.dashboard__metric-card .metric-content .metric-header .metric-icon--success{background-color:#10b981}.dashboard__metric-card .metric-content .metric-header .metric-icon--warning{background-color:#f59e0b}.dashboard__metric-card .metric-content .metric-header .metric-icon--danger{background-color:#ef4444}.dashboard__metric-card .metric-content .metric-header .metric-icon--info{background-color:#06b6d4}.dashboard__metric-card .metric-content .metric-header .metric-info{margin-left:1.25rem;width:0;flex:1 1 0%}.dashboard__metric-card .metric-content .metric-header .metric-info .metric-label{font-size:.875rem;font-weight:500;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard__metric-card .metric-content .metric-header .metric-info .metric-value{font-size:1.125rem;font-weight:500;color:#111827}.dashboard__charts{display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:1.5rem;margin-bottom:1.5rem}@media (min-width: 1024px){.dashboard__charts{grid-template-columns:repeat(2,minmax(0,1fr))}}.card{background-color:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 1px 2px #0000000d;overflow:hidden}.card .card__header{padding:1rem 1.25rem;border-bottom:1px solid #e5e7eb}.card .card__header h3{font-weight:600;color:#1f2937}.card .card__body{padding:1rem 1.25rem}.leads__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.leads__header h1{font-size:1.875rem;font-weight:700;color:#111827}.leads__header .add-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:#2563eb;color:#fff}.leads__header .add-btn:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.leads__header .add-btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.leads__header .add-btn:hover:not(:disabled){background-color:#1d4ed8}.leads__header .add-btn:active:not(:disabled){background-color:#1e40af}.leads__list{background-color:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 1px 2px #0000000d;overflow:hidden}.leads__list ul{margin:0;padding:0;list-style:none}.leads__list ul li{border-bottom:1px solid #e5e7eb}.leads__list ul li:last-child{border-bottom:none}.leads__list ul li .lead-item{padding:1rem;display:flex;align-items:center;justify-content:space-between}.leads__list ul li .lead-item .lead-info{display:flex;align-items:center;justify-content:center;justify-content:flex-start}.leads__list ul li .lead-item .lead-info .lead-avatar{flex-shrink:0;height:2.5rem;width:2.5rem;border-radius:50%;background-color:#d1d5db;display:flex;align-items:center;justify-content:center}.leads__list ul li .lead-item .lead-info .lead-avatar span{font-size:.875rem;font-weight:500;color:#374151}.leads__list ul li .lead-item .lead-info .lead-details{margin-left:1rem}.leads__list ul li .lead-item .lead-info .lead-details .lead-name{font-size:.875rem;font-weight:500;color:#111827}.leads__list ul li .lead-item .lead-info .lead-details .lead-email{font-size:.875rem;color:#6b7280}.leads__list ul li .lead-item .lead-actions{display:flex;align-items:center;justify-content:center;gap:1rem}.leads__list ul li .lead-item .lead-actions .lead-source{font-size:.875rem;color:#6b7280}.leads__list ul li .lead-item .lead-actions .lead-status{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap}.leads__list ul li .lead-item .lead-actions .lead-status--new{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#dbeafe;color:#1e40af}.leads__list ul li .lead-item .lead-actions .lead-status--contacted{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#fef3c7;color:#92400e}.leads__list ul li .lead-item .lead-actions .lead-status--qualified{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#dcfce7;color:#166534}.leads__list ul li .lead-item .lead-actions .convert-btn{color:#2563eb;font-size:.875rem;font-weight:500;background:none;border:none;cursor:pointer;text-decoration:none}.leads__list ul li .lead-item .lead-actions .convert-btn:hover{color:#1e3a8a}.customers__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.customers__header h1{font-size:1.875rem;font-weight:700;color:#111827}.customers__header .add-btn{display:inline-flex;align-items:center;justify-content:center;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:.5rem;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:color,background-color,border-color .2s cubic-bezier(.4,0,.2,1);background-color:#2563eb;color:#fff}.customers__header .add-btn:focus{outline:none;box-shadow:0 0 0 2px #3b82f680}.customers__header .add-btn:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.customers__header .add-btn:hover:not(:disabled){background-color:#1d4ed8}.customers__header .add-btn:active:not(:disabled){background-color:#1e40af}.customers__list{background-color:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 1px 2px #0000000d;overflow:hidden}.customers__list ul{margin:0;padding:0;list-style:none}.customers__list ul li{border-bottom:1px solid #e5e7eb}.customers__list ul li:last-child{border-bottom:none}.customers__list ul li .customer-item{padding:1rem;display:flex;align-items:center;justify-content:space-between}.customers__list ul li .customer-item .customer-info{display:flex;align-items:center;justify-content:center;justify-content:flex-start}.customers__list ul li .customer-item .customer-info .customer-avatar{flex-shrink:0;height:2.5rem;width:2.5rem;border-radius:50%;background-color:#d1d5db;display:flex;align-items:center;justify-content:center}.customers__list ul li .customer-item .customer-info .customer-avatar span{font-size:.875rem;font-weight:500;color:#374151}.customers__list ul li .customer-item .customer-info .customer-details{margin-left:1rem}.customers__list ul li .customer-item .customer-info .customer-details .customer-name{font-size:.875rem;font-weight:500;color:#111827}.customers__list ul li .customer-item .customer-info .customer-details .customer-email{font-size:.875rem;color:#6b7280}.customers__list ul li .customer-item .customer-actions{display:flex;align-items:center;justify-content:center;gap:1rem}.customers__list ul li .customer-item .customer-actions .customer-company{font-size:.875rem;color:#6b7280}.customers__list ul li .customer-item .customer-actions .customer-status{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap}.customers__list ul li .customer-item .customer-actions .customer-status--active{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#dcfce7;color:#166534}.customers__list ul li .customer-item .customer-actions .customer-status--inactive{display:inline-flex;align-items:center;padding:.25rem .625rem;border-radius:9999px;font-size:.75rem;font-weight:500;white-space:nowrap;background-color:#f3f4f6;color:#1f2937}.customers__list ul li .customer-item .customer-actions .edit-btn{color:#2563eb;font-size:.875rem;font-weight:500;background:none;border:none;cursor:pointer;text-decoration:none}.customers__list ul li .customer-item .customer-actions .edit-btn:hover{color:#1e3a8a}.work-items-page .page__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.work-items-page .filters--bar{display:grid;grid-template-columns:1fr 1fr 1fr;gap:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem 1rem;margin-bottom:1rem}.work-items-page .data-table{background:#fff;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.work-items-page .table{width:100%;border-collapse:collapse}.work-items-page .table thead{background:#f9fafb}.work-items-page .table th,.work-items-page .table td{text-align:left;padding:.75rem 1rem;border-bottom:1px solid #f3f4f6;vertical-align:top}.work-items-page .table .table__cell--primary{font-weight:600;color:#111827}.work-items-page .table .table__row:hover{background:#fcfcfd}.work-items-page .table .table__actions{display:flex;gap:.5rem;justify-content:flex-end}.work-items-page .table .table__expand td{background:#fbfbff}.work-items-page .tasks .tasks__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.5rem}.work-items-page .tasks .tasks__list{display:grid;gap:.5rem}.work-items-page .tasks .task-item{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.work-items-page .tasks .task-item .task-title{font-weight:600}.work-items-page .tasks .task-item .task-desc{color:#6b7280;font-size:.875rem;margin-top:.25rem}.tag-input .tag-input__control{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;border:1px solid #e5e7eb;border-radius:6px;padding:.25rem .5rem;background:#fff}.tag-input .tag-input__tags{display:flex;flex-wrap:wrap;gap:.5rem}.tag-input .tag-input__search{border:none;outline:none;min-width:140px;flex:1}.tag-input .tag-input__placeholder{color:#9ca3af}.tag-input .tag-input__dropdown{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:20;background:#fff;border:1px solid #e5e7eb;border-radius:6px;box-shadow:0 10px 25px #0000000f;padding:.25rem;max-height:240px;overflow-y:auto}.tag-input .tag-input__option{display:block;width:100%;text-align:left;padding:.5rem .75rem;border-radius:4px;color:#111827}.tag-input .tag-input__option:hover{background:#f3f4f6}.tag-input .tag-input__empty{padding:.75rem;color:#6b7280;text-align:center}.tag{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .5rem;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:.875rem}.tag__remove{border:none;background:transparent;color:#6b7280;cursor:pointer}.kanban .page__header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.kanban .filters--bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:.75rem 1rem;margin-bottom:1rem}.kanban .filters__group{display:flex;flex-direction:column;gap:.25rem}.kanban .kanban__row+.kanban__row{margin-top:1rem}.kanban .kanban__row--top .kanban__scroll{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(260px,360px);gap:1rem;overflow-x:auto;padding-bottom:.25rem;scrollbar-width:thin}.kanban .kanban__row--bottom{display:grid;grid-template-columns:minmax(260px,1fr)}.kanban .kanban__column{background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;flex-direction:column;min-height:360px}.kanban .kanban__column--cancelled{border-style:dashed}.kanban .kanban__column-header{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #f3f4f6;background:#f9fafb;position:sticky;top:0;z-index:1}.kanban .kanban__count{font-size:.75rem;color:#6b7280;background:#eef2ff;padding:2px 8px;border-radius:999px}.kanban .kanban__column-body{padding:.75rem;display:flex;flex-direction:column;gap:.75rem}.kanban .kanban-card{border:1px solid #e5e7eb;border-radius:8px;padding:.75rem;background:#fff;cursor:grab}.kanban .kanban-card--item{border-left:4px solid #2563eb;box-shadow:0 1px #2563eb14}.kanban .kanban-card--task{border-left:4px solid #22c55e;box-shadow:0 1px #22c55e14}.kanban .kanban-card__title{font-weight:600;color:#111827}.kanban .kanban-card__meta{margin-top:6px;display:flex;gap:.75rem;flex-wrap:wrap;color:#6b7280;font-size:.875rem}.lead-details{display:block}.lead-details .lead-details__header{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;background:#fff;border:1px solid #e5e7eb;border-radius:12px;margin-bottom:1rem}.lead-details .lead-details__header .lead-avatar{width:56px;height:56px;border-radius:999px;background:#eef2ff;color:#3730a3;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.125rem;flex-shrink:0}.lead-details .lead-details__header .lead-title{flex:1 1 auto}.lead-details .lead-details__header .lead-title h1{margin:0;font-size:1.5rem;font-weight:700;color:#111827;line-height:1.25}.lead-details .lead-details__header .lead-title .lead-subtitle{margin-top:4px;color:#6b7280;font-size:.925rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.lead-details .lead-details__header .lead-actions{align-self:flex-start}.lead-details .lead-details__grid{display:grid;grid-template-columns:1fr;gap:1rem}@media (min-width: 1024px){.lead-details .lead-details__grid{grid-template-columns:1.1fr 1fr}}.lead-details .lead-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;overflow:hidden}.lead-details .lead-card .lead-card__header{padding:.875rem 1.125rem;border-bottom:1px solid #f3f4f6;background:#f9fafb}.lead-details .lead-card .lead-card__header h3{margin:0;font-size:1rem;font-weight:600;color:#111827}.lead-details .lead-card .lead-card__body{padding:1rem 1.125rem}.lead-details .meta-list{margin:0;padding:0;display:grid;grid-template-columns:1fr;row-gap:.75rem}.lead-details .meta-list .meta-row{display:grid;grid-template-columns:160px 1fr;column-gap:1rem;align-items:baseline}.lead-details .meta-list .meta-row dt{color:#6b7280;font-size:.875rem}.lead-details .meta-list .meta-row dd{color:#111827;margin:0;font-weight:500}.lead-details .timeline{position:relative;margin:0;padding:.25rem 0 .25rem 1.25rem;list-style:none}.lead-details .timeline:before{content:"";position:absolute;left:.5rem;top:0;bottom:0;width:2px;background:#e5e7eb}.lead-details .timeline .timeline__item{position:relative;padding:.5rem 0 .5rem .25rem}.lead-details .timeline .timeline__item .timeline__dot{position:absolute;left:-.9rem;top:.85rem;width:8px;height:8px;border-radius:999px;background:#2563eb;box-shadow:0 0 0 3px #eef2ff}.lead-details .timeline .timeline__item .timeline__content .timeline__title{font-weight:600;color:#111827}.lead-details .timeline .timeline__item .timeline__content .timeline__meta{font-size:.875rem;color:#6b7280;margin-top:2px}.lead-details .timeline .timeline__hint{margin-top:.5rem;font-size:.875rem;color:#9ca3af}.lead-details .lead-details__related{margin-top:1rem}.lead-details .lead-details__related .related-list{margin:0;padding:0;list-style:none;display:grid;gap:.5rem}.lead-details .lead-details__related .related-list .related-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem .875rem;border:1px solid #f3f4f6;border-radius:10px;background:#fff;transition:box-shadow .12s ease,border-color .12s ease}.lead-details .lead-details__related .related-list .related-item:hover{box-shadow:0 4px 14px #0000000f;border-color:#e5e7eb}.lead-details .lead-details__related .related-list .related-item .related-title{font-weight:600;color:#111827}.lead-details .lead-details__related .related-list .related-item .related-subtitle{color:#6b7280;font-size:.9rem;margin-top:2px}.lead-details .lead-details__related .related-list .related-item .related-meta{display:flex;gap:.5rem;align-items:center}.lead-details .lead-details__related .related-list .related-item .badge{background:#eef2ff;color:#3730a3;border-radius:999px;padding:2px 10px;font-size:.75rem}.lead-details .lead-details__related .related-list .related-item .badge--success{background:#ecfdf5;color:#065f46}.lead-details .lead-details__triple .related-list{margin:0;padding:0;list-style:none;display:grid;gap:.5rem}.lead-details .lead-details__triple .related-list .related-item{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.75rem .875rem;border:1px solid #f3f4f6;border-radius:10px;background:#fff;transition:box-shadow .12s ease,border-color .12s ease}.lead-details .lead-details__triple .related-list .related-item:hover{box-shadow:0 4px 14px #0000000f;border-color:#e5e7eb}.lead-details .lead-details__triple .related-list .related-item .related-title{font-weight:600;color:#111827}.lead-details .lead-details__triple .related-list .related-item .related-subtitle{color:#6b7280;font-size:.9rem;margin-top:2px}.lead-details .lead-details__triple .related-list .related-item .related-meta{display:flex;gap:.5rem;align-items:center}.lead-details .lead-details__triple .related-list .related-item .badge{background:#eef2ff;color:#3730a3;border-radius:999px;padding:2px 10px;font-size:.75rem}.lead-details .lead-details__triple .related-list .related-item .badge--success{background:#ecfdf5;color:#065f46}.lead-details .lead-details__triple{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:1rem}@media (min-width: 1024px){.lead-details .lead-details__triple{grid-template-columns:1fr 1fr 1fr}}.lead-details .lead-details__footer{margin-top:1rem;display:flex;justify-content:flex-end}.tag-input{position:relative}.tag-input__control{display:flex;align-items:center;gap:.5rem;border:1px solid #e5e7eb;border-radius:8px;padding:.375rem .5rem;background:#fff;cursor:text}.tag-input__tags{display:flex;align-items:center;gap:.375rem;flex-wrap:wrap}.tag-input__placeholder{color:#9ca3af}.tag-input .tag{background:#f3f4f6;border-radius:6px;padding:.15rem .4rem;font-size:.85rem;display:inline-flex;align-items:center;gap:.25rem}.tag-input .tag__remove{border:0;background:transparent;cursor:pointer;color:#6b7280}.tag-input__search{border:0;outline:none;flex:1;min-width:6rem}.tag-input__dropdown{background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 20px 40px #00000014;padding:.25rem;max-height:320px;overflow-y:auto}.tag-input__dropdown--floating{position:fixed}.tag-input__empty{padding:.75rem 1rem;color:#6b7280;font-size:.9rem}.tag-input__option{width:100%;text-align:left;display:block;padding:.5rem .75rem;border-radius:8px;color:#111827;background:transparent;border:0;cursor:pointer}.tag-input__option:hover{background:#f3f4f6}.tag-input__option-title{font-weight:600}.section-toolbar{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1rem 0 .5rem}.section-toolbar__title{font-weight:600;font-size:1rem;color:#111827}.section-toolbar__actions{display:flex;align-items:center;gap:.75rem}.section-toolbar .tag-input{min-width:240px}.flex{display:flex}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.justify-center{justify-content:center}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-between{justify-content:space-between}.flex-wrap{flex-wrap:wrap}.flex-1{flex:1}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.m-0{margin:0}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-3{margin:.75rem}.m-4{margin:1rem}.m-5{margin:1.25rem}.m-6{margin:1.5rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mb-0{margin-bottom:0}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pb-0{padding-bottom:0}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.icon--xs{width:.75rem;height:.75rem}.icon--sm{width:1rem;height:1rem}.icon--md{width:1.25rem;height:1.25rem}.icon--lg{width:1.5rem;height:1.5rem}.icon--xl{width:2rem;height:2rem}.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-900{color:#111827}.text-red-600{color:#dc2626}.text-green-600{color:#16a34a}.text-blue-600{color:#2563eb}.text-white{color:#fff}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999;background-color:#00000080;display:flex;align-items:center;justify-content:center;padding:1rem;overflow-y:auto}.modal-panel{background-color:#fff;border-radius:.75rem;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;width:100%;max-height:90vh;overflow:auto;position:relative}.modal-panel--sm{max-width:24rem}.modal-panel--md{max-width:28rem}.modal-panel--lg{max-width:32rem}.modal-panel--xl{max-width:36rem}.modal-panel--2xl{max-width:42rem}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:1.5rem;border-bottom:1px solid #e5e7eb}.modal-title{font-size:1.125rem;font-weight:600;color:#111827;margin:0}.modal-description{font-size:.875rem;color:#6b7280;margin:.25rem 0 0}.modal-close{background:#fff;border:none;border-radius:.5rem;color:#9ca3af;cursor:pointer;padding:.5rem;transition:color .15s ease}.modal-close:hover{color:#4b5563}.modal-close:disabled{cursor:not-allowed;opacity:.5}.modal-body{padding:1.5rem}.w-full{width:100%}.h-full{height:100%}.relative{position:relative}.absolute{position:absolute}.fixed{position:fixed}.overflow-hidden{overflow:hidden}.overflow-auto{overflow:auto}.z-50{z-index:50}.rounded{border-radius:.5rem}.rounded-lg{border-radius:.75rem}.shadow{box-shadow:0 1px 2px #0000000d}.shadow-lg{box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d}.shadow-xl{box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a}.text-red-600{color:#dc2626!important}.text-green-600{color:#16a34a!important}.text-blue-600{color:#2563eb!important}
