/* Shared list presentation: mobile-only sheets and actions. */
html body .website .menu-actions .btn-wrapper .btn-group .btn-circle.dropdown-toggle {color:#1a73e8!important;border-color:#1a73e8!important;background:#fff!important;}
html body .website .menu-actions .btn-wrapper .btn-group .btn-circle.dropdown-toggle:hover,
html body .website .menu-actions .btn-wrapper .btn-group .btn-circle.dropdown-toggle:focus-visible,
html body .website .menu-actions .btn-wrapper .btn-group.open>.btn-circle.dropdown-toggle {color:#fff!important;border-color:#1a73e8!important;background:#1a73e8!important;}
html body .website .onecup-empty-field {display:none!important;}
#nav-side a>svg,#nav-side a>i,#side-menu a>svg,#side-menu a>i {margin-right:8px!important;flex-shrink:0;}
@media(max-width:1199px){
 html body .opportunity-kanban__column,html body .opportunity-kanban__column>.opportunity-kanban__header,
 html body .onecup-alphabet-section,html body .onecup-alphabet-section>.onecup-alphabet-heading,
 html body .onecup-task-stage,html body .onecup-task-stage>.ibox-heading {border-radius:0!important;}
 html body .opportunity-kanban__header h2,html body .onecup-alphabet-heading,html body .onecup-task-stage>.ibox-heading {font-weight:700!important;}
 /* Keep the complete search control, including its underline, at 45 px. */
 html body main .side-0 section:last-child .search {height:45px!important;min-height:45px!important;box-sizing:border-box;}
 html body main .side-0 section:last-child .search > input {font-size:16px!important;height:100%!important;min-height:0!important;box-sizing:border-box;}
 html body .onecup-mobile-dropdown-sheet__menu:is(.onecup-list-filter-panel,.onecup-opportunity-filters) {display:block!important;visibility:visible!important;position:static!important;width:100%!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:0 15px 15px!important;transform:none!important;}
 html body .onecup-list-filter-panel .ibox {margin:0!important;border:0!important;box-shadow:none!important;border-radius:0!important;}
 html body .onecup-list-filter-panel .ibox-heading,html body .onecup-list-filter-panel form>h1,html body .onecup-list-filter-panel form>.menu-actions {display:none!important;}
 html body :is(.onecup-list-filter-panel,.onecup-opportunity-filters) .ibox-content,html body :is(.onecup-list-filter-panel,.onecup-opportunity-filters) form {display:flex!important;flex-wrap:wrap!important;width:100%!important;padding:0!important;gap:0!important;}
 html body :is(.onecup-list-filter-panel,.onecup-opportunity-filters) .form-group {width:50%!important;min-width:0!important;padding:0 6px!important;}
 html body .onecup-list-filter-panel .form-group-lg {width:100%!important;}
 html body .onecup-list-filter-panel .btn-wrapper,html body .onecup-list-filter-panel .selectedfilters {width:100%!important;}
 html body .onecup-list-filter-panel .btn[title="Buscar"],html body .onecup-list-filter-panel .onecup-filter-submit {background:#1a73e8!important;color:#fff!important;border-color:#1a73e8!important;}
 html body .onecup-list-filter-panel input::placeholder {color:#9297a0!important;opacity:1;}
 html body .onecup-list-filter-panel input,html body .onecup-list-filter-panel select {font-size:16px!important;}
 html body .onecup-fab.onecup-module-create,html body .onecup-fab.onecup-mobile-feed-fab,
 html body main .side-0>section:last-child nav .btn-wrapper>.btn-group>.onecup-fab {position:fixed!important;left:auto!important;right:15px!important;bottom:calc(var(--onecup-mobile-nav-height,64px) + var(--onecup-mobile-safe-bottom,env(safe-area-inset-bottom,0px)) + 15px)!important;display:flex!important;align-items:center!important;justify-content:center!important;width:56px!important;height:56px!important;min-width:56px!important;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;font-size:0!important;line-height:1!important;background:#1a73e8!important;color:white!important;box-shadow:0 6px 16px rgba(24,26,85,.28)!important;transition:transform 160ms ease,box-shadow 160ms ease,background 160ms ease!important;}
 html body .onecup-fab::before,html body .onecup-fab::after,html body .onecup-fab>.caret,html body .onecup-fab>span:not(.lucide) {display:none!important;}
 html body .onecup-fab.onecup-module-create>svg.lucide,html body .onecup-fab.onecup-mobile-feed-fab>svg.lucide,html body .onecup-fab>i {position:absolute!important;left:50%!important;top:50%!important;right:auto!important;bottom:auto!important;transform:translate(-50%,-50%);width:16px!important;height:16px!important;margin:0!important;padding:0!important;font-size:16px!important;stroke-width:3!important;color:#fff!important;transition:transform 160ms ease!important;}
 html body .onecup-fab[aria-expanded="true"]:not(.onecup-record-primary-action)>svg.lucide {transform:translate(-50%,-50%) rotate(45deg)!important;}
 html body .onecup-fab:hover,html body .onecup-fab:focus-visible {background:linear-gradient(to right,#0389ff,#1c79c0)!important;box-shadow:0 8px 22px rgba(24,26,85,.34)!important;transform:translateY(-2px)!important;}
 html body .onecup-fab:active {transform:scale(.96)!important;}
}
@media(prefers-reduced-motion:reduce){html body .onecup-fab,html body .onecup-fab>svg.lucide{transition:none!important;}}

.onecup-task-kanban{display:grid!important;grid-template-columns:repeat(6,minmax(260px,1fr));gap:10px;overflow-x:auto;align-items:start;padding-bottom:10px;}
.onecup-task-stage{background:#eef0f3;border-radius:10px;overflow:hidden;min-width:0;}
html body .onecup-task-stage>.ibox-heading{display:flex!important;align-items:center!important;gap:8px;width:100%;height:27.5px;min-height:27.5px;padding:5px 15px!important;background:#dce1e9!important;color:#1c1a54!important;border:0;font-size:12px;line-height:17.5px;cursor:pointer;}
.onecup-task-stage>.ibox-heading strong{flex:1;text-align:left;}.onecup-task-stage>.ibox-heading i,.onecup-task-stage>.ibox-heading svg{width:12px;height:12px;}
.onecup-task-stage-body{padding:10px;}.onecup-task-stage-cards{min-height:35px;}.onecup-task-stage-cards>.onecup-task-card{position:relative;width:100%!important;min-width:0!important;margin:0 0 10px!important;padding:12px!important;}
.onecup-task-card .website-header{padding:12px 32px 6px 0;}.onecup-task-card .website-header>a{font-size:15px;}.onecup-task-card .website-body{display:block;}.onecup-task-drag{border:0;background:transparent;color:#89909b;cursor:grab;}.onecup-task-pages{display:flex;justify-content:center;align-items:center;gap:10px;}
.onecup-tasks-dragging .onecup-task-stage-cards::before{content:'Soltá aquí para cambiar el estado';display:block;text-align:center;font-size:10px;width:100%;padding:8px 0;border:1px dashed #1a73e8;}
@media(max-width:1199px){.onecup-task-kanban{display:flex!important;flex-direction:column;overflow:visible;}.onecup-task-stage{width:100%;}}

@media(max-width:1199px){html body .onecup-list-filter-panel .form-group.onecup-filter-half{width:50%!important;}}

.onecup-tasks-dragging .onecup-task-stage.is-collapsed .onecup-task-card,.onecup-tasks-dragging .onecup-task-stage.is-collapsed .onecup-task-pages{display:none!important;}

@media(max-width:1199px){html body :is(#opportunity-table, #task-table) .opportunity-kanban__column .opportunity-kanban__header{border-radius:0!important;}}

/* The same record actions and card surface across Kanban modules. */
html body .website .menu-actions .btn-wrapper .btn-group > .btn-circle.dropdown-toggle.onecup-record-options {width:20px!important;height:20px!important;border-color:transparent!important;background:transparent!important;color:#1a73e8!important;}
html body .website .menu-actions .btn-wrapper .btn-group > .btn-circle.dropdown-toggle.onecup-record-options:hover,
html body .website .menu-actions .btn-wrapper .btn-group > .btn-circle.dropdown-toggle.onecup-record-options:focus-visible,
html body .website .menu-actions .btn-wrapper .btn-group.open > .btn-circle.dropdown-toggle.onecup-record-options {border-color:transparent!important;background:#e0eeff!important;color:#1a73e8!important;}
@media(min-width:1200px){
 html body .onecup-record-menu.dropdown-menu{background:#fff!important;border:1px solid #e0eeff!important;border-radius:3px!important;box-shadow:0 8px 24px rgba(24,26,85,.14)!important;padding:4px 0!important;}
 html body .onecup-record-menu.dropdown-menu>li>a{font-size:11px!important;color:#4b4f56!important;padding:10px 15px!important;line-height:normal!important;}
 html body .onecup-record-menu.dropdown-menu>li>a>svg,html body .onecup-record-menu.dropdown-menu>li>a>i{width:11px!important;height:11px!important;font-size:11px!important;margin:0 7px 0 0!important;}
}
html body .onecup-kanban-record.website {background:#fff!important;border:1px solid #e0e4e8!important;border-radius:6px!important;box-shadow:0 1px 2px rgba(24,35,52,.08)!important;padding:12px!important;min-width:0!important;max-width:100%!important;width:100%!important;position:relative;}
html body .onecup-alphabet-cell>.onecup-kanban-record {height:100%!important;min-height:360px;}
.onecup-alphabet-grid:has(.onecup-kanban-record){grid-auto-rows:1fr;align-items:stretch;}
html body .onecup-kanban-record .website-header{width:100%!important;padding:0 22px 8px 0!important;min-height:0!important;border:0!important;}
html body .onecup-kanban-record .website-header a {font-size:15px!important;line-height:1.3!important;overflow-wrap:anywhere;}
html body .onecup-kanban-record .website-body,html body .onecup-kanban-record .website-2,html body .onecup-kanban-record .website-3{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;min-width:0!important;max-width:none!important;border:0!important;padding:0!important;margin:0!important;}
html body .onecup-kanban-record .info-group{width:100%!important;min-width:0!important;max-width:none!important;display:flex;flex-direction:column;align-items:stretch;padding:0!important;margin:0 0 8px!important;}
html body .onecup-kanban-record .info-group.onecup-empty-field{display:none!important;}
html body .onecup-kanban-record .info-group p,html body .onecup-kanban-record .info-group a{width:100%;white-space:normal!important;overflow-wrap:anywhere;}
html body .onecup-task-card .onecup-task-assignee,html body .onecup-task-card .onecup-task-assignee a{font-size:14px!important;line-height:1.35!important;}
html body .onecup-task-card .onecup-task-due{font-size:12px!important;color:#ed8b23!important;line-height:1.35!important;}
html body .onecup-task-card .website-body p{margin:0 0 8px!important;width:100%;}
html body .onecup-task-card .onecup-task-drag{position:absolute;right:9px;bottom:5px;padding:0 3px;font-size:12px;}
html body .onecup-task-card.onecup-kanban-record{padding-bottom:24px!important;}
html body .onecup-group-skeletons .onecup-entity-skeleton{min-height:180px!important;}
html body .onecup-group-table-skeleton td{padding:16px 8px!important;}

html body .onecup-kanban-record.website{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;}
html body .onecup-kanban-record .website-header{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;flex:0 0 auto!important;}
html body .onecup-kanban-record .website-header p{width:100%!important;max-width:none!important;min-width:0!important;margin:0 0 5px!important;}
html body .onecup-kanban-record .website-header p>a,html body .onecup-kanban-record .website-header>a{display:block!important;width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
html body .onecup-kanban-record .website-body{flex:0 0 auto!important;justify-content:flex-start!important;}

/* Keep inactive filter panels out of mobile page flow; the sheet moves them outside main. */
@media(max-width:1199px){html body main .side-1.hidden:not(.onecup-list-filter-panel){display:none!important;}}
/* On mobile/tablet only the portaled sheet displays filters, even after a desktop resize. */
@media(max-width:1199px){
 html body main .tabs-container > .side-1[data-onecup-list-filter-host],
 html body main > .side-1[data-onecup-list-filter-host]{display:none!important;}
}

@media(max-width:1199px){html body #task-table .side-3>nav.view-options{display:block!important;visibility:visible!important;width:100%!important;height:auto!important;}html body #task-table .view-options .nav-tabs{display:flex!important;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;}html body #task-table .view-options .nav-tabs>li{flex:0 0 auto;width:auto!important;}html body #task-table .view-options .referals{display:none;}}

/* Portable list-filter structure: matches the side-1 form after moving into a sheet. */
html body .onecup-list-filters form {display:flex;flex-wrap:wrap;width:100%;}
html body .onecup-list-filters form>.remove {display:block;width:100%;margin-top:15px;font-size:10px;color:#f9424b;}
html body .onecup-list-filters form>.onecup-filter-submit {margin-top:15px;}
html body .onecup-list-filters .selectedfilters {display:flex;flex-wrap:wrap;width:100%;margin:0 0 15px;}
html body .onecup-list-filters .selectedfilters>span {padding:3px 7px;background:#e5e5e5;border-radius:10px;margin:5px 5px 0 0;}
html body .onecup-list-filters .selectedfilters .close {color:#4b4f56;font-size:9px;}
html body .onecup-list-user-filter {position:relative;width:100%;min-width:0;}
html body .onecup-list-user-filter>input {width:100%;}
html body .onecup-list-user-filter>div.select2 {top:100%;}
html body .onecup-list-user-filter .select2-body li[aria-selected=true]>a {background:#e5e5e5;}
html body .onecup-mobile-dropdown-sheet__title {font-size:20px;font-weight:500;color:#181a55;margin:0 auto 0 0;line-height:1.4;}
html body .onecup-mobile-dropdown-sheet__title[hidden] {display:none!important;}
@media(max-width:1199px){
 html body .onecup-list-filter-panel form>.onecup-filter-submit {margin-top:15px;}
 html body .onecup-list-filter-panel form>.remove {display:block;width:100%;margin-top:15px;font-size:10px;color:#f9424b;}
 html body .onecup-list-filter-panel .onecup-list-user-filter input {font-size:16px!important;}
}

/* Applied filters keep their own full row, including when moved to mobile sheets. */
html body .selectedfilters {
 display:flex;flex-wrap:wrap;box-sizing:border-box;
 width:100%!important;max-width:100%;min-width:0;flex:0 0 100%!important;
 grid-column:1 / -1;clear:both;margin:0 0 15px!important;
}
html body .selectedfilters>span {
 padding:3px 7px;background:#e5e5e5;border-radius:10px;margin:5px 5px 0 0;
}
html body .selectedfilters>span a.close {color:#4b4f56;font-size:9px;}
/* Shared applied-filter chips: same readable label and close control in every list. */
html body .selectedfilters>span {
 display:inline-flex;align-items:center;gap:4px;white-space:nowrap;font-size:10px!important;
}
html body .selectedfilters>span a.close {float:none;flex:0 0 auto;}


/* List table viewport: its pagination ends 15px above the shell footer. */
html body main .table-responsive[data-onecup-table-viewport] {
 box-sizing:border-box!important;
 height:var(--onecup-table-viewport-height)!important;
 min-height:var(--onecup-table-viewport-height)!important;
 max-height:var(--onecup-table-viewport-height)!important;
 overflow:auto;
}
@media print {
 html body main .table-responsive[data-onecup-table-viewport] {
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
 }
}
