* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f3f4f6;
    color: #111827;
}

a {
    color: inherit;
}

.fvmnt-topbar {
    height: 58px;
    background: #111827;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
}

.fvmnt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.fvmnt-brand-mark {
    background: #2563eb;
    padding: 7px 9px;
    border-radius: 8px;
    font-size: 13px;
}

.fvmnt-userbox {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
}

.fvmnt-userbox a {
    color: #bfdbfe;
    text-decoration: none;
}

.fvmnt-app-shell {
    display: flex;
    min-height: calc(100vh - 58px);
}

.fvmnt-sidebar {
    width: 230px;
    background: #1f2937;
    color: white;
    padding: 16px 12px;
}

.fvmnt-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.fvmnt-sidebar a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #e5e7eb;
}

.fvmnt-sidebar a:hover {
    background: #374151;
}

.fvmnt-sidebar hr {
    border: 0;
    border-top: 1px solid #4b5563;
    width: 100%;
    margin: 10px 0;
}

.fvmnt-content {
    flex: 1;
    padding: 22px;
}

h1 {
    margin-top: 0;
}

.fvmnt-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.fvmnt-card,
.fvmnt-panel,
.fvmnt-login-card {
    background: white;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.fvmnt-card-title {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.fvmnt-card-value {
    font-size: 34px;
    font-weight: 700;
}

.fvmnt-panel {
    margin-top: 16px;
}

.fvmnt-flash {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.fvmnt-flash.error {
    background: #fee2e2;
    color: #991b1b;
}

.fvmnt-flash.success {
    background: #dcfce7;
    color: #166534;
}

.fvmnt-login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at top, #1e3a8a, #111827 55%);
}

.fvmnt-login-card {
    width: min(420px, calc(100vw - 28px));
}

.fvmnt-login-card h1 {
    margin-bottom: 4px;
}

.fvmnt-muted {
    color: #6b7280;
}

form {
    display: grid;
    gap: 10px;
}

label {
    font-weight: 600;
    font-size: 14px;
}

input,
select,
textarea,
button {
    font: inherit;
}

input,
select,
textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
}

button {
    border: 0;
    border-radius: 9px;
    padding: 12px 14px;
    background: #2563eb;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

button:hover {
    background: #1d4ed8;
}

@media (max-width: 900px) {
    .fvmnt-app-shell {
        display: block;
    }

    .fvmnt-sidebar {
        width: 100%;
    }

    .fvmnt-sidebar nav {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .fvmnt-card-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 520px) {
    .fvmnt-card-grid {
        grid-template-columns: 1fr;
    }

    .fvmnt-topbar {
        height: auto;
        min-height: 58px;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 12px 14px;
    }
}

/* ============================================================
   FVMNT Asset Module
   ============================================================ */

.fvmnt-page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.fvmnt-page-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fvmnt-btn {
    display: inline-block;
    background: #2563eb;
    color: white;
    text-decoration: none;
    padding: 10px 13px;
    border-radius: 9px;
    font-weight: 700;
    border: 0;
}

.fvmnt-btn.secondary {
    background: #e5e7eb;
    color: #111827;
}

.fvmnt-filter-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: end;
}

.fvmnt-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.fvmnt-two-col {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(480px, 1.4fr);
    gap: 16px;
    align-items: start;
}

.fvmnt-table-wrap {
    overflow-x: auto;
}

.fvmnt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.fvmnt-table th,
.fvmnt-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 9px 8px;
    text-align: left;
    vertical-align: top;
}

.fvmnt-table th {
    color: #374151;
    background: #f9fafb;
}

.fvmnt-actions {
    white-space: nowrap;
}

.fvmnt-actions a {
    margin-right: 8px;
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.fvmnt-tree,
.fvmnt-tree ul {
    list-style: none;
    padding-left: 0;
}

.fvmnt-tree ul,
.fvmnt-tree.level-1,
.fvmnt-tree.level-2,
.fvmnt-tree.level-3,
.fvmnt-tree.level-4 {
    padding-left: 18px;
}

.fvmnt-tree li {
    margin: 6px 0;
}

.fvmnt-tree-node {
    padding: 8px 10px;
    border-radius: 9px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.fvmnt-tree-node a {
    text-decoration: none;
    color: #111827;
}

.fvmnt-badge {
    display: inline-block;
    font-size: 12px;
    padding: 3px 7px;
    background: #e5e7eb;
    border-radius: 999px;
    color: #374151;
    margin-left: 5px;
}

.fvmnt-badge.danger {
    background: #fee2e2;
    color: #991b1b;
}

.fvmnt-form {
    display: block;
}

.fvmnt-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 14px;
}

.fvmnt-form-grid.one {
    grid-template-columns: 1fr;
    margin-top: 14px;
}

.fvmnt-form-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fvmnt-spec-group {
    margin-top: 12px;
}

.fvmnt-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fvmnt-check input {
    width: auto;
}

.fvmnt-card-value.small {
    font-size: 22px;
    text-transform: capitalize;
}

.fvmnt-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.fvmnt-detail-table th,
.fvmnt-detail-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 9px 8px;
    text-align: left;
    vertical-align: top;
}

.fvmnt-detail-table th {
    width: 180px;
    color: #374151;
    background: #f9fafb;
}

.fvmnt-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
    gap: 12px;
}

.fvmnt-spec-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 12px;
    border-radius: 10px;
}

.fvmnt-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(160px, 1fr));
    gap: 12px;
}

.fvmnt-action-card {
    display: block;
    padding: 14px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    font-weight: 700;
}

.fvmnt-action-card span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}

.fvmnt-action-card.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.fvmnt-timeline {
    display: grid;
    gap: 12px;
}

.fvmnt-timeline-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
}

.fvmnt-timeline-time {
    color: #6b7280;
    font-size: 13px;
}

.fvmnt-timeline-body p {
    margin-bottom: 0;
}

code {
    background: #f1f5f9;
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .fvmnt-filter-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }

    .fvmnt-two-col {
        grid-template-columns: 1fr;
    }

    .fvmnt-spec-grid {
        grid-template-columns: repeat(2, minmax(150px, 1fr));
    }
}

@media (max-width: 650px) {
    .fvmnt-page-head {
        display: block;
    }

    .fvmnt-page-actions {
        margin-top: 12px;
    }

    .fvmnt-filter-grid,
    .fvmnt-form-grid,
    .fvmnt-spec-grid,
    .fvmnt-action-grid {
        grid-template-columns: 1fr;
    }

    .fvmnt-timeline-item {
        grid-template-columns: 1fr;
    }
}


.fvmnt-inline-form {
    display: inline;
}

.fvmnt-link-button {
    background: transparent;
    color: #b91c1c;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.fvmnt-link-button:hover {
    text-decoration: underline;
}


/* Document table small action buttons */
.fvmnt-actions {
    white-space: nowrap;
}

.fvmnt-actions a {
    display: inline-block;
    margin-right: 10px;
}

.fvmnt-inline-form {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.fvmnt-inline-form .fvmnt-link-button {
    display: inline;
    width: auto;
    background: transparent !important;
    color: #b91c1c !important;
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    box-shadow: none !important;
}

.fvmnt-inline-form .fvmnt-link-button:hover {
    text-decoration: underline;
    background: transparent !important;
}



/* Request fault photo cards */
.fvmnt-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
    gap: 14px;
}

.fvmnt-doc-card {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 12px;
    padding: 12px;
}

.fvmnt-doc-card h3 {
    font-size: 16px;
    margin: 10px 0 6px;
}

.fvmnt-doc-thumb {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: white;
}


/* Fault photo thumbnails - force sensible size */
.fvmnt-doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
    gap: 14px;
    align-items: start;
}

.fvmnt-doc-card {
    max-width: 240px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 12px;
    padding: 12px;
}

.fvmnt-doc-card img,
.fvmnt-doc-thumb {
    display: block;
    width: 100% !important;
    max-width: 220px !important;
    height: 150px !important;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background: white;
}


/* Work order due status */
.fvmnt-row-overdue {
    background: #fef2f2;
}

.fvmnt-row-overdue td {
    border-bottom-color: #fecaca;
}

.fvmnt-row-due-today {
    background: #fffbeb;
}

.fvmnt-badge.warning {
    background: #fef3c7;
    color: #92400e;
}


/* Asset issue roll-up badges */
.fvmnt-issue-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
    margin-left: 5px;
    white-space: nowrap;
}

.fvmnt-issue-ok {
    background: #dcfce7;
    color: #166534;
}

.fvmnt-issue-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.fvmnt-issue-amber {
    background: #fef3c7;
    color: #92400e;
}

.fvmnt-issue-red {
    background: #fee2e2;
    color: #991b1b;
}
/* Asset tree health colours */
.fvmnt-tree-node {
    border-left: 5px solid #d1d5db;
}

.fvmnt-tree-node-ok {
    background: #f0fdf4;
    border-left-color: #22c55e;
}

.fvmnt-tree-node-blue {
    background: #eff6ff;
    border-left-color: #3b82f6;
}

.fvmnt-tree-node-amber {
    background: #fffbeb;
    border-left-color: #f59e0b;
}

.fvmnt-tree-node-red {
    background: #fef2f2;
    border-left-color: #ef4444;
}

.fvmnt-tree-node-red a {
    color: #7f1d1d;
}

.fvmnt-tree-node-amber a {
    color: #78350f;
}

/* Asset tree expand/collapse modes */
.fvmnt-page-head.compact {
    margin-bottom: 10px;
}

.fvmnt-tree-controls {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fvmnt-btn.small {
    padding: 7px 9px;
    font-size: 13px;
}

.fvmnt-tree-node {
    display: flex;
    align-items: center;
    gap: 6px;
}

.fvmnt-tree-toggle,
.fvmnt-tree-toggle-spacer {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
}

.fvmnt-tree-toggle {
    border: 1px solid #d1d5db;
    background: white;
    color: #111827;
    border-radius: 6px;
    font-weight: 900;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.fvmnt-tree-toggle:hover {
    background: #f3f4f6;
}

.fvmnt-tree-toggle-spacer {
    opacity: 0;
}

/* Collapsed mode: only show top level unless individually opened */
.asset-tree-collapsed .fvmnt-tree-li > ul {
    display: none;
}

.asset-tree-collapsed .fvmnt-tree-li.is-open > ul {
    display: block;
}

/* Expanded mode: show all child assets */
.asset-tree-expanded .fvmnt-tree-li > ul {
    display: block;
}

/* Issues only: hide green/OK items */
.asset-tree-issues-only .fvmnt-tree-li[data-issue-level="ok"] {
    display: none;
}

/* But keep nested issue paths visible */
.asset-tree-issues-only .fvmnt-tree-li[data-issue-level="blue"],
.asset-tree-issues-only .fvmnt-tree-li[data-issue-level="amber"],
.asset-tree-issues-only .fvmnt-tree-li[data-issue-level="red"] {
    display: list-item;
}


/* ============================================================
   Asset tree expand / collapse force patch
   ============================================================ */

#fvmntAssetTree.asset-tree-collapsed li.fvmnt-tree-li > ul.fvmnt-tree {
    display: none !important;
}

#fvmntAssetTree.asset-tree-collapsed li.fvmnt-tree-li.is-open > ul.fvmnt-tree {
    display: block !important;
}

#fvmntAssetTree.asset-tree-expanded li.fvmnt-tree-li > ul.fvmnt-tree {
    display: block !important;
}

#fvmntAssetTree.asset-tree-issues-only li.fvmnt-tree-li[data-issue-level="ok"] {
    display: none !important;
}

#fvmntAssetTree.asset-tree-issues-only li.fvmnt-tree-li[data-issue-level="blue"],
#fvmntAssetTree.asset-tree-issues-only li.fvmnt-tree-li[data-issue-level="amber"],
#fvmntAssetTree.asset-tree-issues-only li.fvmnt-tree-li[data-issue-level="red"] {
    display: list-item !important;
}

.fvmnt-tree-toggle {
    min-width: 24px !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    line-height: 1 !important;
    font-size: 16px !important;
}



/* Dashboard alert card */
.fvmnt-card-alert {
    background: #fef2f2;
    border-color: #fecaca;
}

.fvmnt-card-alert .fvmnt-card-title {
    color: #991b1b;
}

.fvmnt-card-alert .fvmnt-card-value {
    color: #991b1b;
}


/* Dashboard warning card */
.fvmnt-card-warning {
    background: #fffbeb;
    border-color: #fde68a;
}

.fvmnt-card-warning .fvmnt-card-title {
    color: #92400e;
}

.fvmnt-card-warning .fvmnt-card-value {
    color: #92400e;
}
/* User role checkbox list */
.fvmnt-checkbox-list {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.fvmnt-role-option {
    display: block;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
}

.fvmnt-role-option-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fvmnt-role-option-head input {
    width: auto !important;
    min-width: 18px;
    height: 18px;
    margin: 0;
}

.fvmnt-role-option-head strong {
    font-size: 15px;
    color: #111827;
}

.fvmnt-role-description {
    margin-left: 28px;
    margin-top: 4px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

/* Read-only form field */
.fvmnt-readonly-input {
    background: #f3f4f6 !important;
    color: #374151;
    border: 1px solid #d1d5db;
    cursor: not-allowed;
}

/* Work order workflow buttons */
.fvmnt-workflow-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.fvmnt-workflow-actions button {
    width: auto;
}

.fvmnt-workflow-actions button.secondary {
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #d1d5db;
}

.fvmnt-workflow-form textarea {
    max-width: 100%;
}

/* Work order list waiting state */
.fvmnt-row-waiting {
    background: #f8fafc;
}

.fvmnt-row-waiting td {
    border-bottom-color: #cbd5e1;
}

/* Clickable dashboard cards */
a.fvmnt-card,
a.fvmnt-card:visited {
    display: block;
    color: inherit;
    text-decoration: none;
}

.fvmnt-card-click {
    cursor: pointer;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.fvmnt-card-click:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* Asset list column filters */
.fvmnt-table-filter-row th {
    background: #f8fafc;
    padding: 6px 8px;
}

.fvmnt-table-filter-row input,
.fvmnt-table-filter-row select {
    width: 100%;
    min-width: 90px;
    font-size: 12px;
    padding: 6px 8px;
}

.fvmnt-table-filter-row .fvmnt-btn.small {
    width: auto;
    padding: 6px 10px;
    font-size: 12px;
}

.fvmnt-btn.small,
a.fvmnt-btn.small {
    display: inline-block;
    padding: 5px 9px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 6px;
}



.fvmnt-inline-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.fvmnt-files-cell > div {
    margin-bottom: 8px;
}

.fvmnt-btn.small,
a.fvmnt-btn.small,
button.fvmnt-btn.small {
    display: inline-block;
    padding: 5px 9px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
}
.fvmnt-statutory-register .fvmnt-statutory-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
}
.fvmnt-statutory-register .fvmnt-statutory-status.green { background: #dcfce7; color: #166534; }
.fvmnt-statutory-register .fvmnt-statutory-status.amber { background: #fef3c7; color: #92400e; }
.fvmnt-statutory-register .fvmnt-statutory-status.red { background: #fee2e2; color: #991b1b; }
.fvmnt-statutory-register .fvmnt-statutory-status.grey,
.fvmnt-statutory-register .fvmnt-statutory-status.inactive { background: #e5e7eb; color: #374151; }
.fvmnt-asset-statutory-table { font-size: .92rem; }
.fvmnt-asset-statutory-table td { vertical-align: top; }
.fvmnt-asset-statutory-table tr.fvmnt-statutory-severity-green > td { background: #f0fdf4; }
.fvmnt-asset-statutory-table tr.fvmnt-statutory-severity-amber > td { background: #fffbeb; }
.fvmnt-asset-statutory-table tr.fvmnt-statutory-severity-red > td { background: #fff1f2; }
.fvmnt-asset-statutory-table tr.fvmnt-statutory-severity-grey > td { background: #f8fafc; }
.fvmnt-asset-statutory-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 210px; }
.fvmnt-asset-statutory-actions form { display: inline; margin: 0; }
.fvmnt-asset-statutory-actions .fvmnt-btn { white-space: nowrap; }
.fvmnt-statutory-register tr.fvmnt-statutory-overdue > td { background: #fff5f5; }
.fvmnt-document-library .fvmnt-document-status { display:inline-block; padding:3px 7px; border-radius:6px; white-space:nowrap; }
.fvmnt-document-library .fvmnt-document-status.current { background:#dcfce7; color:#166534; }
.fvmnt-document-library .fvmnt-document-status.soon { background:#fef3c7; color:#92400e; }
.fvmnt-document-library .fvmnt-document-status.expired { background:#fee2e2; color:#991b1b; }
.fvmnt-document-library .fvmnt-document-status.archived { background:#e5e7eb; color:#374151; }
.fvmnt-document-library .fvmnt-document-children { display:flex; gap:8px; align-items:center; margin:12px 0; }
.fvmnt-document-library .fvmnt-document-children input { width:auto; }
.fvmnt-document-library .fvmnt-document-pages { display:flex; gap:12px; align-items:center; justify-content:flex-end; margin-top:14px; }
.fvmnt-electrical .fvmnt-electrical-tree,
.fvmnt-electrical .fvmnt-electrical-tree ul { list-style:none; margin:0; padding-left:20px; }
.fvmnt-electrical .fvmnt-electrical-tree > li { padding-left:0; }
.fvmnt-electrical .fvmnt-electrical-tree li { margin:7px 0; padding-left:14px; border-left:2px solid #cbd5e1; }
.fvmnt-electrical .fvmnt-electrical-type { margin-left:8px; color:#64748b; font-size:.86rem; }
.fvmnt-electrical .fvmnt-electrical-details { display:grid; grid-template-columns:minmax(110px,180px) 1fr; gap:8px 18px; }
.fvmnt-electrical .fvmnt-electrical-details dt { font-weight:700; }
.fvmnt-electrical .fvmnt-electrical-details dd { margin:0; }
.fvmnt-electrical .fvmnt-electrical-documents { margin:0; padding-left:20px; }
.fvmnt-electrical .fvmnt-electrical-path { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding-left:20px; }
.fvmnt-electrical .fvmnt-electrical-path li { padding-right:18px; }
.fvmnt-electrical .fvmnt-electrical-path li span { display:block; color:#64748b; font-size:.86rem; }
.fvmnt-electrical .fvmnt-electrical-inline-form { display:inline-flex; margin-left:8px; }
.fvmnt-electrical .fvmnt-electrical-inline-form button,
.fvmnt-electrical .fvmnt-inline-actions form button { width:auto; }
.fvmnt-electrical .fvmnt-electrical-confirm,
.fvmnt-electrical-qr-option { display:flex; align-items:center; gap:8px; margin:14px 0; }
.fvmnt-electrical .fvmnt-electrical-confirm input,
.fvmnt-electrical-qr-option input { width:auto; }
.fvmnt-electrical .fvmnt-electrical-qr-label { width:90mm; min-height:60mm; padding:8mm; margin:auto; border:2px solid #111; background:#fff; color:#111; display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; }
.fvmnt-electrical .fvmnt-electrical-qr-label img { width:55mm; height:55mm; image-rendering:pixelated; }
.fvmnt-electrical .fvmnt-electrical-qr-label strong { font-size:1.45rem; }
.fvmnt-electrical-public { background:#f1f5f9; }
.fvmnt-electrical-public .fvmnt-electrical-public-wrap { max-width:900px; margin:24px auto; padding:12px; }
.fvmnt-electrical-public .fvmnt-electrical-public-card { background:#fff; border-radius:14px; padding:18px; margin-bottom:14px; box-shadow:0 8px 24px rgba(15,23,42,.1); }
.fvmnt-electrical-public .fvmnt-electrical-public-card dl { display:grid; grid-template-columns:minmax(110px,160px) 1fr; gap:8px 14px; }
.fvmnt-electrical-public .fvmnt-electrical-public-card dt { font-weight:700; }
.fvmnt-electrical-public .fvmnt-electrical-public-card dd { margin:0; }
.fvmnt-electrical-public .fvmnt-electrical-public-login { text-align:center; }
@media (max-width:700px) {
  .fvmnt-electrical-public .fvmnt-table thead { display:none; }
  .fvmnt-electrical-public .fvmnt-table tr { display:block; border:1px solid #cbd5e1; border-radius:8px; margin-bottom:10px; padding:8px; }
  .fvmnt-electrical-public .fvmnt-table td { display:grid; grid-template-columns:86px 1fr; border:0; padding:5px; }
  .fvmnt-electrical-public .fvmnt-table td::before { font-weight:700; }
  .fvmnt-electrical-public .fvmnt-table td:nth-child(1)::before { content:'Way'; }
  .fvmnt-electrical-public .fvmnt-table td:nth-child(2)::before { content:'Circuit'; }
  .fvmnt-electrical-public .fvmnt-table td:nth-child(3)::before { content:'Protection'; }
  .fvmnt-electrical-public .fvmnt-table td:nth-child(4)::before { content:'Cable'; }
  .fvmnt-electrical-public .fvmnt-table td:nth-child(5)::before { content:'Destination'; }
  .fvmnt-electrical-public .fvmnt-table td:nth-child(6)::before { content:'Status'; }
}
@media print {
  .fvmnt-electrical .fvmnt-electrical-no-print,
  .fvmnt-electrical .fvmnt-electrical-admin-only,
  .fvmnt-electrical-qr-page .fvmnt-sidebar,
  .fvmnt-electrical-qr-page .fvmnt-topbar { display:none !important; }
  .fvmnt-electrical .fvmnt-electrical-qr-label { box-shadow:none; page-break-inside:avoid; }
  .fvmnt-electrical-public .fvmnt-electrical-public-card { box-shadow:none; border:1px solid #999; page-break-inside:avoid; }
}
