/* Page: manhole-management — auto-split from the old single styles.css, 68 rule block(s). Do not duplicate class names across files. */

.mr74-tabs{display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap;margin:4px 0 14px}

.mr74-tab-btn{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:9px;padding:8px 13px;cursor:pointer;font-weight:500}

.mr74-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}

.mr74-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:14px}

.mr74-summary>div{border:1px solid var(--line);border-radius:9px;background:var(--soft);padding:10px}

.mr74-summary span{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}

.mr74-summary b{font-size:13px;font-weight:500}

.mr74-profile-wrap{padding:12px;overflow-x:auto}

.mr74-profile{width:100%;min-width:900px;height:330px;background:linear-gradient(to bottom,rgba(40,160,200,.05),rgba(40,160,200,.01));border-radius:10px}

.mr74-profile text{fill:var(--ink);font-size:9px}

.mr74-ground{fill:none;stroke:#8ca7b6;stroke-width:3}

.mr74-water{fill:none;stroke:#22b9e5;stroke-width:3}

.mr74-pipe{stroke:#e1a33c;stroke-width:4}

.mr74-pipe.reverse{stroke:#ed535c}

.mr74-mhline{stroke:#6f8795;stroke-width:2}

.mr74-slope-label{font-weight:500}

.mr74-slope-label.reverse{fill:#ed535c}

.mr74-legend{display:flex;gap:16px;padding:0 10px 4px;font-size:10px}

.mr74-doc-table{min-width:1080px}

.mr74-doc-actions{display:flex;gap:5px;flex-wrap:wrap;min-width:330px}

.mr74-doc-actions button{border:1px solid #315f76;background:#0d354a;color:#eef9fd;border-radius:7px;padding:6px 8px;cursor:pointer;white-space:nowrap}

.mr74-doc-actions button:disabled{opacity:.35;cursor:not-allowed}

.mr74-timeline{padding:12px}

.mr74-timeline>div{border-inline-start:3px solid #29bfe9;padding:8px 11px;margin-bottom:8px;background:var(--soft);border-radius:0 8px 8px 0}

.mr74-timeline b,.mr74-timeline small,.mr74-timeline span{display:block}

.mr74-timeline small,.mr74-timeline span{font-size:10px;color:var(--muted)}

.mr74-header-actions select:focus,.mr74-tab-btn:focus,.mr74-doc-actions button:focus{outline:1px solid #29bfe9}

@media (max-width:1200px){
.mr74-two{grid-template-columns:1fr}
}

@media (max-width:700px){
.mr74-summary{grid-template-columns:1fr}
}

.mr74-doc-stack{
  display:flex;
  flex-direction:column;
  gap:14px;
  width:100%;
}

.mr74-doc-table-wrap{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

.mr74-doc-table{
  width:100%!important;
  min-width:0!important;
  table-layout:fixed;
}

.mr74-doc-table th,
.mr74-doc-table td{
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:break-word;
  vertical-align:middle;
}

.mr74-doc-table th:nth-child(1),
.mr74-doc-table td:nth-child(1){width:18%}

.mr74-doc-table th:nth-child(2),
.mr74-doc-table td:nth-child(2){width:9%}

.mr74-doc-table th:nth-child(3),
.mr74-doc-table td:nth-child(3){width:10%}

.mr74-doc-table th:nth-child(4),
.mr74-doc-table td:nth-child(4){width:10%}

.mr74-doc-table th:nth-child(5),
.mr74-doc-table td:nth-child(5){width:20%}

.mr74-doc-table th:nth-child(6),
.mr74-doc-table td:nth-child(6){width:8%}

.mr74-doc-table th:nth-child(7),
.mr74-doc-table td:nth-child(7){width:25%}

.mr74-file-name{
  direction:ltr;
  text-align:left;
  unicode-bidi:plaintext;
}

.mr74-doc-actions{
  min-width:0!important;
  width:100%;
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:5px;
}

.mr74-doc-actions button{
  width:100%;
  min-width:0;
  padding:6px 5px;
  font-size:10px;
  overflow:hidden;
  text-overflow:ellipsis;
}

.mr74-asset-log-panel{
  width:100%;
}

.mr74-asset-log-panel .mr74-timeline{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

.mr74-asset-log-panel .mr74-timeline>div{
  margin-bottom:0;
  min-width:0;
}

@media (max-width:1100px){
.mr74-doc-table{
    table-layout:auto;
  }
}

@media (max-width:1100px){
.mr74-doc-table-wrap{
    overflow-x:auto;
  }
}

@media (max-width:1100px){
.mr74-doc-table{
    min-width:900px!important;
  }
}

@media (max-width:1100px){
.mr74-asset-log-panel .mr74-timeline{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:700px){
.mr74-asset-log-panel .mr74-timeline{
    grid-template-columns:1fr;
  }
}

.mr74-doc-actions button{
  background:#169fca!important;
  color:#ffffff!important;
  border:1px solid #169fca!important;
  border-radius:8px!important;
  box-shadow:none!important;
  font-weight:500!important;
  transition:background .18s ease,border-color .18s ease,transform .12s ease!important;
}

.mr74-doc-actions button:hover:not(:disabled){
  background:#128db4!important;
  border-color:#128db4!important;
  transform:translateY(-1px);
}

.mr74-doc-actions button:active:not(:disabled){
  transform:translateY(0);
}

.mr74-doc-actions button:disabled{
  background:#29495a!important;
  border-color:#35596b!important;
  color:#7f9cab!important;
  opacity:.65!important;
}

.platform-empty-management-header{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  flex-wrap:wrap!important;
  margin-bottom:14px!important;
}

.platform-empty-management-header h2{
  margin:0!important;
}

.platform-empty-management-header small{
  color:var(--muted)!important;
}

.platform-empty-management-actions{
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  flex-wrap:wrap!important;
}

.platform-empty-management-actions select{
  min-width:230px;
  min-height:38px;
  opacity:.72;
  cursor:not-allowed;
}

.platform-empty-region-panel{
  min-height:330px;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

.platform-empty-region-icon{
  width:58px;
  height:58px;
  margin:0 auto 14px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:27px;
  background:rgba(26,164,211,.10);
  border:1px solid rgba(26,164,211,.24);
  color:#28b8e8;
}

.platform-empty-region-panel h3{
  margin:0 0 8px;
  font-size:18px;
  font-weight:600;
}

.platform-empty-region-panel p{
  margin:0 auto 18px;
  max-width:540px;
  color:var(--muted);
  line-height:1.7;
}

.platform-empty-create-btn{
  min-height:40px;
}

@media (max-width:760px){
.platform-empty-management-actions{width:100%!important}
}

.dam-action-with-icon{display:inline-flex!important;align-items:center;justify-content:center;gap:7px!important}

.panel-head-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}

/* V232 — GIS geometry auto-detection field */
.gis-geometry-readonly[readonly]{
  cursor:default!important;
  color:#b9d4df!important;
  background:linear-gradient(145deg,rgba(10,43,62,.92),rgba(7,32,49,.92))!important;
  border-color:rgba(75,168,200,.28)!important;
  font-weight:800!important;
  text-align:right!important;
  opacity:1!important;
}
[data-theme="light"] .gis-geometry-readonly[readonly]{
  color:#365c6e!important;
  background:#f4fafc!important;
  border-color:#cfe3eb!important;
}
