/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-qz5c50kdkl] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-qz5c50kdkl] {
    flex: 1;
}

.sidebar[b-qz5c50kdkl] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-qz5c50kdkl] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-qz5c50kdkl]  a, .top-row[b-qz5c50kdkl]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-qz5c50kdkl]  a:hover, .top-row[b-qz5c50kdkl]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-qz5c50kdkl]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-qz5c50kdkl] {
        justify-content: space-between;
    }

    .top-row[b-qz5c50kdkl]  a, .top-row[b-qz5c50kdkl]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-qz5c50kdkl] {
        flex-direction: row;
    }

    .sidebar[b-qz5c50kdkl] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-qz5c50kdkl] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-qz5c50kdkl]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-qz5c50kdkl], article[b-qz5c50kdkl] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Styles to improve readability of the sidebar navigation */

:global(.sidebar)[b-a717dqy6il] {
    background-color: inherit; /* keep gradient from MainLayout */
}

/* Target NavLink elements inside this component. Use ::deep for generated content if needed. */
.nav-link[b-a717dqy6il],
[b-a717dqy6il] .nav-link {
    color: #ffffff !important;
    opacity: 0.95;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.nav-link .bi[b-a717dqy6il],
[b-a717dqy6il] .nav-link .bi {
    color: inherit;
    margin-right: 0.5rem;
    font-size: 1.05rem;
}

/* Hover state */
.nav-link:hover[b-a717dqy6il],
[b-a717dqy6il] .nav-link:hover {
    background-color: rgba(255,255,255,0.06);
    color: #ffffff !important;
    text-decoration: none;
}

/* Active/selected state (NavLink adds 'active' class) */
.nav-link.active[b-a717dqy6il],
[b-a717dqy6il] .nav-link.active {
    background-color: rgba(255,255,255,0.12);
    color: #ffffff !important;
    font-weight: 600;
    border-left: 4px solid #ffcc00;
    padding-left: calc(1rem - 4px);
}

/* Improve spacing for the nav container */
.nav-scrollable[b-a717dqy6il] {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Ensure the sidebar header brand is white (override Bootstrap or other global rules) */
.navbar-brand[b-a717dqy6il],
[b-a717dqy6il] .navbar-brand {
    color: #ffffff !important;
}
.navbar-brand:visited[b-a717dqy6il],
[b-a717dqy6il] .navbar-brand:visited {
    color: #ffffff !important;
}
.navbar-brand:hover[b-a717dqy6il],
[b-a717dqy6il] .navbar-brand:hover {
    color: #ffffff !important;
    text-decoration: none;
}
/* /Layout/WorkLayout.razor.rz.scp.css */
.work-page[b-gzjjg49dx6] {
    min-height: calc(100dvh - var(--chrono-topbar-height, 0px));
    display: flex;
    flex-direction: column;
    background: #f8f9fb;
}

.work-main[b-gzjjg49dx6] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding: 8px 12px;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .work-main[b-gzjjg49dx6] {
        padding: 6px 8px;
    }
}
/* /Pages/AccountRelationLibraries.razor.rz.scp.css */
.relation-library-workspace[b-yrsxlmoubc] { width:100%; max-width:1080px; box-sizing:border-box; margin:6px 0; padding:0 6px; }
.relation-library-fields[b-yrsxlmoubc] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:10px; }
@media(max-width:700px) {
  .relation-library-workspace[b-yrsxlmoubc] { margin:8px 0; padding:0 8px; }
  .relation-library-fields[b-yrsxlmoubc] { grid-template-columns:1fr; gap:0; }
}

.relation-library-title[b-yrsxlmoubc] { margin:0; font-family:inherit; font-size:22px; line-height:1.3; font-weight:600; letter-spacing:-.2px; color:var(--mud-palette-text-primary); }
.relation-library-fields[b-yrsxlmoubc]  .mud-input { font-size:14px; }
/* /Pages/AccountTypologyLibraries.razor.rz.scp.css */
.library-workspace[b-lwdbfpza3z] { display:grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap:20px; margin-top:20px; height:calc(100vh - 370px); min-height:380px; }
.library-navigation[b-lwdbfpza3z], .library-content[b-lwdbfpza3z] { min-width:0; overflow:auto; padding:12px; border:1px solid #ddd; border-radius:4px; }
.library-choice[b-lwdbfpza3z] { display:block; width:100%; padding:12px; margin:6px 0; border:1px solid #ddd; border-radius:4px; background:transparent; color:inherit; text-align:left; overflow-wrap:anywhere; cursor:pointer; }
.library-choice span[b-lwdbfpza3z] { display:block; font-size:.85em; margin-top:4px; }
.library-choice.selected[b-lwdbfpza3z] { background:#f1efff; border-color:#594ae2; }
.library-choice:focus-visible[b-lwdbfpza3z] { outline:2px solid #594ae2; outline-offset:2px; }
.library-choice:disabled[b-lwdbfpza3z] { opacity:.6; cursor:default; }
.library-editor-host[b-lwdbfpza3z] { grid-column:2 / -1; min-width:0; overflow:auto; }
@media (max-width:1000px) { .library-workspace[b-lwdbfpza3z] { grid-template-columns:1fr; height:auto; } .library-editor-host[b-lwdbfpza3z] { grid-column:auto; } .library-navigation[b-lwdbfpza3z] { max-height:30vh; } .library-content[b-lwdbfpza3z] { max-height:65vh; } }

.record-group[b-lwdbfpza3z] { margin:8px 0; }
.record-group > summary[b-lwdbfpza3z] { font-weight:600; padding:6px 0; cursor:pointer; }
.record-group > .library-choice[b-lwdbfpza3z] { margin:2px 0 2px 18px; width:calc(100% - 18px); padding:7px 9px; border:none; border-radius:3px; }

.library-tools[b-lwdbfpza3z] { width:100%; margin:12px 0 16px; padding-bottom:16px; border-bottom:1px solid #ddd; }
.library-selection[b-lwdbfpza3z] { max-width:640px; margin-top:8px; }
/* /Pages/DetachedStratigraphy.razor.rz.scp.css */
.detached-graph[b-q0w2whmlgi] { position:fixed; inset:0; height:100dvh; box-sizing:border-box; display:flex; flex-direction:column; padding:10px; gap:8px; background:#f8f9fb; }
.detached-graph-content[b-q0w2whmlgi] { flex:1 1 0; min-height:0; overflow:hidden; border:1px solid #ddd; background:#fff; }
.detached-graph-notice[b-q0w2whmlgi] { padding:12px; background:#fff5da; color:#604b17; border:1px solid #eadba5; font-size:14px; }

.detached-graph-heading[b-q0w2whmlgi] { display:flex; align-items:center; flex-wrap:wrap; gap:12px; font-size:14px; padding:4px 2px; }
.detached-graph-heading span[b-q0w2whmlgi] { color:#68737d; font-size:12px; }
/* /Pages/Home.razor.rz.scp.css */
.project-index[b-21ared3q97] { width:100%; max-width:660px; margin:16px 0; padding:0; text-align:left; }
.project-heading[b-21ared3q97] { display:flex; align-items:center; flex-wrap:wrap; gap:20px; margin-bottom:12px; }
.project-list-header[b-21ared3q97] { display:grid; grid-template-columns:minmax(0,1fr) 170px 44px; gap:12px; align-items:center; text-align:left; }
.project-list-header[b-21ared3q97] { padding:9px 0 9px 12px; background:var(--mud-palette-background-gray); color:var(--mud-palette-text-secondary); font-size:13px; font-weight:500; border-bottom:1px solid var(--mud-palette-lines-default); }
.project-row[b-21ared3q97] { display:grid; grid-template-columns:minmax(0,1fr) 44px; align-items:center; min-height:38px; color:var(--mud-palette-text-primary); text-decoration:none; border-bottom:1px solid var(--mud-palette-lines-default); transition:background-color .12s; }
.project-row:hover[b-21ared3q97] { background:var(--mud-palette-action-default-hover); color:var(--mud-palette-primary); }
.project-open:focus-visible[b-21ared3q97] { outline:2px solid var(--mud-palette-primary); outline-offset:-2px; background:var(--mud-palette-action-default-hover); }
.project-open[b-21ared3q97] { display:grid; grid-template-columns:minmax(0,1fr) 170px; gap:12px; align-items:center; min-width:0; padding:9px 12px; color:inherit; text-decoration:none; }
.project-actions[b-21ared3q97] { display:flex; justify-content:center; }
.project-delete[b-21ared3q97] { color:var(--mud-palette-error); }
.project-identity[b-21ared3q97] { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.project-code[b-21ared3q97] { font-weight:600; }
.project-date[b-21ared3q97] { color:var(--mud-palette-text-secondary); text-align:left; white-space:nowrap; font-size:13px; font-variant-numeric:tabular-nums; }
@media(max-width:600px) { .project-index[b-21ared3q97] { margin:12px 0; } .project-list-header[b-21ared3q97] { grid-template-columns:minmax(0,1fr) 130px 36px; gap:12px; padding-left:8px; padding-right:8px; } .project-row[b-21ared3q97] { grid-template-columns:minmax(0,1fr) 36px; } .project-open[b-21ared3q97] { grid-template-columns:minmax(0,1fr) 130px; gap:12px; padding-left:8px; padding-right:8px; } .project-date[b-21ared3q97] { font-size:12px; } }
@media(prefers-reduced-motion:reduce) { .project-row[b-21ared3q97] { transition:none; } }.project-index[b-21ared3q97] { max-width:100%; overflow-x:auto; }
.project-list-header[b-21ared3q97] { grid-template-columns:var(--project-name-width,400px) 170px 44px; gap:0; padding-left:12px; padding-right:0; }
.project-row[b-21ared3q97] { width:calc(var(--project-name-width,400px) + 226px); grid-template-columns:minmax(0,1fr) 44px; }
.project-open[b-21ared3q97] { grid-template-columns:var(--project-name-width,400px) 170px; gap:0; padding-left:12px; padding-right:0; }
.project-name-heading[b-21ared3q97] { position:relative; }
.project-column-resizer[b-21ared3q97] { position:absolute; right:0; top:-8px; bottom:-8px; width:20px; border:0; border-right:2px solid var(--mud-palette-lines-default); background:transparent; color:var(--mud-palette-text-secondary); cursor:col-resize; touch-action:none; user-select:none; }
.project-column-resizer:hover[b-21ared3q97], .project-column-resizer:focus-visible[b-21ared3q97] { background:var(--mud-palette-action-default-hover); outline:2px solid var(--mud-palette-primary); }

.project-date[b-21ared3q97] { padding-left:12px; }
/* /Pages/ImportProject.razor.rz.scp.css */
.project-import-page[b-gmt4hysqjp] { max-width: 1100px; margin: 12px auto; padding: 0 12px 24px; }
.import-source-label[b-gmt4hysqjp] { font-weight: 600; }
/* /Pages/ProjectRelationSettings.razor.rz.scp.css */
/* Styles for ProjectRelationSettings simulation */
.relation-sim-wrapper[b-0m172u1i7r] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem;
}

.mode-select[b-0m172u1i7r] { display:flex; align-items:center; gap:12px; }
.mode-actions[b-0m172u1i7r] { display:flex; align-items:center; gap:12px; }
.start-ues[b-0m172u1i7r] { display:flex; align-items:center; gap:12px; }
.mode-select .mud-radio[b-0m172u1i7r] { margin-right:6px; }

/* Top config area */
.config-top[b-0m172u1i7r] { padding: 12px; border-bottom: 1px solid #e6eefc; background: transparent; }

/* Dedicated mode container placed above category/configuration */
.mode-container[b-0m172u1i7r] {
  padding: 12px;
  border: 1px solid #e6eefc;
  border-radius: 6px;
  margin-bottom: 16px; /* 16px separation as requested */
  background: #ffffff;
}

.config-top .mode-select[b-0m172u1i7r] { margin-bottom: 6px; }

/* Position the form (next sibling MudPaper) beside the simulation on wide screens */
/* Simplified layout: remove split 62%/36% rules; let MudBlazor layout naturally */
.relation-sim-wrapper[b-0m172u1i7r] { display: block; }

/* Simulation container that scrolls horizontally if necessary */
.relation-sim[b-0m172u1i7r] {
  min-width: 680px; /* ensure space for label + three cells */
  overflow-x: auto; /* horizontal scroll only for grid content */
}

.sim-row[b-0m172u1i7r] {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Columns: label column + three small columns */
.label-col[b-0m172u1i7r] {
  flex: 0 0 240px;
  max-width: 240px;
  padding-right: 8px;
  font-weight: 600;
}

.sim-col[b-0m172u1i7r] {
  flex: 0 0 140px;
  max-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-col[b-0m172u1i7r] { text-align: center; }

/* The visual cell box */
.cell[b-0m172u1i7r] {
  width: 120px;
  height: 32px;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: #fff;
}

/* Keep text centered and avoid wrapping inside boxes */
.cell span[b-0m172u1i7r] { text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Rows container spacing */
.sim-rows[b-0m172u1i7r] { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }

/* Draft rows use a soft background and italic label */
.sim-row.draft[b-0m172u1i7r] {
  background-color: #f5f9ff;
  border-radius: 4px;
  padding: 6px 8px;
}
.sim-row.draft .label-col[b-0m172u1i7r] { font-style: italic; color: #0b5394; }

/* Grid for saved pairs and editors */
.pair-row[b-0m172u1i7r], .pair-edit-row[b-0m172u1i7r], .pair-editor-header[b-0m172u1i7r] {
  display: grid;
  /* four columns: origen | relació | destí | relació inversa */
  grid-template-columns: 1fr 2fr 1fr 2fr;
  gap: 8px;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
  min-width: 680px;
}
.pair-row .pair-col[b-0m172u1i7r], .pair-edit-row .pair-col[b-0m172u1i7r] { padding: 4px 6px; }
.pair-row .pair-col.origin[b-0m172u1i7r] { font-weight:600; }
.pair-row .pair-col.muted[b-0m172u1i7r] { color: #6c757d; }

/* compact actions inside inverse column */
.pair-actions-container[b-0m172u1i7r] { display:flex; justify-content:flex-end; }
.pair-actions[b-0m172u1i7r] { display:flex; gap:6px; align-items:center; }
.pair-actions .mud-button[b-0m172u1i7r] { font-size:0.85rem; padding:2px 6px; }

/* actions area sits below the columns */
.pair-edit-actions[b-0m172u1i7r] { grid-column: 1 / -1; display:flex; align-items:center; gap:8px; }

/* Align actions to the right inside editor and ensure they span full width under the row */
.pair-edit-actions[b-0m172u1i7r] { justify-content: flex-end; display:flex; grid-column: 1 / -1; gap:8px; }

/* editing row visual grouping */
.pair-edit-row.editing[b-0m172u1i7r] { background: #f8fbff; padding: 8px; border-radius: 6px; margin-bottom: 8px; }

/* highlight editing row: very light blue background and blue border */
.pair-row.editing[b-0m172u1i7r] { background: #eef6ff; border: 1px solid #7fb0ff; border-radius:6px; }
.pair-row.editing .pair-col[b-0m172u1i7r] { background: transparent; }
.pair-row.editing .cell-control .mud-input-slot[b-0m172u1i7r], .pair-row.editing .cell-control .mud-text-field[b-0m172u1i7r] { background: #fff; }
.pair-row.editing .pair-edit-actions[b-0m172u1i7r] { grid-column: 1 / -1; display:flex; justify-content:flex-end; padding-top:8px; }

/* New actions row under the four cells */
.pair-row-actions[b-0m172u1i7r] { grid-column: 1 / -1; display:flex; justify-content:flex-end; padding-top:6px; }
.pair-row-actions .pair-actions[b-0m172u1i7r] { display:flex; gap:8px; align-items:center; }

/* Ensure four columns keep same min height and vertical alignment */
.pair-row .pair-col[b-0m172u1i7r], .pair-edit-row .pair-col[b-0m172u1i7r] { min-height: 44px; display:flex; align-items:center; padding:8px 6px; }
.pair-col.origin[b-0m172u1i7r] { font-weight:600; }

/* separate blocks vertically */
.sim-block[b-0m172u1i7r] { margin-bottom: 14px; border: 1px solid #e9eef6; border-radius: 6px; padding: 8px; background: #ffffff; }

/* block title styling */
.sim-block .block-title[b-0m172u1i7r] { background: #f0f6ff; padding: 8px 10px; font-weight:700; color:#0b4da0; border-radius:4px; margin-bottom:8px; }

/* cell visual box for header, saved rows and editor cells */
.pair-row .pair-col[b-0m172u1i7r], .pair-edit-row .pair-col[b-0m172u1i7r] { box-sizing: border-box; }
.pair-col.origin[b-0m172u1i7r], .pair-col.relation[b-0m172u1i7r], .pair-col.dest[b-0m172u1i7r], .pair-col.inverse[b-0m172u1i7r] { border: 1px solid #dcdcdc; border-radius:4px; padding:8px; background:#fff; }
.pair-editor-header .pair-col[b-0m172u1i7r] { font-weight:700; background:#fbfdff; border: 1px solid #e6eefc; padding:8px; }

/* controls should fill the cell box */
.cell-control[b-0m172u1i7r] { width:100%; height:100%; display:flex; align-items:center; }
.cell-control .mud-button[b-0m172u1i7r] { width:auto; }
.select-control[b-0m172u1i7r] { gap:6px; display:flex; align-items:center; }

/* ensure MudTextField inset fits cell */
[b-0m172u1i7r] .cell-control .mud-input-slot, [b-0m172u1i7r] .cell-control .mud-text-field { width:100%; }


@media (max-width: 899px) {
  .pair-row[b-0m172u1i7r], .pair-edit-row[b-0m172u1i7r], .pair-editor-header[b-0m172u1i7r] { grid-template-columns: 120px 1fr 120px 1fr; min-width: 680px; }
}

/* Existing conflict marker */
.sim-row.draft.exists .label-col[b-0m172u1i7r] { color: #a64d1a; font-weight: 700; }

/* Muted remote category text */
.muted[b-0m172u1i7r] { color: #6c757d; font-size: 0.85rem; }

/* Ensure alerts remain visible and do not overflow */
.mud-alert[b-0m172u1i7r] { max-width: 100%; }

/* Responsive: compact label column on narrow screens */
@media (max-width: 899px) {
  .label-col[b-0m172u1i7r] { flex: 0 0 180px; max-width: 180px; }
  .sim-col[b-0m172u1i7r] { flex: 0 0 120px; max-width: 120px; }
  .relation-sim-wrapper[b-0m172u1i7r] { padding: 0.25rem; }
  .relation-sim-wrapper + .mud-paper[b-0m172u1i7r] { width: 100%; display: block; margin-top: 0.75rem; }
}

/* Ensure the inactive list remains readable */
.mud-list[b-0m172u1i7r] { max-width: 100%; }

/* Styles for draft editor inside simulation */
.relation-draft-wrapper .draft-editor-container[b-0m172u1i7r] { display:none !important; }
.relation-draft-wrapper .draft-row[b-0m172u1i7r] { display:none !important; }
.relation-draft-wrapper .draft-preview[b-0m172u1i7r] { display:none !important; }
.relation-draft-wrapper .preview-line[b-0m172u1i7r] { display:none !important; }
.relation-draft-wrapper .preview-line.muted[b-0m172u1i7r] { display:none !important; }
.relation-draft-wrapper .add-row .cell.text-end[b-0m172u1i7r] { display:flex; justify-content:flex-end; }


/* small accessibility tweak for focus */
.cell:focus[b-0m172u1i7r] { outline: 2px solid #6ea8fe; outline-offset: 2px; }
/* /Pages/Representation.razor.rz.scp.css */
.rep-container[b-wgt83ybj8p] { display:flex; flex-direction:column; gap:8px; background:#fafafa; height:calc(100dvh - var(--chrono-topbar-height, 0px) - 16px); min-height:0; overflow:hidden; }
.rep-header[b-wgt83ybj8p] { padding:8px 10px; border:1px solid #e6e6e6; background:white; border-radius:4px; }
.rep-header-main[b-wgt83ybj8p] { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.rep-typology-link[b-wgt83ybj8p] { font-size:12px; color:#4f4f4f; text-decoration:none; }
.rep-typology-link:hover[b-wgt83ybj8p] { text-decoration:underline; }
.rep-grid-toolbar[b-wgt83ybj8p] { margin-left:0; width:100%; }
.rep-grid[b-wgt83ybj8p] { display:flex; gap:0; flex:1 1 auto; min-height:0; align-items:stretch; overflow:hidden; }
.rep-grid-main[b-wgt83ybj8p] { position:relative; order:3; flex:1 1 auto; min-width:0; min-height:0; overflow:hidden; border:1px solid #ececec; background:white; padding:8px; display:flex; flex-direction:column; }
.rep-sidebar[b-wgt83ybj8p] { order:1; flex:0 0 480px; max-width:720px; min-width:280px; min-height:0; overflow:auto; border:1px solid #ececec; background:white; padding:10px; }
.rep-embedded-save-alert[b-wgt83ybj8p] {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid #d9a406;
  border-radius: 6px;
  background: #fff8e1;
  color: #4b3d00;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
  pointer-events: auto;
}

.rep-grid-scroll[b-wgt83ybj8p] {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow: auto;
}

.rep-grid-table thead th[b-wgt83ybj8p] {
  position: sticky;
  top: 0;
  z-index: 3;
  background: #fff;
}

.rep-embedded-save-alert-header[b-wgt83ybj8p] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.rep-embedded-save-alert-close[b-wgt83ybj8p] {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}

.rep-embedded-save-alert-close:focus-visible[b-wgt83ybj8p] {
  outline: 2px solid #212529;
  outline-offset: 2px;
  border-radius: 3px;
}

.rep-embedded-save-alert-message[b-wgt83ybj8p] {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.35;
}

.rep-splitter[b-wgt83ybj8p] { order:2; flex:0 0 10px; width:10px; cursor:col-resize; position:relative; background:transparent; touch-action:none; outline:none; }
.rep-splitter[b-wgt83ybj8p]::before { content:""; position:absolute; left:50%; top:0; bottom:0; width:2px; transform:translateX(-50%); background:#d4d4d4; border-radius:2px; transition:background-color .12s ease; }
.rep-splitter:hover[b-wgt83ybj8p]::before,
.rep-splitter:focus-visible[b-wgt83ybj8p]::before,
.rep-grid--dragging .rep-splitter[b-wgt83ybj8p]::before { background:#8a8a8a; }
.rep-grid--dragging[b-wgt83ybj8p] { cursor:col-resize; user-select:none; }
.rep-selection-menu-trigger[b-wgt83ybj8p] {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:2px 0 6px;
  width:26px;
  height:24px;
  border:1px solid #d7d7d7;
  border-radius:4px;
  background:#fff;
  color:#555;
  font-size:16px;
  line-height:1;
}
.rep-selection-menu-trigger:hover[b-wgt83ybj8p],
.rep-selection-menu-trigger:focus-visible[b-wgt83ybj8p] { border-color:#bcbcbc; color:#2f2f2f; }

.rep-selection-menu-backdrop[b-wgt83ybj8p] {
  position:fixed;
  inset:0;
  z-index:1200;
}

.rep-selection-menu[b-wgt83ybj8p] {
  position:fixed;
  left:min(var(--rep-menu-x), calc(100vw - 228px));
  top:min(var(--rep-menu-y), calc(100vh - 188px));
  min-width:170px;
  max-width:220px;
  padding:4px;
  border:1px solid #d6d6d6;
  border-radius:6px;
  background:#fff;
  box-shadow:0 8px 24px rgba(0,0,0,.16);
}

.rep-selection-menu-item[b-wgt83ybj8p] {
  display:block;
  width:100%;
  text-align:left;
  border:0;
  background:transparent;
  padding:6px 8px;
  border-radius:4px;
  font-size:13px;
  line-height:1.35;
  color:#222;
}

.rep-selection-menu-item:hover[b-wgt83ybj8p],
.rep-selection-menu-item:focus-visible[b-wgt83ybj8p] { background:#f1f5fa; }
.rep-selection-menu-item:disabled[b-wgt83ybj8p] { color:#a0a0a0; }

.rep-merge-dialog-backdrop[b-wgt83ybj8p] {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.18);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:56px 12px 12px;
  z-index:1250;
}

.rep-merge-dialog[b-wgt83ybj8p] {
  width:min(560px, calc(100vw - 24px));
}

.rep-review-dialog-backdrop[b-wgt83ybj8p] {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.22);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 28px 12px 12px;
  z-index: 1300;
}

.rep-review-dialog[b-wgt83ybj8p] {
  width: min(1120px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  overflow: auto;
}

.rep-review-columns[b-wgt83ybj8p] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.rep-review-col[b-wgt83ybj8p] {
  border: 1px solid #ececec;
  border-radius: 6px;
  padding: 8px;
  background: #fff;
}

.rep-review-item[b-wgt83ybj8p] {
  border: 1px solid #efefef;
  border-left-width: 4px;
  border-radius: 4px;
  padding: 6px 8px;
  margin-bottom: 6px;
}

.rep-review-item-title[b-wgt83ybj8p] {
  font-weight: 600;
  margin-bottom: 4px;
}

.rep-review-selection-row[b-wgt83ybj8p] {
  max-width: 480px;
}

.rep-review-summary[b-wgt83ybj8p] {
  border: 1px solid #ececec;
  border-radius: 6px;
  padding: 8px;
  background: #fff;
}

.rep-review-actions[b-wgt83ybj8p] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rep-review-toolbar[b-wgt83ybj8p] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: #fff;
}

.rep-review-toolbar-summary[b-wgt83ybj8p] {
  font-size: 12px;
  line-height: 1.4;
  color: #4e4e4e;
}

.rep-review-provisional[b-wgt83ybj8p] {
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.3;
  color: #6e6e6e;
}

.rep-review-conserved[b-wgt83ybj8p] { border-left-color: #8c8c8c; background: #fafafa; }
.rep-review-added[b-wgt83ybj8p] { border-left-color: #2f9e44; background: #f2fbf4; }
.rep-review-modified[b-wgt83ybj8p] { border-left-color: #f08c00; background: #fff9ef; }
.rep-review-removed[b-wgt83ybj8p] { border-left-color: #c92a2a; background: #fff5f5; }
.loading[b-wgt83ybj8p] { font-style:italic; }
.error[b-wgt83ybj8p] { color:#900; }
svg[b-wgt83ybj8p] { border:1px solid #ddd; background:white; }
.ue rect[b-wgt83ybj8p] { transition: fill .1s; }
.ue:hover rect[b-wgt83ybj8p] { fill:#eef; }

.rep-container[b-wgt83ybj8p] {
  font-size: 14px;
  line-height: 1.45;
}

.rep-project-title[b-wgt83ybj8p] {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.rep-ue-code[b-wgt83ybj8p] {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.rep-ue-header[b-wgt83ybj8p] {
  border-bottom: 1px solid #ececec;
  padding-bottom: 6px;
}

.rep-ue-header-title[b-wgt83ybj8p] {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: normal;
}

.rep-ue-tabs-host[b-wgt83ybj8p] {
  min-width: 0;
}

.rep-ue-tabbar[b-wgt83ybj8p] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 4px;
  margin-bottom: 8px;
}

.rep-ue-tab-btn[b-wgt83ybj8p] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 4px 6px;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: #fff;
  color: #2e2e2e;
  font-size: 13px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.rep-ue-tab-btn.is-active[b-wgt83ybj8p] {
  border-color: #3f51b5;
  background: #eef1ff;
  color: #1f2f8f;
  font-weight: 600;
}

.rep-ue-tab-btn:focus-visible[b-wgt83ybj8p] {
  outline: 2px solid #1f2f8f;
  outline-offset: 1px;
}

.rep-ue-tab-panels[b-wgt83ybj8p] {
  min-height: 0;
}

.rep-ue-tab-scroll[b-wgt83ybj8p] {
  max-height: calc(100dvh - 280px);
  overflow: auto;
  padding-right: 2px;
}

.rep-ue-category[b-wgt83ybj8p] {
  font-size: 14px;
  color: #5f6368;
}

.rep-container h5[b-wgt83ybj8p],
.rep-container h6[b-wgt83ybj8p],
.rep-container[b-wgt83ybj8p]  .mud-typography-h6,
.rep-container[b-wgt83ybj8p]  .mud-typography.subtitle1 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.rep-container table[b-wgt83ybj8p],
.rep-container th[b-wgt83ybj8p],
.rep-container td[b-wgt83ybj8p],
.rep-container input[b-wgt83ybj8p],
.rep-container select[b-wgt83ybj8p],
.rep-container textarea[b-wgt83ybj8p],
.rep-container .form-control[b-wgt83ybj8p],
.rep-container .form-select[b-wgt83ybj8p],
.rep-container[b-wgt83ybj8p]  .mud-input,
.rep-container[b-wgt83ybj8p]  .mud-input-control,
.rep-container[b-wgt83ybj8p]  .mud-input-label,
.rep-container[b-wgt83ybj8p]  .mud-select,
.rep-container[b-wgt83ybj8p]  .mud-numeric-field,
.rep-container[b-wgt83ybj8p]  .mud-typography,
.rep-container[b-wgt83ybj8p]  .mud-alert-message {
  font-size: 14px;
  line-height: 1.45;
}

.rep-container .text-muted[b-wgt83ybj8p],
.rep-container small[b-wgt83ybj8p],
.rep-container label[b-wgt83ybj8p],
.rep-container[b-wgt83ybj8p]  .mud-input-helper-text,
.rep-container[b-wgt83ybj8p]  .mud-input-label,
.rep-container[b-wgt83ybj8p]  .mud-tab,
.rep-container[b-wgt83ybj8p]  .mud-button-root,
.rep-container .btn[b-wgt83ybj8p],
.rep-container .badge[b-wgt83ybj8p] {
  font-size: 14px;
}

.rep-container[b-wgt83ybj8p]  .mud-tab,
.rep-container[b-wgt83ybj8p]  .mud-button-root,
.rep-container .btn[b-wgt83ybj8p] {
  text-transform: none;
  letter-spacing: normal;
}

.rep-container[b-wgt83ybj8p]  .mud-input-helper-text,
.rep-container .rep-secondary[b-wgt83ybj8p],
.rep-container .text-muted[b-wgt83ybj8p] {
  font-size: 12px;
  line-height: 1.4;
}

.rep-container[b-wgt83ybj8p]  .mud-alert,
.rep-container .alert[b-wgt83ybj8p] {
  margin: 4px 0;
  padding: 6px 10px;
  border-radius: 4px;
}

.rep-container[b-wgt83ybj8p]  .mud-alert .mud-alert-message,
.rep-container .alert[b-wgt83ybj8p] {
  font-size: 13px;
  line-height: 1.35;
}

.rep-grid-table[b-wgt83ybj8p] {
  --rep-col-period: 120px;
  --rep-col-phase: 120px;
  --rep-col-moment: 150px;
  --rep-col-ue: 50px;
  border-collapse: collapse;
  width: max-content;
  min-width: auto;
  table-layout: fixed;
}

.rep-grid-col-period[b-wgt83ybj8p] {
  width: var(--rep-col-period);
  min-width: var(--rep-col-period);
  max-width: var(--rep-col-period);
  border: 1px solid #e0e0e0;
}

.rep-grid-col-phase[b-wgt83ybj8p] {
  width: var(--rep-col-phase);
  min-width: var(--rep-col-phase);
  max-width: var(--rep-col-phase);
  border: 1px solid #e0e0e0;
}

.rep-grid-col-moment[b-wgt83ybj8p] {
  width: var(--rep-col-moment);
  min-width: var(--rep-col-moment);
  max-width: var(--rep-col-moment);
  border: 1px solid #e0e0e0;
}

.rep-grid-col-ue-group[b-wgt83ybj8p] {
  width: calc(var(--rep-col-ue) * 1);
  border: 1px solid #e0e0e0;
}

.rep-moment-cell[b-wgt83ybj8p] {
  border: 1px solid #f0f0f0;
  vertical-align: middle;
  padding: 6px;
  text-align: left;
}

.rep-grid-period-cell[b-wgt83ybj8p] {
  width: var(--rep-col-period);
  min-width: var(--rep-col-period);
  max-width: var(--rep-col-period);
}

.rep-grid-phase-cell[b-wgt83ybj8p] {
  width: var(--rep-col-phase);
  min-width: var(--rep-col-phase);
  max-width: var(--rep-col-phase);
}

.rep-grid-moment-cell[b-wgt83ybj8p] {
  width: var(--rep-col-moment);
  min-width: var(--rep-col-moment);
  max-width: var(--rep-col-moment);
}

.rep-grid-header-cell[b-wgt83ybj8p] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.rep-grid-col-resize-handle[b-wgt83ybj8p] {
  flex: 0 0 auto;
  width: 10px;
  min-height: 24px;
  cursor: col-resize;
  position: relative;
  touch-action: none;
}

.rep-grid-col-resize-handle[b-wgt83ybj8p]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  bottom: 3px;
  width: 2px;
  background: #d0d4d9;
}

.rep-grid-scroll--col-resize[b-wgt83ybj8p],
.rep-grid-scroll--col-resize *[b-wgt83ybj8p] {
  cursor: col-resize !important;
}

.rep-grid-visual-empty-row[b-wgt83ybj8p] {
  background: transparent;
}

.rep-grid-visual-empty-row > td[b-wgt83ybj8p] {
  height: 34px;
  min-height: 34px;
  padding-top: 0;
  padding-bottom: 0;
}

.rep-grid-visual-empty-cell[b-wgt83ybj8p] {
  color: transparent;
}

.rep-grid-visual-empty-cell.rep-grid-ue-cell[b-wgt83ybj8p] {
  color: inherit;
}

.rep-grid-visual-empty-cell .rep-ue-inline-editor[b-wgt83ybj8p],
.rep-grid-visual-empty-cell .rep-ue-inline-input[b-wgt83ybj8p],
.rep-grid-visual-empty-cell .rep-ue-inline-category[b-wgt83ybj8p],
.rep-grid-visual-empty-cell .rep-ue-inline-error[b-wgt83ybj8p] {
  color: inherit;
}

.rep-moment-id[b-wgt83ybj8p] {
  font-weight: 600;
  line-height: 1.2;
}

.rep-moment-dating[b-wgt83ybj8p] {
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.rep-grid-ue-cell[b-wgt83ybj8p] {
  border: 1px solid #f0f0f0;
  width: var(--rep-col-ue);
  min-width: var(--rep-col-ue);
  max-width: var(--rep-col-ue);
  padding: 2px;
  vertical-align: middle;
  text-align: center;
}

.rep-grid-ue-cell.rep-grid-ue-cell--selected[b-wgt83ybj8p] {
  box-shadow: inset 0 0 0 1px #c92a2a;
}

.rep-ue-rel-legend[b-wgt83ybj8p] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 2px 0 6px;
}

.rep-ue-rel-legend-item .badge[b-wgt83ybj8p] {
  font-size: 11px;
  font-weight: 600;
}

.rep-ue-rel-a11y[b-wgt83ybj8p] { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.rep-ue-rel-legend .badge.rep-ue-rel-immediate[b-wgt83ybj8p] {
  color: #198754 !important;
  font-weight: 700;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rep-ue-rel-legend .badge.rep-ue-rel-indirect[b-wgt83ybj8p] {
  color: #0a58ca !important;
  font-weight: 700;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rep-grid-ue-cell .badge.rep-ue-rel-equivalent[b-wgt83ybj8p],
.rep-ue-rel-legend .badge.rep-ue-rel-equivalent[b-wgt83ybj8p] {
  color: #495057 !important;
  font-weight: 700;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rep-grid-ue-cell .badge.rep-ue-rel-selected[b-wgt83ybj8p],
.rep-ue-rel-legend .badge.rep-ue-rel-selected[b-wgt83ybj8p] {
  color: #212529 !important;
  font-weight: 700;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rep-grid-ue-cell .badge:focus-visible[b-wgt83ybj8p],
.rep-ue-rel-legend .badge:focus-visible[b-wgt83ybj8p] {
  outline: 2px solid #212529;
  outline-offset: 2px;
}

.rep-grid-ue-cell .badge[b-wgt83ybj8p],
.rep-grid-ue-cell span[b-wgt83ybj8p] {
  display: inline-block;
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  text-align: center;
}

/* UE codes are plain text; Bootstrap badges must not add spacing or a background. */
.rep-grid-ue-cell .badge[b-wgt83ybj8p] {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: inherit !important;
  box-shadow: none;
  font-size: inherit;
  font-weight: normal;
  line-height: inherit;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

.rep-ue-rel-legend-item .badge[b-wgt83ybj8p] {
  padding: 0;
  border-radius: 0;
  line-height: inherit;
}

.rep-grid-table td.selection-cell.interactive-cell[b-wgt83ybj8p] {
  text-align: left;
  vertical-align: middle;
}

.rep-grid-ue-cell--empty[b-wgt83ybj8p] {
  pointer-events: none;
}

.rep-grid-ue-cell--entry[b-wgt83ybj8p] {
  position: relative;
  cursor: text;
}

.rep-ue-entry-hint[b-wgt83ybj8p] {
  font-size: 13px;
  color: #5f6368;
}

.rep-ue-inline-editor[b-wgt83ybj8p] {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.rep-ue-inline-input[b-wgt83ybj8p] {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
  text-align: center;
}

.rep-grid-ue-cell--entry:focus-within[b-wgt83ybj8p] {
  box-shadow: inset 0 0 0 1px #4263eb;
}

.rep-ue-inline-category[b-wgt83ybj8p] {
  width: 100%;
}

.rep-ue-inline-error[b-wgt83ybj8p] {
  color: #b42318;
  font-size: 11px;
  line-height: 1.2;
  text-align: left;
}

.rep-container .rep-review-details summary[b-wgt83ybj8p] {
  font-size: 13px;
  line-height: 1.3;
}

.rep-datings-section[b-wgt83ybj8p] {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #ececec;
}

.rep-dating-calculated-section[b-wgt83ybj8p] {
  padding: 8px;
  border: 1px solid #ececec;
  border-radius: 6px;
  background: #fff;
}

.rep-dating-calculated-result[b-wgt83ybj8p] {
  font-weight: 600;
}

.rep-dating-calculated-explanation[b-wgt83ybj8p] {
  font-size: 13px;
  line-height: 1.35;
}

.rep-datings-cards[b-wgt83ybj8p] {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.rep-dating-card[b-wgt83ybj8p] {
  border: 1px solid #e9e9e9;
  border-radius: 6px;
  background: #fff;
  padding: 8px;
}

.rep-dating-card-date[b-wgt83ybj8p] {
  font-weight: 600;
  margin-bottom: 4px;
}

.rep-datings-section-header[b-wgt83ybj8p] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.rep-datings-list[b-wgt83ybj8p] {
  margin: 0;
  padding-left: 16px;
}

.rep-datings-item[b-wgt83ybj8p] {
  margin-bottom: 8px;
}

.rep-datings-actions[b-wgt83ybj8p] {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rep-datings-actions[b-wgt83ybj8p]  .mud-button-root {
  min-width: 0;
  padding: 2px 10px;
  line-height: 1.2;
}

.rep-datings-editor-section[b-wgt83ybj8p] {
  background: #fcfcfc;
  border: 1px solid #ededed;
  border-radius: 6px;
  padding: 8px;
}

@media (max-width: 992px) {
  .rep-grid-toolbar[b-wgt83ybj8p] { margin-left:0; width:100%; }
  .rep-grid[b-wgt83ybj8p] { flex-direction:column; gap:12px; min-height:auto; }
  .rep-splitter[b-wgt83ybj8p] { display:none; }
  .rep-sidebar[b-wgt83ybj8p], .rep-grid-main[b-wgt83ybj8p] { flex:1 1 auto; max-width:100%; min-width:0; max-height:none; width:100%; }
  .rep-sidebar[b-wgt83ybj8p] { order:1; }
  .rep-grid-main[b-wgt83ybj8p] { order:2; }
  .rep-merge-dialog-backdrop[b-wgt83ybj8p] { padding-top:40px; }
  .rep-review-columns[b-wgt83ybj8p] { grid-template-columns: 1fr; }
  .rep-embedded-save-alert[b-wgt83ybj8p] {
    left: 4px;
    right: 4px;
    top: 4px;
    padding: 8px;
    max-height: 42vh;
    overflow: auto;
  }
}

.rep-container.rep-readonly[b-wgt83ybj8p] { height:100%; flex:1 1 auto; }

.rep-dating-help[b-wgt83ybj8p] { font-size:12px; line-height:1.4; color:var(--mud-palette-text-secondary); margin:4px 0; }

.rep-evidence-original[b-wgt83ybj8p] { margin-top:8px; padding:8px; border:1px solid var(--mud-palette-lines-default); border-radius:4px; }
.rep-evidence-original h6[b-wgt83ybj8p], .rep-evidence-heading[b-wgt83ybj8p] { margin:0 0 4px; font-size:13px; font-weight:600; }
.rep-evidence-details[b-wgt83ybj8p] { margin:6px 0; font-size:12px; line-height:1.4; }
.rep-evidence-details summary[b-wgt83ybj8p] { cursor:pointer; color:var(--mud-palette-primary); }
.rep-evidence-details div[b-wgt83ybj8p] { white-space:pre-wrap; overflow-wrap:anywhere; margin:4px 0; }

.rep-legacy-datings[b-wgt83ybj8p] { margin:8px 0; }
.rep-datings-editor-section .rep-evidence-original[b-wgt83ybj8p] { padding:0; border:0; margin-top:0; }
.rep-datings-editor-section h6[b-wgt83ybj8p] { font-size:13px; font-weight:600; }


/* Keep dating feedback visible within the scrolling left panel. */
.rep-dating-notice[b-wgt83ybj8p] {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #90caf9;
    border-left-width: 4px;
    border-radius: 4px;
    background: #f0f8ff;
    color: #153b58;
    max-height: 45vh;
    overflow-y: auto;
    line-height: 1.45;
}
.rep-dating-notice-error[b-wgt83ybj8p] {
    border-color: #c62828;
    background: #fff4f3;
    color: #70201c;
}
.rep-dating-notice h6[b-wgt83ybj8p] {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 6px;
}
.rep-dating-notice summary[b-wgt83ybj8p] {
    font-weight: 600;
    cursor: pointer;
}
.rep-dating-notice ul[b-wgt83ybj8p] { padding-left: 20px; }

.rep-dating-notice-message[b-wgt83ybj8p] { white-space: pre-line; }

.rep-dating-notice-close[b-wgt83ybj8p] {
    float: right;
    margin: -4px -4px 4px 8px;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.rep-dating-notice-close:hover[b-wgt83ybj8p] { background: rgba(0, 0, 0, 0.07); }
.rep-dating-notice-close:focus-visible[b-wgt83ybj8p] { outline: 2px solid currentColor; outline-offset: 2px; }
.rep-ue-context-title[b-wgt83ybj8p] { padding: 5px 8px; font-size: 12px; font-weight: 600; color: #555; }
.rep-ue-context-divider[b-wgt83ybj8p] { margin: 4px 0; border: 0; border-top: 1px solid #e5e5e5; }
.rep-selection-menu-item.rep-ue-context-delete[b-wgt83ybj8p] { color: #b3261e; }
.rep-ue-context-notice[b-wgt83ybj8p] { position: fixed; bottom: 16px; left: 16px; z-index: 1300; max-width: min(480px, calc(100vw - 32px)); padding: 12px 36px 12px 14px; background: #fff; color: #222; border: 1px solid #bbb; border-radius: 6px; box-shadow: 0 4px 16px #0002; font-size: 13px; }
.rep-ue-context-notice button[b-wgt83ybj8p] { position: absolute; right: 8px; top: 6px; background: none; border: 0; font-size: 20px; }

.rep-ue-hover-info[b-wgt83ybj8p] { max-width: 300px; white-space: pre-line; overflow-wrap: anywhere; text-align: left; font-size: 12px; line-height: 1.45; }

/* Merge only the visual boundary; preserve the underlying grid column count. */
.rep-grid-equivalence-cell[b-wgt83ybj8p] {
  width: calc(var(--rep-col-ue) * var(--rep-equivalent-count));
  min-width: calc(var(--rep-col-ue) * var(--rep-equivalent-count));
  max-width: calc(var(--rep-col-ue) * var(--rep-equivalent-count));
}
.rep-grid-equivalence-members[b-wgt83ybj8p] { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:3px; }
.rep-grid-ue-code[b-wgt83ybj8p] { appearance:none; border:0; background:transparent; font:inherit; cursor:pointer; padding:3px; border-radius:2px; }
.rep-grid-ue-cell .rep-grid-ue-code.rep-grid-ue-code--selected[b-wgt83ybj8p], .rep-grid-ue-cell .rep-grid-ue-code.rep-grid-ue-code--selected:focus[b-wgt83ybj8p], .rep-grid-ue-cell .rep-grid-ue-code.rep-grid-ue-code--selected:focus-visible[b-wgt83ybj8p] { outline:1px solid #c92a2a; outline-offset:1px; }
.rep-grid-ue-code:focus-visible[b-wgt83ybj8p] { outline:2px solid var(--mud-palette-primary); outline-offset:1px; }
.rep-grid-equivalence-sign[b-wgt83ybj8p] { color:#555; font-size:12px; }

.rep-work-views[b-wgt83ybj8p] { order:3; display:flex; flex-direction:column; min-height:0; overflow:hidden; }
.rep-inspection-layout[b-wgt83ybj8p] { display:flex; flex:1; min-height:0; min-width:0; }
.rep-layout-chronology-bottom[b-wgt83ybj8p],.rep-layout-stacked[b-wgt83ybj8p] { flex-direction:column; }
.rep-layout-stacked .rep-views-panels[b-wgt83ybj8p],.rep-layout-stacked .rep-secondary-views[b-wgt83ybj8p] { flex-direction:column; }
.rep-layout-stacked .rep-drawing-pane[b-wgt83ybj8p] { overflow:auto; }
.rep-inspection-pane[b-wgt83ybj8p] { order:5; flex:1 1 0; min-height:0; min-width:0; overflow:auto; border:1px solid #ececec; background:white; }
.rep-inspection-splitter[b-wgt83ybj8p] { order:4; }
.rep-chronology-floating[b-wgt83ybj8p] { display:flex; align-items:center; gap:12px; padding:5px 10px; flex-wrap:wrap; }
.rep-chronology-floating button[b-wgt83ybj8p] { font:inherit; color:var(--mud-palette-primary); background:white; border:1px solid #ddd; border-radius:4px; padding:4px 8px; cursor:pointer; }
.rep-views-panels[b-wgt83ybj8p] { display:flex; flex:1; min-height:0; min-width:0; overflow:hidden; gap:0; }
.rep-view-hidden[b-wgt83ybj8p] { display:none !important; }
.rep-stratigraphy-pane[b-wgt83ybj8p] { order:4; flex:1; min-width:0; min-height:0; border:1px solid #ececec; overflow:hidden; background:white; }
@media (max-width:900px) { .rep-work-views[b-wgt83ybj8p] { width:100% !important; min-height:500px; } }

.rep-views-splitter[b-wgt83ybj8p] { order:3; flex:0 0 10px; cursor:col-resize; touch-action:none; position:relative; outline:none; }
.rep-views-splitter[b-wgt83ybj8p]::before { content:""; position:absolute; top:0; bottom:0; left:4px; width:2px; background:#d4d4d4; border-radius:2px; }
.rep-views-splitter.rep-splitter-horizontal[b-wgt83ybj8p] { cursor:row-resize; }
.rep-views-splitter.rep-splitter-horizontal[b-wgt83ybj8p]::before { left:0; right:0; top:4px; bottom:auto; width:auto; height:2px; }
.rep-inspection-layout.rep-views-panels--dragging:has(.rep-inspection-splitter.rep-splitter-horizontal)[b-wgt83ybj8p] { cursor:row-resize; }
.rep-views-splitter:hover[b-wgt83ybj8p]::before, .rep-views-splitter:focus-visible[b-wgt83ybj8p]::before, .rep-views-panels--dragging .rep-views-splitter[b-wgt83ybj8p]::before { background:var(--mud-palette-primary); }
.rep-views-panels--dragging[b-wgt83ybj8p] { cursor:col-resize; user-select:none; }

/* Relationship colour belongs to the complete UE cell, including equivalences. */
.rep-grid-ue-cell .badge.rep-ue-rel-immediate[b-wgt83ybj8p], .rep-grid-ue-cell .badge.rep-ue-rel-indirect[b-wgt83ybj8p] { color:#253444 !important; font-weight:600; }
.rep-grid-ue-cell.rep-grid-relation-immediate[b-wgt83ybj8p] { background:#f0faf4; box-shadow:inset 0 0 0 1px #198754; }
.rep-grid-ue-cell.rep-grid-relation-indirect[b-wgt83ybj8p] { background:#f2f7ff; box-shadow:inset 0 0 0 1px #0a58ca; }
.rep-grid-ue-cell.rep-grid-relation-selected[b-wgt83ybj8p] { background:#fff8f8; box-shadow:inset 0 0 0 1px #c92a2a; }
.rep-ue-rel-legend .badge.rep-ue-rel-immediate[b-wgt83ybj8p] { color:#253444 !important; background:#f0faf4 !important; border:1px solid #198754 !important; }
.rep-ue-rel-legend .badge.rep-ue-rel-indirect[b-wgt83ybj8p] { color:#253444 !important; background:#f2f7ff !important; border:1px solid #0a58ca !important; }
.rep-ue-rel-legend .badge.rep-ue-rel-selected[b-wgt83ybj8p] { color:#253444 !important; background:#fff8f8 !important; border:1px solid #c92a2a !important; }

.rep-relation-toggle[b-wgt83ybj8p] { border:1px solid #ddd; background:#fff; border-radius:3px; padding:2px 5px; font-size:12px; cursor:pointer; }
.rep-relation-toggle--direct[b-wgt83ybj8p] { color:#198754; }
.rep-relation-toggle--indirect[b-wgt83ybj8p] { color:#0a58ca; }
.rep-relation-toggle--direct[aria-pressed="true"][b-wgt83ybj8p] { background:#eaf7ef; color:#146c43; border-color:#198754; }
.rep-relation-toggle--indirect[aria-pressed="true"][b-wgt83ybj8p] { background:#edf4ff; color:#0a58ca; border-color:#0a58ca; }
.rep-relation-toggle:focus-visible[b-wgt83ybj8p] { outline:2px solid var(--mud-palette-primary); outline-offset:2px; }

.rep-grid-zoom[b-wgt83ybj8p] { display:flex; gap:3px; margin-left:auto; }
.rep-grid-zoom button[b-wgt83ybj8p] { border:1px solid #ddd; background:#fff; border-radius:3px; min-width:27px; padding:2px 5px; font-size:12px; cursor:pointer; }
.rep-grid-zoom button:disabled[b-wgt83ybj8p] { cursor:default; opacity:.5; }
.rep-grid-zoom button:focus-visible[b-wgt83ybj8p] { outline:2px solid var(--mud-palette-primary); outline-offset:2px; }

.rep-secondary-views[b-wgt83ybj8p] { order:4; display:flex; flex:1; min-width:0; min-height:0; overflow:hidden; }
.rep-secondary-views .rep-stratigraphy-pane[b-wgt83ybj8p] { order:0; }
.rep-drawing-pane[b-wgt83ybj8p] { flex:1; min-width:240px; min-height:0; overflow:hidden; border:1px solid #ececec; background:white; }
.rep-secondary-views .rep-drawing-splitter[b-wgt83ybj8p] { order:0; }
.rep-drawing-pane[b-wgt83ybj8p] { min-width:0; }

.rep-grid-ue-code--group-selection[b-wgt83ybj8p] { outline: 2px solid #285ed4; outline-offset: -2px; background: #e9f0ff !important; }
.rep-ue-selection-hint[b-wgt83ybj8p] { font-size: .75rem; padding: 4px 8px; color: #34517d; }

.rep-group-sidebar[b-wgt83ybj8p] { padding: 0 4px; }
.rep-group-sidebar-actions[b-wgt83ybj8p] { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.rep-group-sidebar-actions button[b-wgt83ybj8p], .rep-group-sidebar[b-wgt83ybj8p]  .group-details button { border:1px solid #c6d1e2; border-radius:4px; padding:4px 8px; background:#fff; color:#285ed4; cursor:pointer; }

.rep-grid-ue-cell--revealed-member[b-wgt83ybj8p] { background:#fff0b3 !important; box-shadow:inset 0 0 0 1px #ad7b00; }

.rep-group-conditions-info[b-wgt83ybj8p] { border:0; background:transparent; color:var(--mud-palette-text-secondary); font-size:1.3rem; line-height:1; padding:6px; cursor:pointer; border-radius:50%; }
.rep-group-conditions-info:focus-visible[b-wgt83ybj8p] { outline:2px solid var(--mud-palette-primary); outline-offset:2px; }

.rep-grid-ue-cell[b-wgt83ybj8p], .rep-grid-ue-code[b-wgt83ybj8p] { position:relative; }
.rep-categories-visible .rep-grid-ue-code[b-wgt83ybj8p] { padding-left:12px; }

.rep-grid-scroll[b-wgt83ybj8p] { position:relative; }

.rep-grid-table thead th[b-wgt83ybj8p] { z-index:3; }
/* /Pages/SharedProject.razor.rz.scp.css */
.shared-project[b-9pyqh3by75] { padding:8px 12px; width:100%; height:100dvh; min-height:0; display:flex; flex-direction:column; overflow:hidden; }
.shared-project h1[b-9pyqh3by75] { font-size:1.15rem; margin-bottom:4px; }
.shared-project p[b-9pyqh3by75] { margin-bottom:4px; }
.shared-project[b-9pyqh3by75]  .rep-container { flex:1 1 auto; min-height:0; }
/* /Pages/UeRelationGrid.razor.rz.scp.css */
.relation-grid-compact[b-89ph2e3iur] { padding: 8px; }
.grid-scroll[b-89ph2e3iur] { overflow-x:auto; }
.grid-scroll > .relation-grid-compact[b-89ph2e3iur] { min-width:100%; }
.grid-row[b-89ph2e3iur] { display:flex; align-items:center; gap:8px; margin-bottom:6px; }
.row-label[b-89ph2e3iur] { flex: 0 0 200px; font-weight:600; position:sticky; left:0; background:rgba(255,255,255,0.95); z-index:2; }
.equal-label[b-89ph2e3iur] { flex: 0 0 200px; font-weight:600; position:sticky; left:0; background:rgba(255,255,255,0.95); z-index:2; }
.boxes-row[b-89ph2e3iur] { display:flex; gap:6px; padding-bottom:4px; min-width:0; flex:1; overflow-x:auto; overflow-y:hidden; }
.box[b-89ph2e3iur] { flex: 0 0 auto; min-width: calc(5ch + 14px); width: max-content; box-sizing:border-box; height:30px; border:1px solid #ddd; display:flex; align-items:center; justify-content:center; padding:2px 6px; background:#fff; cursor:default; white-space:nowrap; }
.box-empty[b-89ph2e3iur] { background:transparent; border-style:solid; }
.box .box-content[b-89ph2e3iur] { white-space:nowrap; display:block; width:auto; text-align:center; }
.box-input[b-89ph2e3iur] {
    width: auto;
    min-width: 5ch;
    max-width: none;
    field-sizing: content;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    text-align: center;
    font: inherit;
    color: inherit;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.relation-grid-embedded .grid-row[b-89ph2e3iur] {
    align-items: flex-start;
}

.relation-grid-embedded .row-label[b-89ph2e3iur],
.relation-grid-embedded .equal-label[b-89ph2e3iur] {
    flex: 0 0 132px;
    max-width: 132px;
    font-size: .85rem;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
}

.relation-grid-embedded .boxes-row[b-89ph2e3iur] {
    gap: 4px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 2px;
}

.relation-grid-embedded .box[b-89ph2e3iur] {
    flex: 0 0 calc((100% - 16px) / 5);
    min-width: 0;
    width: auto;
    overflow: hidden;
    height: 28px;
    font-size: .82rem;
    padding: 1px 5px;
}

.relation-grid-embedded .box-content[b-89ph2e3iur],
.relation-grid-embedded .box-input[b-89ph2e3iur] {
    font-size: .82rem;
}

.relation-grid-embedded .box-input[b-89ph2e3iur] {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

@media (max-width:768px) { .row-label[b-89ph2e3iur] { flex: 0 0 120px; font-size:0.9rem; } .equal-label[b-89ph2e3iur] { flex: 0 0 120px; font-size:0.9rem; } .box[b-89ph2e3iur] { flex: 0 0 72px; height:26px; font-size:0.9rem; } }
/* /Pages/UeTypologyLibrary.razor.rz.scp.css */
.typology-library-container[b-d398s1nx5t] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fafafa;
    min-height: calc(100dvh - 16px);
    padding: 2px;
}

.typology-library-header[b-d398s1nx5t] {
    padding: 8px 10px;
    border: 1px solid #e6e6e6;
    background: white;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.typology-library-subtitle[b-d398s1nx5t] {
    font-size: 12px;
    color: #666;
}

.typology-item[b-d398s1nx5t] {
    padding: 8px;
}

.typology-item-head[b-d398s1nx5t] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.typology-removal-confirm[b-d398s1nx5t] {
    padding: 10px;
    border-color: #f0ad4e;
    background: #fff9ef;
}
/* /Shared/ActionGroupChronology.razor.rz.scp.css */
h2[b-rkxhxyrkb1] { font-size:1rem; font-weight:500; margin:12px 0; }
p[b-rkxhxyrkb1] { font-size:.85rem; margin:8px 0; }
.group-chronology-members[b-rkxhxyrkb1] { display:flex; flex-direction:column; gap:5px; margin:12px 0; }
button[b-rkxhxyrkb1] { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; padding:8px; border:1px solid #c6d1e2; border-radius:4px; background:transparent; color:inherit; text-align:left; cursor:pointer; }
button[aria-pressed="true"][b-rkxhxyrkb1] { background:#edf4ff; border-color:#285ed4; }
button:focus-visible[b-rkxhxyrkb1] { outline:2px solid #285ed4; outline-offset:2px; }
.group-chronology-conflict[b-rkxhxyrkb1] { color:#b3261e; }
/* /Shared/ActionGroupDetails.razor.rz.scp.css */
.group-chronology[b-8ugxqrmdlm] { border-top:1px solid #ddd; border-bottom:1px solid #ddd; margin:12px 0; padding:12px 0; }
.group-member-chronology[b-8ugxqrmdlm] { margin:12px 0; }
summary[b-8ugxqrmdlm] { cursor:pointer; margin:6px 0; }
details p[b-8ugxqrmdlm] { margin:6px 0; }
.group-member-evidence[b-8ugxqrmdlm] { margin:8px 0; padding-left:8px; border-left:2px solid #ddd; }
/* /Shared/ChronologyEvidenceTrack.razor.rz.scp.css */
.evidence-track[b-u633g7cayk] { position:relative; width:100%; height:30px; margin:0; color:#68768b; }
.evidence-domain[b-u633g7cayk],.evidence-range[b-u633g7cayk] { position:absolute; top:11px; height:8px; }
.evidence-domain[b-u633g7cayk] { width:100%; background:#edf0f4; } .evidence-range[b-u633g7cayk] { background:#aab8cd; min-width:3px; }
.evidence-tpq .evidence-range[b-u633g7cayk] { background:#e8b184; } .evidence-taq .evidence-range[b-u633g7cayk] { background:#a0bce5; }
.evidence-result .evidence-range[b-u633g7cayk] { background:#80bd95; }
.evidence-stratigraphy .evidence-range[b-u633g7cayk] { background:linear-gradient(to right,#e8b184,#a0bce5); }
.evidence-stratigraphy .evidence-from[b-u633g7cayk] { border-color:#b86427; background:#b86427; }
.evidence-stratigraphy .evidence-to[b-u633g7cayk] { border-color:#386cb6; background:#386cb6; }
.evidence-reference[b-u633g7cayk] { position:absolute; top:0; bottom:0; border-left:1px dashed #bcc7d5; pointer-events:none; }
.evidence-endpoint[b-u633g7cayk] { position:absolute; top:10px; width:10px; height:10px; box-sizing:border-box; border:2px solid #627592; background:#627592; border-radius:50%; transform:translateX(-50%); }
.evidence-tpq .evidence-from[b-u633g7cayk],.evidence-result .evidence-from[b-u633g7cayk] { border-color:#b86427; background:#b86427; }
.evidence-taq .evidence-to[b-u633g7cayk],.evidence-result .evidence-to[b-u633g7cayk] { border-color:#386cb6; background:#386cb6; }
.evidence-exclusive[b-u633g7cayk] { background:#fff !important; } .evidence-point[b-u633g7cayk] { min-width:3px; }
.evidence-left[b-u633g7cayk],.evidence-right[b-u633g7cayk] { position:absolute; top:4px; } .evidence-left[b-u633g7cayk] { left:0; } .evidence-right[b-u633g7cayk] { right:0; }
.evidence-none[b-u633g7cayk] { display:block; text-align:center; padding-top:3px; }
/* /Shared/ChronologyInspector.razor.rz.scp.css */
.chronology-inspector[b-sxjjwjm9sr] { container-type:inline-size; color:#243044; background:#fff; padding:14px; font-size:13px; min-height:100%; box-sizing:border-box; max-width:100%; overflow-wrap:anywhere; }
header[b-sxjjwjm9sr] { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; flex-wrap:wrap; padding-bottom:10px; border-bottom:1px solid #ddd; }
h1[b-sxjjwjm9sr] { font-size:18px; color:#5940ca; margin:0 0 3px; } h2[b-sxjjwjm9sr] { font-size:16px; margin:12px 0; } h3[b-sxjjwjm9sr] { font-size:13px; margin:0; font-weight:600; } p[b-sxjjwjm9sr] { margin:5px 0; }
.chronology-window-action[b-sxjjwjm9sr],.chronology-source-button[b-sxjjwjm9sr],.chronology-detail-heading button[b-sxjjwjm9sr] { color:#5940ca; background:#fff; border:1px solid #c6b8ee; border-radius:4px; padding:4px 7px; font:inherit; cursor:pointer; }
.chronology-comparison[b-sxjjwjm9sr] { display:grid; grid-template-columns:100px minmax(80px,480px) minmax(90px,120px); column-gap:10px; align-items:center; max-width:720px; }
.comparison-column-label[b-sxjjwjm9sr] { font-size:11px; color:#526075; }
.comparison-axis[b-sxjjwjm9sr] { display:flex; justify-content:space-between; align-items:center; min-width:0; height:30px; font-size:11px; gap:4px; }
.comparison-group[b-sxjjwjm9sr] { grid-column:1 / -1; padding:10px 0 5px; border-top:1px solid #dfe3eb; }
.comparison-subgroup[b-sxjjwjm9sr] { grid-column:1 / -1; margin:6px 0 2px; font-size:12px; font-weight:500; color:#526075; }
.chronology-origin-detail[b-sxjjwjm9sr] { padding-left:10px; border-left:2px solid #dfe3eb; margin-top:10px; }
.comparison-empty[b-sxjjwjm9sr] { grid-column:1 / -1; color:#526075; font-size:12px; margin:3px 0 8px; }
.comparison-row[b-sxjjwjm9sr] { display:grid; grid-template-columns:inherit; column-gap:inherit; grid-column:1 / -1; align-items:center; min-height:34px; cursor:pointer; }
.comparison-row:not(.comparison-result):hover[b-sxjjwjm9sr] { background:#f7f6fb; }
.comparison-row-label[b-sxjjwjm9sr] { text-align:left; border:0; background:transparent; color:#3f2a96; font:inherit; padding:5px 2px; cursor:pointer; overflow-wrap:anywhere; }
.comparison-row-label:hover[b-sxjjwjm9sr] { text-decoration:underline; } .comparison-row-label:focus-visible[b-sxjjwjm9sr] { outline:2px solid #7159c5; outline-offset:-2px; }
.comparison-plot[b-sxjjwjm9sr] { min-width:0; } .comparison-interval[b-sxjjwjm9sr] { font-size:12px; padding:4px 0; }
.stratigraphy-sources[b-sxjjwjm9sr] { display:flex; justify-content:space-between; gap:10px; font-size:11px; }
.stratigraphy-sources span:first-child[b-sxjjwjm9sr] { color:#b86427; }
.stratigraphy-sources span:last-child[b-sxjjwjm9sr] { color:#386cb6; text-align:right; }
.comparison-selected[b-sxjjwjm9sr] { background:#f1edfc; } .comparison-result[b-sxjjwjm9sr] { background:#f1f8f3; font-weight:600; margin-top:2px; }
.comparison-invalid[b-sxjjwjm9sr] { background:#fff1f0; }
.comparison-determining[b-sxjjwjm9sr] { color:#4f426a; font-size:9px; padding-left:3px; }
.chronology-note[b-sxjjwjm9sr],.chronology-legend[b-sxjjwjm9sr] { color:#526075; font-size:11px; max-width:720px; margin:8px 0 0; }
.chronology-detail[b-sxjjwjm9sr] { max-width:720px; margin-top:14px; padding:10px 0; border-top:1px solid #dfe3eb; }
.chronology-detail-heading[b-sxjjwjm9sr] { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-bottom:8px; }
.chronology-conflict[b-sxjjwjm9sr] { background:#fff1f0; color:#9a2626; padding:10px; border-left:3px solid #c13f3f; margin-bottom:10px; }
.chronology-empty[b-sxjjwjm9sr] { padding:20px 0; }
.chronology-gap[b-sxjjwjm9sr] { max-width:700px; background:#fff8e8; border-left:3px solid #b98220; padding:8px 10px; font-size:12px; margin-top:10px; }
@container (max-width:420px) { .chronology-comparison[b-sxjjwjm9sr] { grid-template-columns:74px minmax(70px,1fr) 90px; column-gap:6px; } .comparison-axis span:nth-child(2)[b-sxjjwjm9sr] { display:none; } .comparison-interval[b-sxjjwjm9sr],.comparison-row-label[b-sxjjwjm9sr] { font-size:11px; } }
@media(max-width:480px) { .chronology-inspector[b-sxjjwjm9sr] { padding:10px; } }
/* /Shared/CollapsedChronologyTable.razor.rz.scp.css */
.rep-grid-table[b-iimbpt578b] {border-collapse:collapse;table-layout:fixed;min-width:100%;width:max-content;background:#fff;}
th[b-iimbpt578b],td[b-iimbpt578b] {border:1px solid #f0f0f0;vertical-align:middle;padding:6px;height:34px;}
th[b-iimbpt578b] {text-align:left;font-weight:600;}
.period[b-iimbpt578b] {width:var(--rep-col-period,120px);min-width:var(--rep-col-period,120px);}
.phase[b-iimbpt578b] {width:var(--rep-col-phase,120px);min-width:var(--rep-col-phase,120px);}
.moment[b-iimbpt578b] {width:var(--rep-col-moment,150px);min-width:var(--rep-col-moment,150px);cursor:pointer;}
.rep-grid-ue-cell[b-iimbpt578b] {width:var(--rep-col-ue,50px);min-width:var(--rep-col-ue,50px);text-align:center;}
button[b-iimbpt578b] {border:0;background:transparent;color:inherit;padding:3px;cursor:pointer;}
.rep-grid-action-group-cell[b-iimbpt578b] {padding:4px;}
.rep-grid-group-code[b-iimbpt578b] {white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;}
.is-selected[b-iimbpt578b] {outline:1px solid #e32932;outline-offset:-1px;}
.multi-selected[b-iimbpt578b] {outline:2px solid #285ed4;background:#e9f0ff;}
.rep-moment-id[b-iimbpt578b] {font-weight:600;}
.rep-moment-dating[b-iimbpt578b] {font-size:.85em;}
.rep-grid-header-cell[b-iimbpt578b] {position:relative;padding-right:8px;}
.rep-grid-col-resize-handle[b-iimbpt578b] {position:absolute;right:-6px;top:0;bottom:0;width:8px;cursor:col-resize;border-right:1px solid #bbc7d7;}
.rep-grid-relation-immediate[b-iimbpt578b] {background:#f0faf4;box-shadow:inset 0 0 0 1px #198754;}
.rep-grid-relation-indirect[b-iimbpt578b] {background:#f2f7ff;box-shadow:inset 0 0 0 1px #0a58ca;}

.rep-grid-ue-cell[b-iimbpt578b], .rep-grid-ue-code[b-iimbpt578b] { position:relative; }
.rep-categories-visible .rep-grid-ue-cell[colspan] .rep-grid-ue-code[b-iimbpt578b] { padding-left:12px; }

.is-revealed[b-iimbpt578b] { background:#fff0b3; }
/* /Shared/ExpandedGroupOutlineLayer.razor.rz.scp.css */
.expanded-group-frames[b-odd2q6ahcb] { display:none; position:absolute; left:0; top:0; pointer-events:none; overflow:visible; z-index:2; }
/* /Shared/FloatingPanel.razor.rz.scp.css */
.floating-panel[b-04f12mlsiy] { position: fixed; z-index: 1200; left: max(16px,calc((100vw - 1000px)/2)); top: 84px; width: min(1000px,calc(100vw - 32px)); height: min(760px,calc(100dvh - 108px)); min-width: min(360px,calc(100vw - 16px)); min-height: min(220px,calc(100dvh - 16px)); max-width: calc(100vw - 16px); max-height: calc(100dvh - 16px); display: flex; flex-direction: column; resize: both; overflow: hidden; box-sizing: border-box; background: var(--mud-palette-surface); color: var(--mud-palette-text-primary); border: 1px solid var(--mud-palette-lines-default); border-radius: 6px; box-shadow: 0 12px 36px #0003; }
.floating-panel-header[b-04f12mlsiy] { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px; border-bottom: 1px solid var(--mud-palette-lines-default); flex-shrink: 0; cursor: grab; user-select: none; touch-action: none; background: var(--mud-palette-background-grey); }
.floating-panel-header:active[b-04f12mlsiy] { cursor: grabbing; }
.floating-panel-header:focus-visible[b-04f12mlsiy] { outline: 2px solid var(--mud-palette-primary); outline-offset: -2px; }
.floating-panel-header h2[b-04f12mlsiy] { margin: 0; font-size: 1.15rem; font-weight: 500; }
.floating-panel-heading[b-04f12mlsiy] { display:flex; align-items:center; gap:8px; }
.floating-panel-close[b-04f12mlsiy] { border: 0; border-radius: 4px; padding: 7px 10px; background: transparent; color: var(--mud-palette-primary); cursor: pointer; white-space: nowrap; }
.floating-panel-close:hover[b-04f12mlsiy] { background: var(--mud-palette-action-default-hover); }
.floating-panel-close:focus-visible[b-04f12mlsiy] { outline: 2px solid var(--mud-palette-primary); }
.floating-panel-body[b-04f12mlsiy] { flex: 1; min-height: 0; overflow: auto; padding: 14px 14px 24px; overscroll-behavior: contain; }
.floating-panel-resize-hint[b-04f12mlsiy] { position: absolute; bottom: 1px; right: 3px; color: var(--mud-palette-text-secondary); pointer-events: none; font-size: 18px; }
/* /Shared/GroupReview.razor.rz.scp.css */
.group-validation-help[b-3u1vxx8wj9] { margin:10px 0; padding:12px; border:1px solid #d3d9df; border-radius:4px; }
.group-validation-help p[b-3u1vxx8wj9] { margin:6px 0; }
.group-validation-help ul[b-3u1vxx8wj9] { margin:6px 0 12px; padding-left:22px; }
/* /Shared/LanguagePicker.razor.rz.scp.css */
.language-picker[b-82plqdf8z1] { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; }
.language-picker label[b-82plqdf8z1] { display: inline-flex; align-items: center; gap: .35rem; }
.language-picker select[b-82plqdf8z1] { padding: .25rem; background: white; color: #193650; border: 1px solid #aaa; border-radius: 3px; max-width: 10rem; }
.language-picker [role="status"][b-82plqdf8z1] { max-width: 22rem; color: #815000; }
/* /Shared/LocalizedFileInput.razor.rz.scp.css */
.localized-file-input[b-t0z3k24vwx] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    position: relative;
}

/* Retain the native keyboard focus and file chooser without its browser-language captions. */
.localized-file-input[b-t0z3k24vwx]  .native-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.choose-file[b-t0z3k24vwx] {
    display: inline-block;
    padding: .35rem .75rem;
    border: 1px solid currentColor;
    border-radius: 4px;
    cursor: pointer;
    color: var(--mud-palette-primary);
    font: inherit;
}

.localized-file-input:focus-within .choose-file[b-t0z3k24vwx] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

.localized-file-input:has(input:disabled) .choose-file[b-t0z3k24vwx] {
    opacity: .5;
    cursor: default;
}

.localized-file-input span[b-t0z3k24vwx] {
    overflow-wrap: anywhere;
    min-width: 0;
}
/* /Shared/ProjectCustomRelationsEditor.razor.rz.scp.css */
.custom-relations-board[b-qb8h6bbbx8] { margin:6px 0; padding:6px; border:1px solid var(--mud-palette-lines-default); border-radius:6px; background:var(--mud-palette-surface); }
.custom-board-heading[b-qb8h6bbbx8] { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px; margin-bottom:2px; }
.custom-board-hint[b-qb8h6bbbx8], .custom-board-help[b-qb8h6bbbx8], .custom-board-footnote[b-qb8h6bbbx8] { color:var(--mud-palette-text-secondary); font-size:12px; line-height:1.4; }
.custom-board-help[b-qb8h6bbbx8] { margin:0 0 2px; }
.custom-board-columns[b-qb8h6bbbx8] { display:grid; grid-template-columns:repeat(3,minmax(0,340px)); gap:6px; align-items:start; justify-content:start; }
.custom-category[b-qb8h6bbbx8] { border:1px solid var(--mud-palette-lines-default); border-radius:4px; min-width:0; }
.custom-category-title[b-qb8h6bbbx8] { padding:3px 6px; margin:0; font-size:14px; line-height:1.4; font-weight:600; text-align:left; border-bottom:1px solid var(--mud-palette-lines-default); }
.custom-direction[b-qb8h6bbbx8] { padding:2px 4px; }
.custom-direction + .custom-direction[b-qb8h6bbbx8] { border-top:1px solid var(--mud-palette-lines-default); }
.custom-direction-heading[b-qb8h6bbbx8] { display:flex; align-items:center; justify-content:space-between; gap:6px; font-size:12px; line-height:1.4; font-weight:600; color:var(--mud-palette-text-secondary); }
.custom-add[b-qb8h6bbbx8] { border:0; background:transparent; color:var(--mud-palette-primary); padding:2px 4px; font:inherit; font-size:13px; cursor:pointer; border-radius:4px; }
.custom-add:hover:not(:disabled)[b-qb8h6bbbx8] { background:var(--mud-palette-action-default-hover); }
.custom-reading-head[b-qb8h6bbbx8], .custom-reading[b-qb8h6bbbx8] { display:grid; grid-template-columns:minmax(0,1fr) 24px 24px; gap:4px; }
.custom-reading-head[b-qb8h6bbbx8] { padding:4px 6px; font-size:12px; color:var(--mud-palette-text-secondary); }
.custom-reading[b-qb8h6bbbx8] { width:100%; padding:1px 4px; margin:0; min-height:26px; background:transparent; border:1px solid transparent; border-bottom-color:var(--mud-palette-lines-default); border-radius:0; color:var(--mud-palette-text-primary); font:inherit; font-size:13px; line-height:1.4; font-weight:400; text-align:left; align-items:center; cursor:pointer; }
.custom-reading > span[b-qb8h6bbbx8] { min-width:0; overflow-wrap:anywhere; }
.custom-reading:hover:not(:disabled)[b-qb8h6bbbx8] { background:var(--mud-palette-action-default-hover); }
.custom-reading.is-selected[b-qb8h6bbbx8] { background:var(--mud-palette-primary-hover); border-color:var(--mud-palette-primary); }
.custom-reading:focus-visible[b-qb8h6bbbx8], .custom-add:focus-visible[b-qb8h6bbbx8] { outline:2px solid var(--mud-palette-primary); outline-offset:2px; }
.custom-reading-target[b-qb8h6bbbx8] { display:inline; font-size:inherit; font-weight:500; color:inherit; }

.custom-empty[b-qb8h6bbbx8] { color:var(--mud-palette-text-secondary); font-size:13px; padding:10px 8px; }
.custom-pair-editor[b-qb8h6bbbx8] { margin-top:6px; padding:6px; border:1px solid var(--mud-palette-lines-default); border-radius:4px; }
.custom-pair-preview[b-qb8h6bbbx8] { display:flex; flex-wrap:wrap; gap:4px 12px; margin:4px 0; font-size:13px; color:var(--mud-palette-text-secondary); }
.custom-pair-preview > span[b-qb8h6bbbx8] { overflow-wrap:anywhere; }
.custom-pair-actions[b-qb8h6bbbx8] { display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
.custom-board-footnote[b-qb8h6bbbx8] { margin:6px 0 0; font-size:12px; }
.custom-reading:disabled[b-qb8h6bbbx8], .custom-add:disabled[b-qb8h6bbbx8] { cursor:default; opacity:.55; }
@media(max-width:900px) { .custom-board-columns[b-qb8h6bbbx8] { grid-template-columns:1fr; } .custom-relations-board[b-qb8h6bbbx8] { padding:12px; } }
@media(pointer:coarse) { .custom-reading[b-qb8h6bbbx8], .custom-add[b-qb8h6bbbx8] { min-height:44px; } }

.custom-validation-summary[b-qb8h6bbbx8] { font-size:12px; line-height:1.4; color:var(--mud-palette-text-secondary); display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 2px; }
.custom-reading.is-provisional[b-qb8h6bbbx8], .custom-reading.is-provisional .custom-reading-target[b-qb8h6bbbx8] { color: var(--mud-palette-info); }
.custom-validation-status[b-qb8h6bbbx8] { font-size:11px; text-align:center; color:var(--mud-palette-success); }
.custom-reading.is-provisional .custom-validation-status[b-qb8h6bbbx8] { font-size:8px; color:var(--mud-palette-info); }

.custom-edit-icon[b-qb8h6bbbx8] { display:flex; align-items:center; justify-content:center; color:var(--mud-palette-text-secondary); }
.custom-reading:hover:not(:disabled) .custom-edit-icon[b-qb8h6bbbx8], .custom-reading:focus-visible .custom-edit-icon[b-qb8h6bbbx8] { color:var(--mud-palette-primary); }

.custom-relation-text[b-qb8h6bbbx8] { display:block; min-width:0; padding:0; border:0; background:transparent; color:inherit; font:inherit; text-align:left; cursor:pointer; overflow-wrap:anywhere; }
.custom-row-action[b-qb8h6bbbx8] { display:flex; align-items:center; justify-content:center; width:24px; height:24px; padding:1px; border:0; border-radius:4px; background:transparent; color:var(--mud-palette-text-secondary); cursor:pointer; }
.custom-row-action:hover:not(:disabled)[b-qb8h6bbbx8] { background:var(--mud-palette-action-default-hover); color:var(--mud-palette-primary); }
.custom-validate[b-qb8h6bbbx8] { color:var(--mud-palette-error); }
.custom-validate.is-validated[b-qb8h6bbbx8] { color:var(--mud-palette-success); }
.custom-row-action:disabled[b-qb8h6bbbx8], .custom-relation-text:disabled[b-qb8h6bbbx8] { cursor:default; }
.custom-relation-text:disabled[b-qb8h6bbbx8], .custom-edit-icon:disabled[b-qb8h6bbbx8] { opacity:.5; }
.custom-row-action:focus-visible[b-qb8h6bbbx8], .custom-relation-text:focus-visible[b-qb8h6bbbx8] { outline:2px solid var(--mud-palette-primary); outline-offset:2px; }
@media(pointer:coarse) {
  .custom-reading-head[b-qb8h6bbbx8], .custom-reading[b-qb8h6bbbx8] { grid-template-columns:minmax(0,1fr) 44px 44px; }
  .custom-row-action[b-qb8h6bbbx8] { width:44px; height:44px; }
}

.custom-pending-dot[b-qb8h6bbbx8] { color:var(--mud-palette-error); font-size:16px; line-height:1; }

.custom-section-title[b-qb8h6bbbx8] { margin:0; font-family:inherit; font-size:15px; line-height:1.4; font-weight:600; color:var(--mud-palette-text-primary); }
.custom-pair-editor .custom-section-title[b-qb8h6bbbx8] { font-size:14px; }
.custom-pair-editor[b-qb8h6bbbx8]  .mud-input { font-size:14px; }
/* /Shared/ProjectRelationsPreview.razor.rz.scp.css */
.custom-relations-board[b-56o0ayjb9c] { margin:8px 0; padding:8px; border:1px solid var(--mud-palette-lines-default); border-radius:6px; background:var(--mud-palette-surface); }
.custom-section-title[b-56o0ayjb9c] { margin:0 0 8px; font-family:inherit; font-size:15px; line-height:1.4; font-weight:600; }
.custom-board-columns[b-56o0ayjb9c] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; align-items:start; }
.custom-category[b-56o0ayjb9c] { min-width:0; border:1px solid var(--mud-palette-lines-default); border-radius:4px; }
.custom-category-title[b-56o0ayjb9c] { margin:0; padding:5px 8px; font-family:inherit; font-size:14px; line-height:1.4; font-weight:600; border-bottom:1px solid var(--mud-palette-lines-default); }
.custom-direction[b-56o0ayjb9c] { padding:4px 8px; }
.custom-direction + .custom-direction[b-56o0ayjb9c] { border-top:1px solid var(--mud-palette-lines-default); }
.custom-direction-heading[b-56o0ayjb9c] { margin:0 -8px 3px; padding:5px 8px; font-size:13px; line-height:1.4; font-weight:700; color:var(--mud-palette-text-primary); background:var(--mud-palette-background-grey); border-bottom:1px solid var(--mud-palette-lines-default); }
.custom-reading[b-56o0ayjb9c] { padding:4px 0; font-size:13px; line-height:1.4; overflow-wrap:anywhere; }
.custom-reading + .custom-reading[b-56o0ayjb9c] { border-top:1px solid var(--mud-palette-lines-default); }
.custom-reading-target[b-56o0ayjb9c] { font-weight:500; }
@media(max-width:700px) { .custom-board-columns[b-56o0ayjb9c] { grid-template-columns:1fr; } }
/* /Shared/ProjectReportPanel.razor.rz.scp.css */
.project-report-sections[b-vqxu7zr680] { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,320px),1fr)); gap: 16px; margin: 12px 0; }
.project-report-section[b-vqxu7zr680] { border: 1px solid #e2e5ec; border-radius: 5px; padding: 12px; }
.project-report-section h4[b-vqxu7zr680] { margin: 0 0 8px; font-size: 1rem; }
.project-report-section dl[b-vqxu7zr680] { margin: 0; }
.project-report-section dl > div[b-vqxu7zr680] { display: flex; justify-content: space-between; gap: 16px; padding: 5px 0; border-bottom: 1px solid #f0f1f5; }
.project-report-section dt[b-vqxu7zr680] { font-weight: normal; }
.project-report-section dd[b-vqxu7zr680] { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.project-report-timestamp[b-vqxu7zr680], .project-report-notes[b-vqxu7zr680] { font-size: .85rem; color: #596578; }
.project-report-notes summary[b-vqxu7zr680] { cursor: pointer; }
/* /Shared/ProjectTypologyPreparation.razor.rz.scp.css */
.typology-workspace[b-eu4mo7490e] { display:grid; grid-template-columns:minmax(280px, 360px) minmax(0, 1fr); gap:20px; margin-top:16px; height:calc(100vh - 370px); min-height:420px; }
.typology-navigation[b-eu4mo7490e], .typology-content[b-eu4mo7490e] { min-width:0; overflow:auto; padding:12px; border:1px solid #ddd; border-radius:4px; }
.typology-choice[b-eu4mo7490e] { display:block; width:100%; padding:12px; margin:6px 0; border:1px solid #ddd; border-radius:4px; background:transparent; color:inherit; text-align:left; overflow-wrap:anywhere; cursor:pointer; }
.typology-choice span[b-eu4mo7490e] { display:block; font-size:.85em; margin-top:4px; }
.typology-choice.selected[b-eu4mo7490e] { background:#f1efff; border-color:#594ae2; }
.typology-choice:focus-visible[b-eu4mo7490e] { outline:2px solid #594ae2; outline-offset:2px; }
.typology-choice:disabled[b-eu4mo7490e] { opacity:.6; cursor:default; }
@media(max-width:800px) { .typology-workspace[b-eu4mo7490e] { grid-template-columns:1fr; height:auto; } .typology-navigation[b-eu4mo7490e] { max-height:35vh; } .typology-content[b-eu4mo7490e] { max-height:65vh; } }

.record-group[b-eu4mo7490e] { margin:8px 0; }
.record-group > summary[b-eu4mo7490e] { font-weight:600; padding:6px 0; cursor:pointer; }
.record-group > .typology-choice[b-eu4mo7490e] { margin:2px 0 2px 18px; width:calc(100% - 18px); padding:7px 9px; border:none; border-radius:3px; }

.record-actions[b-eu4mo7490e] { position:sticky; bottom:-12px; background:var(--mud-palette-surface, white); padding:12px 0; margin-top:16px; border-top:1px solid #ddd; }

.field-table-scroll[b-eu4mo7490e] { overflow-x:auto; }
.field-table[b-eu4mo7490e] { width:100%; border-collapse:collapse; table-layout:fixed; min-width:540px; }
.field-table th[b-eu4mo7490e] { text-align:left; font-weight:600; padding:8px 12px; border-bottom:2px solid #ddd; }
.field-table td[b-eu4mo7490e] { padding:6px 12px; border-bottom:1px solid #ddd; vertical-align:top; }
.field-table th:first-child[b-eu4mo7490e] { width:44%; }
.field-table th:nth-child(2)[b-eu4mo7490e] { width:28%; }
.field-table th:nth-child(3)[b-eu4mo7490e] { width:20%; }
.field-table th:last-child[b-eu4mo7490e] { width:56px; }
.field-unit[b-eu4mo7490e] { font-size:.85em; margin-top:4px; }
.field-unit summary[b-eu4mo7490e] { cursor:pointer; }
.visually-hidden[b-eu4mo7490e] { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }

.typology-workspace.library-details-only[b-eu4mo7490e] { display:block; height:auto; min-height:0; }
.library-details-only .typology-content[b-eu4mo7490e] { overflow:visible; max-height:none; }

/* One grid border per cell; inputs themselves have no underline. */
.field-table th[b-eu4mo7490e], .field-table td[b-eu4mo7490e] { border:1px solid var(--mud-palette-divider, #ddd); padding:2px 8px; vertical-align:middle; }
.field-table th[b-eu4mo7490e] { background:var(--mud-palette-background-grey, #f5f5f5); padding:6px 8px; }
.field-table[b-eu4mo7490e]  .mud-input-control { margin:0; }
.field-table[b-eu4mo7490e]  .mud-input-control-input-container { margin:0; }
.field-table[b-eu4mo7490e]  .mud-input-slot { padding-top:4px; padding-bottom:4px; }
.field-table[b-eu4mo7490e]  .mud-icon-button { padding:5px; }
.field-unit[b-eu4mo7490e] { margin:0; line-height:1.2; }

.record-heading-fields[b-eu4mo7490e] { display:grid; grid-template-columns:2fr 1fr; gap:20px; margin-bottom:12px; }
.record-actions[b-eu4mo7490e] { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
@media(max-width:800px) { .record-heading-fields[b-eu4mo7490e] { grid-template-columns:1fr; gap:8px; } }
/* /Shared/StratigraphyGraph.razor.rz.scp.css */
.strat-graph[b-so48kay09o] { display:flex; flex-direction:column; height:100%; min-height:0; background:#fff; }
.strat-graph-toolbar[b-so48kay09o] { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:5px 8px 8px; border-bottom:1px solid #e5e5e5; font-size:13px; }
.strat-graph-toolbar > span[b-so48kay09o] { font-size:11px; color:#68737d; }
.strat-graph-zoom[b-so48kay09o] { display:flex; margin-left:auto; gap:3px; }
.strat-graph-zoom button[b-so48kay09o] { border:1px solid #ddd; background:#fff; border-radius:3px; min-width:27px; padding:2px 5px; font-size:12px; }
.strat-graph-scroll[b-so48kay09o] { flex:1; min-height:0; min-width:0; overflow:auto; }
.strat-graph-viewport[b-so48kay09o] { position:relative; }
.strat-graph-canvas[b-so48kay09o] { position:relative; transform-origin:top left; }
.strat-graph-edges[b-so48kay09o] { position:absolute; inset:0; pointer-events:none; }
.strat-graph-node[b-so48kay09o] { position:absolute; height:36px; box-sizing:border-box; border:1px solid #8d9aa7; border-radius:6px; background:#fff; display:flex; align-items:center; justify-content:center; gap:5px; padding:6px 8px; box-shadow:0 1px 3px #0001; }
.strat-graph-node--active[b-so48kay09o] { border-color:#c92a2a; }
.strat-graph-ue[b-so48kay09o] { border:0; background:transparent; color:#253444; padding:3px; font-size:13px; white-space:nowrap; cursor:pointer; }
.strat-graph-node .strat-graph-ue--selected[b-so48kay09o], .strat-graph-node .strat-graph-ue--selected:focus[b-so48kay09o] { outline:1px solid #c92a2a; outline-offset:1px; }
.strat-graph-ue:focus-visible[b-so48kay09o] { outline:2px solid #5550cc; }
.strat-graph-equal[b-so48kay09o] { color:#66717b; font-size:12px; }
.strat-graph-footer[b-so48kay09o] { font-size:11px; color:#68737d; padding:5px 8px; border-top:1px solid #eee; }
.strat-graph-message[b-so48kay09o] { padding:12px; font-size:13px; }

.strat-graph-edge[b-so48kay09o] { opacity:.65; }
.strat-graph-edge--selected[b-so48kay09o] { opacity:1; stroke:#198754; stroke-width:2.3; }
.strat-graph-node--active[b-so48kay09o] { background:#fff8f8; }
.strat-graph-viewport[b-so48kay09o] { margin:0 auto; }

.strat-graph-node--indirect[b-so48kay09o] { border-color:#0a58ca; background:#f2f7ff; }
.strat-graph-indirect-legend[b-so48kay09o] { color:#0a58ca; }
.strat-graph-node--indirect .strat-graph-ue[b-so48kay09o] { font-weight:600; }
.strat-graph-indirect-toggle[aria-pressed="true"][b-so48kay09o] { background:#edf4ff; color:#0a58ca; border-color:#0a58ca; }
.strat-graph-footer[b-so48kay09o] { display:flex; flex-wrap:wrap; gap:6px; }

.strat-graph-node--direct[b-so48kay09o] { border-color:#198754; background:#f0faf4; }
.strat-graph-direct-legend[b-so48kay09o] { color:#198754; }
.strat-graph-node--direct .strat-graph-ue[b-so48kay09o] { font-weight:600; }

.strat-graph-direct-toggle[b-so48kay09o] { color:#198754; }
.strat-graph-direct-toggle[aria-pressed="true"][b-so48kay09o] { background:#eaf7ef; color:#146c43; border-color:#198754; }
.strat-graph-indirect-toggle[b-so48kay09o] { color:#0a58ca; }

.strat-graph-node--revealed-member[b-so48kay09o] { background:#fff0b3; border-color:#ad7b00; }

.strat-graph-ue[b-so48kay09o] { position:relative; }
.strat-categories-visible .strat-graph-node:has(.strat-graph-equal) .strat-graph-ue[b-so48kay09o] { padding-left:12px; }
.strat-category-legend[b-so48kay09o] { padding:4px 8px; }

.strat-graph-zoom[b-so48kay09o] { flex-wrap:wrap; max-width:100%; }
.strat-graph-zoom button[b-so48kay09o] { flex-shrink:0; }
/* /Shared/UeCategoryLegend.razor.rz.scp.css */
.ue-category-legend[b-qgug64am8t] { display:inline-flex; flex-wrap:wrap; gap:9px; align-items:center; font-size:12px; }
.ue-category-legend span[b-qgug64am8t] { display:inline-flex; gap:4px; align-items:center; }
i[b-qgug64am8t] { display:inline-block; width:9px; height:9px; }
.layer[b-qgug64am8t] { background:#f4c430; }
.structure[b-qgug64am8t] { background:#2878d0; }
.negative[b-qgug64am8t] { background:#d83a3a; }
/* /Shared/UeCategoryMarker.razor.rz.scp.css */
.ue-category-marker[b-hxuvazgbt7] { position:absolute; top:1px; left:1px; width:11px; height:11px; clip-path:polygon(0 0,100% 0,0 100%); pointer-events:none; }
.ue-category-marker--estrat[b-hxuvazgbt7] { background:#f4c430; }
.ue-category-marker--estructura[b-hxuvazgbt7] { background:#2878d0; }
.ue-category-marker--negativa[b-hxuvazgbt7] { background:#d83a3a; }
/* /Shared/UeDrawing.razor.rz.scp.css */
.drawing-view[b-995hbgzw3d] { height:100%; display:flex; flex-direction:column; min-height:0; color:#253444; font-size:13px; }
header[b-995hbgzw3d] { display:flex; align-items:center; gap:5px; padding:8px; border-bottom:1px solid #ddd; flex-wrap:wrap; }
header strong[b-995hbgzw3d] { margin-right:auto; }
button[b-995hbgzw3d] { background:white; border:1px solid #d4d9df; border-radius:3px; padding:3px 7px; color:inherit; cursor:pointer; }
button:hover[b-995hbgzw3d] { background:#f1f4f8; }
.drawing-import[b-995hbgzw3d] { padding:8px; border-bottom:1px solid #eee; }
.drawing-import[b-995hbgzw3d]  input { max-width:100%; display:block; margin-top:5px; }
small[b-995hbgzw3d], footer[b-995hbgzw3d] { display:block; font-size:11px; color:#677584; margin-top:5px; }
.drawing-layers[b-995hbgzw3d] { display:flex; gap:8px; flex-wrap:wrap; padding:8px; }
.drawing-layers label[b-995hbgzw3d] { white-space:nowrap; }
.drawing-canvas[b-995hbgzw3d] { flex:1; min-height:240px; overflow:auto; background:#fff; }
.drawing-canvas svg[b-995hbgzw3d] { display:block; }
.drawing-canvas g[b-995hbgzw3d] { cursor:pointer; }
p[b-995hbgzw3d] { margin:8px; }
footer[b-995hbgzw3d] { padding:6px 8px; border-top:1px solid #eee; }
/* /Shared/UeTypologyAssignmentEditor.razor.rz.scp.css */
.ue-typology-assignment[b-aughde9bex] {
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #ececec;
}

.ue-typology-field-row[b-aughde9bex] {
    margin-top: 4px;
}

.ue-typology-status[b-aughde9bex] {
    color: #666;
}
/* /Shared/UeTypologyEditor.razor.rz.scp.css */
.typology-editor[b-2lfiufscjo] {
    padding: 10px;
}

.typology-editor-actions[b-2lfiufscjo] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.typology-field-row[b-2lfiufscjo] {
    padding: 8px;
}

.typology-field-row--dirty[b-2lfiufscjo] {
    border-color: #ffb300;
}

.typology-field-actions[b-2lfiufscjo] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
/* /Shared/WorkTopBar.razor.rz.scp.css */
.work-topbar[b-2mfkbujqjv] { display:flex; align-items:center; gap:8px; flex-wrap:wrap; min-height:60px; padding:8px 16px; background:var(--mud-palette-surface); color:var(--mud-palette-text-primary); border-bottom:1px solid var(--mud-palette-lines-default); position:sticky; top:0; z-index:1100; }
.work-brand[b-2mfkbujqjv] { font-size:18px; font-weight:600; color:var(--mud-palette-primary); }
.work-project-context[b-2mfkbujqjv] { margin-left:auto; display:flex; align-items:center; gap:10px; min-width:0; flex-wrap:wrap; justify-content:flex-end; }
.work-project[b-2mfkbujqjv] { flex:0 1 auto; max-width:360px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-weight:500; }
.work-account[b-2mfkbujqjv] { margin-left:72px; min-width:0; max-width:100%; display:flex; align-items:center; gap:16px; }
.work-editor-state[b-2mfkbujqjv] { display:flex; align-items:center; gap:6px; font-size:12px; color:var(--mud-palette-text-secondary); white-space:nowrap; }
.work-state-dot[b-2mfkbujqjv] { width:7px; height:7px; border-radius:50%; background:var(--mud-palette-text-secondary); }
.work-state-dot.is-active[b-2mfkbujqjv] { background:var(--mud-palette-success); }
@media(max-width:760px) { .work-topbar[b-2mfkbujqjv] { padding:6px 8px; gap:4px; } .work-project-context[b-2mfkbujqjv] { order:5; flex-basis:100%; justify-content:flex-start; margin-left:0; } .work-account[b-2mfkbujqjv] { margin-left:auto; } .work-project[b-2mfkbujqjv] { max-width:100%; } .work-brand[b-2mfkbujqjv] { font-size:16px; } }

.work-fullscreen[b-2mfkbujqjv] { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; padding:8px; border:0; border-radius:4px; background:transparent; color:inherit; cursor:pointer; flex-shrink:0; }
.work-fullscreen:hover[b-2mfkbujqjv] { background:var(--mud-palette-action-default-hover); }
.work-fullscreen:focus-visible[b-2mfkbujqjv] { outline:2px solid var(--mud-palette-primary); outline-offset:2px; }
.work-fullscreen[hidden][b-2mfkbujqjv], .work-fullscreen span[hidden][b-2mfkbujqjv] { display:none; }
