.bsa-entity-page{--bsa-entity-field-height:42px;--bsa-entity-field-radius:8px;--bsa-entity-field-font-size:0.875rem;--bsa-entity-field-padding-x:0.75rem}.bsa-entity-page .bsa-list-page-layout{overflow:visible;border-radius:18px;background:#fff;box-shadow:0 16px 36px rgba(15,23,42,.08)}.bsa-entity-page .bsa-list-page-layout__module-bar{min-height:58px!important;border-radius:18px 18px 0 0;background:var(--bsa-module-bar-bg,#0c283e)!important;color:var(--bsa-brand-on-primary,#fff)!important;padding:.95rem 1.35rem!important}.bsa-entity-page .bsa-list-page-layout__toolbar{align-items:flex-end!important;border-bottom-color:#f3f4f6!important;gap:10px!important;padding:12px 24px 16px!important}.bsa-entity-page .bsa-list-page-layout__content{overflow:visible!important;background:#fff!important;padding:0 1.35rem 1.25rem!important;border-radius:0 0 18px 18px}.bsa-entity-page .bsa-column-visibility{position:relative;z-index:30}.bsa-entity-page .bsa-list-page-layout__filters{flex:1 1 auto!important;min-width:340px!important}.bsa-entity-page .bsa-list-page-layout__actions{align-self:flex-end;margin-left:auto}.bsa-entity-toolbar-filters{display:grid;grid-template-columns:1fr;gap:16px;width:100%}.bsa-entity-toolbar-filters>.bsa-entity-toolbar-filters{display:contents}.bsa-entity-toolbar-field{display:flex;flex-direction:column;gap:4px;min-width:0}.bsa-entity-toolbar-field__label{color:var(--bsa-brand-primary,var(--agro-primary,#0c273e));font-size:12px;font-weight:800;letter-spacing:.05em;line-height:1.2;margin:0;text-transform:uppercase}.bsa-entity-toolbar-field--search,.bsa-entity-toolbar-field--status{min-width:0}.bsa-entity-toolbar-control{box-sizing:border-box;width:100%;height:var(--bsa-entity-field-height,42px);min-height:var(--bsa-entity-field-height,42px);padding:0 var(--bsa-entity-field-padding-x,.75rem);border:1px solid var(--bsa-border,#e5e7eb);border-radius:var(--bsa-entity-field-radius,8px);background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04);color:#374151;font-size:var(--bsa-entity-field-font-size,.875rem);font-weight:500;line-height:1.25;outline:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.bsa-entity-toolbar-control::-moz-placeholder{color:#9ca3af}.bsa-entity-toolbar-control::placeholder{color:#9ca3af}.bsa-entity-toolbar-control:focus{border-color:var(--bsa-brand-primary,var(--agro-primary,#0c273e));box-shadow:0 0 0 2px rgba(12,39,62,.2)}.bsa-entity-page .bsa-search-select:focus-within .bsa-entity-toolbar-control{border-color:var(--bsa-brand-primary,var(--agro-primary,#0c273e));box-shadow:0 0 0 2px rgba(12,39,62,.2)}.bsa-entity-page .bsa-list-page-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px!important;justify-content:flex-end}.bsa-entity-page .bsa-list-page-actions__btn{min-height:var(--bsa-entity-field-height);border-radius:8px!important;font-size:.875rem!important;font-weight:700!important;padding:.625rem 1rem!important;line-height:1.25!important}.bsa-entity-page .bsa-list-page-actions__btn--primary{background:var(--agro-primary,#0c273e)!important;border-color:var(--agro-primary,#0c273e)!important;color:var(--bsa-brand-on-primary,#fff)!important;font-weight:800!important;padding-left:16px!important;padding-right:16px!important;box-shadow:0 1px 2px rgba(15,23,42,.08)}.bsa-entity-page .bsa-list-page-actions__btn--secondary{border-color:var(--agro-border,#e5e7eb)!important;box-shadow:none}@media (min-width:768px){.bsa-entity-toolbar-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.bsa-entity-toolbar-field--search{grid-column:span 2/span 2}}@media (min-width:1024px){.bsa-entity-toolbar-filters{grid-template-columns:repeat(5,minmax(0,1fr))}}@media (min-width:1280px){.bsa-entity-toolbar-filters{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (max-width:900px){.bsa-entity-page .bsa-list-page-layout__filters{min-width:100%!important}.bsa-entity-toolbar-field--search,.bsa-entity-toolbar-field--status{width:100%;max-width:none}.bsa-entity-page .bsa-list-page-layout__actions{margin-left:0;width:100%}.bsa-entity-page .bsa-list-page-actions{justify-content:flex-start}}.bsa-entity-page .bsa-entity-page__code{color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.76rem;font-weight:400}.bsa-entity-page .bsa-entity-page__name{color:#111827;font-size:.82rem;font-weight:600}.bsa-entity-page .bsa-crud-modal__backdrop{background:rgba(2,6,23,.58)!important;backdrop-filter:blur(2px)}.bsa-entity-page .bsa-crud-modal__dialog:has(.bsa-entity-modal-form){max-width:448px!important}.bsa-entity-page .bsa-crud-modal__dialog:has(.bsa-form-section){max-width:min(95vw,720px)!important}.bsa-entity-page .bsa-crud-modal__dialog:has(.bsa-form-section .row){max-width:min(95vw,900px)!important}.bsa-entity-page .bsa-crud-modal__dialog{border:1px solid #f3f4f6!important;border-radius:16px!important;box-shadow:0 28px 70px rgba(15,23,42,.28)!important}.bsa-entity-page .bsa-crud-modal__header{background:var(--agro-primary,#0c273e)!important;border-bottom:0!important;color:#fff!important;padding:1.25rem 1.5rem!important}.bsa-entity-page .bsa-crud-modal__header h2{color:#fff!important;font-size:1.25rem!important;font-weight:800!important}.bsa-entity-page .bsa-crud-modal__header p{color:#dbeafe!important;font-size:.875rem!important;font-weight:500!important;margin-top:.25rem!important}.bsa-entity-page .bsa-crud-modal__close{align-items:center!important;background:hsla(0,0%,100%,.1)!important;border:1px solid hsla(0,0%,100%,.2)!important;border-radius:8px!important;color:#fff!important;display:inline-flex!important;justify-content:center!important;padding:.5rem!important}.bsa-entity-page .bsa-crud-modal__close:hover{background:hsla(0,0%,100%,.2)!important}.bsa-entity-page .bsa-crud-modal__body{background:#fff!important;padding:1.5rem!important;overflow-x:hidden!important}.bsa-entity-page .bsa-crud-modal__footer{background:#f9fafb!important;border-top:1px solid #e5e7eb!important;padding:1.25rem 1.5rem!important}.bsa-entity-page .bsa-crud-modal__btn{border-radius:8px!important;font-size:.875rem!important;font-weight:700!important;min-height:42px!important;padding:.625rem 1.25rem!important}.bsa-entity-page .bsa-crud-modal__btn--cancel{background:#fff!important;border-color:#d1d5db!important;color:#374151!important}.bsa-entity-page .bsa-crud-modal__btn--submit{background:var(--agro-primary,#0c273e)!important;border-color:transparent!important;box-shadow:0 1px 2px rgba(15,23,42,.08)!important;color:#fff!important;font-weight:800!important}.bsa-entity-page .bsa-crud-modal__btn--submit:disabled{background:#94a3b8!important;box-shadow:none!important}.bsa-entity-modal-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem .9rem}.bsa-entity-modal-form__actions,.bsa-entity-modal-form__field--full{grid-column:1/-1}.bsa-entity-modal-form label{margin-bottom:.32rem;color:#475569;font-size:.72rem;font-weight:700}.bsa-entity-modal-form input,.bsa-entity-modal-form select{box-sizing:border-box!important;height:var(--bsa-entity-field-height)!important;min-height:var(--bsa-entity-field-height)!important;padding-top:0!important;padding-bottom:0!important;padding-left:var(--bsa-entity-field-padding-x)!important;padding-right:var(--bsa-entity-field-padding-x)!important;border-color:#e5e7eb;border-radius:var(--bsa-entity-field-radius)!important;font-size:var(--bsa-entity-field-font-size)!important;line-height:1.25!important}.bsa-provider-config-modal__control{box-sizing:border-box;width:100%;min-height:var(--bsa-entity-field-height);padding:0 var(--bsa-entity-field-padding-x);border:1px solid #d1d5db;border-radius:var(--bsa-entity-field-radius);background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04);color:#374151;font-size:var(--bsa-entity-field-font-size);font-weight:500;outline:none;transition:border-color .15s ease,box-shadow .15s ease}.bsa-provider-config-modal__control:focus{border-color:var(--agro-primary,#0c273e);box-shadow:0 0 0 2px rgba(12,39,62,.2)}.bsa-provider-config-modal__control:-moz-read-only{background:#f3f4f6;color:#6b7280}.bsa-provider-config-modal__control:read-only{background:#f3f4f6;color:#6b7280}.bsa-provider-config-modal__control:disabled{cursor:not-allowed;background:#f8fafc;color:#94a3b8}.bsa-provider-config-modal__control--textarea{min-height:160px;padding-bottom:.75rem;padding-top:.75rem;resize:vertical}.bsa-provider-config-modal__switch{align-items:center;width:100%;min-height:64px;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:12px;background:#fff;color:#334155;display:flex;gap:.9rem;text-align:left;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.bsa-provider-config-modal__switch:hover{border-color:#cbd5e1;box-shadow:0 4px 12px rgba(15,23,42,.06)}.bsa-provider-config-modal__switch strong{display:block;color:var(--agro-primary,#0c273e);font-size:.875rem;font-weight:800}.bsa-provider-config-modal__switch small{display:block;margin-top:.15rem;color:#64748b;font-size:.75rem;font-weight:500}.bsa-provider-config-modal__switch-track{position:relative;flex:0 0 auto;width:44px;height:24px;border-radius:999px;background:#cbd5e1;transition:background .15s ease}.bsa-provider-config-modal__switch-thumb{position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:999px;background:#fff;box-shadow:0 1px 3px rgba(15,23,42,.24);transition:transform .15s ease}.bsa-provider-config-modal__switch--active{border-color:#bbf7d0;background:#f0fdf4}.bsa-provider-config-modal__switch--active .bsa-provider-config-modal__switch-track{background:#10b981}.bsa-provider-config-modal__switch--active .bsa-provider-config-modal__switch-thumb{transform:translateX(20px)}.bsa-entity-modal-form__actions{display:flex;gap:.65rem;margin-top:.15rem}.bsa-entity-modal-form__primary,.bsa-entity-modal-form__secondary{min-height:38px;border-radius:9px;padding:0 1rem;font-size:.82rem;font-weight:700}.bsa-entity-modal-form__primary{border:0;background:#062b57;color:#fff;box-shadow:0 8px 18px rgba(6,43,87,.22)}.bsa-entity-modal-form__primary:disabled{cursor:not-allowed;opacity:.55}.bsa-entity-modal-form__secondary{border:1px solid #e5e7eb;background:#fff;color:#374151}.bsa-entity-page .bsa-crud-modal__body .bsa-form-section__body{display:block!important;gap:0!important;grid-template-columns:none!important}.bsa-entity-page .bsa-crud-modal__body .bsa-form-section--grid .bsa-form-section__body{display:grid!important;gap:.75rem .9rem!important;grid-template-columns:1fr!important}@media (min-width:768px){.bsa-entity-page .bsa-crud-modal__body .bsa-form-section--grid .bsa-form-section__body{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (min-width:1200px){.bsa-entity-page .bsa-crud-modal__body .bsa-form-section--grid .bsa-form-section__body{grid-template-columns:repeat(3,minmax(0,1fr))!important}}.bsa-entity-page .bsa-crud-modal__body .bsa-form-section--grid .bsa-form-section__body>.bsa-auto-code,.bsa-entity-page .bsa-crud-modal__body .bsa-form-section--grid .bsa-form-section__body>.bsa-form-field--full,.bsa-entity-page .bsa-crud-modal__body .bsa-form-section--grid .bsa-form-section__body>.bsa-form-row,.bsa-entity-page .bsa-crud-modal__body .bsa-form-section--grid .bsa-form-section__body>.grid,.bsa-entity-page .bsa-crud-modal__body .bsa-form-section--grid .bsa-form-section__body>.row{grid-column:1/-1;min-width:0}.bsa-entity-page .bsa-config-studio-editor-card{max-width:52rem;border:1px solid #e5e7eb;border-radius:var(--bsa-radius-md,8px);background:#fff;padding:1.25rem 1.35rem}.bsa-entity-page .bsa-config-studio-editor-card .bsa-form-section__body{display:grid!important;gap:.85rem 1rem!important;grid-template-columns:1fr!important}@media (min-width:768px){.bsa-entity-page .bsa-config-studio-editor-card .bsa-form-section--grid .bsa-form-section__body{grid-template-columns:repeat(2,minmax(0,1fr))!important}}@media (min-width:1200px){.bsa-entity-page .bsa-config-studio-editor-card .bsa-form-section--grid .bsa-form-section__body{grid-template-columns:repeat(2,minmax(0,1fr))!important}}.bsa-entity-page .bsa-config-studio-editor-card .bsa-form-section--grid .bsa-form-section__body>.bsa-form-field{min-width:0}.bsa-entity-page .bsa-config-studio-editor-card .bsa-form-section--grid .bsa-form-section__body>.bsa-form-field--full{grid-column:1/-1;min-width:0}.bsa-entity-page .bsa-config-studio-editor-card .bsa-form-section__header{margin-bottom:.75rem}.bsa-entity-page .bsa-config-studio-editor-card .bsa-form-section__header h2{font-size:.9rem;font-weight:700;margin-bottom:.15rem}.bsa-entity-page .bsa-config-studio-editor-card .bsa-form-section__header p{font-size:.8125rem;color:#64748b}.bsa-entity-page .bsa-config-studio-editor-card input:not([type=checkbox]):not([type=radio]),.bsa-entity-page .bsa-config-studio-editor-card select,.bsa-entity-page .bsa-config-studio-editor-card textarea{width:100%;box-sizing:border-box}.bsa-entity-page .bsa-crud-modal__body .bsa-form-row>*{min-width:0}.bsa-entity-page .bsa-crud-modal__body .bsa-form-section__header{margin-bottom:.75rem}.bsa-entity-page .bsa-crud-modal__body .bsa-form-section__header h2{font-size:.9rem;font-weight:700;margin-bottom:0}.bsa-entity-page .bsa-crud-modal__body .form-label,.bsa-entity-page .bsa-crud-modal__body label{margin-bottom:.32rem;color:#475569;font-size:.72rem;font-weight:700}.bsa-entity-page .bsa-crud-modal__body input.form-control,.bsa-entity-page .bsa-crud-modal__body input:not([type=checkbox]):not([type=radio]),.bsa-entity-page .bsa-crud-modal__body select,.bsa-entity-page .bsa-crud-modal__body select.form-control{box-sizing:border-box!important;min-height:var(--bsa-entity-field-height)!important;height:var(--bsa-entity-field-height)!important;padding-top:0!important;padding-bottom:0!important;padding-left:var(--bsa-entity-field-padding-x)!important;padding-right:var(--bsa-entity-field-padding-x)!important;border-color:#e5e7eb!important;border-radius:var(--bsa-entity-field-radius)!important;font-size:var(--bsa-entity-field-font-size)!important;line-height:1.25!important}.bsa-entity-page .bsa-crud-modal__body textarea,.bsa-entity-page .bsa-crud-modal__body textarea.form-control{box-sizing:border-box!important;min-height:96px!important;height:auto!important;padding:.75rem var(--bsa-entity-field-padding-x)!important;border-color:#e5e7eb!important;border-radius:var(--bsa-entity-field-radius)!important;font-size:var(--bsa-entity-field-font-size)!important;line-height:1.5!important;resize:vertical}.bsa-entity-page .bsa-crud-modal__body .bsa-search-select,.bsa-entity-page .bsa-crud-modal__body .bsa-search-select input{width:100%}.bsa-entity-page .bsa-crud-modal__body .row{display:grid;grid-template-columns:1fr;gap:.75rem .9rem;margin-left:0;margin-right:0}.bsa-entity-page .bsa-crud-modal__body .row>[class*=col-]{min-width:0;width:100%}.bsa-entity-page .bsa-crud-modal__body .col-12,.bsa-entity-page .bsa-crud-modal__body .col-md-12,.bsa-entity-page .bsa-crud-modal__body .col-md-3,.bsa-entity-page .bsa-crud-modal__body .col-md-4,.bsa-entity-page .bsa-crud-modal__body .col-md-6,.bsa-entity-page .bsa-crud-modal__body .col-md-8{grid-column:1/-1}@media (min-width:768px){.bsa-entity-page .bsa-crud-modal__body .row{grid-template-columns:repeat(12,minmax(0,1fr))}.bsa-entity-page .bsa-crud-modal__body .col-md-3{grid-column:span 3}.bsa-entity-page .bsa-crud-modal__body .col-md-4{grid-column:span 4}.bsa-entity-page .bsa-crud-modal__body .col-md-6{grid-column:span 6}.bsa-entity-page .bsa-crud-modal__body .col-md-8{grid-column:span 8}.bsa-entity-page .bsa-crud-modal__body .col-md-12{grid-column:1/-1}}.bsa-entity-page .bsa-crud-modal__body .mb-3{margin-bottom:.75rem!important}.bsa-entity-page .bsa-crud-modal__body .bsa-submodule-tabs{max-width:100%;flex-wrap:wrap!important;row-gap:.25rem;overflow-x:hidden;padding-left:0!important}.bsa-entity-page .d-flex{display:flex!important}.bsa-entity-page .d-block{display:block!important}.bsa-entity-page .flex-column{flex-direction:column!important}.bsa-entity-page .flex-wrap{flex-wrap:wrap!important}.bsa-entity-page .align-items-center{align-items:center!important}.bsa-entity-page .align-items-start{align-items:flex-start!important}.bsa-entity-page .align-items-end{align-items:flex-end!important}.bsa-entity-page .justify-content-between{justify-content:space-between!important}.bsa-entity-page .justify-content-end{justify-content:flex-end!important}.bsa-entity-page .gap-1{gap:.25rem!important}.bsa-entity-page .gap-2{gap:.5rem!important}.bsa-entity-page .gap-3{gap:.75rem!important}.bsa-entity-page .mt-1{margin-top:.25rem!important}.bsa-entity-page .mt-2{margin-top:.5rem!important}.bsa-entity-page .mt-3{margin-top:.75rem!important}.bsa-entity-page .mb-0{margin-bottom:0!important}.bsa-entity-page .mb-2{margin-bottom:.5rem!important}.bsa-entity-page .mb-3{margin-bottom:.75rem!important}.bsa-entity-page .mb-4{margin-bottom:1rem!important}.bsa-entity-page .p-3{padding:1rem!important}.bsa-entity-page .border{border:1px solid #e5e7eb!important}.bsa-entity-page .rounded,.bsa-entity-page .rounded-3{border-radius:.75rem!important}.bsa-entity-page .small,.bsa-entity-page small{font-size:.75rem!important;line-height:1.35!important}.bsa-entity-page .text-muted{color:#64748b!important}.bsa-entity-page .fw-bold{font-weight:800!important}.bsa-entity-page .w-100{width:100%!important}.bsa-entity-page .btn{align-items:center;border:1px solid transparent;border-radius:.65rem;cursor:pointer;display:inline-flex;font-size:.875rem;font-weight:800;justify-content:center;line-height:1.25;min-height:var(--bsa-entity-field-height);padding:.625rem 1rem;text-decoration:none;transition:background .15s ease,border-color .15s ease,box-shadow .15s ease,color .15s ease}.bsa-entity-page .btn-sm{font-size:.8125rem;min-height:36px;padding:.45rem .85rem}.bsa-entity-page .agro-ui-btn--primary,.bsa-entity-page .btn-primary{background:var(--agro-primary,#0c273e)!important;border-color:var(--agro-primary,#0c273e)!important;box-shadow:0 1px 2px rgba(15,23,42,.08);color:var(--bsa-brand-on-primary,#fff)!important}.bsa-entity-page .agro-ui-btn--primary:hover,.bsa-entity-page .btn-primary:hover{background:var(--bsa-brand-hover,#153a5a)!important;border-color:var(--bsa-brand-hover,#153a5a)!important}.bsa-entity-page .agro-ui-btn--secondary,.bsa-entity-page .btn-outline-secondary{background:#fff!important;border-color:#cbd5e1!important;color:#334155!important;box-shadow:0 1px 2px rgba(15,23,42,.04)}.bsa-entity-page .agro-ui-btn--secondary:hover,.bsa-entity-page .btn-outline-secondary:hover{background:#f8fafc!important;border-color:#94a3b8!important}.bsa-entity-page .list-group{display:flex;flex-direction:column;gap:.5rem;list-style:none;margin-left:0;padding-left:0}.bsa-entity-page .list-group-numbered{counter-reset:bsa-list-counter}.bsa-entity-page .list-group-item{background:#fff;border:1px solid #e5e7eb;border-radius:.85rem;box-shadow:0 1px 2px rgba(15,23,42,.04);color:#0f172a;padding:.85rem 1rem}.bsa-entity-page .list-group-numbered>.list-group-item{counter-increment:bsa-list-counter;display:flex;gap:.85rem}.bsa-entity-page .list-group-numbered>.list-group-item:before{align-items:center;background:#eff6ff;border-radius:999px;color:var(--agro-primary,#0c273e);content:counter(bsa-list-counter);display:inline-flex;flex:0 0 auto;font-size:.75rem;font-weight:900;height:1.5rem;justify-content:center;width:1.5rem}.bsa-entity-page .bsa-crud-modal__body input[type=checkbox]{accent-color:var(--agro-primary,#0c273e);height:1rem;width:1rem}.bsa-entity-page .bsa-crud-modal__body input[type=file]{padding-top:.55rem!important}.bsa-crm-panel-surface{background:#fff;border:1px solid #e5e7eb;border-radius:.75rem;box-shadow:0 1px 3px rgba(15,23,42,.08);padding:1.25rem}.bsa-crm-inline-empty{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:.75rem;color:#64748b;font-size:.8rem;font-weight:700;padding:1.5rem .85rem;text-align:center}.bsa-crm-pipeline-board>.bsa-crm-inline-empty{align-self:flex-start;flex:0 0 260px}.bsa-crm-pipeline-board{display:flex;gap:1rem;min-height:320px;overflow-x:auto;padding-bottom:.5rem}.bsa-crm-pipeline-column{background:#fff;border:1px solid #e5e7eb;border-radius:.85rem;box-shadow:0 1px 3px rgba(15,23,42,.08);flex:0 0 260px;padding:.75rem}.bsa-crm-pipeline-item{background:#f8fafc;border:1px solid #e5e7eb;border-radius:.7rem;box-shadow:0 1px 2px rgba(15,23,42,.04);cursor:grab;font-size:.875rem;margin-bottom:.5rem;padding:.75rem;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.bsa-crm-pipeline-item:hover{border-color:#cbd5e1;box-shadow:0 8px 18px rgba(15,23,42,.08);transform:translateY(-1px)}.bsa-crm-readonly-field{background:#f8fafc;border:1px solid #e5e7eb;border-radius:.7rem;padding:.75rem}.bsa-crm-readonly-field__label{color:#64748b;font-size:.72rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.bsa-crm-readonly-field__value{color:#0f172a;font-size:.875rem;font-weight:700;margin-top:.25rem;overflow-wrap:anywhere}.bsa-entity-page .bsa-entity-page__slug{color:#6b7280;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.76rem;font-weight:400}.bsa-entity-page .bsa-entity-page__plan{background:#f1f5f9;border-radius:4px;color:#374151;display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.05em;padding:2px 8px;text-transform:uppercase}.bsa-entity-page .bsa-entity-page__date{color:#6b7280;font-size:.76rem}.bsa-entity-page .bsa-entity-page__tenant-id{color:#9ca3af;display:inline-block;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.68rem;max-width:120px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;white-space:nowrap}.bsa-entity-page .bsa-entity-page__tenant-cell .bsa-entity-page__slug{color:#9ca3af;display:block;font-size:.74rem;margin-top:2px}.bsa-entity-page .bsa-ff-chips{display:flex;flex-wrap:wrap;gap:5px}.bsa-entity-page .bsa-ff-chip{align-items:center;border-radius:9999px;display:inline-flex;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.68rem;font-weight:700;padding:2px 8px;text-transform:lowercase}.bsa-entity-page .bsa-ff-chip--on{background:#dbeafe;color:#1d4ed8}.bsa-entity-page .bsa-ff-chip--more{background:#e0e7ff;color:#4338ca}.bsa-entity-page .bsa-ff-chip--empty{background:#f1f5f9;color:#94a3b8}.bsa-ff-modulos-modal__section-label{color:#6b7280;font-size:.72rem;font-weight:700;letter-spacing:.05em;margin:0 0 8px;text-transform:uppercase}.bsa-ff-modulos-modal__accordion{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04);padding:12px}.bsa-ff-modulos-modal__module-header{align-items:stretch;display:flex;gap:8px}.bsa-ff-modulos-modal__accordion-spacer{flex-shrink:0;width:32px}.bsa-ff-modulos-modal__accordion-trigger{align-items:center;align-self:stretch;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;transition:background .1s,border-color .1s,color .1s;width:32px}.bsa-ff-modulos-modal__accordion-trigger:before{border-bottom:5px solid transparent;border-left:6px solid;border-top:5px solid transparent;content:"";display:block;transition:transform .15s ease}.bsa-ff-modulos-modal__accordion-trigger--open:before{transform:rotate(90deg)}.bsa-ff-modulos-modal__accordion-trigger:hover{background:#f3f4f6;border-color:#d1d5db;color:#374151}.bsa-ff-modulos-modal__toggle--module{flex:1;min-width:0}.bsa-ff-modulos-modal__submodules{margin-top:12px;padding-left:40px}.bsa-perfil-acceso__accordion{background:#fff;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 1px 2px rgba(0,0,0,.04);padding:12px}.bsa-perfil-acceso__module-header{align-items:stretch;display:flex;gap:8px}.bsa-perfil-acceso__accordion-spacer{flex-shrink:0;width:32px}.bsa-perfil-acceso__accordion-trigger{align-items:center;align-self:stretch;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;color:#6b7280;cursor:pointer;display:flex;flex-shrink:0;justify-content:center;transition:background .1s,border-color .1s,color .1s;width:32px}.bsa-perfil-acceso__accordion-trigger:before{border-bottom:5px solid transparent;border-left:6px solid;border-top:5px solid transparent;content:"";display:block;transition:transform .15s ease}.bsa-perfil-acceso__accordion-trigger--open:before{transform:rotate(90deg)}.bsa-perfil-acceso__accordion-trigger:hover{background:#f3f4f6;border-color:#d1d5db;color:#374151}.bsa-perfil-acceso__module-row{align-items:center;display:grid;flex:1;gap:12px;grid-template-columns:1fr 180px;min-width:0}.bsa-perfil-acceso__submodules{display:flex;flex-direction:column;gap:8px;margin-top:12px;padding-left:40px}.bsa-perfil-acceso__submodule-row{align-items:center;display:grid;gap:8px;grid-template-columns:1fr 180px}.bsa-ff-modulos-modal__grid-scroll,.bsa-perfil-acceso__scroll{margin-bottom:16px;max-height:min(52vh,420px);overflow-x:hidden;overflow-y:auto}.bsa-ff-modulos-modal__grid{display:grid;gap:8px;grid-template-columns:1fr 1fr}.bsa-ff-modulos-modal__toggle{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;padding:10px 14px;text-align:left;transition:background .1s,border-color .1s;width:100%}.bsa-ff-modulos-modal__toggle:hover{background:#f9fafb}.bsa-ff-modulos-modal__toggle--active{background:#eff6ff;border-color:#93c5fd}.bsa-ff-modulos-modal__toggle-text{display:flex;flex-direction:column;gap:1px;min-width:0}.bsa-ff-modulos-modal__module-name{color:#374151;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.82rem;font-weight:600}.bsa-ff-modulos-modal__module-desc{color:#9ca3af;font-size:.7rem}.bsa-ff-modulos-modal__switch{background:#d1d5db;border-radius:9999px;flex-shrink:0;height:20px;position:relative;transition:background .2s;width:36px}.bsa-ff-modulos-modal__switch--on{background:var(--bsa-module-bar-bg,#0c283e)}.bsa-ff-modulos-modal__switch-knob{background:#fff;border-radius:50%;height:16px;left:2px;position:absolute;top:2px;transition:left .2s;width:16px}.bsa-ff-modulos-modal__switch--on .bsa-ff-modulos-modal__switch-knob{left:18px}.bsa-ff-modulos-modal__footer{align-items:center;background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin:0 -24px -20px;padding:14px 24px}.bsa-ff-modulos-modal__footer-info{color:#6b7280;font-size:.75rem}.bsa-ff-modulos-modal__footer-actions{display:flex;gap:10px}.bsa-ff-modulos-modal__btn-cancel{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:.85rem;padding:7px 16px}.bsa-ff-modulos-modal__btn-cancel:disabled{cursor:not-allowed;opacity:.6}.bsa-ff-modulos-modal__btn-submit{background:var(--agro-primary,#0c273e);border:none;border-radius:6px;color:var(--bsa-brand-on-primary,#fff);cursor:pointer;font-size:.85rem;font-weight:600;padding:7px 16px}.bsa-ff-modulos-modal__btn-submit:disabled{cursor:not-allowed;opacity:.65}.bsa-entity-page__row-actions-combo{align-items:center;display:flex;flex-wrap:wrap;gap:.375rem}.bsa-entity-page__operate-btn{align-items:center;background:var(--agro-primary,#0c273e);border:none;border-radius:6px;color:var(--bsa-brand-on-primary,#fff);cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:600;gap:5px;line-height:1.25;padding:4px 10px;white-space:nowrap}.bsa-entity-page__operate-btn:disabled{background:#94a3b8;cursor:not-allowed;opacity:.5}.bsa-entity-page__operate-spinner{animation:bsa-entity-operate-spin .6s linear infinite;border-radius:50%;border:2px solid hsla(0,0%,100%,.35);border-top-color:#fff;display:inline-block;height:14px;width:14px}@keyframes bsa-entity-operate-spin{to{transform:rotate(1turn)}}.bsa-entity-page .bsa-wizard-progress{align-items:center;display:flex;gap:8px}.bsa-entity-page .bsa-wizard-progress__bar{background:#e5e7eb;border-radius:9999px;flex:1;height:6px;max-width:80px;overflow:hidden}.bsa-entity-page .bsa-wizard-progress__fill{background:#16a34a;border-radius:9999px;height:100%;transition:width .2s ease}.bsa-entity-page .bsa-wizard-progress__label{color:#6b7280;font-size:.72rem;white-space:nowrap}.bsa-entity-page .bsa-wizard-chip{align-items:center;border-radius:9999px;display:inline-flex;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.68rem;font-weight:700;gap:3px;padding:2px 8px;text-transform:lowercase}.bsa-entity-page .bsa-wizard-chip--done{background:#dcfce7;color:#166534}.bsa-entity-page .bsa-wizard-chip--pending{background:#fef9c3;color:#854d0e}.bsa-entity-page .bsa-platform-section-stack{display:flex;flex-direction:column;gap:16px}.bsa-entity-page .bsa-platform-section-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px rgba(0,0,0,.08);overflow:hidden}.bsa-entity-page .bsa-platform-section-card__header{align-items:center;border-bottom:1px solid #f1f5f9;background:#f8fafc;display:flex;gap:12px;padding:16px 20px}.bsa-entity-page .bsa-platform-section-card__icon{align-items:center;background:#eff6ff;border:1px solid #dbeafe;border-radius:8px;color:var(--agro-primary,#0c273e);display:flex;font-size:.8rem;font-weight:900;height:40px;justify-content:center;letter-spacing:.04em;width:40px}.bsa-entity-page .bsa-platform-section-card__title{color:var(--agro-primary,#0c273e);font-size:.95rem;font-weight:800;margin:0}.bsa-entity-page .bsa-platform-section-card__desc{color:#6b7280;font-size:.75rem;margin:1px 0 0}.bsa-entity-page .bsa-platform-section-card__body{padding:16px 20px}.bsa-entity-page .bsa-crud-modal__dialog:has(.bsa-form-studio-editor){max-width:min(96vw,1240px)!important;width:100%!important}.bsa-entity-page .bsa-crud-modal__dialog:has(.bsa-form-studio-editor) .bsa-crud-modal__body{padding:1.25rem 1.5rem!important}.bsa-form-studio-editor__layout{display:grid;gap:1.25rem}@media (min-width:1024px){.bsa-form-studio-editor__layout{grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:start}}.bsa-form-studio-editor__panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 2px rgba(15,23,42,.04);padding:1rem 1.125rem}.bsa-form-studio-editor__panel+.bsa-form-studio-editor__panel{margin-top:1rem}.bsa-form-studio-editor__panel--accent{background:#f8fafc;border-color:#e2e8f0}.bsa-form-studio-editor__panel-header{margin-bottom:.875rem}.bsa-form-studio-editor__panel-title{color:var(--agro-primary,#0c273e);font-size:.9375rem;font-weight:800;margin:0}.bsa-form-studio-editor__panel-desc{color:#64748b;font-size:.8125rem;line-height:1.45;margin:.35rem 0 0}.bsa-form-studio-editor__panel-desc strong{color:#334155;font-weight:700}.bsa-form-studio-editor__empty{color:#64748b;font-size:.875rem;margin:0}.bsa-form-studio-editor__field-list{display:flex;flex-direction:column;gap:.625rem}.bsa-form-studio-editor__field-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.75rem .875rem;transition:border-color .15s ease,box-shadow .15s ease}.bsa-form-studio-editor__field-card:hover{border-color:#cbd5e1;box-shadow:0 1px 3px rgba(15,23,42,.06)}.bsa-form-studio-editor__field-card-head{align-items:center;border-bottom:1px solid rgba(226,232,240,.9);display:flex;flex-wrap:wrap;gap:.5rem .75rem;justify-content:space-between;margin-bottom:.75rem;padding-bottom:.625rem}.bsa-form-studio-editor__field-meta{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}.bsa-form-studio-editor__field-ref{background:#e2e8f0;border-radius:6px;color:#334155;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.6875rem;font-weight:800;letter-spacing:-.01em;padding:.2rem .45rem;word-break:break-all}.bsa-form-studio-editor__field-type{color:#64748b;font-size:.6875rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.bsa-form-studio-editor__field-badges{display:flex;flex-wrap:wrap;gap:.35rem}.bsa-form-studio-editor__field-card-body{display:grid;gap:.75rem 1rem}@media (min-width:640px){.bsa-form-studio-editor__field-card-body{align-items:end;grid-template-columns:minmax(0,1fr) auto}}.bsa-form-studio-editor__field-label-col{min-width:0}.bsa-form-studio-editor__input-label{color:#64748b!important;display:block;font-size:.6875rem!important;font-weight:800!important;letter-spacing:.06em;margin-bottom:.35rem!important;text-transform:uppercase}.bsa-form-studio-editor__input{width:100%}.bsa-form-studio-editor__field-toggles{display:flex;flex-direction:column;gap:.5rem;padding-bottom:.15rem}@media (min-width:640px){.bsa-form-studio-editor__field-toggles{min-width:8.5rem}}.bsa-form-studio-editor__add-row{align-items:end;display:grid;gap:.75rem;grid-template-columns:1fr}@media (min-width:768px){.bsa-form-studio-editor__add-row{grid-template-columns:minmax(0,1fr) 9.5rem auto auto}}.bsa-form-studio-editor__add-field{min-width:0}.bsa-form-studio-editor__add-toggle{padding-bottom:.35rem}.bsa-form-studio-editor__add-action{padding-bottom:.1rem}.bsa-form-studio-editor__tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.bsa-form-studio-editor__tab{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:999px;color:#475569;cursor:pointer;display:inline-flex;font-size:.8125rem;font-weight:700;gap:.35rem;padding:.45rem .9rem;transition:background .15s ease,border-color .15s ease,color .15s ease}.bsa-form-studio-editor__tab:hover{background:#f1f5f9;border-color:#cbd5e1}.bsa-form-studio-editor__tab--active{background:#ede9fe;border-color:#8b5cf6;color:#5b21b6}.bsa-form-studio-editor__tab-badge{background:#7c3aed;border-radius:999px;color:#fff;font-size:.6875rem;font-weight:800;line-height:1;min-width:1.25rem;padding:.2rem .4rem;text-align:center}.bsa-form-studio-editor__rule-head{background:transparent;border:0;cursor:pointer;padding:0;text-align:left;width:100%}.bsa-form-studio-editor__rule-head--row{align-items:flex-start;cursor:default;display:flex;gap:1rem;justify-content:space-between;padding:.25rem 0}.bsa-form-studio-editor__rule-modal .bsa-form-studio-editor__add-row{grid-column:1/-1}.bsa-form-studio-editor__rule-summary{color:#334155;font-size:.8125rem;line-height:1.45;margin:.35rem 0 0}.bsa-form-studio-editor__rules{min-height:12rem}.bsa-form-studio-preview{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.08);position:sticky;top:.5rem}.bsa-form-studio-preview__header{background:var(--agro-primary,#0c273e);border-radius:12px 12px 0 0;padding:1rem 1.125rem}.bsa-form-studio-preview__eyebrow{color:#bfdbfe;font-size:.6875rem;font-weight:800;letter-spacing:.12em;margin:0;text-transform:uppercase}.bsa-form-studio-preview__title{color:#fff;font-size:1.0625rem;font-weight:800;line-height:1.25;margin:.35rem 0 0}.bsa-form-studio-preview__meta{color:#dbeafe;font-size:.75rem;font-weight:500;margin:.35rem 0 0}.bsa-form-studio-preview__meta-key{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-weight:700}.bsa-form-studio-preview__empty{border-top:1px solid #f1f5f9;color:#64748b;font-size:.875rem;margin:0;padding:1rem 1.125rem}.bsa-form-studio-preview__scroll{max-height:min(68vh,540px);overflow-y:auto;padding:.875rem 1.125rem 1.125rem}.bsa-form-studio-preview__section{background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:.75rem .875rem}.bsa-form-studio-preview__section+.bsa-form-studio-preview__section{margin-top:.75rem}.bsa-form-studio-preview__section-title{color:#1e293b;font-size:.8125rem;font-weight:800;margin:0 0 .625rem}.bsa-form-studio-preview__grid{display:grid;gap:.75rem;grid-template-columns:repeat(12,minmax(0,1fr))}.bsa-form-studio-preview__section-empty{color:#64748b;font-size:.75rem;margin:0}.bsa-form-studio-preview__origin{border-radius:999px;font-size:.625rem;font-weight:800;letter-spacing:.04em;margin-left:.4rem;padding:.1rem .35rem;text-transform:uppercase;vertical-align:middle}.bsa-form-studio-preview__origin--core{background:#e2e8f0;color:#475569}.bsa-form-studio-preview__origin--custom{background:#dbeafe;color:#1d4ed8}.bsa-form-studio-preview__help{color:#64748b;display:block;font-size:.75rem;margin-top:.25rem}.bsa-form-studio-preview__hidden-hint{color:#b45309;display:block;font-size:.75rem;font-weight:700;margin-top:.25rem}.bsa-rules-studio{display:grid;gap:1rem;grid-template-columns:minmax(220px,280px) 1fr;min-height:28rem}.bsa-rules-studio__sidebar{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.06);display:flex;flex-direction:column;overflow:hidden}.bsa-rules-studio__sidebar-head{align-items:flex-start;border-bottom:1px solid #e5e7eb;display:flex;flex-direction:column;gap:.5rem;justify-content:space-between;padding:.875rem 1rem}.bsa-rules-studio__sidebar-title{color:#0c273e;font-size:.875rem;font-weight:800;margin:0}.bsa-rules-studio__sidebar-copy{color:#64748b;font-size:.75rem;margin:0;width:100%}.bsa-rules-studio__tree{flex:1;overflow-y:auto;padding:.5rem 0}.bsa-rules-studio__tree-module-btn{align-items:center;background:transparent;border:0;color:#0c273e;cursor:pointer;display:flex;font-size:.8125rem;font-weight:700;gap:.35rem;padding:.5rem 1rem;text-align:left;width:100%}.bsa-rules-studio__tree-module-btn:hover{background:#f8fafc}.bsa-rules-studio__tree-chevron{color:#7c3aed;font-size:.625rem;width:.75rem}.bsa-rules-studio__tree-module-label{flex:1}.bsa-rules-studio__tree-count{background:#ede9fe;border-radius:999px;color:#5b21b6;font-size:.6875rem;font-weight:800;padding:.15rem .45rem}.bsa-rules-studio__tree-forms{list-style:none;margin:0;padding:0 0 .5rem}.bsa-rules-studio__tree-form-btn{align-items:center;background:transparent;border:0;color:#334155;cursor:pointer;display:flex;font-size:.8125rem;gap:.5rem;justify-content:space-between;padding:.4rem 1rem .4rem 1.75rem;text-align:left;width:100%}.bsa-rules-studio__tree-form-btn:hover{background:#f1f5f9}.bsa-rules-studio__tree-form-btn--active{background:#ede9fe;color:#5b21b6;font-weight:700}.bsa-rules-studio__tree-form-badge{background:#e2e8f0;border-radius:999px;color:#475569;font-size:.625rem;font-weight:800;padding:.1rem .4rem}.bsa-rules-studio__tree-form-badge--pending{background:#fef3c7;color:#b45309}.bsa-rules-studio__main{background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.06);min-height:20rem;overflow:hidden}.bsa-rules-studio__panel{padding:1.25rem 1.5rem}.bsa-rules-studio__panel-empty{align-items:center;color:#64748b;display:flex;font-size:.875rem;justify-content:center;min-height:16rem;padding:2rem;text-align:center}.bsa-rules-studio__panel-header{align-items:flex-start;border-bottom:1px solid #e5e7eb;display:flex;gap:1rem;justify-content:space-between;margin-bottom:1.25rem;padding-bottom:1rem}.bsa-rules-studio__panel-eyebrow{color:#7c3aed;font-size:.6875rem;font-weight:800;letter-spacing:.08em;margin:0;text-transform:uppercase}.bsa-rules-studio__panel-title{color:#0c273e;font-size:1.25rem;font-weight:800;line-height:1.25;margin:.25rem 0 0}.bsa-rules-studio__panel-meta{color:#64748b;font-size:.8125rem;margin:.35rem 0 0}.bsa-rules-studio__cards{display:flex;flex-direction:column;gap:.75rem}.bsa-rules-studio__card{background:#fafafa;border:1px solid #e5e7eb;border-left:4px solid #22c55e;border-radius:10px;padding:1rem 1.125rem}.bsa-rules-studio__card-head{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between}.bsa-rules-studio__card-title{color:#0c273e;font-size:.9375rem;font-weight:700;margin:0}.bsa-rules-studio__card-badges{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.35rem}.bsa-rules-studio__card-summary{color:#475569;font-size:.8125rem;line-height:1.45;margin:.65rem 0 0}.bsa-rules-studio__card-list{list-style:none;margin:.75rem 0 0;padding:0}.bsa-rules-studio__card-list-item{border-top:1px solid #e5e7eb;color:#334155;font-size:.8125rem;padding:.5rem 0}.bsa-rules-studio__card-list-item:first-child{border-top:none;padding-top:0}.bsa-studio-hub__grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));margin-bottom:1.5rem}.bsa-studio-hub__card{border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.06);height:100%}.bsa-studio-hub__card-title{color:#0c273e;font-size:1.0625rem;font-weight:700;margin:0 0 .5rem}.bsa-studio-hub__card-copy{color:#475569;font-size:.875rem;line-height:1.5;margin:0 0 1rem;min-height:4.5rem}.bsa-studio-hub__card-link{display:inline-block;text-decoration:none}.bsa-studio-hub__processes{align-items:center;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;padding:1.25rem 1.5rem}.bsa-studio-hub__section-title{color:#0c273e;font-size:1rem;font-weight:700;margin:0 0 .35rem}.bsa-studio-hub__section-copy{color:#475569;font-size:.875rem;line-height:1.45;margin:0;max-width:42rem}.bsa-rules-builder__stepper{display:grid;gap:.5rem;grid-template-columns:repeat(3,1fr);margin-bottom:1.25rem}.bsa-rules-builder__step{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;color:#64748b;cursor:pointer;display:flex;flex-direction:column;gap:.25rem;padding:.65rem .5rem}.bsa-rules-builder__step--active{background:#ede9fe;border-color:#7c3aed;color:#5b21b6}.bsa-rules-builder__step--done{border-color:#22c55e;color:#15803d}.bsa-rules-builder__step-num{font-size:.75rem;font-weight:800}.bsa-rules-builder__step-label{font-size:.8125rem;font-weight:700}.bsa-rules-builder__section-title{color:#0c273e;font-size:.9375rem;font-weight:700;margin:0 0 .75rem}.bsa-rules-builder__cards{display:grid;gap:.65rem;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.bsa-rules-builder__card{background:#fff;border:2px solid #e2e8f0;border-radius:10px;cursor:pointer;padding:.875rem 1rem;text-align:left}.bsa-rules-builder__card:hover:not(:disabled){border-color:#c4b5fd}.bsa-rules-builder__card--selected{background:#f5f3ff;border-color:#7c3aed}.bsa-rules-builder__card:disabled{cursor:not-allowed;opacity:.65}.bsa-rules-builder__card-title{color:#0c273e;display:block;font-size:.875rem;font-weight:700}.bsa-rules-builder__card-desc{color:#64748b;display:block;font-size:.75rem;line-height:1.4;margin-top:.25rem}.bsa-rules-builder__fields{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1rem}.bsa-rules-builder__preview{background:#f0f9ff;border:1px solid #bae6fd;border-radius:8px;padding:.875rem 1rem}.bsa-rules-builder__preview-label{color:#0369a1;font-size:.6875rem;font-weight:800;letter-spacing:.06em;margin:0;text-transform:uppercase}.bsa-rules-builder__preview-condition{color:#0c273e;font-size:.9375rem;font-weight:600;margin:.35rem 0 0}.bsa-rules-builder__preview-full{color:#475569;font-size:.8125rem;margin:.35rem 0 0}.bsa-rules-builder__footer{border-top:1px solid #e5e7eb;margin-top:1.25rem;padding-top:1rem}.bsa-rules-builder__footer-steps{display:flex;gap:.5rem;justify-content:space-between}.bsa-rules-builder__simulator{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.75rem}.bsa-rules-builder__sim-result{color:#334155;font-size:.8125rem;margin:0}@media (max-width:900px){.bsa-rules-studio{grid-template-columns:1fr}}.bsa-workflow-studio{display:flex;flex-direction:column;gap:1rem;min-height:0}.bsa-workflow-studio__header{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;padding:0 .25rem}.bsa-workflow-studio__eyebrow{color:var(--bsa-text-muted,#64748b);font-size:.75rem;font-weight:700;letter-spacing:.06em;margin:0 0 .25rem;text-transform:uppercase}.bsa-workflow-studio__title{color:var(--bsa-text,#0f172a);font-size:1.35rem;font-weight:700;margin:0}.bsa-workflow-studio__subtitle{color:var(--bsa-text-muted,#64748b);font-size:.875rem;margin:.35rem 0 0}.bsa-workflow-studio__back-link{color:var(--bsa-color-primary,#2d6a4f);font-size:.875rem;font-weight:600;text-decoration:none}.bsa-workflow-studio__back-link:hover{text-decoration:underline}.bsa-workflow-studio__toolbar{align-items:center;background:var(--bsa-surface,#fff);border:1px solid var(--bsa-border,#e5e7eb);border-radius:12px;display:flex;flex-wrap:wrap;gap:.75rem;justify-content:space-between;padding:.65rem 1rem}.bsa-workflow-studio__toolbar-left,.bsa-workflow-studio__toolbar-right{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem}.bsa-workflow-studio__dirty-badge{background:#fef3c7;color:#92400e}.bsa-workflow-studio__dirty-badge,.bsa-workflow-studio__sync-badge{border-radius:999px;font-size:.75rem;font-weight:700;padding:.2rem .65rem}.bsa-workflow-studio__sync-badge{background:#dcfce7;color:#166534}.bsa-workflow-studio__body{display:grid;gap:1rem;grid-template-columns:220px minmax(0,1fr) 300px;min-height:calc(100vh - 12rem)}.bsa-workflow-studio__palette{background:var(--bsa-surface,#fff);border:1px solid var(--bsa-border,#e5e7eb);border-radius:12px;padding:1rem}.bsa-workflow-studio__palette-title{font-size:.95rem;font-weight:700;margin:0 0 .25rem}.bsa-workflow-studio__palette-hint{color:var(--bsa-text-muted,#64748b);font-size:.75rem;margin:0 0 .75rem}.bsa-workflow-studio__palette-list{display:flex;flex-direction:column;gap:.5rem;list-style:none;margin:0;padding:0}.bsa-workflow-studio__palette-item{align-items:flex-start;background:#f8fafc;border:1px solid var(--bsa-border,#e5e7eb);border-radius:10px;cursor:grab;display:flex;flex-direction:column;gap:.15rem;padding:.65rem .75rem;text-align:left;width:100%}.bsa-workflow-studio__palette-item:hover{border-color:var(--bsa-color-primary,#2d6a4f)}.bsa-workflow-studio__palette-icon{align-items:center;border-radius:8px;display:inline-flex;font-size:.85rem;font-weight:700;height:1.75rem;justify-content:center;width:1.75rem}.bsa-workflow-studio__palette-icon--etapa{background:#d8f3dc;color:#1b4332}.bsa-workflow-studio__palette-icon--aprobacion{background:#fff3cd;color:#856404}.bsa-workflow-studio__palette-icon--condicion{background:#e9ecef;color:#495057}.bsa-workflow-studio__palette-icon--notificacion{background:#cff4fc;color:#055160}.bsa-workflow-studio__palette-label{font-size:.875rem;font-weight:700}.bsa-workflow-studio__palette-desc{color:var(--bsa-text-muted,#64748b);font-size:.75rem}.bsa-workflow-studio__center{display:flex;flex-direction:column;gap:1rem;min-width:0}.bsa-workflow-studio__canvas-wrap{flex:1;min-height:calc(100vh - 18rem)}.bsa-workflow-studio__canvas{height:100%;min-height:calc(100vh - 18rem);overflow:hidden}.bsa-workflow-studio__canvas,.bsa-workflow-studio__properties{background:var(--bsa-surface,#fff);border:1px solid var(--bsa-border,#e5e7eb);border-radius:12px}.bsa-workflow-studio__properties{max-height:calc(100vh - 12rem);overflow:auto;padding:1rem}.bsa-workflow-studio__properties--empty{align-items:center;display:flex;justify-content:center}.bsa-workflow-studio__properties-hint{color:var(--bsa-text-muted,#64748b);font-size:.875rem;margin:0;text-align:center}.bsa-workflow-studio__wizard{background:#f8fafc;border:1px dashed var(--bsa-border,#e5e7eb);border-radius:12px;padding:1rem}.bsa-workflow-studio__wizard-title{font-size:1rem;font-weight:700;margin:0 0 .75rem}.bsa-workflow-studio__wizard-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}.bsa-workflow-studio__wizard-hint{color:var(--bsa-text-muted,#64748b);font-size:.8125rem;margin:0}.bsa-workflow-node{background:var(--bsa-surface,#fff);border:2px solid var(--bsa-border,#e5e7eb);border-radius:12px;box-shadow:0 4px 14px rgba(15,23,42,.08);min-width:160px;padding:.65rem .75rem}.bsa-workflow-node__head{align-items:center;display:flex;gap:.4rem;margin-bottom:.25rem}.bsa-workflow-node__icon{align-items:center;border-radius:6px;display:inline-flex;font-size:.75rem;font-weight:700;height:1.4rem;justify-content:center;width:1.4rem}.bsa-workflow-node__type{color:var(--bsa-text-muted,#64748b);font-size:.7rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase}.bsa-workflow-node__label{color:var(--bsa-text,#0f172a);font-size:.875rem;font-weight:700;margin:0}.bsa-workflow-node__preview{color:var(--bsa-text-muted,#64748b);font-size:.7rem;margin:.35rem 0 0}.bsa-workflow-node__handle{background:var(--bsa-color-primary,#2d6a4f)!important}.bsa-workflow-simulator__track{display:flex;flex-wrap:wrap;gap:.35rem}.bsa-workflow-simulator__step-wrap{align-items:center;display:flex;gap:.35rem}.bsa-workflow-simulator__step{align-items:center;background:#f8fafc;border:1px solid var(--bsa-border,#e5e7eb);border-radius:999px;display:inline-flex;gap:.5rem;padding:.45rem .85rem}.bsa-workflow-simulator__step--done{border-color:#86efac}.bsa-workflow-simulator__step--current{background:#ecfdf5;border-color:var(--bsa-color-primary,#2d6a4f);box-shadow:0 0 0 2px rgba(45,106,79,.15)}.bsa-workflow-simulator__icon{font-size:.85rem;font-weight:700}.bsa-workflow-simulator__text{display:flex;flex-direction:column;gap:.1rem}.bsa-workflow-simulator__type{color:var(--bsa-text-muted,#64748b);font-size:.65rem;font-weight:700;text-transform:uppercase}.bsa-workflow-simulator__label{font-size:.8125rem;font-weight:600}.bsa-workflow-simulator__branch{color:var(--bsa-text-muted,#64748b);font-size:.65rem}.bsa-workflow-simulator__connector{background:var(--bsa-border,#e5e7eb);height:2px;width:1.25rem}.bsa-workflow-simulator__footnote{color:var(--bsa-text-muted,#64748b);font-size:.75rem;margin:.75rem 0 0}@media (max-width:1100px){.bsa-workflow-studio__body{grid-template-columns:1fr;min-height:auto}.bsa-workflow-studio__canvas,.bsa-workflow-studio__canvas-wrap{min-height:420px}}.bsa-workflow-gallery-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.9fr);gap:1.25rem;align-items:start}.bsa-workflow-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.bsa-workflow-gallery__card-wrap{cursor:pointer;border-radius:var(--bsa-radius-md,8px)}.bsa-workflow-gallery__card-wrap--selected .bsa-workflow-gallery__card{border-color:var(--bsa-primary,#1b6b52);box-shadow:0 0 0 1px var(--bsa-primary,#1b6b52)}.bsa-workflow-gallery__card{border:1px solid var(--bsa-border-subtle,#e2e8f0);transition:border-color .15s ease,box-shadow .15s ease}.bsa-workflow-gallery__card-wrap:hover .bsa-workflow-gallery__card{border-color:var(--bsa-primary,#1b6b52)}.bsa-workflow-gallery__timeline{margin:.75rem 0 0;padding:0;list-style:none}.bsa-workflow-gallery__timeline-step{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:#475569;padding:.25rem 0}.bsa-workflow-gallery__timeline-dot{width:8px;height:8px;border-radius:50%;background:var(--bsa-primary,#1b6b52);flex-shrink:0}.bsa-workflow-gallery-layout__detail{position:sticky;top:1rem}@media (max-width:960px){.bsa-workflow-gallery-layout{grid-template-columns:1fr}.bsa-workflow-gallery-layout__detail{position:static}}.bsa-workflow-simple-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:1.25rem;align-items:start}.bsa-workflow-simple-editor__form{display:flex;flex-direction:column;gap:1rem;min-width:0}.bsa-workflow-simple-editor__preview{position:sticky;top:1rem}.bsa-crud-modal__body .bsa-workflow-simple-editor--modal{grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:1rem;align-items:start}.bsa-crud-modal__body .bsa-workflow-simple-editor--modal .bsa-workflow-simple-editor__preview{position:static}@media (max-width:900px){.bsa-crud-modal__body .bsa-workflow-simple-editor--modal{grid-template-columns:1fr}}.bsa-workflow-flow-preview{border:1px solid var(--bsa-border-subtle,#e2e8f0);border-radius:var(--bsa-radius-md,8px);background:var(--bsa-surface-raised,#f8fafc);padding:1rem}.bsa-workflow-flow-preview--empty{min-height:120px;display:flex;align-items:center;justify-content:center}.bsa-workflow-flow-preview__title{margin:0 0 1rem;font-size:.875rem;font-weight:600;color:var(--bsa-text-primary,#0f172a)}.bsa-workflow-flow-preview__steps{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:0}.bsa-workflow-flow-preview__step{position:relative;display:flex;flex-direction:column;align-items:stretch}.bsa-workflow-flow-preview__connector{display:block;width:2px;height:1rem;margin:0 auto;background:var(--bsa-primary,#1b6b52);opacity:.35}.bsa-workflow-flow-preview__node{border:1px solid var(--bsa-border-subtle,#e2e8f0);border-radius:var(--bsa-radius-md,8px);background:#fff;padding:.75rem}.bsa-workflow-flow-preview__node-head{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}.bsa-workflow-flow-preview__node-index{display:inline-flex;align-items:center;justify-content:center;width:1.5rem;height:1.5rem;border-radius:999px;background:var(--bsa-primary,#1b6b52);color:#fff;font-size:.75rem;font-weight:700;flex-shrink:0}.bsa-workflow-flow-preview__node-name{font-size:.875rem;font-weight:600;color:var(--bsa-text-primary,#0f172a)}.bsa-workflow-flow-preview__node-badges{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.5rem}.bsa-workflow-flow-preview__approvers{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.35rem}.bsa-workflow-flow-preview__approver{display:flex;align-items:center;gap:.35rem;font-size:.8125rem;color:var(--bsa-text-secondary,#475569)}.bsa-workflow-flow-preview__approver-icon{color:var(--bsa-primary,#1b6b52);font-weight:700}.bsa-workflow-flow-preview__no-approver{margin:0;font-size:.8125rem;color:var(--bsa-text-muted,#94a3b8);font-style:italic}.bsa-proceso-visual__lifecycle{display:grid;gap:.75rem;grid-template-columns:1fr auto 1fr auto 1.15fr auto 1fr;align-items:stretch;margin-bottom:1.5rem;overflow-x:auto;padding-bottom:.25rem}.bsa-proceso-visual__phase{background:var(--bsa-surface,#fff);border:1px solid var(--bsa-border,#e2e8f0);border-radius:12px;display:flex;gap:.75rem;min-width:10rem;padding:.875rem 1rem}.bsa-proceso-visual__phase--highlight{border-color:#c4b5fd;box-shadow:0 0 0 1px rgba(124,58,237,.08)}.bsa-proceso-visual__phase-icon{align-items:center;background:#ede9fe;border-radius:999px;color:#5b21b6;display:inline-flex;flex-shrink:0;font-size:.75rem;font-weight:800;height:1.75rem;justify-content:center;width:1.75rem}.bsa-proceso-visual__phase-title{font-size:.875rem;font-weight:700;margin:0 0 .25rem}.bsa-proceso-visual__phase-copy,.bsa-proceso-visual__phase-meta{color:var(--bsa-text-muted,#64748b);font-size:.78rem;line-height:1.35;margin:0 0 .35rem}.bsa-proceso-visual__phase-link{color:#6d28d9;font-size:.78rem;font-weight:600;text-decoration:none}.bsa-proceso-visual__phase-link:hover{text-decoration:underline}.bsa-proceso-visual__arrow{align-self:center;color:#94a3b8;font-size:1.25rem;font-weight:700}.bsa-proceso-visual__chip-list{display:flex;flex-wrap:wrap;gap:.35rem;list-style:none;margin:0 0 .5rem;padding:0}.bsa-proceso-visual__chip{background:#f1f5f9;border-radius:999px;color:#334155;font-size:.7rem;padding:.15rem .5rem}.bsa-proceso-visual__chip--muted{color:#64748b;font-style:italic}.bsa-proceso-visual__diagram{background:#f8fafc;border:1px solid var(--bsa-border,#e2e8f0);border-radius:12px;padding:1rem 1.25rem 1.25rem}.bsa-proceso-visual__diagram-head{margin-bottom:1rem}.bsa-proceso-visual__diagram-title{font-size:1rem;font-weight:700;margin:0 0 .35rem}.bsa-proceso-visual__diagram-copy{color:var(--bsa-text-muted,#64748b);font-size:.82rem;margin:0}.bsa-proceso-visual__canvas-wrap{border:1px solid var(--bsa-border,#e2e8f0);border-radius:10px;min-height:32rem;overflow:hidden}.bsa-proceso-visual__canvas-wrap .h-\[480px\]{height:32rem}.bsa-proceso-visual__empty{align-items:center;background:#fff;border:1px dashed #cbd5e1;border-radius:10px;display:flex;flex-direction:column;gap:.75rem;justify-content:center;min-height:12rem;padding:2rem;text-align:center}.bsa-proceso-visual__legend{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:1rem 0 0;padding:0;font-size:.75rem;color:#64748b}.bsa-proceso-visual__legend-dot{border-radius:999px;display:inline-block;height:.65rem;margin-right:.35rem;vertical-align:middle;width:.65rem}.bsa-proceso-visual__legend-dot--etapa{background:var(--bsa-color-primary,#2d6a4f)}.bsa-proceso-visual__legend-dot--aprobacion{background:var(--bsa-color-warning,#e9c46a)}.bsa-proceso-visual__legend-dot--notificacion{background:var(--bsa-color-info,#48cae4)}.bsa-proceso-visual__legend-dot--condicion{background:var(--bsa-color-muted,#6c757d)}@media (max-width:1200px){.bsa-proceso-visual__lifecycle{grid-template-columns:1fr}.bsa-proceso-visual__arrow{display:none}}@media (max-width:960px){.bsa-workflow-simple-editor{grid-template-columns:1fr}.bsa-workflow-simple-editor__preview{position:static}}.bsa-workflow-inbox__filters{display:flex;flex-wrap:wrap;gap:.5rem}.bsa-workflow-inbox__list{display:flex;flex-direction:column;gap:1rem;list-style:none;margin:0;padding:0}.bsa-workflow-inbox__card{border:1px solid var(--bsa-border,#e2e8f0);border-radius:12px;background:var(--bsa-surface,#fff);padding:1rem 1.25rem;box-shadow:0 1px 2px rgba(15,23,42,.04)}.bsa-workflow-inbox__card-head{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem}.bsa-workflow-inbox__card-title{font-size:1rem;font-weight:700;margin:0 0 .25rem}.bsa-workflow-inbox__card-meta{font-size:.82rem;color:var(--bsa-text-muted,#64748b);margin:.15rem 0}.bsa-workflow-inbox__card-actions{display:flex;flex-wrap:wrap;gap:.5rem;align-items:flex-start}.bsa-workflow-inbox__stepper{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 0;padding:0;list-style:none}.bsa-workflow-inbox__step{display:flex;align-items:center;gap:.35rem;font-size:.75rem;color:var(--bsa-text-muted,#64748b)}.bsa-workflow-inbox__step--done{color:var(--bsa-color-primary,#2d6a4f)}.bsa-workflow-inbox__step--current{color:var(--bsa-color-warning,#b45309);font-weight:700}.bsa-workflow-inbox__step-dot{width:8px;height:8px;border-radius:999px;background:currentColor}.bsa-workflow-tracker__instance{border:1px solid var(--bsa-border,#e2e8f0);border-radius:12px;padding:1rem;margin-bottom:1rem}.bsa-workflow-tracker__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.bsa-workflow-tracker__timeline{list-style:none;margin:0;padding:0 0 0 .5rem;border-left:2px solid var(--bsa-border,#e2e8f0)}.bsa-workflow-tracker__item{position:relative;padding:0 0 1rem 1.25rem}.bsa-workflow-tracker__icon{position:absolute;left:-.65rem;top:.1rem;width:1.25rem;height:1.25rem;border-radius:999px;background:var(--bsa-surface,#fff);border:2px solid var(--bsa-border,#cbd5e1);display:inline-flex;align-items:center;justify-content:center;font-size:.65rem}.bsa-workflow-tracker__item--done .bsa-workflow-tracker__icon{border-color:var(--bsa-color-primary,#2d6a4f);color:var(--bsa-color-primary,#2d6a4f)}.bsa-workflow-tracker__item--current .bsa-workflow-tracker__icon{border-color:var(--bsa-color-warning,#b45309);color:var(--bsa-color-warning,#b45309)}.bsa-workflow-tracker__label{font-weight:600;margin:0 0 .25rem}.bsa-workflow-tracker__detail{font-size:.8rem;color:var(--bsa-text-muted,#64748b);margin:.15rem 0}.bsa-workflow-tracker__detail--pending{color:var(--bsa-color-warning,#b45309)}.bsa-workflow-approval-banner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:.75rem;align-items:center;padding:.75rem 1rem;border-radius:10px;border:1px solid #fde68a;background:#fffbeb;margin-bottom:.75rem}.bsa-workflow-approval-banner__text{display:flex;flex-direction:column;gap:.15rem;font-size:.875rem}.bsa-workflow-approval-banner__actions{display:flex;flex-wrap:wrap;gap:.5rem}