/* CONCEPTO EXHIBFLOW — FINAL RESPONSIVE RENDER FIX v1.4 */
:root{--navy:#0a2a66;--gold:#d49a00;--ink:#172033;--muted:#667085;--bg:#f4f6f9;--card:#fff;--line:#e5e7eb;--success:#137a4b;--danger:#b42318}*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:var(--bg);color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}.login{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(135deg,#f7f8fb,#eef2f7)}.login-card{width:min(460px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:36px;box-shadow:0 18px 60px #0a2a6615}.login-card img{width:260px;max-width:100%;margin:0 auto 28px;display:block}.login-card h1{font-size:25px;margin:0 0 8px;color:var(--navy)}.login-card p{color:var(--muted);margin:0 0 24px}.field{margin:14px 0}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;padding:11px 12px;border:1px solid #d0d5dd;border-radius:9px;background:#fff}.field textarea{min-height:90px;resize:vertical}.btn{border:0;border-radius:9px;padding:10px 15px;background:var(--navy);color:#fff;font-weight:700}.btn.gold{background:var(--gold);color:#172033}.btn.light{background:#eef2f7;color:var(--ink)}.btn.danger{background:#fee4e2;color:var(--danger)}.full{width:100%}.layout{min-height:100vh;display:flex;min-width:0;width:100%;max-width:100%}.side{width:245px;background:var(--navy);color:#fff;padding:22px 15px;position:fixed;inset:0 auto 0 0}.brand{display:flex;align-items:center;gap:10px;padding:6px 10px 24px;border-bottom:1px solid #ffffff22}.brand img{width:42px;height:42px;object-fit:contain;background:#fff;border-radius:7px}.brand strong{font-size:15px;line-height:1.2}.brand small{display:block;color:#cbd5e1;margin-top:3px}.nav{padding-top:18px}.nav button{display:flex;width:100%;border:0;background:transparent;color:#dce5f7;padding:11px 12px;border-radius:8px;margin:2px 0;text-align:left}.nav button.active,.nav button:hover{background:#ffffff16;color:#fff}.main{margin-left:245px;flex:1;min-width:0;max-width:100%;width:auto}.top{height:70px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 30px;position:sticky;top:0;z-index:3;min-width:0;max-width:100%;overflow:hidden}.top h1{font-size:22px;margin:0;color:var(--navy)}.user{display:flex;gap:12px;align-items:center;font-size:13px;min-width:0;max-width:70%;flex-wrap:nowrap}.avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e8eef8;color:var(--navy);font-weight:800}.content{padding:28px;min-width:0;max-width:100%;overflow-x:auto;overflow-y:visible}.kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.kpi,.card{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:20px;box-shadow:0 3px 12px #10182808;min-width:0;max-width:100%}.kpi .label{font-size:13px;color:var(--muted)}.kpi .value{font-size:28px;font-weight:800;color:var(--navy);margin-top:8px}.grid2{display:grid;grid-template-columns:1.4fr 1fr;gap:18px;margin-top:18px}.card h2{font-size:17px;margin:0 0 16px;color:var(--navy)}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:13px}.table th,.table td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);white-space:nowrap}.table th{color:var(--muted);font-size:11px;text-transform:uppercase;letter-spacing:.04em}.badge{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef2f7;font-size:11px;font-weight:700}.badge.gold{background:#fff4d6;color:#8a6100}.badge.green{background:#dcfae6;color:#137a4b}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.toolbar .actions{display:flex;gap:8px;flex-wrap:wrap}.search{max-width:300px}.empty{padding:35px;text-align:center;color:var(--muted)}.modal{position:fixed;inset:0;background:#10182888;display:none;align-items:center;justify-content:center;padding:20px;z-index:20}.modal.open{display:flex}.modal-card{width:min(720px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:16px;padding:24px}.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0;color:var(--navy)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 16px}.span2{grid-column:span 2}.items{border:1px solid var(--line);border-radius:10px;padding:10px;margin:8px 0}.item-row{display:grid;grid-template-columns:2fr .6fr .8fr auto;gap:8px;margin:6px 0}.notice{padding:11px 13px;border-radius:9px;background:#fff4d6;color:#7a5500;margin-bottom:16px;font-size:13px}.error{color:var(--danger);font-size:13px;margin-top:10px}.drop{border:2px dashed #cbd5e1;border-radius:12px;padding:22px;text-align:center;background:#f8fafc}.footer{color:var(--muted);font-size:12px;padding:20px 0}.hamb{display:none;background:none;border:0;font-size:24px}@media(max-width:1000px){.kpis{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}}@media(max-width:720px){.side{transform:translateX(-100%);transition:.2s;z-index:10}.side.open{transform:none}.main{margin-left:0}.hamb{display:block}.top{padding:0 15px}.content{padding:16px}.kpis{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.span2{grid-column:auto}.item-row{grid-template-columns:1fr 1fr 1fr auto}}

/* TASK MODAL VISIBILITY FIX */
#task-module-modal{
  position:fixed !important;
  inset:0 !important;
  z-index:99999 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:24px !important;
  background:rgba(0,0,0,.45) !important;
}

#task-module-modal .modal-card{
  position:relative !important;
  z-index:100000 !important;
  width:min(760px, calc(100vw - 48px)) !important;
  max-height:calc(100vh - 48px) !important;
  overflow:auto !important;
  background:#fff !important;
  border-radius:12px !important;
  box-shadow:0 20px 60px rgba(0,0,0,.25) !important;
}


/* ================================================================
   CONCEPTO FILE MANAGER UI - PATCH 2
   ================================================================ */

.fm-shell{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 3px 12px #10182808;
}

.fm-toolbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px;
  border-bottom:1px solid var(--line);
  background:#fff;
  flex-wrap:wrap;
}

.fm-toolbar-left,
.fm-toolbar-right{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.fm-search{
  width:240px;
  max-width:100%;
  padding:10px 12px;
  border:1px solid #d0d5dd;
  border-radius:9px;
}

.fm-breadcrumbs{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
  background:#f8fafc;
}

.fm-breadcrumb-btn{
  border:0;
  background:transparent;
  color:var(--navy);
  font-weight:700;
  cursor:pointer;
  padding:5px 7px;
  border-radius:6px;
}

.fm-breadcrumb-btn:hover{
  background:#e9eef7;
}

.fm-breadcrumb-separator{
  color:var(--muted);
  font-size:16px;
}

.fm-selection-bar{
  min-height:52px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:10px 14px;
  border-bottom:1px solid var(--line);
  background:#fbfcfe;
  flex-wrap:wrap;
}

.fm-selection-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.fm-content{
  min-height:420px;
}

.fm-table tr{
  cursor:pointer;
}

.fm-table tbody tr:hover{
  background:#f8fafc;
}

.fm-selected-row{
  background:#eef4ff !important;
}

.fm-name{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:240px;
}

.fm-item-icon{
  width:28px;
  text-align:center;
  font-size:22px;
  flex:0 0 28px;
}

.fm-empty{
  min-height:420px;
  display:grid;
  place-items:center;
  align-content:center;
  gap:8px;
  color:var(--muted);
  text-align:center;
}

@media(max-width:720px){

  .fm-toolbar{
    align-items:stretch;
  }

  .fm-toolbar-left,
  .fm-toolbar-right{
    width:100%;
  }

  .fm-search{
    flex:1;
    width:auto;
  }

  .fm-selection-bar{
    align-items:flex-start;
  }

  .fm-name{
    min-width:180px;
  }

}



/* ================================================================
   CONCEPTO EXHIBITFLOW - RESPONSIVE UX ENHANCEMENT
   Preserves desktop layout; improves tablet/mobile behavior.
   ================================================================ */

.mobile-nav-backdrop{
  display:none;
}

@media (max-width:1000px){

  .content{
    padding:22px;
  }

  .toolbar{
    align-items:flex-start;
  }

  .toolbar .actions{
    width:100%;
  }

  .toolbar .search{
    width:100%;
    max-width:none;
  }

  .modal-card{
    width:min(680px,calc(100vw - 32px));
  }

}

@media (max-width:720px){

  body.mobile-nav-open{
    overflow:hidden;
  }

  .mobile-nav-backdrop{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.42);
    z-index:9;
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease;
  }

  .mobile-nav-backdrop.open{
    opacity:1;
    pointer-events:auto;
  }

  .side{
    width:min(285px,86vw);
    padding:18px 12px;
  }

  .brand{
    padding-bottom:18px;
  }

  .nav button{
    min-height:44px;
    padding:11px 13px;
  }

  .main{
    width:100%;
    min-width:0;
  }

  .top{
    height:62px;
    gap:10px;
  }

  .top h1{
    font-size:18px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .top > div:first-child{
    min-width:0;
  }

  .user{
    gap:7px;
    min-width:0;
  }

  .user > span{
    display:none;
  }

  .user .btn{
    padding:8px 10px;
    white-space:nowrap;
  }

  .avatar{
    width:32px;
    height:32px;
    flex:0 0 32px;
  }

  .hamb{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    padding:0;
    flex:0 0 42px;
    border-radius:9px;
    color:var(--navy);
  }

  .content{
    padding:12px;
    overflow-x:hidden;
  }

  .kpi,
  .card{
    padding:15px;
    border-radius:12px;
  }

  .kpi .value{
    font-size:24px;
  }

  .grid2{
    gap:12px;
    margin-top:12px;
  }

  .toolbar{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .toolbar .actions{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }

  .toolbar .actions .btn{
    width:100%;
    min-height:42px;
  }

  .search{
    width:100%;
    max-width:none;
  }

  .form-grid{
    gap:0 10px;
  }

  .field input,
  .field select,
  .field textarea{
    min-height:44px;
  }

  .modal{
    padding:10px;
    align-items:flex-start;
  }

  .modal-card{
    width:100%;
    max-width:none;
    max-height:calc(100vh - 20px);
    margin-top:10px;
    border-radius:12px;
    padding:16px;
  }

  .modal-head{
    gap:10px;
  }

  .modal-head h2{
    font-size:18px;
  }

  .items{
    overflow-x:auto;
  }

  .item-row{
    min-width:520px;
  }

  .table-wrap{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }

  .table{
    min-width:620px;
  }

  .table th,
  .table td{
    padding:10px 8px;
  }

  .fm-shell{
    border-radius:10px;
  }

  .fm-toolbar{
    padding:10px;
  }

  .fm-toolbar-left,
  .fm-toolbar-right{
    width:100%;
  }

  .fm-toolbar-left .btn,
  .fm-toolbar-right .btn{
    min-height:42px;
  }

  .fm-search{
    width:100%;
    min-height:42px;
  }

  .fm-selection-bar{
    padding:10px;
  }

  .fm-selection-actions{
    width:100%;
  }

  .fm-selection-actions .btn{
    min-height:42px;
  }

  .fm-content{
    min-height:300px;
  }

  .fm-table{
    min-width:680px;
  }

  #fm-upload-progress > div > div{
    width:min(520px,calc(100vw - 24px)) !important;
  }

}

@media (max-width:480px){

  .content{
    padding:9px;
  }

  .top{
    padding:0 10px;
  }

  .top h1{
    font-size:17px;
  }

  .user .btn{
    padding:7px 9px;
  }

  .toolbar .actions{
    grid-template-columns:1fr;
  }

  .kpi .value{
    font-size:22px;
  }

  .card h2{
    font-size:16px;
  }

  .modal{
    padding:5px;
  }

  .modal-card{
    max-height:calc(100vh - 10px);
    margin-top:5px;
    padding:13px;
  }

  .fm-breadcrumbs{
    padding:9px 10px;
  }

}


/* ================================================================
   MOBILE PORTRAIT SCROLL / OVERFLOW IMPROVEMENT
   ================================================================ */

html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

.side{
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}

.table-wrap,
.fm-content{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

@media (max-width:720px){

  .toolbar{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:4px;
  }

  .toolbar .actions{
    display:flex;
    flex-wrap:nowrap;
    width:max-content;
  }

  .toolbar .actions .btn{
    flex:0 0 auto;
    white-space:nowrap;
  }

  .fm-toolbar-left,
  .fm-toolbar-right{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    flex-wrap:nowrap;
  }

  .fm-toolbar-left > *,
  .fm-toolbar-right > *{
    flex:0 0 auto;
  }

  .fm-selection-actions{
    width:100%;
    overflow-x:auto;
    flex-wrap:nowrap;
  }

  .fm-selection-actions > *{
    flex:0 0 auto;
  }

  .table-wrap{
    width:100%;
  }

  .table{
    min-width:620px;
  }

  .fm-table{
    min-width:680px;
  }

  #fm-upload-progress{
    max-width:100vw;
  }
}

@media (max-width:480px){

  .content{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
  }

  .toolbar{
    margin-bottom:12px;
  }

  .toolbar .actions{
    padding-bottom:5px;
  }

  .fm-toolbar{
    overflow:hidden;
  }

  .fm-toolbar-left,
  .fm-toolbar-right{
    padding-bottom:5px;
  }
}


/* ================================================================
   THEME & BRANDING
   ================================================================ */

:root{
  --font-scale:1;
  --sidebar-color:var(--navy);
}

.side{
  background:var(--sidebar-color);
}

body{
  font-size:calc(1rem * var(--font-scale));
}

[data-theme="dark"] .light{
  background:#374151;
  color:#f9fafb;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea{
  background:#111827;
  color:#f9fafb;
  border-color:#4b5563;
}

[data-theme="dark"] .top{
  background:var(--card);
}

[data-theme="dark"] .fm-breadcrumbs,
[data-theme="dark"] .fm-selection-bar{
  background:#111827;
}

[data-theme="dark"] .drop{
  background:#111827;
  border-color:#4b5563;
}

[data-theme="compact"] .card,
[data-theme="compact"] .kpi{
  padding:14px;
}

[data-density="compact"] .field{
  margin:9px 0;
}

[data-density="compact"] .table th,
[data-density="compact"] .table td{
  padding:8px;
}

.branding-grid,
.preferences-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:4px 16px;
}

.branding-logo-row{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.branding-logo-row img{
  width:90px;
  height:90px;
  object-fit:contain;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  padding:8px;
}

.theme-branding-card{
  margin-top:18px;
}

.preferences-card{
  width:min(620px,100%);
}

@media(max-width:720px){

  .branding-grid,
  .preferences-grid{
    grid-template-columns:1fr;
  }

  .branding-grid .span2{
    grid-column:auto;
  }

  .branding-logo-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .branding-logo-row img{
    width:76px;
    height:76px;
  }

  .preferences-card{
    width:100%;
  }
}

/* CONCEPTO MOBILE BUTTON SIZING PATCH 2026-09-14 */
@media (max-width: 720px) {
  .toolbar .actions {
    width: auto;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .toolbar .actions .btn,
  .toolbar > .btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0;
    max-width: 100%;
    padding: 9px 13px;
    font-size: 15px;
    line-height: 1.2;
  }

  .quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
  }

  .quick-actions .btn {
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0;
    max-width: 100%;
    padding: 9px 13px;
    font-size: 15px;
    line-height: 1.2;
    white-space: normal;
  }
}

/* CONCEPTO MOBILE VIEW-ALL FIX 2026-09-14 */
@media (max-width: 720px) {
  /* The existing mobile toolbar was horizontally scrollable.
     That is useful for wide toolbars, but not for the dashboard title + View all pair. */
  .toolbar {
    width: 100%;
    min-width: 0;
    overflow-x: visible !important;
    overflow-y: visible;
  }

  .toolbar h2 {
    min-width: 0;
    flex: 1 1 auto;
    overflow-wrap: anywhere;
  }

  /* Force compact intrinsic sizing for buttons directly inside a toolbar. */
  .toolbar > .btn {
    flex: 0 0 auto !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: nowrap;
    padding: 9px 14px;
  }

  /* Dashboard task header: keep View all compact and pinned to the right. */
  .card > .toolbar > .btn {
    flex: 0 0 auto !important;
    width: max-content !important;
  }
}

/* CONCEPTO MOBILE TABLE SWIPE FIX 2026-09-14 */
@media (max-width: 720px) {
  /* Keep horizontal scrolling inside the table container only. */
  .table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
  }

  /* Force genuine horizontal overflow on wide data tables. */
  .table-wrap > .table,
  .table-wrap > table {
    min-width: 620px;
    width: 620px;
  }

  /* Preserve the normal mobile page width; do not move the scroll to body. */
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
}
/* CONCEPTO DASHBOARD MOBILE FINAL LAYOUT FIX 2026-09-14 */

.dashboard-task-activity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
  min-width: 0;
}

.dashboard-task-activity-grid > .card {
  min-width: 0;
}

.dashboard-task-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  min-width: 0;
}

.dashboard-task-table-wrap > .dashboard-task-table {
  min-width: 680px;
  width: 680px;
  max-width: none;
}

.dashboard-task-table-wrap th,
.dashboard-task-table-wrap td {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .dashboard-task-activity-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: visible;
  }

  .dashboard-task-activity-grid > .card {
    width: 100%;
    min-width: 0;
  }

  .dashboard-task-table-wrap {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x pan-y !important;
    padding-bottom: 8px;
    scrollbar-width: auto;
  }

  .dashboard-task-table-wrap > .dashboard-task-table {
    display: table !important;
    width: 680px !important;
    min-width: 680px !important;
    max-width: none !important;
    table-layout: auto !important;
  }
}


/* ============================================================
   PROJECT + CALENDAR VISUAL ALIGNMENT
   UI-only patch
   ============================================================ */


/* ------------------------------------------------------------
   PROJECT FORM
   Facility checkboxes
   ------------------------------------------------------------ */

/* Keep checkbox fields visually compact */
#modal .field:has(input[type="checkbox"]),
#project-edit-modal .field:has(input[type="checkbox"]) {
  min-width: 0;
}

/* Checkbox label = horizontal flex row */
#modal .field:has(input[type="checkbox"]) > label,
#project-edit-modal .field:has(input[type="checkbox"]) > label {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  cursor: pointer;
  line-height: 1.35;
}

/* Checkbox itself must NOT inherit normal text-input sizing */
#modal .field input[type="checkbox"],
#project-edit-modal .field input[type="checkbox"] {
  width: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  margin: 1px 0 0 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
  accent-color: #123b73;
  cursor: pointer;
}

/* Facility text stays next to checkbox instead of moving it */
#modal .field:has(input[type="checkbox"]) > label > input[type="checkbox"] + *,
#project-edit-modal .field:has(input[type="checkbox"]) > label > input[type="checkbox"] + * {
  flex: 1 1 auto;
}

/* Make the two top facility options align cleanly */
#modal .field:has(input[name="suspended_structure"]),
#modal .field:has(input[name="meeting_room"]),
#project-edit-modal .field:has(input[name="suspended_structure"]),
#project-edit-modal .field:has(input[name="meeting_room"]) {
  align-self: start;
}

/* Long suspended-structure label wraps naturally */
#modal input[name="suspended_structure"] + *,
#project-edit-modal input[name="suspended_structure"] + * {
  white-space: normal;
}

/* Consistent vertical spacing between facility options */
#modal .field:has(input[type="checkbox"]),
#project-edit-modal .field:has(input[type="checkbox"]) {
  margin-bottom: 4px;
}


/* ------------------------------------------------------------
   CALENDAR TABLE
   ------------------------------------------------------------ */

/* Give Calendar its own comfortable table layout */
#calendarTable {
  width: 100%;
  min-width: 1050px;
  table-layout: fixed;
}

/* Consistent cell alignment */
#calendarTable th,
#calendarTable td {
  vertical-align: middle;
  padding: 12px 10px;
  line-height: 1.35;
}

/* Column widths */
#calendarTable th:nth-child(1),
#calendarTable td:nth-child(1) {
  width: 105px;
}

#calendarTable th:nth-child(2),
#calendarTable td:nth-child(2) {
  width: 170px;
}

#calendarTable th:nth-child(3),
#calendarTable td:nth-child(3) {
  width: 175px;
}

#calendarTable th:nth-child(4),
#calendarTable td:nth-child(4) {
  width: 145px;
}

#calendarTable th:nth-child(5),
#calendarTable td:nth-child(5) {
  width: 160px;
}

#calendarTable th:nth-child(6),
#calendarTable td:nth-child(6) {
  width: 145px;
}

#calendarTable th:nth-child(7),
#calendarTable td:nth-child(7) {
  width: 105px;
}

/* Actions gets a dedicated fixed area */
#calendarTable th:nth-child(8),
#calendarTable td:nth-child(8) {
  width: 155px;
  min-width: 155px;
}

/* Keep action buttons on one clean line */
#calendarTable td:nth-child(8) .actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
}

/* Equal visual button sizing */
#calendarTable td:nth-child(8) .actions .btn {
  min-width: 62px;
  height: 34px;
  padding: 7px 12px;
  margin: 0;
  white-space: nowrap;
}

/* Calendar text should wrap rather than destroy column alignment */
#calendarTable td {
  overflow-wrap: anywhere;
}

/* Event title */
#calendarTable td:nth-child(2) b {
  display: inline-block;
  line-height: 1.3;
}

/* Project and owner names can wrap cleanly */
#calendarTable td:nth-child(3),
#calendarTable td:nth-child(6) {
  overflow-wrap: anywhere;
}


/* ------------------------------------------------------------
   CALENDAR RESPONSIVE BEHAVIOUR
   ------------------------------------------------------------ */

@media (max-width: 900px) {
  #calendarTable {
    min-width: 900px;
  }

  #calendarTable th,
  #calendarTable td {
    padding: 9px 8px;
  }

  #calendarTable th:nth-child(8),
  #calendarTable td:nth-child(8) {
    width: 145px;
    min-width: 145px;
  }
}


/* ------------------------------------------------------------
   PROJECT FORM RESPONSIVE CHECKBOXES
   ------------------------------------------------------------ */

@media (max-width: 700px) {
  #modal .field:has(input[type="checkbox"]) > label,
  #project-edit-modal .field:has(input[type="checkbox"]) > label {
    gap: 9px !important;
  }

  #modal .field input[type="checkbox"],
  #project-edit-modal .field input[type="checkbox"] {
    width: 17px !important;
    min-width: 17px !important;
    height: 17px !important;
    min-height: 17px !important;
    flex-basis: 17px !important;
  }
}


/* HR-2 Employee module */
.hr-employee-modal{width:min(1040px,100%);}
.hr-employee-modal h3{font-size:15px;color:var(--navy);margin:20px 0 8px;border-bottom:1px solid var(--line);padding-bottom:7px;}
.hr-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px;}
.hr-detail-row{display:flex;justify-content:space-between;gap:16px;padding:7px 0;border-bottom:1px solid var(--line);font-size:13px;}
.hr-detail-row span,.hr-sensitive-grid span{color:var(--muted);}
.hr-sensitive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.hr-sensitive-grid>div{padding:10px;border:1px solid var(--line);border-radius:9px;background:#f8fafc;}
.hr-sensitive-grid strong{display:block;margin-top:4px;word-break:break-word;}
@media(max-width:720px){.hr-detail-grid{grid-template-columns:1fr;}.hr-sensitive-grid{grid-template-columns:1fr;}.hr-employee-modal{max-height:92vh;}}


/* PAY-2A Payroll */
.payroll-run-modal{max-width:1100px}
.payroll-issue{padding:9px 10px;border-radius:8px;margin:7px 0;border:1px solid #e5e7eb}
.payroll-issue.error{border-color:#ef4444}
.payroll-issue.warning{border-color:#f59e0b}
.payroll-issue.info{border-color:#60a5fa}


/* ================================================================
   CONCEPTO EXHIBITFLOW — GLOBAL LAYOUT / VISIBILITY FIX v1.0
   Keeps wide module content inside the main application viewport.
   Does not alter module logic, permissions, APIs or data structures.
   ================================================================ */
.layout > .main,
.main,
.content,
.content > *,
.grid2 > *,
.kpis > *,
.form-grid > *,
.toolbar > *{
  min-width:0;
}

.table-wrap,
.table-wrap > table,
.card,
.kpi{
  max-width:100%;
}

.table-wrap{
  overflow-x:auto;
  overflow-y:visible;
  min-width:0;
}

/* Prevent long module-generated strings, URLs and controls from
   forcing the whole document wider than the viewport. */
.content img,
.content svg,
.content video,
.content canvas,
.content iframe{
  max-width:100%;
}

.content input,
.content select,
.content textarea{
  max-width:100%;
}

/* Wide tables stay scrollable inside the application content area rather
   than pushing the sidebar/header outside the viewport. */
.content table{
  max-width:none;
}

@media (min-width:721px){
  .content{
    overflow-x:auto;
  }
}

@media (max-width:720px){
  .main{
    max-width:100%;
  }

  .top{
    overflow:hidden;
  }

  .user{
    max-width:60%;
  }
}


/* ================================================================
   CONCEPTO EXHIBITFLOW — RESPONSIVE SHELL FIX v2.0
   Global shell correction:
   - desktop sidebar remains stable
   - tablet/mobile uses existing off-canvas navigation
   - main viewport always equals available viewport
   - grid children cannot expand the page
   - wide tables scroll only inside their containers
   - responsive breakpoints adapt to PC/tablet/mobile
   Does not alter business-module logic, APIs, permissions or data.
   ================================================================ */

:root{
  --ef-sidebar-width:245px;
  --ef-tablet-breakpoint:1024px;
  --ef-mobile-breakpoint:720px;
}

html,
body,
#app{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
}

html,
body{
  overflow-x:hidden !important;
}

.layout{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:100vh !important;
}

.side{
  position:fixed !important;
  inset:0 auto 0 0 !important;
  width:var(--ef-sidebar-width) !important;
  height:100vh !important;
  max-width:var(--ef-sidebar-width) !important;
  min-width:var(--ef-sidebar-width) !important;
  margin:0 !important;
  padding:22px 15px !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  display:flex !important;
  flex-direction:column !important;
  box-sizing:border-box !important;
  z-index:40 !important;
}

.side .nav{
  flex:1 1 auto !important;
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}

.side .footer{
  flex:0 0 auto !important;
}

.main{
  display:block !important;
  width:calc(100% - var(--ef-sidebar-width)) !important;
  max-width:calc(100% - var(--ef-sidebar-width)) !important;
  min-width:0 !important;
  margin-left:var(--ef-sidebar-width) !important;
  box-sizing:border-box !important;
  overflow-x:hidden !important;
}

.top{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

.top > div:first-child,
.top .user{
  min-width:0 !important;
}

.content{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  overflow-x:visible !important;
  overflow-y:visible !important;
}

.content > *{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

.kpis{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
  gap:16px !important;
}

.kpis > .kpi{
  min-width:0 !important;
  max-width:none !important;
  width:100% !important;
}

.grid2{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) !important;
}

.grid2 > *,
.content .card,
.content .kpi{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

/* Dashboard and other modules sometimes create a two-column grid inline.
   Keep those grids inside the available content width. */
.content > div[style*="grid-template-columns"],
.content .card > div[style*="grid-template-columns"]{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
}

.table-wrap,
.fm-content,
.content .table-wrap{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  box-sizing:border-box !important;
}

.table-wrap > table,
.fm-content > table{
  width:max-content;
  max-width:none !important;
  min-width:100% !important;
}

.content img,
.content svg,
.content video,
.content canvas,
.content iframe{
  max-width:100% !important;
}

.content input,
.content select,
.content textarea{
  max-width:100% !important;
  min-width:0 !important;
}

.toolbar{
  max-width:100% !important;
  min-width:0 !important;
}

.toolbar > *,
.toolbar .actions{
  min-width:0 !important;
  max-width:100% !important;
}

/* Tablet: sidebar becomes the existing off-canvas navigation. */
@media (max-width:1024px){

  .side{
    width:min(300px,86vw) !important;
    max-width:86vw !important;
    min-width:0 !important;
    transform:translateX(-100%) !important;
    transition:transform .2s ease !important;
  }

  .side.open{
    transform:translateX(0) !important;
  }

  .main{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
  }

  .hamb{
    display:grid !important;
    width:42px !important;
    height:42px !important;
    place-items:center !important;
    flex:0 0 42px !important;
    border-radius:9px !important;
  }

  .top{
    padding:0 22px !important;
    gap:12px !important;
  }

  .content{
    padding:22px !important;
  }

  .kpis{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }

  .grid2,
  .content > div[style*="grid-template-columns"],
  .content .card > div[style*="grid-template-columns"]{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }

  .mobile-nav-backdrop{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    background:rgba(0,0,0,.42) !important;
    z-index:39 !important;
    opacity:0 !important;
    pointer-events:none !important;
    transition:opacity .2s ease !important;
  }

  .mobile-nav-backdrop.open{
    opacity:1 !important;
    pointer-events:auto !important;
  }

  body.mobile-nav-open{
    overflow:hidden !important;
  }
}

/* Smaller tablets. */
@media (max-width:900px){

  .top{
    padding:0 18px !important;
  }

  .content{
    padding:18px !important;
  }

  .kpis{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }

  .grid2,
  .content > div[style*="grid-template-columns"],
  .content .card > div[style*="grid-template-columns"]{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .user{
    gap:8px !important;
  }

  .user > span{
    max-width:220px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
}

/* Mobile. */
@media (max-width:720px){

  .side{
    width:min(285px,86vw) !important;
    max-width:86vw !important;
  }

  .top{
    height:62px !important;
    padding:0 12px !important;
    gap:8px !important;
  }

  .top h1{
    min-width:0 !important;
    max-width:42vw !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:18px !important;
  }

  .top .user{
    max-width:none !important;
    gap:6px !important;
    flex-wrap:nowrap !important;
  }

  .user > span{
    display:none !important;
  }

  .user .btn{
    padding:8px 9px !important;
    white-space:nowrap !important;
  }

  .i18n-language-wrap{
    max-width:105px !important;
    flex:0 0 auto !important;
  }

  #global-language-selector{
    max-width:105px !important;
    min-width:88px !important;
  }

  .content{
    padding:12px !important;
  }

  .kpis{
    grid-template-columns:minmax(0,1fr) !important;
    gap:10px !important;
  }

  .grid2,
  .content > div[style*="grid-template-columns"],
  .content .card > div[style*="grid-template-columns"]{
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
  }

  .kpi,
  .card{
    width:100% !important;
    max-width:100% !important;
  }

  .toolbar{
    flex-direction:column !important;
    align-items:stretch !important;
  }

  .toolbar .actions{
    width:100% !important;
  }

  .table-wrap{
    width:100% !important;
    max-width:100% !important;
  }
}

/* ================================================================
   CONCEPTO EXHIBITFLOW — RESPONSIVE SHELL FIX v3.0
   Corrects the desktop sidebar/main relationship using CSS Grid.
   Responsive behavior:
     >1100px  = desktop sidebar + main viewport
     721-1100 = off-canvas sidebar + full-width main
     <=720px  = mobile off-canvas + compact header
   Wide tables scroll inside their containers only.
   No module/API/database/permission logic is changed.
   ================================================================ */

html,body,#app{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  margin:0 !important;
}

html,body{
  overflow-x:hidden !important;
}

.layout{
  display:grid !important;
  grid-template-columns:245px minmax(0,1fr) !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:100vh !important;
}

.side{
  position:sticky !important;
  top:0 !important;
  left:auto !important;
  inset:auto !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  height:100vh !important;
  max-height:100vh !important;
  box-sizing:border-box !important;
  overflow-x:hidden !important;
  overflow-y:auto !important;
  z-index:40 !important;
  display:flex !important;
  flex-direction:column !important;
}

.side .nav{
  min-height:0 !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  flex:1 1 auto !important;
}

.side .footer{
  flex:0 0 auto !important;
}

.main{
  grid-column:2 !important;
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  margin-left:0 !important;
  overflow-x:hidden !important;
  box-sizing:border-box !important;
}

.top{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

.top > div:first-child,
.top .user{
  min-width:0 !important;
}

.content{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  overflow-x:visible !important;
  overflow-y:visible !important;
}

.content > *{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

.kpis{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  grid-template-columns:repeat(5,minmax(0,1fr)) !important;
}

.kpis > *{
  min-width:0 !important;
  max-width:none !important;
}

.grid2{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) !important;
}

.grid2 > *,
.card,
.kpi{
  min-width:0 !important;
  box-sizing:border-box !important;
}

/* Dashboard/module inline 2-column grids must also respect viewport width. */
.content > div[style*="grid-template-columns"],
.content .card > div[style*="grid-template-columns"]{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  box-sizing:border-box !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
}

.table-wrap,
.fm-content{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  box-sizing:border-box !important;
}

.table-wrap > table,
.fm-content > table{
  width:max-content;
  min-width:100% !important;
  max-width:none !important;
}

.content img,
.content svg,
.content video,
.content canvas,
.content iframe{
  max-width:100% !important;
}

.content input,
.content select,
.content textarea{
  max-width:100% !important;
  min-width:0 !important;
}

/* Tablet and small desktop: existing hamburger/off-canvas navigation. */
@media (max-width:1100px){

  .layout{
    display:block !important;
    width:100% !important;
    max-width:none !important;
  }

  .side{
    position:fixed !important;
    inset:0 auto 0 0 !important;
    width:min(300px,86vw) !important;
    max-width:86vw !important;
    min-width:0 !important;
    height:100vh !important;
    max-height:100vh !important;
    transform:translateX(-100%) !important;
    transition:transform .2s ease !important;
    z-index:40 !important;
  }

  .side.open{
    transform:translateX(0) !important;
  }

  .main{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
  }

  .hamb{
    display:grid !important;
    width:42px !important;
    height:42px !important;
    flex:0 0 42px !important;
    place-items:center !important;
  }

  .mobile-nav-backdrop{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    background:rgba(0,0,0,.42) !important;
    z-index:39 !important;
    opacity:0 !important;
    pointer-events:none !important;
    transition:opacity .2s ease !important;
  }

  .mobile-nav-backdrop.open{
    opacity:1 !important;
    pointer-events:auto !important;
  }

  body.mobile-nav-open{
    overflow:hidden !important;
  }

  .content{
    padding:22px !important;
  }

  .kpis{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* Tablet portrait / smaller laptop */
@media (max-width:900px){

  .content{
    padding:18px !important;
  }

  .kpis{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }

  .grid2,
  .content > div[style*="grid-template-columns"],
  .content .card > div[style*="grid-template-columns"]{
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
  }

  .user > span{
    max-width:220px !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
  }
}

/* Mobile */
@media (max-width:720px){

  .side{
    width:min(285px,86vw) !important;
    max-width:86vw !important;
  }

  .top{
    height:62px !important;
    padding:0 12px !important;
    gap:8px !important;
  }

  .top h1{
    min-width:0 !important;
    max-width:42vw !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    white-space:nowrap !important;
    font-size:18px !important;
  }

  .top .user{
    max-width:none !important;
    min-width:0 !important;
    gap:6px !important;
  }

  .user > span{
    display:none !important;
  }

  .user .btn{
    padding:8px 9px !important;
    white-space:nowrap !important;
  }

  .i18n-language-wrap{
    max-width:105px !important;
  }

  #global-language-selector{
    min-width:88px !important;
    max-width:105px !important;
  }

  .content{
    padding:12px !important;
  }

  .kpis{
    grid-template-columns:minmax(0,1fr) !important;
    gap:10px !important;
  }

  .grid2,
  .content > div[style*="grid-template-columns"],
  .content .card > div[style*="grid-template-columns"]{
    grid-template-columns:minmax(0,1fr) !important;
  }

  .toolbar{
    flex-direction:column !important;
    align-items:stretch !important;
  }

  .toolbar .actions{
    width:100% !important;
  }
}

/* CONCEPTO EXHIBITFLOW — LOADING STATE CSS FIX v1.2 */
/* ================================================================
   CONCEPTO EXHIBITFLOW — LOADING STATE CSS FIX v1.2
   When #content is temporarily empty while an async module is loading,
   show a compact loading state instead of a large blank viewport.
   Once the module renders its HTML, this state disappears automatically.
   Responsive across desktop/tablet/mobile.
   ================================================================ */

.content:empty{
  min-height:clamp(180px,28vh,320px);
  display:grid;
  place-items:center;
  box-sizing:border-box;
}

.content:empty::before{
  content:"";
  width:100%;
  max-width:360px;
  min-height:150px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  box-shadow:0 3px 12px #10182808;
  box-sizing:border-box;
  background-image:
    radial-gradient(circle at 50% 42%, var(--navy) 0 14px, transparent 15px);
  background-repeat:no-repeat;
  background-position:center 42%;
}

.content:empty::after{
  content:"Loading";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  margin-top:118px;
  color:var(--navy);
  font-size:15px;
  font-weight:800;
  pointer-events:none;
}

@media(max-width:720px){
  .content:empty{
    min-height:160px;
  }

  .content:empty::before{
    max-width:300px;
    min-height:130px;
  }

  .content:empty::after{
    margin-top:102px;
  }
}

/* ================================================================
   CONCEPTO EXHIBFLOW — FINAL RESPONSIVE RENDER FIX v1.4
   Shared async-render loading state + right-aligned page actions.
   Does not change the dashboard/module markup.
   ================================================================ */

.ef-render-loading{
  width:100%;
  min-width:0;
  min-height:clamp(180px,24vh,300px);
  display:grid;
  place-items:center;
  box-sizing:border-box;
}

.ef-render-loading-card{
  width:min(360px,100%);
  padding:22px 20px;
  border:1px solid var(--line);
  border-radius:14px;
  background:var(--card);
  box-shadow:0 3px 12px #10182808;
  text-align:center;
  box-sizing:border-box;
}

.ef-render-spinner{
  width:30px;
  height:30px;
  margin:0 auto 11px;
  border:3px solid #dbe3f0;
  border-top-color:var(--navy);
  border-radius:50%;
  animation:ef-render-spin-v14 .8s linear infinite;
}

.ef-render-loading-title{
  color:var(--navy);
  font-weight:800;
  font-size:15px;
}

.ef-render-loading-text{
  color:var(--muted);
  font-size:12px;
  margin-top:5px;
}

@keyframes ef-render-spin-v14{
  to{transform:rotate(360deg)}
}

/* Page/module actions belong to the right side on desktop/tablet. */
.page-head{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  width:100% !important;
  min-width:0 !important;
}

.page-head > :first-child{
  min-width:0 !important;
  flex:1 1 auto !important;
}

.page-head > .btn,
.page-head > .actions{
  flex:0 0 auto !important;
  margin-left:auto !important;
}

.toolbar{
  min-width:0 !important;
}

.toolbar > .btn,
.toolbar > .actions{
  flex:0 0 auto !important;
  margin-left:auto !important;
}

@media(max-width:720px){
  .ef-render-loading{
    min-height:150px;
  }

  .page-head{
    align-items:flex-start !important;
    flex-wrap:wrap !important;
  }

  .page-head > .btn,
  .page-head > .actions{
    margin-left:auto !important;
    flex:0 0 auto !important;
  }

  .toolbar{
    flex-wrap:wrap !important;
  }
}


/* ================================================================
   CONCEPTO EXHIBFLOW — TOP MODULE NAVIGATION v1.0
   Permanent left sidebar is replaced by a full-width collapsible
   module navigation directly below the application header.
   ================================================================ */
.top-navigation-layout{
  display:block !important;
  min-height:100vh;
}

.top-navigation-layout .main{
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin-left:0 !important;
}

.top-navigation-layout .side,
.top-navigation-layout .mobile-nav-backdrop{
  display:none !important;
}

.top-module-nav-wrap{
  width:100%;
  box-sizing:border-box;
  padding:8px 28px 0;
  background:var(--bg);
}

.top-module-nav-bar{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  width:100%;
}

.top-module-nav-toggle{
  appearance:none;
  border:1px solid var(--line);
  background:var(--card);
  color:var(--navy);
  border-radius:10px;
  min-height:40px;
  padding:8px 14px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 1px 3px #1018280d;
}

.top-module-nav-toggle:hover{
  border-color:#c8d2e2;
  background:#f8fafc;
}

.top-module-nav-toggle-icon{
  font-size:16px;
  line-height:1;
}

.top-module-nav-toggle-chevron{
  font-size:11px;
  opacity:.75;
}

.top-module-nav-panel{
  width:100%;
  margin-top:8px;
  padding:12px;
  box-sizing:border-box;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:0 2px 8px #1018280a;
}

.top-module-nav-panel.is-hidden{
  display:none !important;
}

.top-module-nav-panel .nav{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center;
  gap:8px;
  width:100%;
}

.top-module-nav-panel .nav > button{
  flex:0 0 auto;
  width:auto !important;
  min-height:38px;
  padding:8px 13px !important;
  margin:0 !important;
  border:1px solid #d8e0eb !important;
  border-radius:9px !important;
  background:#fff !important;
  color:var(--text) !important;
  text-align:center !important;
  white-space:nowrap;
  cursor:pointer;
  box-sizing:border-box;
}

.top-module-nav-panel .nav > button:hover{
  background:#f5f8fc !important;
}

.top-module-nav-panel .nav > button.active{
  background:var(--navy) !important;
  border-color:var(--navy) !important;
  color:#fff !important;
}

@media(max-width:1000px){
  .top-module-nav-wrap{
    padding:8px 22px 0;
  }
}

@media(max-width:720px){
  .top-module-nav-wrap{
    padding:8px 16px 0;
  }

  .top-module-nav-panel{
    padding:10px;
  }

  .top-module-nav-panel .nav{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }

  .top-module-nav-panel .nav > button{
    width:100% !important;
    min-width:0;
    white-space:normal;
    line-height:1.2;
    min-height:42px;
    padding:8px 9px !important;
  }
}

@media(max-width:420px){
  .top-module-nav-panel .nav{
    grid-template-columns:1fr;
  }
}


/* ================================================================
   CONCEPTO EXHIBFLOW — TOP NAVIGATION STRUCTURAL LAYOUT FIX v1.1
   UI-only structural correction for the collapsible top navigation.
   Prevents flex/min-height/justify-content rules from creating a large
   vertical gap between navigation and page content.
   ================================================================ */
.top-navigation-layout,
.top-navigation-layout *{
  box-sizing:border-box;
}

.top-navigation-layout{
  display:block !important;
  width:100% !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
}

.top-navigation-layout .main{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  margin:0 !important;
  padding:0 !important;
  flex:0 0 auto !important;
  align-self:stretch !important;
  position:relative !important;
}

.top-navigation-layout .top{
  display:flex !important;
  width:100% !important;
  min-width:0 !important;
  height:70px !important;
  min-height:70px !important;
  max-height:none !important;
  flex:0 0 auto !important;
  margin:0 !important;
  padding:0 30px !important;
  position:sticky !important;
  top:0 !important;
  z-index:30 !important;
  justify-content:space-between !important;
  align-items:center !important;
}

.top-navigation-layout .top > div:first-child{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  min-width:0 !important;
  visibility:visible !important;
  opacity:1 !important;
}

.top-navigation-layout .top h1{
  display:block !important;
  visibility:visible !important;
  opacity:1 !important;
  margin:0 !important;
}

.top-module-nav-wrap{
  position:static !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:8px 28px 0 !important;
  flex:0 0 auto !important;
  align-self:stretch !important;
  transform:none !important;
  float:none !important;
}

.top-module-nav-bar{
  position:static !important;
  display:flex !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

.top-module-nav-panel{
  position:static !important;
  display:block !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin:8px 0 0 !important;
  transform:none !important;
  float:none !important;
}

.top-module-nav-panel.is-hidden{
  display:none !important;
}

.top-navigation-layout .content,
.top-navigation-layout #content{
  display:block !important;
  position:static !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  max-height:none !important;
  margin:0 !important;
  padding:28px !important;
  flex:0 0 auto !important;
  align-self:stretch !important;
  transform:none !important;
  float:none !important;
  overflow:visible !important;
}

.top-navigation-layout .content > *:first-child,
.top-navigation-layout #content > *:first-child{
  margin-top:0 !important;
}

@media(max-width:1000px){
  .top-navigation-layout .top{
    padding:0 22px !important;
  }

  .top-module-nav-wrap{
    padding:8px 22px 0 !important;
  }

  .top-navigation-layout .content,
  .top-navigation-layout #content{
    padding:22px !important;
  }
}

@media(max-width:720px){
  .top-navigation-layout .top{
    height:58px !important;
    min-height:58px !important;
    padding:0 16px !important;
  }

  .top-module-nav-wrap{
    padding:8px 16px 0 !important;
  }

  .top-navigation-layout .content,
  .top-navigation-layout #content{
    padding:16px !important;
  }
}

@media(max-width:480px){
  .top-navigation-layout .top{
    padding:0 10px !important;
  }

  .top-module-nav-wrap{
    padding:8px 10px 0 !important;
  }

  .top-navigation-layout .content,
  .top-navigation-layout #content{
    padding:12px !important;
  }
}

/* ================================================================
   CONCEPTO EXHIBFLOW — PREMIUM UI REDESIGN v2.0
   Navy #011A5E + Gold #C89022. Visual-only shell/dashboard upgrade.
   Existing routes, permissions, APIs and module renderers remain intact.
   ================================================================ */
:root{
  --navy:#011A5E;
  --navy-2:#082a73;
  --gold:#C89022;
  --gold-soft:#f7ead0;
  --ink:#13213f;
  --muted:#667085;
  --bg:#f5f8fc;
  --card:#fff;
  --line:#e5eaf2;
  --success:#15966a;
  --danger:#dc3545;
  --shadow:0 8px 28px rgba(1,26,94,.08);
}
body{background:linear-gradient(180deg,#f7faff 0%,#f4f7fb 100%);color:var(--ink)}
.btn{border:1px solid transparent;border-radius:10px;padding:10px 15px;background:var(--navy);color:#fff;font-weight:750;box-shadow:0 3px 9px rgba(1,26,94,.12);transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
.btn:hover{background:var(--gold);color:#fff;border-color:var(--gold);transform:translateY(-1px);box-shadow:0 7px 16px rgba(200,144,34,.22)}
.btn.gold{background:var(--navy);color:#fff}
.btn.gold:hover{background:var(--gold);color:#fff}
.btn.light{background:#f3f6fb;color:var(--navy);border-color:#dbe4f1;box-shadow:none}
.btn.light:hover{background:#fff3d9;color:var(--navy);border-color:#e5c27c}
.btn.danger{background:#fff0f1;color:#b42318;border-color:#ffd2d6;box-shadow:none}

.layout.exhibitflow-shell{min-height:100vh;display:flex;min-width:0;width:100%;background:var(--bg)}
.exhibitflow-shell .side{width:230px;background:linear-gradient(180deg,#021d68 0%,#01154e 100%);color:#fff;padding:18px 10px 12px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:10;box-shadow:12px 0 35px rgba(1,26,94,.12);overflow-y:auto}
.exhibitflow-shell .brand{display:flex;align-items:center;gap:10px;padding:8px 10px 18px;border-bottom:1px solid rgba(255,255,255,.12)}
.exhibitflow-shell .brand img{width:48px;height:48px;object-fit:contain;background:#fff;border-radius:10px;padding:3px}
.exhibitflow-shell .brand-copy{min-width:0;display:flex;flex-direction:column}
.exhibitflow-shell .brand-copy strong{font-size:19px;line-height:1;color:#fff;letter-spacing:.04em}
.exhibitflow-shell .brand-copy span{font-size:8px;line-height:1.35;color:#fff;margin-top:5px;letter-spacing:.04em;white-space:nowrap}
.exhibitflow-shell .brand-copy small{font-size:7px;color:#e6b75a;letter-spacing:.08em;margin-top:3px}
.exhibitflow-shell .side-caption{font-size:9px;font-weight:800;letter-spacing:.16em;color:#8fa3cf;padding:18px 12px 7px}
.exhibitflow-shell .nav{padding:0;display:flex;flex-direction:column;gap:3px}
.exhibitflow-shell .nav button{display:flex;align-items:center;gap:12px;width:100%;border:1px solid transparent;background:transparent;color:#dce6fa;padding:10px 12px;border-radius:10px;margin:0;text-align:left;font-size:13px;font-weight:650;transition:background .18s ease,color .18s ease,transform .18s ease,border-color .18s ease}
.exhibitflow-shell .nav button:hover{background:rgba(200,144,34,.16);color:#fff;border-color:rgba(200,144,34,.25);transform:translateX(2px)}
.exhibitflow-shell .nav button.active{background:linear-gradient(135deg,#fff 0%,#f8fbff 100%);color:var(--navy);box-shadow:0 7px 18px rgba(0,0,0,.14);position:relative}
.exhibitflow-shell .nav button.active:after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:3px;background:var(--gold);border-radius:4px 4px 0 0}
.nav-icon{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.exhibitflow-shell .nav button.active .nav-icon{color:var(--navy)}
.nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.side-brand-signature{margin-top:auto;padding:22px 14px 8px;color:#e3aa43;font-size:19px;line-height:1.1;font-style:italic;font-family:cursive;transform:rotate(-4deg);opacity:.95}
.exhibitflow-shell .footer{padding:8px 12px 2px;color:#7e92bc;font-size:10px}
.exhibitflow-shell .main{margin-left:230px;flex:1;min-width:0;max-width:calc(100% - 230px);width:auto}
.exhibitflow-shell .top{height:68px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:9;min-width:0;max-width:100%;overflow:visible;backdrop-filter:blur(12px)}
.top-left,.top-actions{display:flex;align-items:center;gap:14px;min-width:0}
.global-search-wrap{position:relative;width:min(570px,42vw)}
.global-search-icon{position:absolute;left:13px;top:50%;transform:translateY(-50%);font-size:22px;color:#7890b8;pointer-events:none}
.global-search{width:100%;height:40px;border:1px solid #dce4f0;border-radius:9px;background:#f6f8fc;color:var(--ink);padding:0 14px 0 38px;outline:none;box-shadow:inset 0 1px 2px rgba(1,26,94,.03)}
.global-search:focus{border-color:#a9b9d6;background:#fff;box-shadow:0 0 0 3px rgba(1,26,94,.08)}
.header-quick-add{border:0;border-radius:9px;background:var(--navy);color:#fff;height:40px;padding:0 13px;font-weight:750;box-shadow:0 5px 14px rgba(1,26,94,.16);transition:.18s ease}
.header-quick-add:hover{background:var(--gold);transform:translateY(-1px)}
.header-quick-add span{font-size:19px;vertical-align:-1px}.header-quick-add b{margin-left:8px;font-size:11px}
.header-icon-btn{position:relative;width:40px;height:40px;border:1px solid #e0e7f1;border-radius:10px;background:#fff;color:var(--navy);font-size:20px}
.header-icon-btn:hover{border-color:#e5c27c;background:#fff8eb;color:var(--gold)}
.notification-badge{position:absolute;right:-3px;top:-4px;min-width:16px;height:16px;border-radius:999px;background:#e33445;color:#fff;font:700 9px/16px system-ui;text-align:center;border:2px solid #fff}
.profile-menu{position:relative}.profile-trigger{border:0;background:transparent;display:flex;align-items:center;gap:9px;padding:4px 5px;border-radius:10px;color:var(--ink)}.profile-trigger:hover{background:#f2f5fa}.profile-text{display:flex;flex-direction:column;text-align:left;line-height:1.15}.profile-text b{font-size:13px}.profile-text small{font-size:10px;color:var(--muted);margin-top:3px;text-transform:capitalize}.profile-chevron{color:#6b7b99;font-size:13px;margin-left:3px}
.profile-dropdown{display:none;position:absolute;right:0;top:50px;width:280px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 45px rgba(1,26,94,.16);padding:8px;z-index:30}.profile-menu.open .profile-dropdown{display:block}.profile-dropdown-head{display:flex;align-items:center;gap:10px;padding:10px;border-bottom:1px solid var(--line);margin-bottom:5px}.profile-dropdown-head div{display:flex;flex-direction:column;min-width:0}.profile-dropdown-head small{font-size:11px;color:var(--muted);margin-top:3px;overflow:hidden;text-overflow:ellipsis}.profile-dropdown button{display:block;width:100%;border:0;background:transparent;text-align:left;padding:10px 11px;border-radius:8px;color:var(--ink);font-weight:600}.profile-dropdown button:hover{background:#f4f7fb;color:var(--navy)}.profile-dropdown .profile-danger{color:#b42318}.profile-dropdown .profile-danger:hover{background:#fff0f1}
.avatar-photo{object-fit:cover!important;display:block}.header-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#e8eef8;color:var(--navy);font-weight:800;overflow:hidden}.profile-dropdown-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#e8eef8;color:var(--navy);font-weight:800;overflow:hidden}
.page-context{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:22px 28px 6px;max-width:1600px;margin:0 auto}.page-context .eyebrow{font-size:9px;font-weight:850;letter-spacing:.18em;color:#6f83ab}.page-context h1{font-size:27px;line-height:1.1;color:var(--navy);margin:5px 0 0}.page-context p{margin:5px 0 0;color:var(--muted);font-size:13px}.context-date{display:flex;align-items:center;gap:9px;border:1px solid #dce4f0;background:#fff;border-radius:9px;padding:10px 13px;font-size:12px;color:var(--navy);font-weight:700;box-shadow:0 2px 8px rgba(1,26,94,.04)}.context-date b{color:#71809b;margin-left:3px}

.context-date.dashboard-period-control{cursor:pointer;}
.context-date.dashboard-period-control select{border:0;outline:none;background:transparent;color:var(--navy);font-size:12px;font-weight:800;cursor:pointer;padding:0 18px 0 0;appearance:auto;}
.ref-dashboard-widgets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start;}
.ref-dashboard-widgets-grid.dashboard-cols-1{grid-template-columns:1fr;}
.ref-dashboard-widgets-grid.dashboard-cols-2{grid-template-columns:repeat(2,minmax(0,1fr));}
.ref-dashboard-widgets-grid.dashboard-cols-3{grid-template-columns:repeat(3,minmax(0,1fr));}
.ref-dashboard-widgets-grid > [data-dashboard-widget]{min-width:0;}
.dashboard-drag-handle{cursor:grab;font-weight:900;letter-spacing:-2px;}
.dashboard-drag-handle:active{cursor:grabbing;}
.dashboard-widget-dragging{opacity:.58;}
.dashboard-widget-drag-over{outline:2px dashed #c89022;outline-offset:2px;}
.dashboard-widget-options{display:flex;flex-direction:column;gap:8px;}
.dashboard-widget-option{display:flex;align-items:center;gap:10px;min-height:58px;border:1px solid #dce4f0;background:#fff;border-radius:11px;padding:10px 12px;cursor:grab;transition:.15s ease;}
.dashboard-widget-option:hover{border-color:#c7d3e4;box-shadow:0 5px 16px rgba(1,26,94,.06);}
.dashboard-widget-option-dragging{opacity:.5;}
.dashboard-widget-option-drag-over{border-color:#c89022;box-shadow:0 0 0 2px rgba(200,144,34,.12);}
.dashboard-widget-drag-handle{width:24px;flex:0 0 24px;text-align:center;font-size:17px;line-height:1;color:#7890b3;user-select:none;cursor:grab;}
.dashboard-widget-option > span:not(.dashboard-widget-drag-handle){min-width:0;}
.dashboard-widget-option small{display:block;margin-top:3px;color:#7b879c;font-size:10px;}
.ref-attendance-panel{min-height:100%;}
.dashboard-attendance-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px;}
.dashboard-attendance-card{border:1px solid #e1e8f2;border-radius:11px;padding:12px;background:#f8faff;}
.dashboard-attendance-card span{display:block;color:#6d7f9c;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;}
.dashboard-attendance-card strong{display:block;margin-top:5px;color:var(--navy);font-size:18px;line-height:1.1;}
.dashboard-attendance-card strong.positive{color:#11865b;}
.dashboard-attendance-card strong.negative{color:#c23b3b;}
.dashboard-attendance-card small{display:block;margin-top:5px;color:#8290a8;font-size:10px;}
.ref-attendance-link-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px;}
@media (max-width:1100px){.ref-dashboard-widgets-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.ref-dashboard-widgets-grid.dashboard-cols-3{grid-template-columns:repeat(2,minmax(0,1fr));}.dashboard-attendance-overview{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:720px){.ref-dashboard-widgets-grid,.ref-dashboard-widgets-grid.dashboard-cols-1,.ref-dashboard-widgets-grid.dashboard-cols-2,.ref-dashboard-widgets-grid.dashboard-cols-3{grid-template-columns:1fr;}.dashboard-attendance-overview{grid-template-columns:1fr;}.ref-attendance-link-row{align-items:flex-start;flex-direction:column;}}

.exhibitflow-shell .content{padding:16px 28px 30px;min-width:0;max-width:1600px;margin:0 auto;overflow-x:visible}
.dashboard-hero{position:relative;display:flex;justify-content:space-between;align-items:center;min-height:106px;margin-bottom:16px;padding:24px 28px;border-radius:16px;overflow:hidden;background:linear-gradient(110deg,#031c65 0%,#0a2d77 48%,#eaf0fa 48.2%,#fff 100%);box-shadow:var(--shadow)}
.dashboard-hero:after{content:"";position:absolute;right:17%;top:-70px;width:250px;height:250px;border-radius:50%;background:rgba(200,144,34,.09)}
.dashboard-hero-copy{position:relative;z-index:1;color:#fff;max-width:65%}.dashboard-hero-kicker{font-size:10px;letter-spacing:.2em;font-weight:800;color:#d7a64d}.dashboard-hero h2{margin:5px 0 4px;font-size:25px;color:#fff}.dashboard-hero p{margin:0;color:#dce6fa;font-size:12px;line-height:1.5}.dashboard-hero-logo{position:relative;z-index:2;width:215px;max-height:66px;object-fit:contain;background:rgba(255,255,255,.92);border-radius:10px;padding:8px 14px;box-shadow:0 8px 24px rgba(1,26,94,.12)}
.ef-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:16px}.ef-kpi{position:relative;text-align:left;border:1px solid var(--line);background:#fff;border-radius:13px;padding:15px 15px 14px;min-height:128px;box-shadow:0 4px 14px rgba(1,26,94,.055);cursor:pointer;transition:.18s ease;overflow:hidden}.ef-kpi:hover{transform:translateY(-2px);border-color:#d2dbea;box-shadow:0 10px 24px rgba(1,26,94,.10)}.ef-kpi:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#dbe4f3}.ef-kpi:hover:after{background:var(--gold)}.ef-kpi-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#edf3ff;color:#1f6feb;font-weight:850;font-size:15px;margin-bottom:10px}.ef-kpi-icon.green{background:#e7f8f0;color:#15966a}.ef-kpi-icon.purple{background:#f0eaff;color:#7655c8}.ef-kpi-icon.gold{background:#fff3d9;color:#a66f00}.ef-kpi-icon.navy{background:#e9eef8;color:var(--navy)}.ef-kpi-label{display:block;color:#5e6b82;font-size:11px;font-weight:700}.ef-kpi-value{display:block;color:var(--navy);font-size:23px;line-height:1.15;margin-top:6px}.ef-kpi-sub{display:block;color:#8490a5;font-size:10px;margin-top:5px}.ef-kpi-arrow{position:absolute;right:13px;top:15px;color:#9aa7bc;font-size:15px}
.dashboard-main-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:16px}.dashboard-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.ef-panel{padding:18px}.ef-panel-head{margin-bottom:12px}.ef-panel-head h2{margin:0;color:var(--navy);font-size:15px}.ef-panel-head p{margin:3px 0 0;color:#8a96aa;font-size:11px}.ef-live-dot{font-size:10px;color:#15966a;background:#e8f8f0;padding:5px 8px;border-radius:999px;font-weight:800}.ef-live-dot:before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:#15966a;margin-right:5px}
.ef-task-list,.ef-activity-list{display:flex;flex-direction:column}.ef-task-row{display:flex;align-items:center;gap:10px;padding:10px 2px;border-top:1px solid #edf1f6}.ef-task-row:first-child,.ef-activity-row:first-child{border-top:0}.ef-check{width:17px;height:17px;border:1.5px solid #bdc8d9;border-radius:5px;flex:0 0 auto}.ef-task-main{display:flex;flex-direction:column;min-width:0;flex:1}.ef-task-main b{font-size:12px;color:#1a2947;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ef-task-main small,.ef-activity-row small{font-size:10px;color:#8a96aa;margin-top:3px}.ef-task-date{font-size:10px;color:#667085;white-space:nowrap}.ef-activity-row{display:flex;gap:10px;padding:10px 2px;border-top:1px solid #edf1f6}.ef-activity-icon{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#edf3ff;color:var(--navy);font-size:11px;font-weight:850;flex:0 0 auto}.ef-activity-row div{display:flex;flex-direction:column;min-width:0}.ef-activity-row b{font-size:11px;color:#1a2947;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ef-attendance-box{padding-top:2px}.ef-attendance-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.ef-attendance-grid>div{padding:12px;border:1px solid #e9eef5;border-radius:10px;background:#fbfcfe}.ef-attendance-grid span{display:block;color:#8995aa;font-size:10px}.ef-attendance-grid strong{display:block;color:var(--navy);font-size:16px;margin-top:6px}.ef-attendance-action{display:flex!important;align-items:center;justify-content:center}.ef-quick-actions{display:flex;flex-wrap:wrap;gap:8px}.ef-quick-actions .btn{font-size:11px;padding:8px 11px}
.exhibitflow-shell .card,.exhibitflow-shell .kpi{background:var(--card);border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 14px rgba(1,26,94,.055)}
.exhibitflow-shell .table th{color:#72809a}.exhibitflow-shell .table td{color:#263754}.exhibitflow-shell .table tr:hover td{background:#fbfcff}

@media(max-width:1250px){.ef-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.global-search-wrap{width:min(450px,40vw)}}
@media(max-width:1000px){.exhibitflow-shell .side{width:215px}.exhibitflow-shell .main{margin-left:215px;max-width:calc(100% - 215px)}.ef-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid,.dashboard-bottom-grid{grid-template-columns:1fr}.profile-text{display:none}.global-search-wrap{width:min(420px,48vw)}}
@media(max-width:720px){.exhibitflow-shell .side{width:270px;transform:translateX(-100%);transition:transform .2s ease;z-index:20}.exhibitflow-shell .side.open{transform:none}.exhibitflow-shell .main{margin-left:0;max-width:100%}.exhibitflow-shell .top{height:62px;padding:0 12px}.top-actions{gap:6px}.global-search-wrap{display:none}.header-quick-add{height:38px;padding:0 10px;font-size:11px}.header-icon-btn{width:36px;height:36px}.profile-chevron{display:none}.page-context{padding:17px 16px 5px;align-items:flex-start}.page-context h1{font-size:23px}.context-date{display:none}.exhibitflow-shell .content{padding:12px 16px 24px}.dashboard-hero{min-height:145px;padding:20px;background:linear-gradient(145deg,#031c65,#0a2d77)}.dashboard-hero-copy{max-width:100%}.dashboard-hero-logo{display:none}.ef-kpis{grid-template-columns:1fr 1fr;gap:9px}.ef-kpi{min-height:118px;padding:13px}.ef-kpi-value{font-size:20px}.ef-attendance-grid{grid-template-columns:1fr 1fr}.profile-dropdown{right:-35px;width:260px}.hamb{display:block;background:transparent;border:0;color:var(--navy);font-size:22px;width:34px;height:34px}.side-brand-signature{margin-top:22px}}



/* ================================================================
   CONCEPTO EXHIBITFLOW - APPROVED REFERENCE DASHBOARD v3.0
   Presentation-only. Existing modules, APIs, permissions and auth remain intact.
   ================================================================ */
:root{
  --navy:#011A5E;
  --gold:#C89022;
  --ref-blue:#1478f2;
  --ref-green:#20a77a;
  --ref-red:#f04444;
}
.exhibitflow-shell .side{
  width:230px;
  background:linear-gradient(180deg,#021d68 0%,#01154e 100%);
}
.exhibitflow-shell .main{
  margin-left:230px;
  max-width:calc(100% - 230px);
}
.exhibitflow-shell .nav button.active{
  background:linear-gradient(135deg,#C89022 0%,#dba738 100%);
  color:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.14);
}
.exhibitflow-shell .nav button.active:after{display:none}
.exhibitflow-shell .nav button:hover{
  background:rgba(200,144,34,.22);
  border-color:rgba(200,144,34,.35);
}
.ref-dashboard{width:100%}
.ref-kpi-grid{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:10px;
  margin-bottom:10px;
}
.ref-kpi{
  position:relative;
  min-width:0;
  min-height:124px;
  border:1px solid #e1e7f0;
  background:#fff;
  border-radius:9px;
  padding:14px 12px 11px;
  text-align:left;
  color:var(--navy);
  box-shadow:0 4px 13px rgba(1,26,94,.07);
  overflow:hidden;
}
.ref-kpi:hover{transform:translateY(-1px);border-color:#cfd9e8;box-shadow:0 8px 20px rgba(1,26,94,.11)}
.ref-kpi-top{display:flex;align-items:center;gap:9px;min-width:0}
.ref-kpi-icon{width:28px;height:28px;flex:0 0 28px;padding:5px;border-radius:8px;stroke:currentColor;fill:none;stroke-width:2}
.ref-kpi-icon.blue{background:#e9f2ff;color:#1478f2}
.ref-kpi-icon.green{background:#e5f8f1;color:#15966a}
.ref-kpi-icon.red{background:#fff0f0;color:#f04444}
.ref-kpi-icon.purple{background:#efeaff;color:#7858d4}
.ref-kpi-icon.gray{background:#edf1f5;color:#64748b}
.ref-kpi-label{font-size:10px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref-kpi-value{display:block;font-size:22px;line-height:1.15;margin-top:10px;color:var(--navy);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ref-kpi-delta{display:block;font-size:10px;font-weight:800;margin-top:7px}
.ref-kpi-delta small{font-size:9px;font-weight:500;color:#71809a;margin-left:3px}
.ref-kpi-delta.up{color:#15966a}.ref-kpi-delta.down{color:#e04444}
.ref-spark{position:absolute;right:10px;bottom:18px;height:25px;width:39px;display:flex;align-items:flex-end;gap:3px}
.ref-spark i{display:block;width:5px;border-radius:3px;background:#1478f2;transform:skewY(-25deg)}
.ref-spark i:nth-child(1){height:8px}.ref-spark i:nth-child(2){height:13px}.ref-spark i:nth-child(3){height:10px}.ref-spark i:nth-child(4){height:18px}.ref-spark i:nth-child(5){height:24px}
.ref-spark.spark-down i{background:#f5a623}
.ref-chart-grid{
  display:grid;
  grid-template-columns:1.35fr 1fr 1.05fr;
  gap:10px;
  margin-bottom:10px;
}
.ref-panel{padding:13px 13px 10px;min-width:0}
.ref-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}
.ref-panel-head h2{margin:0;color:var(--navy);font-size:14px;line-height:1.2}
.ref-panel-head>span{font-size:10px;color:#6e7e9c}
.ref-panel-head>button{border:0;background:transparent;color:#0068e8;font-size:10px;padding:2px;cursor:pointer}
.ref-chart-key{display:flex;gap:12px;font-size:9px;color:#60708e;white-space:nowrap}
.ref-chart-key span{display:flex;align-items:center;gap:4px}
.ref-chart-key i{display:inline-block;width:9px;height:9px;border-radius:2px}
.ref-chart-key .blue{background:#0d4fc4}.ref-chart-key .gold{background:#c89022}
.ref-chart-svg{width:100%;height:190px;display:block}
.ref-chart-svg .grid-lines line{stroke:#dce4ee;stroke-width:1}
.ref-chart-svg text{font-size:9px;fill:#6c7c98}
.ref-funnel-svg{width:100%;height:190px;display:block}
.ref-funnel-svg text{font-size:10px;fill:#19355f}

.ref-funnel-panel{
  overflow:hidden;
}

.ref-pipeline-head{
  align-items:flex-start;
}

.ref-pipeline-head h2{
  margin:0;
}

.ref-pipeline-subtitle{
  display:block;
  margin-top:3px;
  font-size:10px;
  color:#6f7f98;
}

.ref-pipeline-total{
  white-space:nowrap;
  padding:6px 9px;
  border-radius:7px;
  background:#eef4ff;
  color:#1459bb;
  font-size:10px;
}

.ref-pipeline-total b{
  font-size:13px;
}

.ref-pipeline-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin:7px 0 8px;
}

.ref-pipeline-summary-card{
  min-width:0;
  border-radius:7px;
  padding:7px 8px;
  background:#f6f9fd;
  border:1px solid #e8eef7;
}

.ref-pipeline-summary-card span{
  display:block;
  font-size:8px;
  color:#72819a;
  margin-bottom:2px;
}

.ref-pipeline-summary-card strong{
  display:block;
  font-size:13px;
  color:#011A5E;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ref-pipeline-summary-card.blue{
  background:#eef5ff;
}

.ref-pipeline-summary-card.gold{
  background:#fff8e8;
}

.ref-pipeline-summary-card.green{
  background:#edf9f3;
}

.ref-pipeline-main{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(125px,.95fr);
  gap:7px;
  align-items:stretch;
  min-height:208px;
}

.ref-funnel-visual{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #edf1f6;
  border-radius:8px;
  background:linear-gradient(
    180deg,
    #fbfdff 0%,
    #f8fbff 100%
  );
  overflow:hidden;
}

.ref-funnel-svg{
  width:100%;
  height:210px;
  display:block;
}

.ref-funnel-segment{
  transition:
    opacity .16s ease,
    filter .16s ease;
}

.ref-funnel-segment:hover{
  opacity:.9;
  filter:brightness(1.04);
}

.ref-funnel-svg .ref-funnel-stage-name{
  font-size:9px;
  font-weight:800;
  fill:#fff;
  pointer-events:none;
}

.ref-funnel-svg .ref-funnel-stage-detail{
  font-size:7px;
  font-weight:700;
  fill:rgba(255,255,255,.94);
  pointer-events:none;
}

.ref-funnel-svg .ref-funnel-conversion{
  font-size:7px;
  font-weight:800;
  fill:#637391;
}

.ref-pipeline-list{
  min-width:0;
  border:1px solid #edf1f6;
  border-radius:8px;
  background:#fff;
  overflow:hidden;
}

.ref-pipeline-list-head{
  display:grid;
  grid-template-columns:1fr 34px 54px;
  gap:4px;
  padding:7px 7px 6px;
  background:#f7f9fc;
  border-bottom:1px solid #edf1f6;
  color:#71819b;
  font-size:7px;
  font-weight:800;
  text-transform:uppercase;
}

.ref-pipeline-list-head span:nth-child(2),
.ref-pipeline-list-head span:nth-child(3){
  text-align:right;
}

.ref-pipeline-row{
  width:100%;
  display:grid;
  grid-template-columns:1fr 30px 54px;
  gap:4px;
  align-items:center;
  border:0;
  border-bottom:1px solid #edf1f6;
  background:#fff;
  padding:6px 7px;
  color:#18365e;
  font:inherit;
  font-size:8px;
  text-align:left;
  cursor:pointer;
  transition:
    background .15s ease,
    padding-left .15s ease;
}

.ref-pipeline-row:last-child{
  border-bottom:0;
}

.ref-pipeline-row:hover{
  background:#f7faff;
  padding-left:9px;
}

.ref-pipeline-stage{
  min-width:0;
  display:flex;
  align-items:center;
  gap:5px;
  overflow:hidden;
}

.ref-pipeline-stage span:last-child{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ref-pipeline-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  flex:0 0 7px;
}

.ref-pipeline-row strong{
  color:#011A5E;
  text-align:right;
}

.ref-pipeline-value{
  color:#71809a;
  text-align:right;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ref-pipeline-footer{
  display:grid;
  grid-template-columns:1fr 1fr 1fr auto;
  gap:6px;
  align-items:center;
  margin-top:7px;
  padding:8px;
  border-radius:8px;
  background:linear-gradient(
    90deg,
    #f5f9ff 0%,
    #f9fbfd 100%
  );
  border:1px solid #edf1f6;
}

.ref-pipeline-footer-metric{
  min-width:0;
  padding-right:7px;
  border-right:1px solid #dde5ef;
}

.ref-pipeline-footer-metric span{
  display:block;
  font-size:7px;
  color:#71819b;
  margin-bottom:2px;
}

.ref-pipeline-footer-metric strong{
  display:block;
  font-size:12px;
  color:#011A5E;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ref-pipeline-footer-metric small{
  display:block;
  font-size:7px;
  color:#8693a8;
  margin-top:1px;
}

.ref-pipeline-footer-metric.won strong{
  color:#159B56;
}

.ref-pipeline-footer-metric.lost strong{
  color:#D94A4A;
}

.ref-pipeline-view-all{
  border:0;
  background:#011A5E;
  color:#fff;
  border-radius:7px;
  padding:9px 10px;
  display:flex;
  align-items:center;
  gap:8px;
  font:700 8px inherit;
  cursor:pointer;
  white-space:nowrap;
  transition:
    background .16s ease,
    transform .16s ease;
}

.ref-pipeline-view-all b{
  font-size:14px;
  line-height:1;
}

.ref-pipeline-view-all:hover{
  background:#C89022;
  transform:translateY(-1px);
}

@media(max-width:1250px){
  .ref-pipeline-main{
    grid-template-columns:minmax(0,1fr);
  }

  .ref-pipeline-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .ref-pipeline-list-head{
    display:none;
  }

  .ref-pipeline-row{
    border-right:1px solid #edf1f6;
  }

  .ref-pipeline-footer{
    grid-template-columns:1fr 1fr;
  }

  .ref-pipeline-view-all{
    justify-content:center;
  }
}

@media(max-width:720px){
  .ref-pipeline-summary{
    grid-template-columns:1fr;
  }

  .ref-pipeline-main{
    grid-template-columns:1fr;
  }

  .ref-pipeline-list{
    grid-template-columns:1fr;
  }

  .ref-pipeline-footer{
    grid-template-columns:1fr;
  }

  .ref-pipeline-footer-metric{
    border-right:0;
    border-bottom:1px solid #dde5ef;
    padding:0 0 6px;
  }

  .ref-pipeline-view-all{
    width:100%;
  }
}
.ref-donut-wrap{display:flex;align-items:center;justify-content:center;gap:10px;min-height:190px}
.ref-donut{width:190px;flex:0 0 190px}
.ref-donut svg{width:100%;height:auto}
.ref-donut text:first-of-type{font-size:17px;font-weight:800;fill:var(--navy)}
.ref-donut text:last-of-type{font-size:9px;fill:#687896}
.ref-legend{width:125px}
.ref-legend-row{display:flex;gap:8px;align-items:flex-start;margin:9px 0}
.ref-dot{width:11px;height:11px;border-radius:50%;flex:0 0 11px;margin-top:2px}
.ref-legend-row b{display:block;font-size:10px;color:#1b3762}
.ref-legend-row small{display:block;font-size:9px;color:#63728e;margin-top:2px}
.ref-table-grid{
  display:grid;
  grid-template-columns:1.45fr 1fr 1fr;
  gap:10px;
  margin-bottom:10px;
}
.ref-bottom-grid{
  display:grid;
  grid-template-columns:1.15fr .9fr 1.1fr;
  gap:10px;
}
.ref-table-wrap{overflow:auto}
.ref-table{width:100%;border-collapse:collapse;font-size:10px}
.ref-table th,.ref-table td{padding:7px 5px;border-bottom:1px solid #edf1f6;text-align:left;white-space:nowrap}
.ref-table th{background:#f7f9fc;color:#5e708f;font-size:9px;font-weight:700}
.ref-table td{color:#25416b}
.ref-table td:first-child{color:#0068e8;font-weight:600}
.ref-status{display:inline-block;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:700;background:#eaf2ff;color:#1766ca}
.ref-status.prod{background:#dff3ff;color:#1478c9}.ref-status.design{background:#fff0d3;color:#b47708}.ref-status.planning{background:#e6f0ff;color:#1c72c7}.ref-status.quotation{background:#ffe7e7;color:#e04444}.ref-status.hold{background:#edf1f6;color:#5f6d83}.ref-status.paid{background:#dcf7e8;color:#168253}.ref-status.overdue{background:#ffe2e2;color:#dc3333}
.ref-empty{padding:18px 6px!important;text-align:center!important;color:#8b98ad!important;font-weight:500!important}
.ref-activity{display:flex;flex-direction:column}
.ref-activity-row{display:flex;align-items:center;gap:8px;padding:8px 2px;border-bottom:1px solid #edf1f6}
.ref-activity-row:last-child{border-bottom:0}
.ref-activity-bubble{width:27px;height:27px;border-radius:50%;display:grid;place-items:center;flex:0 0 27px;font-size:10px;font-weight:800;background:#e9f2ff;color:#1478f2}
.ref-activity-bubble.b1{background:#e5f8f1;color:#15966a}.ref-activity-bubble.b2{background:#fff2dc;color:#c89022}.ref-activity-bubble.b3{background:#efeaff;color:#7858d4}
.ref-activity-row div{min-width:0}.ref-activity-row b{display:block;font-size:9px;color:#213b63;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ref-activity-row small{display:block;font-size:8px;color:#7b89a1;margin-top:2px}
.ref-events{display:flex;flex-direction:column}
.ref-event{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #edf1f6}
.ref-event:last-child{border-bottom:0}
.ref-event-date{width:48px;flex:0 0 48px;background:#edf3ff;border-radius:5px;text-align:center;padding:4px 2px;color:#0d4fc4}
.ref-event-date b{display:block;font-size:8px}.ref-event-date strong{display:block;font-size:16px;line-height:1.1}
.ref-event>div:last-child{min-width:0}.ref-event>div:last-child>b{display:block;font-size:10px;color:#213b63}.ref-event small{display:block;color:#71809a;font-size:8px;margin-top:4px}
.ref-task-table{font-size:9px}
.ref-task-head,.ref-task-row{display:grid;grid-template-columns:1fr 72px 70px;gap:7px;align-items:center}
.ref-task-head{color:#6d7d98;font-size:8px;font-weight:700;padding:0 3px 6px}
.ref-task-row{padding:7px 3px;border-top:1px solid #edf1f6;color:#243d63}
.ref-priority{display:inline-block;text-align:center;padding:4px 5px;border-radius:5px;font-weight:700}
.ref-priority.high{background:#ffe4e4;color:#e33c3c}.ref-priority.medium,.ref-priority.normal{background:#fff0d4;color:#b6780b}.ref-priority.low{background:#dff7e9;color:#168253}
.ref-dashboard-footer{padding:15px 4px 2px;color:#7c8ba5;font-size:10px}

@media(max-width:1250px){
  .ref-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .ref-chart-grid{grid-template-columns:1.2fr 1fr}
  .ref-invoice-status{grid-column:1/-1}
  .ref-table-grid,.ref-bottom-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:1000px){
  .exhibitflow-shell .side{width:215px}.exhibitflow-shell .main{margin-left:215px;max-width:calc(100% - 215px)}
  .ref-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ref-chart-grid,.ref-table-grid,.ref-bottom-grid{grid-template-columns:1fr}
  .ref-invoice-status{grid-column:auto}
}
@media(max-width:720px){
  .exhibitflow-shell .side{width:270px}
  .exhibitflow-shell .main{margin-left:0;max-width:100%}
  .ref-kpi-grid{grid-template-columns:1fr 1fr;gap:8px}
  .ref-kpi{min-height:112px}.ref-kpi-value{font-size:18px}
  .ref-chart-key{display:none}
  .ref-donut-wrap{flex-direction:column}.ref-legend{width:100%}
}

.exhibitflow-shell .page-context{
  padding:16px 28px 7px;
  max-width:none;
  background:linear-gradient(180deg,#fff 0%,#f7faff 100%);
}
.exhibitflow-shell .page-context .eyebrow{display:none}
.exhibitflow-shell .page-context h1{font-size:30px;font-weight:800}
.exhibitflow-shell .page-context p{font-size:13px}
.exhibitflow-shell .context-date{padding:10px 14px}

/* ================================================================
   EXISTING APPLICATION LOGO - SIDEBAR
   Uses the same /api/branding/logo source as Settings and Login.
   No upload/storage/backend changes.
   ================================================================ */
.exhibitflow-shell .brand{
  width:100%;
  min-height:96px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 4px 18px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.exhibitflow-shell .brand #app-brand-logo{
  display:block;
  width:100%;
  max-width:208px;
  height:auto;
  max-height:82px;
  object-fit:contain;
  object-position:center;
  background:transparent;
  border-radius:0;
  padding:0;
}
.exhibitflow-shell .brand-copy{display:none!important}


/* ================================================================
   FIXED SIDEBAR FOLLOW-SCROLL PATCH v1.0
   The sidebar must remain available while the main page scrolls.
   This intentionally overrides the legacy sticky sidebar rule.
   ================================================================ */
.exhibitflow-shell .side{
  position:fixed !important;
  top:0 !important;
  right:auto !important;
  bottom:0 !important;
  left:0 !important;
  height:100vh !important;
  max-height:100vh !important;
  align-self:auto !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  z-index:1000 !important;
  transform:none;
}

.exhibitflow-shell .main{
  margin-left:230px;
  min-width:0;
  max-width:calc(100% - 230px);
}

@media(max-width:1000px){
  .exhibitflow-shell .side{
    position:fixed !important;
    top:0 !important;
    bottom:0 !important;
    left:0 !important;
    height:100vh !important;
    max-height:100vh !important;
  }
  .exhibitflow-shell .main{
    margin-left:215px;
    max-width:calc(100% - 215px);
  }
}

@media(max-width:720px){
  .exhibitflow-shell .side{
    position:fixed !important;
    top:0 !important;
    bottom:0 !important;
    left:0 !important;
    height:100vh !important;
    max-height:100vh !important;
    transform:translateX(-100%);
  }
  .exhibitflow-shell .side.open{
    transform:translateX(0);
  }
  .exhibitflow-shell .main{
    margin-left:0;
    max-width:100%;
  }
}


/* ================================================================
   CONCEPTO EXHIBITFLOW LOGIN REFERENCE UI v1.0
   Presentation-only login redesign. Authentication is unchanged.
   Existing Application Logo remains the source of truth.
   ================================================================ */
.login-reference{
  position:relative;
  min-height:100vh;
  width:100%;
  overflow:hidden;
  display:block;
  padding:0;
  background:#061d45 url('/login-reference-background.png') center center / cover no-repeat;
}

.login-reference::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(2,25,72,.08) 0%,rgba(2,25,72,.02) 42%,rgba(0,0,0,.03) 100%);
  pointer-events:none;
}

.login-reference-card{
  position:absolute;
  z-index:5;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:min(360px,calc(100vw - 36px));
  min-height:395px;
  padding:28px 28px 24px;
  margin:0;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(255,255,255,.9);
  border-radius:16px;
  box-shadow:0 22px 55px rgba(0,19,55,.28);
}

.login-reference-card-logo{
  width:205px !important;
  height:72px;
  max-width:100%;
  object-fit:contain;
  margin:0 auto 14px !important;
  display:block;
}

.login-reference-card h1{
  margin:0 0 7px;
  font-size:21px;
  line-height:1.15;
  color:#06255f;
  letter-spacing:-.02em;
}

.login-reference-card p{
  margin:0 0 18px;
  color:#667085;
  font-size:13px;
}

.login-reference-card .field{
  margin:11px 0;
}

.login-reference-card .field label{
  color:#172033;
  font-size:12px;
  margin-bottom:6px;
}

.login-reference-card .field input{
  height:38px;
  padding:9px 11px;
  border:1px solid #cbd5e1;
  border-radius:8px;
  background:#eaf1ff;
  color:#172033;
  font-size:13px;
  outline:none;
}

.login-reference-card .field input:focus{
  border-color:#0a2a66;
  box-shadow:0 0 0 3px rgba(10,42,102,.10);
}

.login-reference-submit{
  height:39px;
  margin-top:4px;
  border-radius:8px;
  background:#0a2f73 !important;
  color:#fff !important;
  font-size:13px;
  box-shadow:0 5px 12px rgba(10,42,102,.16);
}

.login-reference-submit:hover{
  background:#09265e !important;
}

.login-reference-error{
  min-height:18px;
  margin-top:9px;
  text-align:center;
  font-size:12px;
}

.login-brand-overlay{
  position:absolute;
  z-index:4;
  top:45px;
  left:65px;
  width:365px;
  height:110px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:8px 0;
  background:rgba(3,29,74,.98);
  border-radius:4px;
}

.login-brand-overlay img{
  width:355px;
  max-width:100%;
  height:92px;
  object-fit:contain;
  object-position:left center;
  display:block;
}

.login-reference-shield{
  position:absolute;
  z-index:3;
  left:705px;
  top:180px;
  width:400px;
  height:445px;
  border-radius:18px;
  background:transparent;
  pointer-events:none;
}

/* Desktop: keep the card close to the reference composition. */
@media(min-width:1400px){
  .login-reference-card{
    left:50.4%;
    top:46%;
  }
}

/* Medium desktop/tablet. */
@media(max-width:1100px){
  .login-brand-overlay{
    left:30px;
    top:28px;
    width:300px;
    height:92px;
  }
  .login-brand-overlay img{
    width:292px;
    height:78px;
  }
  .login-reference-card{
    left:64%;
    width:min(350px,calc(100vw - 40px));
  }
  .login-reference-shield{
    display:none;
  }
}

/* Mobile: preserve the real form and branding, while the reference
   photograph becomes a dark branded backdrop. */
@media(max-width:720px){
  .login-reference{
    background-position:center center;
  }

  .login-reference::before{
    background:rgba(1,26,94,.42);
  }

  .login-brand-overlay{
    top:18px;
    left:50%;
    transform:translateX(-50%);
    width:min(300px,calc(100vw - 36px));
    height:78px;
    justify-content:center;
    padding:5px 12px;
    border-radius:8px;
  }

  .login-brand-overlay img{
    width:100%;
    height:68px;
    object-position:center;
  }

  .login-reference-card{
    top:55%;
    left:50%;
    width:min(370px,calc(100vw - 28px));
    min-height:auto;
    padding:24px 22px 20px;
    border-radius:14px;
  }

  .login-reference-card-logo{
    width:185px !important;
    height:64px;
  }
}

/* Very small screens. */
@media(max-width:420px){
  .login-brand-overlay{
    width:calc(100vw - 24px);
  }

  .login-reference-card{
    top:58%;
    width:calc(100vw - 20px);
    padding:20px 18px 18px;
  }
}


/* Quick Add */
.quick-add-wrap,.notification-wrap{position:relative}
.quick-add-menu{
  position:absolute;top:calc(100% + 8px);right:0;min-width:220px;
  background:#fff;border:1px solid rgba(15,39,71,.12);border-radius:12px;
  box-shadow:0 18px 45px rgba(15,39,71,.16);padding:7px;z-index:1200;
  display:none;
}
.quick-add-wrap.open .quick-add-menu{display:block}
.quick-add-menu button{
  width:100%;display:flex;align-items:center;gap:9px;border:0;background:transparent;
  padding:10px 11px;border-radius:8px;text-align:left;font:inherit;color:#17304f;cursor:pointer;
}
.quick-add-menu button:hover{background:#f5f7fa}
.quick-add-menu button span{width:20px;color:#c6a15b;font-weight:700}
.quick-add-empty{padding:12px;color:#6d7785;font-size:13px}

/* Notification center */
.notification-center{
  position:absolute;top:calc(100% + 10px);right:-8px;width:min(390px,calc(100vw - 24px));
  background:#fff;border:1px solid rgba(15,39,71,.12);border-radius:14px;
  box-shadow:0 18px 50px rgba(15,39,71,.18);z-index:1200;overflow:hidden;
}
.notification-center[hidden]{display:none}
.notification-head{
  display:flex;justify-content:space-between;align-items:center;padding:14px 16px;
  border-bottom:1px solid #e9edf2;
}
.notification-head strong{display:block;color:#102a47;font-size:15px}
.notification-head small{display:block;color:#7b8490;margin-top:2px}
.notification-mark-all{
  border:0;background:transparent;color:#b08a45;font-weight:700;cursor:pointer;font-size:12px;
}
.notification-list{max-height:430px;overflow:auto}
.notification-item{
  width:100%;display:flex;gap:10px;position:relative;border:0;border-bottom:1px solid #edf0f3;
  background:#fff;padding:13px 15px;text-align:left;cursor:pointer;
}
.notification-item:hover{background:#f7f9fb}
.notification-item.unread{background:#fbfaf6}
.notification-item-icon{
  width:32px;height:32px;flex:0 0 32px;border-radius:50%;display:grid;place-items:center;
  background:#102a47;color:#d4b16a;font-weight:700;
}
.notification-item-body{min-width:0;display:block;padding-right:7px}
.notification-item-body strong,.notification-item-body span,.notification-item-body small{
  display:block;overflow:hidden;text-overflow:ellipsis;
}
.notification-item-body strong{color:#17304f;font-size:13px}
.notification-item-body span{color:#606b78;font-size:12px;line-height:1.45;margin-top:2px}
.notification-item-body small{color:#9098a3;font-size:11px;margin-top:5px}
.notification-unread-dot{
  width:7px;height:7px;border-radius:50%;background:#c6a15b;position:absolute;right:13px;top:18px;
}
.notification-empty,.notification-loading,.notification-error{
  padding:28px 18px;text-align:center;color:#7a8490;font-size:13px;
}
.notification-empty strong{display:block;color:#17304f;margin-bottom:4px}
.notification-empty span{display:block}
.notification-badge.is-zero{display:none}

@media(max-width:700px){
  .quick-add-menu{right:-45px}
  .notification-center{right:-8px;width:calc(100vw - 20px)}
}



/* ================================================================
   DASHBOARD WIDGET CONTROLS / FOCUS / ATTENDANCE
   ================================================================ */

.ref-dashboard-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.ref-dashboard-toolbar>div{
  min-width:0;
}

.ref-dashboard-toolbar strong{
  display:block;
  color:var(--navy);
  font-size:13px;
}

.ref-dashboard-toolbar span{
  display:block;
  margin-top:2px;
  color:#73829a;
  font-size:9px;
}

.ref-widget-controls{
  display:flex;
  align-items:center;
  gap:4px;
  margin-left:auto;
}

.ref-widget-control{
  width:25px;
  height:25px;
  border:1px solid #dfe6ef;
  border-radius:6px;
  background:#fff;
  color:#29466f;
  cursor:pointer;
  display:inline-grid;
  place-items:center;
  font-size:12px;
  line-height:1;
  padding:0;
}

.ref-widget-control:hover{
  background:#eef4ff;
  border-color:#cbd8ea;
  color:#011A5E;
}

.ref-widget-control.close:hover{
  background:#fff0f0;
  border-color:#f2bbbb;
  color:#c83030;
}

.dashboard-focus-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  background:rgba(2,15,42,.62);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  backdrop-filter:blur(4px);
}

.dashboard-focus-window{
  width:min(1320px,96vw);
  height:min(900px,94vh);
  background:#f5f8fc;
  border-radius:14px;
  box-shadow:0 30px 80px rgba(0,0,0,.35);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}

.dashboard-focus-toolbar{
  min-height:54px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#fff;
  border-bottom:1px solid #e3e9f1;
}

.dashboard-focus-actions{
  display:flex;
  align-items:center;
  gap:5px;
}

.dashboard-focus-actions>span{
  min-width:42px;
  text-align:center;
  font-size:9px;
  font-weight:800;
  color:#63728d;
}

.dashboard-focus-scroll{
  flex:1;
  overflow:auto;
  padding:18px;
}

.dashboard-focus-content{
  width:100%;
  transform-origin:top center;
  transition:transform .15s ease;
}

.dashboard-focus-content .ref-panel{
  width:100%;
  margin:0;
}

.dashboard-cols-1{
  grid-template-columns:1fr!important;
}

.dashboard-cols-2{
  grid-template-columns:1fr 1fr!important;
}

.dashboard-cols-3{
  grid-template-columns:1.35fr 1fr 1.05fr!important;
}

.dashboard-widget-options{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:16px;
}

.dashboard-widget-option{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:11px;
  border:1px solid #e2e8f0;
  border-radius:9px;
  background:#fff;
  cursor:pointer;
}

.dashboard-widget-option:hover{
  background:#f8fbff;
  border-color:#cbd9ed;
}

.dashboard-widget-option input{
  margin-top:2px;
}

.dashboard-widget-option strong{
  display:block;
  font-size:10px;
  color:#18365f;
}

.dashboard-widget-option small{
  display:block;
  margin-top:2px;
  font-size:8px;
  color:#7a889d;
}

.dashboard-customize-modal{
  max-width:760px;
}

.ref-attendance-subtitle{
  display:block;
  margin-top:3px;
  color:#72819a;
  font-size:9px;
}

.ref-attendance-grid{
  display:grid;
  grid-template-columns:.95fr 1.65fr;
  gap:10px;
  margin-top:10px;
}

.ref-attendance-today,
.ref-attendance-weekly{
  min-width:0;
  border:1px solid #e8edf4;
  border-radius:10px;
  background:#fbfdff;
  padding:12px;
}

.ref-attendance-today{
  display:flex;
  align-items:center;
  gap:14px;
}

.ref-attendance-gauge-small{
  width:98px;
  height:98px;
  border-radius:50%;
  background:
    conic-gradient(
      #15966a 0deg,
      #15966a 255deg,
      #e8edf4 255deg,
      #e8edf4 360deg
    );
  display:grid;
  place-items:center;
  flex:0 0 98px;
}

.ref-attendance-gauge-small>div{
  width:72px;
  height:72px;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  text-align:center;
}

.ref-attendance-gauge-small strong{
  display:block;
  color:#011A5E;
  font-size:15px;
  line-height:1;
}

.ref-attendance-gauge-small span{
  display:block;
  margin-top:3px;
  color:#7a889d;
  font-size:8px;
}

.ref-attendance-today-details{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
  min-width:0;
}

.ref-attendance-today-details span,
.dashboard-attendance-stats span{
  display:block;
  font-size:8px;
  color:#76849a;
  margin-bottom:2px;
}

.ref-attendance-today-details strong{
  display:block;
  font-size:10px;
  color:#15365f;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.dashboard-attendance-summary{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:14px;
  align-items:center;
  height:100%;
}

.dashboard-attendance-gauge{
  --attendance-pct:0%;
  width:96px;
  height:96px;
  border-radius:50%;
  background:
    conic-gradient(
      #1478f2 var(--attendance-pct),
      #e7edf5 var(--attendance-pct)
    );
  display:grid;
  place-items:center;
}

.dashboard-attendance-gauge-inner{
  width:70px;
  height:70px;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  text-align:center;
}

.dashboard-attendance-gauge-inner strong{
  display:block;
  color:#011A5E;
  font-size:13px;
  line-height:1;
}

.dashboard-attendance-gauge-inner small{
  display:block;
  margin-top:3px;
  color:#7a889d;
  font-size:8px;
}

.dashboard-attendance-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}

.dashboard-attendance-stats>div{
  padding:9px;
  border-radius:8px;
  background:#fff;
  border:1px solid #edf1f6;
}

.dashboard-attendance-stats strong{
  display:block;
  color:#011A5E;
  font-size:12px;
}

.dashboard-attendance-stats strong.positive{
  color:#15966a;
}

.dashboard-attendance-stats strong.negative{
  color:#dc4444;
}

@media(max-width:1000px){
  .dashboard-widget-options{
    grid-template-columns:1fr;
  }

  .ref-attendance-grid{
    grid-template-columns:1fr;
  }

  .dashboard-attendance-summary{
    grid-template-columns:1fr;
  }
}

@media(max-width:720px){
  .ref-dashboard-toolbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .dashboard-focus-overlay{
    padding:8px;
  }

  .dashboard-focus-window{
    width:100%;
    height:96vh;
    border-radius:10px;
  }

  .dashboard-focus-scroll{
    padding:10px;
  }

  .ref-attendance-today{
    align-items:flex-start;
    flex-direction:column;
  }

  .dashboard-attendance-stats{
    grid-template-columns:1fr;
  }
}

/* Concepto ExhibitFlow - Customer Project Workspace + Portal */
.cpw-workspace-modal{width:min(1320px,96vw);max-height:92vh;overflow:auto}
.cpw-body{display:flex;flex-direction:column;gap:16px}
.cpw-summary-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.cpw-summary-grid>.card{padding:14px}
.cpw-label{display:block;color:#7d8aa1;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.cpw-summary-grid strong{display:block;color:var(--navy,#011A5E);font-size:15px;margin-top:6px;min-height:20px}
.cpw-section{padding:16px}
.cpw-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.cpw-section-head h3{margin:0}
.cpw-section-head p{margin:4px 0 0}
.cpw-portal-grid,.cpw-grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cpw-link-box{padding:14px;border:1px solid #e6ebf2;border-radius:12px;background:#fbfcfe}
.cpw-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #edf1f6}
.cpw-row:first-child{border-top:0}
.cpw-row>div:first-child{min-width:0;display:flex;flex-direction:column;gap:3px}
.cpw-row b{color:#18345e;font-size:12px}
.cpw-row small{color:#8a96aa;font-size:10px}
.cpw-pill{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:999px;background:#eef2f7;color:#5f6e84;font-size:10px;font-weight:800;white-space:nowrap}
.cpw-pill.success{background:#e7f5eb;color:#267342}
.cpw-checkbox{display:flex;gap:8px;align-items:flex-start;margin-top:9px;font-size:12px;color:#34445f}
.cpw-checkbox input{margin-top:2px}
.cpw-messages{max-height:260px;overflow:auto;border:1px solid #edf1f6;border-radius:10px;padding:8px}
.cpw-message-row{padding:9px;border-bottom:1px solid #edf1f6}
.cpw-message-row:last-child{border-bottom:0}
.cpw-message-row>div:first-child{display:flex;justify-content:space-between;gap:8px}
.cpw-message-row small{color:#8a96aa;font-size:10px}
.cpw-message{white-space:pre-wrap;color:#314362;font-size:12px;line-height:1.45;margin-top:4px}
.cpw-message-row.inbound{background:#fbfcfe}
@media (max-width:1100px){.cpw-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.cpw-summary-grid,.cpw-portal-grid,.cpw-grid-2{grid-template-columns:1fr}.cpw-row{align-items:flex-start;flex-direction:column}.cpw-row .actions{width:100%}.cpw-row .actions .btn{margin-top:2px}.cpw-workspace-modal{width:96vw}.cpw-summary-grid>.card{min-width:0}}

/* Customer-facing portal */
.cxp-page{min-height:100vh;background:#f4f7fb;color:#20304a;font-family:Arial,Helvetica,sans-serif}
.cxp-shell{width:min(1180px,94vw);margin:0 auto;padding:28px 0 44px}
.cxp-brand{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.cxp-brand img{width:46px;height:46px;object-fit:contain}
.cxp-brand strong{display:block;color:#011A5E;font-size:18px}
.cxp-brand small{color:#71809a}
.cxp-hero{background:#fff;border:1px solid #e4eaf2;border-radius:16px;padding:24px;box-shadow:0 12px 30px rgba(5,30,80,.06)}
.cxp-hero h1{margin:0;color:#011A5E;font-size:30px}
.cxp-sub{color:#6f7f98;margin-top:6px}
.cxp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.cxp-stat{border:1px solid #e8edf4;border-radius:12px;padding:13px;background:#fbfcfe}
.cxp-stat span{display:block;color:#8492a7;font-size:10px;text-transform:uppercase;letter-spacing:.06em;font-weight:800}
.cxp-stat strong{display:block;color:#17335d;font-size:14px;margin-top:5px}
.cxp-section{background:#fff;border:1px solid #e4eaf2;border-radius:14px;padding:18px;margin-top:16px}
.cxp-section h2{margin:0 0 12px;color:#011A5E;font-size:19px}
.cxp-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}
.cxp-step{position:relative;text-align:center;padding:10px 4px}
.cxp-dot{width:28px;height:28px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;background:#edf2f7;color:#6f7d93;font-weight:900;font-size:12px}
.cxp-step.current .cxp-dot{background:#fff1cf;color:#8a5a00;border:2px solid #C89022}
.cxp-step.completed .cxp-dot{background:#e7f5eb;color:#267342}
.cxp-step strong{display:block;font-size:11px;color:#3a4d69}
.cxp-step small{display:block;color:#8895aa;margin-top:4px;font-size:9px}
.cxp-list{display:flex;flex-direction:column;gap:8px}
.cxp-item{padding:12px;border:1px solid #edf1f6;border-radius:10px}
.cxp-item-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.cxp-item b{color:#213e67}
.cxp-item small{color:#8b97a9}
.cxp-badge{display:inline-flex;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:800;background:#eef2f7;color:#64738a}
.cxp-badge.approved{background:#e7f5eb;color:#267342}.cxp-badge.changes_requested{background:#fff1cf;color:#8a5a00}
.cxp-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.cxp-btn{appearance:none;border:0;border-radius:8px;padding:9px 13px;cursor:pointer;background:#011A5E;color:#fff;font-weight:800}
.cxp-btn.gold{background:#C89022}.cxp-btn.light{background:#eef2f7;color:#33445f}
.cxp-field{width:100%;padding:9px 10px;border:1px solid #d9e0ea;border-radius:8px;box-sizing:border-box;font:inherit}
.cxp-textarea{min-height:90px;resize:vertical}
.cxp-empty{color:#8a96aa}
.cxp-footer{margin-top:18px;color:#8a96aa;text-align:center;font-size:10px}
@media (max-width:820px){.cxp-grid{grid-template-columns:1fr 1fr}.cxp-timeline{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:560px){.cxp-shell{width:92vw}.cxp-grid,.cxp-timeline{grid-template-columns:1fr}.cxp-hero h1{font-size:24px}}


/* PROJECT_WORKSPACE_HEADER_UI_V24 */
.cpw-project-task-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;}
.cpw-project-task-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;}
.cpw-project-task-actions .btn{width:100%;min-width:0;min-height:44px;white-space:normal;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.15;}
@media (max-width:560px){.cpw-project-task-actions{grid-template-columns:1fr;}}


/* CONCEPTO_LOGIN_PAGE_BRANDING_1_5_0 START */
.concepto-login-branding-settings-card .login-branding-settings-grid{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(300px,1fr);
  gap:22px;
  margin-top:16px;
}

.concepto-login-branding-settings-card .login-branding-preview-wrap{
  border:1px solid var(--line,#e5e7eb);
  border-radius:12px;
  background:#eef2f7;
  overflow:hidden;
  min-height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.concepto-login-branding-settings-card .login-branding-preview-wrap img{
  display:block;
  width:100%;
  max-height:280px;
  object-fit:cover;
  object-position:center;
}

.login-no-corner-logo .login-brand-overlay{
  display:none !important;
}

@media(max-width:900px){
  .concepto-login-branding-settings-card .login-branding-settings-grid{
    grid-template-columns:1fr;
  }
}
/* CONCEPTO_LOGIN_PAGE_BRANDING_1_5_0 END */

/* CONCEPTO_LOGIN_PAGE_BRANDING_1_5_1 START */
.login-no-corner-logo .login-brand-overlay{
  display:none !important;
}
/* No solid-color pseudo-element here: the login background must show naturally. */
/* CONCEPTO_LOGIN_PAGE_BRANDING_1_5_1 END */


/* CONCEPTO OPERATIONS PACK 2.0 */
.ops-page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px}.ops-page-header h2{margin:0}.ops-page-header p{margin:5px 0 0;color:#667085}.ops-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}.ops-kpi{border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:14px}.ops-kpi span{display:block;color:#667085;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.ops-kpi b{display:block;font-size:26px;margin-top:5px;color:#101828}.ops-kpi.warn{border-color:#f5c26b;background:#fffaf0}.ops-followup-form-card{margin-top:10px}.ops-followup-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.ops-followup-form .field{margin:0}.ops-followup-form input,.ops-followup-form select,.ops-followup-form textarea{width:100%;box-sizing:border-box}.ops-span2{grid-column:span 2}.ops-form-actions{grid-column:span 2;display:flex;align-items:center;gap:12px}.ops-row-actions{display:flex;flex-wrap:wrap;gap:5px}.ops-pill{display:inline-flex;padding:3px 8px;border-radius:999px;border:1px solid #d0d5dd;background:#f8fafc;color:#344054;font-size:11px;font-weight:700}.ops-pill.warn{border-color:#f5c26b;background:#fff4d6;color:#92400e}.ops-pill.success{border-color:#abefc6;background:#ecfdf3;color:#067647}.ops-pill.info{border-color:#b2ddff;background:#eff8ff;color:#175cd3}.ops-muted{display:block;color:#667085;font-size:12px;margin-top:3px;max-width:420px;overflow-wrap:anywhere}.ops-followup-table td{vertical-align:top}.ops-history-list{margin-top:14px;max-height:60vh;overflow:auto}.ops-history-row{padding:12px 0;border-bottom:1px solid #eaecf0}.ops-history-row small{display:block;color:#667085;margin:4px 0}.ops-admin-card{margin-top:18px}.ops-backup-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.ops-backup-summary>div{border:1px solid #e5e7eb;border-radius:10px;padding:11px;background:#fafbfc}.ops-backup-summary span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#667085}.ops-backup-summary b{display:block;font-size:13px;margin-top:5px;overflow-wrap:anywhere}.ops-backup-history{margin-top:14px}.ops-backup-history-row{display:grid;grid-template-columns:90px minmax(160px,220px) 1fr;gap:10px;align-items:center;padding:9px 0;border-bottom:1px solid #eaecf0;font-size:12px}.ops-backup-history-row span:last-child{overflow-wrap:anywhere;color:#667085}
@media(max-width:900px){.ops-backup-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.ops-page-header{display:block}.ops-page-header>.btn{margin-top:10px}.ops-followup-form{grid-template-columns:1fr}.ops-span2,.ops-form-actions{grid-column:span 1}.ops-backup-summary,.ops-kpi-grid{grid-template-columns:1fr}.ops-backup-history-row{grid-template-columns:1fr;gap:4px}}

/* CONCEPTO_UI_EXPERIENCE_PACK_2_6_0 START */
/* ================================================================
   CONCEPTO UI EXPERIENCE PACK 2.6.0
   Presentation-only system for buttons, dashboard and login.
   Does not change authentication, APIs, permissions or data logic.
   ================================================================ */
:root{
  --ce-primary:#011A5E;
  --ce-accent:#C89022;
  --ce-ink:#172033;
  --ce-muted:#667085;
  --ce-line:#dfe6f0;
  --ce-surface:#ffffff;
  --ce-focus:rgba(200,144,34,.42);
  --ce-shadow-sm:0 4px 13px rgba(1,26,94,.06);
  --ce-shadow-md:0 10px 28px rgba(1,26,94,.10);
}

/* Accessible interaction states; colors remain owned by component variants. */
button,
input[type="button"],
input[type="submit"],
input[type="reset"]{
  -webkit-tap-highlight-color:transparent;
}
.exhibitflow-shell button:focus-visible,
.exhibitflow-shell a:focus-visible,
.exhibitflow-shell input:focus-visible,
.exhibitflow-shell select:focus-visible,
.exhibitflow-shell textarea:focus-visible,
.login-reference button:focus-visible,
.login-reference a:focus-visible,
.login-reference input:focus-visible,
.login-reference select:focus-visible,
.login-reference textarea:focus-visible,
.btn:focus-visible{
  outline:3px solid var(--ce-focus) !important;
  outline-offset:2px;
}
button:disabled,
input[type="button"]:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled,
.btn[aria-disabled="true"],
button[aria-disabled="true"]{
  cursor:not-allowed !important;
  opacity:.56;
  box-shadow:none !important;
  transform:none !important;
}

/* Application button variants. Existing onclick/submit handlers are unchanged. */
.btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:40px;
  padding:10px 15px;
  border:1px solid transparent;
  border-radius:10px;
  background:var(--ce-primary);
  color:#fff;
  font-size:13px;
  font-weight:750;
  line-height:1.2;
  text-decoration:none;
  white-space:normal;
  box-shadow:0 3px 9px rgba(1,26,94,.12);
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.btn:hover:not(:disabled):not([aria-disabled="true"]){
  background:var(--ce-accent);
  border-color:var(--ce-accent);
  color:#171b25;
  box-shadow:0 7px 17px rgba(200,144,34,.22);
  transform:translateY(-1px);
}
.btn:active:not(:disabled):not([aria-disabled="true"]){transform:translateY(0);box-shadow:0 2px 5px rgba(1,26,94,.12)}
.btn.gold,
.btn.primary{background:var(--ce-primary);color:#fff;border-color:transparent}
.btn.gold:hover:not(:disabled),
.btn.primary:hover:not(:disabled){background:var(--ce-accent);color:#171b25;border-color:var(--ce-accent)}
.btn.light,
.btn.secondary{
  background:#f2f5fa;
  color:#1b3157;
  border-color:#d6e0ee;
  box-shadow:none;
}
.btn.light:hover:not(:disabled),
.btn.secondary:hover:not(:disabled){background:#fff5df;color:#1b3157;border-color:#e4c37f;box-shadow:0 4px 12px rgba(1,26,94,.07)}
.btn.outline{
  background:transparent;
  color:var(--ce-primary);
  border-color:#bac8dc;
  box-shadow:none;
}
.btn.outline:hover:not(:disabled){background:#fff5df;color:var(--ce-primary);border-color:var(--ce-accent);box-shadow:none}
.btn.ghost{background:transparent;color:var(--ce-primary);border-color:transparent;box-shadow:none}
.btn.ghost:hover:not(:disabled){background:#eef3fb;color:var(--ce-primary);border-color:#e0e8f4;box-shadow:none}
.btn.danger{
  background:#fff0f1;
  color:#a61b29;
  border-color:#ffd0d5;
  box-shadow:none;
}
.btn.danger:hover:not(:disabled){background:#b42318;color:#fff;border-color:#b42318;box-shadow:0 6px 14px rgba(180,35,24,.18)}
.btn.compact,
.btn.sm{min-height:32px;padding:6px 10px;border-radius:8px;font-size:12px;gap:6px}
.btn.icon,
.btn-icon{width:40px;min-width:40px;height:40px;min-height:40px;padding:0;border-radius:10px;display:inline-grid;place-items:center}
.btn.icon.compact,
.btn-icon.compact,
.btn.icon.sm,
.btn-icon.sm{width:32px;min-width:32px;height:32px;min-height:32px}
.btn.is-loading,
.btn[aria-busy="true"]{cursor:progress;pointer-events:none;transform:none!important;}
.btn.is-loading::before,
.btn[aria-busy="true"]::before{
  content:"";
  width:13px;
  height:13px;
  flex:0 0 13px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:ce-button-spin .7s linear infinite;
}
@keyframes ce-button-spin{to{transform:rotate(360deg)}}

/* Header actions retain their own geometry while using consistent states. */
.header-quick-add,
.header-icon-btn,
.profile-trigger,
.ref-panel-head>button,
.ref-pipeline-view-all,
.ref-kpi,
.ref-pipeline-row{
  transition:background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.header-quick-add:focus-visible,
.header-icon-btn:focus-visible,
.profile-trigger:focus-visible,
.ref-panel-head>button:focus-visible,
.ref-pipeline-view-all:focus-visible,
.ref-kpi:focus-visible,
.ref-pipeline-row:focus-visible{outline:3px solid var(--ce-focus);outline-offset:2px}

/* Dashboard: improve readability without changing metric calculations or API calls. */
.ref-dashboard{max-width:1600px;margin:0 auto;}
.ref-dashboard-toolbar{gap:14px;padding:0 0 14px;margin-bottom:14px;border-bottom:1px solid #e5ebf4;}
.ref-dashboard-toolbar>div{min-width:0;}
.ref-dashboard-toolbar strong{font-size:17px;letter-spacing:-.015em;color:var(--ce-primary);}
.ref-dashboard-toolbar span{font-size:12px;line-height:1.45;color:#71809a;}
.ref-kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:14px;}
.ref-kpi{
  min-height:132px;
  padding:16px 16px 14px;
  border:1px solid #e0e7f1;
  border-radius:14px;
  background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);
  box-shadow:var(--ce-shadow-sm);
}
.ref-kpi::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:#e5ecf6;}
.ref-kpi:hover{transform:translateY(-2px);border-color:#c9d5e8;box-shadow:var(--ce-shadow-md);}
.ref-kpi:hover::before{background:var(--ce-accent);}
.ref-kpi-top{gap:10px;}
.ref-kpi-icon{width:32px;height:32px;flex-basis:32px;border-radius:10px;}
.ref-kpi-label{font-size:12px;line-height:1.35;color:#5f6e86;white-space:normal;}
.ref-kpi-value{font-size:25px;line-height:1.2;margin-top:12px;letter-spacing:-.025em;}
.ref-kpi-delta{font-size:11px;margin-top:6px;}
.ref-kpi-delta small{font-size:10px;}
.ref-spark{right:12px;bottom:15px;opacity:.72;}
.ref-chart-grid{gap:14px;margin-bottom:14px;}
.ref-table-grid{gap:14px;margin-bottom:14px;}
.ref-bottom-grid{gap:14px;}
.ref-panel,
.exhibitflow-shell .card.ref-panel{
  min-width:0;
  padding:16px 17px 14px;
  border:1px solid #e2e8f1;
  border-radius:14px;
  background:#fff;
  box-shadow:var(--ce-shadow-sm);
}
.ref-panel-head{gap:12px;margin-bottom:11px;}
.ref-panel-head h2{font-size:14px;font-weight:800;letter-spacing:-.01em;color:var(--ce-primary);}
.ref-panel-head>span{font-size:11px;}
.ref-panel-head>button{font-size:11px;font-weight:750;padding:6px 8px;border-radius:7px;}
.ref-panel-head>button:hover{background:#fff5df;color:var(--ce-primary);}
.ref-chart-svg{height:210px;}
.ref-chart-svg text{font-size:10px;}
.ref-table{font-size:11px;}
.ref-table th,.ref-table td{padding:9px 7px;}
.ref-table th{font-size:10px;letter-spacing:.035em;}
.ref-table td{line-height:1.4;}
.ref-activity-row{gap:10px;padding:10px 3px;}
.ref-activity-bubble{width:30px;height:30px;flex-basis:30px;font-size:11px;}
.ref-activity-row b{font-size:11px;}
.ref-activity-row small{font-size:10px;line-height:1.35;}
.ref-event{gap:11px;padding:10px 0;}
.ref-event-date{width:52px;flex-basis:52px;border-radius:8px;}
.ref-event-date b{font-size:9px;}
.ref-event-date strong{font-size:18px;}
.ref-event>div:last-child>b{font-size:11px;}
.ref-event small{font-size:10px;line-height:1.35;}
.ref-task-table{font-size:11px;}
.ref-task-head{font-size:9px;padding-bottom:8px;}
.ref-task-row{padding:9px 3px;}
.ref-dashboard-footer{font-size:11px;color:#8a96aa;padding-top:18px;}

/* Login: preserve the configured image/logo and the existing login handler. */
.login-reference{min-height:100svh;}
.login-reference::before{background:linear-gradient(90deg,rgba(1,26,94,.14) 0%,rgba(1,26,94,.04) 55%,rgba(1,26,94,.16) 100%);}
.login-reference-card{
  border:1px solid rgba(255,255,255,.95);
  border-radius:18px;
  box-shadow:0 24px 70px rgba(0,17,54,.32),0 3px 10px rgba(0,17,54,.08);
  backdrop-filter:blur(8px);
}
.login-reference-card h1{font-size:23px;letter-spacing:-.025em;}
.login-reference-card p{line-height:1.45;}
.login-reference-card .field input{
  min-height:42px;
  border-color:#cbd6e6;
  border-radius:9px;
  background:#f6f8fc;
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
.login-reference-card .field input:focus{background:#fff;border-color:var(--ce-primary);box-shadow:0 0 0 3px rgba(1,26,94,.11);}
.login-reference-submit{min-height:43px;margin-top:8px;font-weight:800;letter-spacing:.01em;background:var(--ce-primary)!important;}
.login-reference-submit:hover:not(:disabled){background:var(--ce-accent)!important;color:#171b25!important;}
.login-reference-error:empty{margin-top:0;min-height:0;}

/* Breakpoints: more breathing room on tablet and larger, compact on mobile. */
@media(max-width:1320px){
  .ref-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .ref-chart-grid .ref-invoice-status{grid-column:1/-1;}
  .ref-table-grid,.ref-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:1000px){
  .ref-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
  .ref-chart-grid,.ref-table-grid,.ref-bottom-grid{grid-template-columns:1fr;}
  .ref-chart-grid .ref-invoice-status{grid-column:auto;}
  .ref-kpi{min-height:124px;}
  .ref-dashboard-toolbar{align-items:flex-start;}
}
@media(max-width:720px){
  .ref-dashboard-toolbar{flex-direction:column;align-items:stretch;}
  .ref-dashboard-toolbar .btn{width:100%;}
  .ref-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
  .ref-kpi{min-height:116px;padding:13px 12px 12px;}
  .ref-kpi-label{font-size:11px;}
  .ref-kpi-value{font-size:20px;margin-top:9px;}
  .ref-kpi-delta{font-size:10px;}
  .ref-panel,.exhibitflow-shell .card.ref-panel{padding:13px 12px;}
  .ref-chart-svg{height:180px;}
  .ref-table th,.ref-table td{padding:8px 6px;}
  .login-reference{display:flow-root;overflow-x:hidden;overflow-y:auto;padding:1px 0 20px;}
  .login-reference-card{
    position:relative;
    top:auto;
    left:auto;
    transform:none;
    width:min(390px,calc(100vw - 28px));
    min-height:0;
    margin:116px auto 24px;
    padding:24px 22px 22px;
  }
  .login-reference-card-logo{width:180px!important;height:62px;margin-bottom:12px!important;}
  .login-reference-card h1{font-size:22px;}
  .login-reference-card .field input{min-height:44px;}
  .login-brand-overlay{top:18px;left:50%;transform:translateX(-50%);width:min(300px,calc(100vw - 36px));height:76px;}
  .login-brand-overlay img{width:100%;height:66px;object-position:center;}
}
@media(max-width:420px){
  .ref-kpi-grid{grid-template-columns:1fr 1fr;gap:7px;}
  .ref-kpi{padding:12px 10px;}
  .ref-kpi-value{font-size:18px;}
  .ref-kpi-delta small{display:block;margin:3px 0 0;}
  .login-reference-card{width:calc(100vw - 22px);padding:21px 18px 18px;margin-top:108px;}
}
@media(max-height:650px) and (min-width:721px){
  .login-reference-card{top:52%;transform:translate(-50%,-50%) scale(.94);}
}
@media(prefers-reduced-motion:reduce){
  .btn,button,.ref-kpi,.ref-pipeline-row,.header-quick-add,.header-icon-btn,.profile-trigger{transition:none!important;animation:none!important;}
  .btn.is-loading::before,.btn[aria-busy="true"]::before{animation:none!important;border-right-color:currentColor;}
}
/* END CONCEPTO_UI_EXPERIENCE_PACK_2_6_0 */
/* CONCEPTO_UI_UX_POLISH_PACK_3_5_0 START */
/* Visual-only refinement. No routes, handlers, permissions, auth or data logic changed. */
:root{
  --ce-polish-radius:12px;
  --ce-polish-border:#dfe6f0;
  --ce-polish-shadow:0 8px 22px rgba(1,26,94,.075);
}

/* Buttons: predictable sizing, clearer disabled and press states. */
.exhibitflow-shell .btn,
.exhibitflow-shell .btn.primary,
.exhibitflow-shell .btn.secondary,
.exhibitflow-shell .btn.outline,
.exhibitflow-shell .btn.ghost,
.exhibitflow-shell .btn.danger,
.login-reference .btn,
.modal .btn{
  min-height:42px;
  border-radius:10px;
  font-weight:750;
  letter-spacing:.005em;
}
.exhibitflow-shell .btn:active:not(:disabled):not([aria-disabled="true"]),
.login-reference .btn:active:not(:disabled):not([aria-disabled="true"]),
.modal .btn:active:not(:disabled):not([aria-disabled="true"]){
  transform:translateY(0);
  box-shadow:0 2px 5px rgba(1,26,94,.12);
}
.exhibitflow-shell .btn:focus-visible,
.exhibitflow-shell .header-quick-add:focus-visible,
.exhibitflow-shell .header-icon-btn:focus-visible,
.exhibitflow-shell .profile-trigger:focus-visible,
.login-reference .btn:focus-visible{
  outline:3px solid rgba(200,144,34,.55)!important;
  outline-offset:3px;
}
.exhibitflow-shell .btn:disabled,
.exhibitflow-shell .btn[aria-disabled="true"],
.login-reference .btn:disabled{
  opacity:.52;
  cursor:not-allowed;
  box-shadow:none;
  transform:none;
}
.exhibitflow-shell .toolbar .actions{align-items:center;gap:9px;}
.exhibitflow-shell .toolbar .actions .btn{min-height:38px;}

/* Dashboard: stronger branded page header while preserving all existing data widgets. */
.exhibitflow-shell .ref-dashboard{max-width:1680px;margin-inline:auto;}
.exhibitflow-shell .ref-dashboard-toolbar{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:21px 23px;
  margin-bottom:16px;
  border:1px solid rgba(1,26,94,.16);
  border-radius:16px;
  border-bottom:1px solid rgba(1,26,94,.16);
  background:linear-gradient(115deg,#011A5E 0%,#082d78 66%,#15458d 100%);
  box-shadow:0 10px 26px rgba(1,26,94,.14);
}
.exhibitflow-shell .ref-dashboard-toolbar::after{
  content:"";
  position:absolute;
  z-index:-1;
  right:13%;
  top:-112px;
  width:245px;
  height:245px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 0 0 28px rgba(255,255,255,.035),0 0 0 58px rgba(255,255,255,.025);
  pointer-events:none;
}
.exhibitflow-shell .ref-dashboard-toolbar>div{position:relative;z-index:1;min-width:0;}
.exhibitflow-shell .ref-dashboard-toolbar strong{
  display:block;
  color:#fff;
  font-size:22px;
  font-weight:850;
  line-height:1.2;
  letter-spacing:-.025em;
}
.exhibitflow-shell .ref-dashboard-toolbar span{
  display:block;
  margin-top:6px;
  color:rgba(239,245,255,.84);
  font-size:12px;
  line-height:1.5;
}
.exhibitflow-shell .ref-dashboard-toolbar>.btn,
.exhibitflow-shell .ref-dashboard-toolbar>button{
  position:relative;
  z-index:1;
  flex:0 0 auto;
}
.exhibitflow-shell .ref-dashboard-toolbar .btn.light{
  min-height:40px;
  background:#fff;
  color:#011A5E;
  border:1px solid rgba(255,255,255,.75);
  box-shadow:0 4px 11px rgba(0,0,0,.10);
}
.exhibitflow-shell .ref-dashboard-toolbar .btn.light:hover:not(:disabled){
  background:#C89022;
  border-color:#C89022;
  color:#111827;
  box-shadow:0 7px 16px rgba(0,0,0,.16);
}
.exhibitflow-shell .ref-kpi{
  border-color:#e0e7f1;
  border-radius:15px;
  box-shadow:0 5px 16px rgba(1,26,94,.055);
  font-variant-numeric:tabular-nums;
}
.exhibitflow-shell .ref-kpi:focus-visible{outline:3px solid rgba(200,144,34,.55);outline-offset:3px;}
.exhibitflow-shell .ref-panel,
.exhibitflow-shell .card.ref-panel{
  border-radius:15px;
  border-color:#e1e8f2;
  box-shadow:0 5px 16px rgba(1,26,94,.05);
}
.exhibitflow-shell .ref-panel-head h2{line-height:1.35;}
.exhibitflow-shell .ref-table th{color:#60708b;}

/* Login: retain configured image, logo, form submission and error target. */
.login-reference::before{
  background:linear-gradient(112deg,rgba(1,18,58,.48) 0%,rgba(1,26,94,.18) 48%,rgba(1,18,58,.32) 100%);
}
.login-reference-card{
  width:min(392px,calc(100vw - 28px));
  padding:30px 30px 26px;
  border:1px solid rgba(255,255,255,.84);
  border-radius:20px;
  background:rgba(255,255,255,.985);
  box-shadow:0 28px 75px rgba(0,13,47,.36),0 4px 14px rgba(0,13,47,.09);
  overflow:hidden;
}
.login-reference-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:4px;
  background:linear-gradient(90deg,#011A5E 0%,#0b367e 68%,#C89022 100%);
}
.login-reference-card-logo{margin-top:4px!important;margin-bottom:15px!important;}
.login-reference-card h1{font-size:24px;line-height:1.2;letter-spacing:-.025em;}
.login-reference-card p{font-size:13px;line-height:1.55;color:#68758a;}
.login-reference-card .field{margin:13px 0;}
.login-reference-card .field label{font-size:12px;font-weight:800;color:#263653;letter-spacing:.01em;}
.login-reference-card .field input{
  min-height:45px;
  height:auto;
  padding:11px 13px;
  border:1px solid #d3dce9;
  border-radius:10px;
  background:#f7f9fc;
  box-shadow:inset 0 1px 2px rgba(16,24,40,.025);
  transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease;
}
.login-reference-card .field input:hover:not(:focus){border-color:#aebdd3;background:#fff;}
.login-reference-card .field input:focus{
  border-color:#011A5E;
  background:#fff;
  box-shadow:0 0 0 4px rgba(1,26,94,.10);
}
.login-reference-submit{
  min-height:46px;
  margin-top:8px;
  border:1px solid #011A5E!important;
  border-radius:11px;
  background:#011A5E!important;
  color:#fff!important;
  box-shadow:0 7px 15px rgba(1,26,94,.19);
}
.login-reference-submit:hover:not(:disabled){
  background:#C89022!important;
  border-color:#C89022!important;
  color:#111827!important;
  box-shadow:0 9px 19px rgba(200,144,34,.24);
}
.login-reference-submit:active:not(:disabled){transform:translateY(0);}
.login-reference-error:not(:empty){
  margin-top:12px;
  padding:9px 11px;
  border:1px solid #fecaca;
  border-radius:9px;
  background:#fff1f2;
  color:#b42318;
}
@media(max-width:720px){
  .exhibitflow-shell .ref-dashboard-toolbar{padding:19px 17px;gap:13px;}
  .exhibitflow-shell .ref-dashboard-toolbar strong{font-size:20px;}
  .exhibitflow-shell .ref-dashboard-toolbar .btn{min-height:42px;}
  .login-reference-card{padding:27px 23px 23px;}
}
@media(max-width:420px){
  .exhibitflow-shell .ref-dashboard-toolbar{padding:17px 14px;}
  .exhibitflow-shell .ref-dashboard-toolbar strong{font-size:19px;}
  .login-reference-card{padding:24px 19px 20px;}
}
@media(prefers-reduced-motion:reduce){
  .exhibitflow-shell .btn,
  .login-reference .btn,
  .exhibitflow-shell .ref-kpi,
  .login-reference-card .field input{transition:none!important;}
}
/* CONCEPTO_UI_UX_POLISH_PACK_3_5_0 END */
/* CONCEPTO_DASHBOARD_REFINEMENT_PACK_3_5_1 START */
/* Visual-only refinement for ExhibitFlow dashboard widgets. */

/* Use a true, consistent responsive grid; widgets in each row stretch to a shared height. */
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid{
  align-items:stretch;
  column-gap:16px;
  row-gap:16px;
  grid-auto-flow:row;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget]{
  min-width:0;
  box-sizing:border-box;
  align-self:stretch;
  display:flex;
  flex-direction:column;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget]>.ref-panel-head{
  flex:0 0 auto;
  align-items:flex-start;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget] .ref-panel-head h2{
  line-height:1.35;
  overflow-wrap:anywhere;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget] .ref-panel-head>div{
  min-width:0;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget] .ref-widget-controls{
  flex:0 0 auto;
  margin-left:auto;
}

/* Improve table/chart readability without changing their data or handlers. */
.exhibitflow-shell .ref-dashboard .ref-panel-head h2{font-size:15px;}
.exhibitflow-shell .ref-dashboard .ref-panel-head>button{font-size:12px;min-height:30px;}
.exhibitflow-shell .ref-dashboard .ref-chart-key{display:flex;flex-wrap:wrap;gap:8px 12px;}
.exhibitflow-shell .ref-dashboard .ref-chart-key span{font-size:11px;line-height:1.4;}
.exhibitflow-shell .ref-dashboard .ref-chart-svg text{font-size:12px;}
.exhibitflow-shell .ref-dashboard .ref-table-wrap{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow-x:auto;
  overscroll-behavior-x:contain;
}
.exhibitflow-shell .ref-dashboard .ref-table{
  width:100%;
  min-width:0;
  font-size:12px;
  table-layout:auto;
}
.exhibitflow-shell .ref-dashboard .ref-table th{
  font-size:11px;
  line-height:1.4;
  letter-spacing:.025em;
  white-space:normal;
  padding:10px 9px;
}
.exhibitflow-shell .ref-dashboard .ref-table td{
  font-size:12px;
  line-height:1.45;
  padding:10px 9px;
  overflow-wrap:anywhere;
}
.exhibitflow-shell .ref-dashboard .ref-kpi-label{font-size:13px;line-height:1.4;}
.exhibitflow-shell .ref-dashboard .ref-kpi-delta{font-size:11px;line-height:1.4;}
.exhibitflow-shell .ref-dashboard .ref-kpi-delta small{font-size:11px;}
.exhibitflow-shell .ref-dashboard .ref-activity-row b{font-size:12px;line-height:1.4;}
.exhibitflow-shell .ref-dashboard .ref-activity-row small{font-size:11px;line-height:1.45;overflow-wrap:anywhere;}
.exhibitflow-shell .ref-dashboard .ref-event>div:last-child>b{font-size:12px;line-height:1.4;}
.exhibitflow-shell .ref-dashboard .ref-event small{font-size:11px;line-height:1.45;}
.exhibitflow-shell .ref-dashboard .ref-task-table{font-size:12px;}
.exhibitflow-shell .ref-dashboard .ref-task-head{font-size:10px;line-height:1.4;}
.exhibitflow-shell .ref-dashboard .ref-task-row{font-size:11px;line-height:1.45;}
.exhibitflow-shell .ref-dashboard .ref-empty{font-size:12px;line-height:1.5;}

/* Distinguish the two existing attendance views instead of showing identical headings. */
.exhibitflow-shell .ref-dashboard .ref-dashboard-attendance{
  border-top:3px solid #011A5E;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-attendance .ref-panel-head h2::before{
  content:"TODAY · LIVE STATUS";
  display:block;
  margin-bottom:5px;
  color:#42618f;
  font-size:10px;
  line-height:1.3;
  font-weight:850;
  letter-spacing:.09em;
}
.exhibitflow-shell .ref-dashboard .ref-attendance-panel{
  border-top:3px solid #C89022;
}
.exhibitflow-shell .ref-dashboard .ref-attendance-panel .ref-panel-head h2::before{
  content:"WEEKLY · MONTHLY TOTALS";
  display:block;
  margin-bottom:5px;
  color:#9a6a10;
  font-size:10px;
  line-height:1.3;
  font-weight:850;
  letter-spacing:.09em;
}
.exhibitflow-shell .ref-dashboard .ref-attendance-subtitle,
.exhibitflow-shell .ref-dashboard .ref-pipeline-subtitle{font-size:11px;line-height:1.45;}
.exhibitflow-shell .ref-dashboard .ref-attendance-grid{
  grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);
  gap:12px;
  align-items:stretch;
}
.exhibitflow-shell .ref-dashboard .ref-attendance-today,
.exhibitflow-shell .ref-dashboard .ref-attendance-weekly{min-width:0;}
.exhibitflow-shell .ref-dashboard .ref-attendance-today-details span{font-size:10px;line-height:1.35;}
.exhibitflow-shell .ref-dashboard .ref-attendance-today-details strong{font-size:11px;}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-summary{
  grid-template-columns:96px minmax(0,1fr);
  gap:13px;
}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-stats{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-stats>div{min-width:0;padding:10px;}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-stats span{font-size:10px;line-height:1.35;}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-stats strong{font-size:13px;line-height:1.35;overflow-wrap:anywhere;}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-overview{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-card{min-width:0;padding:13px;}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-card span{font-size:11px;line-height:1.4;letter-spacing:.045em;}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-card strong{font-size:19px;line-height:1.25;overflow-wrap:anywhere;}
.exhibitflow-shell .ref-dashboard .dashboard-attendance-card small{font-size:11px;line-height:1.4;}
.exhibitflow-shell .ref-dashboard .ref-attendance-link-row{font-size:11px;}

/* Tablet: avoid narrow three-column cards while preserving explicit one/two-column choices. */
@media(max-width:1100px){
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid.dashboard-cols-3{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .exhibitflow-shell .ref-dashboard .ref-attendance-grid{grid-template-columns:1fr;}
}
@media(max-width:720px){
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid,
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid.dashboard-cols-1,
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid.dashboard-cols-2,
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid.dashboard-cols-3{
    grid-template-columns:minmax(0,1fr);
    gap:12px;
  }
  .exhibitflow-shell .ref-dashboard .ref-kpi-grid{gap:9px;}
  .exhibitflow-shell .ref-dashboard .ref-panel-head{flex-wrap:wrap;}
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget] .ref-widget-controls{margin-left:auto;}
  .exhibitflow-shell .ref-dashboard .ref-attendance-grid{grid-template-columns:1fr;}
  .exhibitflow-shell .ref-dashboard .dashboard-attendance-summary{grid-template-columns:88px minmax(0,1fr);gap:10px;}
  .exhibitflow-shell .ref-dashboard .dashboard-attendance-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;}
  .exhibitflow-shell .ref-dashboard .dashboard-attendance-stats>div{padding:8px 6px;}
  .exhibitflow-shell .ref-dashboard .dashboard-attendance-stats strong{font-size:12px;}
  .exhibitflow-shell .ref-dashboard .dashboard-attendance-card{padding:11px;}
}
@media(max-width:420px){
  .exhibitflow-shell .ref-dashboard .dashboard-attendance-overview{grid-template-columns:minmax(0,1fr);}
  .exhibitflow-shell .ref-dashboard .dashboard-attendance-summary{grid-template-columns:1fr;justify-items:center;}
  .exhibitflow-shell .ref-dashboard .dashboard-attendance-stats{width:100%;}
  .exhibitflow-shell .ref-dashboard .ref-table th,
  .exhibitflow-shell .ref-dashboard .ref-table td{padding:9px 7px;}
}
@media(prefers-reduced-motion:reduce){
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget],
  .exhibitflow-shell .ref-dashboard .ref-table-wrap{scroll-behavior:auto;}
}
/* CONCEPTO_DASHBOARD_REFINEMENT_PACK_3_5_1 END */
/* CONCEPTO_DASHBOARD_LAYOUT_FIX_PACK_3_5_2 START */
/* Content-sized dashboard panels: avoid stretching short cards to a neighboring widget's height. */
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid{
  align-items:start;
  align-content:start;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget]{
  align-self:start;
  height:fit-content;
  min-height:0;
  box-sizing:border-box;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget].ref-attendance-panel,
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget].ref-dashboard-attendance{
  align-self:start;
  height:fit-content;
  min-height:0;
}

/* The Upcoming Projects preview must fit all five columns at desktop widths. */
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table-wrap{
  width:100%;
  min-width:0;
  max-width:100%;
  overflow-x:hidden;
  overscroll-behavior-x:contain;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table{
  width:100%;
  min-width:0;
  max-width:100%;
  table-layout:fixed;
  border-collapse:collapse;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table th:nth-child(1),
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table td:nth-child(1){width:26%;}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table th:nth-child(2),
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table td:nth-child(2){width:22%;}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table th:nth-child(3),
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table td:nth-child(3){width:21%;}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table th:nth-child(4),
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table td:nth-child(4){width:17%;}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table th:nth-child(5),
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table td:nth-child(5){width:14%;}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table th,
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table td{
  min-width:0;
  padding:7px 4px;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  vertical-align:top;
  font-size:10px;
  line-height:1.35;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table th{
  font-size:9px;
  letter-spacing:0;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table .ref-status{
  display:inline-block;
  max-width:100%;
  box-sizing:border-box;
  padding:3px 4px;
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.2;
  font-size:8px;
}

/* Balance visual proportions of graph and attendance widgets without changing data. */
.exhibitflow-shell .ref-dashboard .ref-chart-svg{
  height:190px;
  max-height:190px;
}
.exhibitflow-shell .ref-dashboard .ref-donut-wrap{
  min-height:0;
  align-items:center;
  gap:12px;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="attendance"] .ref-attendance-grid,
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="attendance"] .dashboard-attendance-summary,
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="attendance"] .dashboard-attendance-overview{
  min-width:0;
  align-items:stretch;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="attendance"] .ref-attendance-grid>* ,
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="attendance"] .dashboard-attendance-card{
  min-width:0;
  box-sizing:border-box;
}

@media(max-width:1100px){
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table th,
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table td{
    padding:8px 6px;
  }
  .exhibitflow-shell .ref-dashboard .ref-chart-svg{height:180px;max-height:180px;}
}
@media(max-width:640px){
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table-wrap{
    overflow-x:auto;
  }
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget="upcomingProjects"] .ref-table{
    min-width:520px;
  }
  .exhibitflow-shell .ref-dashboard .ref-chart-svg{height:165px;max-height:165px;}
}
@media(prefers-reduced-motion:reduce){
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid>[data-dashboard-widget]{scroll-behavior:auto;}
}
/* CONCEPTO_DASHBOARD_LAYOUT_FIX_PACK_3_5_2 END */
/* CONCEPTO_DASHBOARD_LAYOUT_OPTIMIZATION_3_5_3 START */
/* Masonry-style grid: preserves the saved DOM/widget order while allowing later widgets to fill vertical gaps. */
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid.dashboard-masonry-3-5-3{
  display:grid;
  grid-auto-rows:1px;
  grid-auto-flow:row dense;
  align-items:start;
  align-content:start;
  row-gap:14px;
  column-gap:14px;
}
.exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid.dashboard-masonry-3-5-3>[data-dashboard-widget]{
  align-self:start;
  height:fit-content;
  min-height:0;
  box-sizing:border-box;
}
/* Keep one-column layouts predictable and avoid microscopic tracks on narrow screens. */
@media(max-width:720px){
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid.dashboard-masonry-3-5-3{
    grid-auto-rows:1px;
    grid-auto-flow:row dense;
    row-gap:12px;
    column-gap:12px;
  }
}
@media(prefers-reduced-motion:reduce){
  .exhibitflow-shell .ref-dashboard .ref-dashboard-widgets-grid.dashboard-masonry-3-5-3>[data-dashboard-widget]{scroll-behavior:auto;}
}
/* CONCEPTO_DASHBOARD_LAYOUT_OPTIMIZATION_3_5_3 END */

/* CONCEPTO_ATTENDANCE_TIMESHEET_GOVERNANCE_3_6_0 START */
.att-gov-card{margin-top:18px;padding:18px;min-width:0}
.att-gov-heading,.att-gov-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}
.att-gov-heading h2,.att-gov-section-head h3{margin:0;color:var(--ink,#172033)}
.att-gov-heading p,.att-gov-section-head p{margin:5px 0 0;max-width:920px;line-height:1.45}
.att-gov-heading h2{font-size:20px}
.att-gov-section-head h3{font-size:16px}
.att-gov-release{border-radius:999px;padding:5px 10px;background:rgba(1,26,94,.08);color:var(--navy,#011A5E);font-size:11px;font-weight:800;white-space:nowrap}
.att-gov-self,.att-gov-reviewer,.att-gov-reports{margin-top:20px;padding-top:18px;border-top:1px solid var(--line,#e5e7eb)}
.att-gov-submit-controls,.att-gov-filters,.att-gov-actions{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap}
.att-gov-submit-controls label{font-size:12px;font-weight:700;color:var(--muted,#667085)}
.att-gov-submit-controls input,.att-gov-filters input{min-height:38px;border:1px solid var(--line,#d6dce7);border-radius:9px;padding:7px 10px;background:var(--card,#fff);color:var(--ink,#172033);font:inherit}
.att-gov-filters{align-items:flex-end;margin:14px 0}
.att-gov-filters .field{min-width:150px;margin:0}
.att-gov-filters .field label{display:block;margin-bottom:5px;font-size:12px;font-weight:700;color:var(--muted,#667085)}
.att-gov-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0 18px}
.att-gov-kpi{min-width:0;border:1px solid var(--line,#e5e7eb);border-radius:10px;background:var(--card,#fff);padding:11px 12px;display:flex;flex-direction:column;gap:6px}
.att-gov-kpi span{font-size:11px;font-weight:650;color:var(--muted,#667085);line-height:1.35}
.att-gov-kpi strong{font-size:17px;color:var(--ink,#172033);overflow-wrap:anywhere}
.att-gov-table{min-width:760px;width:100%;table-layout:auto}
.att-gov-table th{white-space:nowrap;font-size:12px}
.att-gov-table td{font-size:12px;vertical-align:top;overflow-wrap:anywhere}
.att-gov-table .att-gov-note{min-width:160px;max-width:300px;white-space:normal}
.att-gov-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:4px 8px;background:#eef2f7;color:#475467;font-size:10px;font-weight:800;line-height:1.2;white-space:nowrap}
.att-gov-badge.approved,.att-gov-badge.complete{background:#e8f7ef;color:#087443}
.att-gov-badge.submitted{background:#eaf2ff;color:#174ea6}
.att-gov-badge.rejected,.att-gov-badge.incomplete{background:#fff0ed;color:#b42318}
.att-gov-badge.draft{background:#fff7e5;color:#9a6700}
.att-gov-empty{border:1px dashed var(--line,#d6dce7);border-radius:10px;padding:16px;text-align:center;color:var(--muted,#667085);font-size:13px}
.att-gov-message{font-size:12px;color:var(--muted,#667085);margin:8px 0}
.att-gov-message:empty{display:none}
.att-gov-actions{align-items:center;min-width:145px}
.att-gov-actions .btn{white-space:nowrap}
.att-gov-subhead{font-size:14px;margin:18px 0 8px;color:var(--ink,#172033)}
.att-gov-notes{margin:12px 0 0;padding:12px 12px 12px 30px;border:1px solid #f0d9a5;border-radius:10px;background:#fff9ea;color:#735719;font-size:11px;line-height:1.55}
.att-gov-notes li+li{margin-top:4px}
.att-gov-caveat{margin-top:14px;padding:10px 12px;border-radius:9px;background:rgba(212,154,0,.09);color:var(--muted,#667085);font-size:11px;line-height:1.5}
@media(max-width:1100px){.att-gov-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.att-gov-submit-controls{width:100%}}
@media(max-width:700px){.att-gov-card{padding:12px}.att-gov-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.att-gov-kpi{padding:9px}.att-gov-kpi strong{font-size:15px}.att-gov-filters{align-items:stretch}.att-gov-filters .field{flex:1 1 130px}.att-gov-submit-controls{align-items:stretch}.att-gov-submit-controls input{flex:1 1 140px}.att-gov-actions{min-width:110px}.att-gov-actions .btn{font-size:11px;padding:7px 8px}}
/* CONCEPTO_ATTENDANCE_TIMESHEET_GOVERNANCE_3_6_0 END */

/* CONCEPTO_FILE_MANAGER_CLOSEOUT_3_7_0 START */
.fm-folder-picker-card{width:min(760px,calc(100vw - 28px));max-width:760px;max-height:min(86vh,860px);overflow:hidden;display:flex;flex-direction:column;gap:14px}
.fm-folder-picker-card .modal-head{align-items:flex-start;gap:16px}
.fm-folder-picker-card .modal-head h2{margin:0 0 5px}
.fm-folder-picker-body{display:flex;flex-direction:column;gap:14px;min-height:0;overflow:auto;padding:2px 1px 4px}
.fm-picker-current{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border:1px solid var(--border,#d8dfeb);border-radius:12px;background:var(--surface-soft,#f6f8fc)}
.fm-picker-current>div:first-child{display:flex;flex-direction:column;gap:3px}
.fm-picker-current strong{font-size:14px;color:var(--text,#10244a);overflow-wrap:anywhere}
.fm-picker-path{display:flex;align-items:center;gap:5px;flex-wrap:wrap;font-size:12px}
.fm-picker-crumb{border:0;padding:2px 4px;background:transparent;color:var(--primary,#011a5e);font-weight:600;cursor:pointer;border-radius:5px}
.fm-picker-crumb:hover{background:rgba(200,144,34,.13);color:var(--accent,#c89022)}
.fm-picker-sep{color:var(--muted,#6b7890)}
.fm-picker-copy-name{margin:0}
.fm-picker-copy-name input{width:100%;box-sizing:border-box}
.fm-picker-list{display:flex;flex-direction:column;gap:6px;min-height:80px;max-height:36vh;overflow:auto;padding:2px}
.fm-picker-folder{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--border,#e0e5ef);border-radius:9px;background:var(--surface,#fff)}
.fm-picker-folder:hover{border-color:var(--accent,#c89022);background:var(--surface-soft,#f8faff)}
.fm-picker-folder-icon{font-size:18px}
.fm-picker-folder-name{min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:600;color:var(--text,#12254a)}
.fm-picker-parent{align-self:flex-start;border:0;background:transparent;color:var(--primary,#011a5e);padding:7px 5px;font-weight:600;cursor:pointer}
.fm-picker-empty{padding:20px 12px;text-align:center;color:var(--muted,#69768e);border:1px dashed var(--border,#d8dfeb);border-radius:9px;font-size:13px}
.fm-picker-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;padding-top:12px;border-top:1px solid var(--border,#e0e5ef);font-size:12px}
.fm-picker-footer>.muted{max-width:54ch;line-height:1.5}
.fm-picker-footer-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex-shrink:0}
.fm-picker-footer-actions button{white-space:nowrap}
@media(max-width:650px){.fm-folder-picker-card{width:calc(100vw - 16px);max-height:90vh;padding:15px}.fm-picker-folder{grid-template-columns:22px minmax(0,1fr) auto;gap:7px;padding:8px}.fm-picker-folder .btn{padding:7px 10px}.fm-picker-footer{align-items:stretch;flex-direction:column}.fm-picker-footer-actions{width:100%}.fm-picker-footer-actions button{flex:1}.fm-picker-list{max-height:32vh}}
/* CONCEPTO_FILE_MANAGER_CLOSEOUT_3_7_0 END */

