body.ferramentas-online-page {
    margin: 0;
    min-height: 100vh;
    background: #0b1220;
    color: #e5e7eb;
    font-family: "Segoe UI", Arial, sans-serif;
}

.fo-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 32px 20px 48px;
}

.fo-wrap h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.fo-lead {
    margin: 0 0 8px;
    color: #94a3b8;
}

.fo-next-global {
    margin: 0 0 20px;
    color: #e2e8f0;
    font-size: 16px;
}

.fo-countdown {
    font-variant-numeric: tabular-nums;
    color: #7dd3fc;
    font-weight: 700;
}

.fo-counts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.fo-toolbar {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.fo-search {
    flex: 1;
    min-width: 0;
    background: #111827;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 15px;
}

.fo-search:focus {
    outline: 2px solid #3d9a7a;
    border-color: #3d9a7a;
}

.fo-clear {
    background: #1f2937;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
    cursor: pointer;
}

.fo-result {
    margin: 0 0 14px;
    color: #94a3b8;
    font-size: 13px;
}

.fo-filter-label {
    margin: 0 0 8px;
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 600;
}

.fo-sort {
    background: #111827;
    color: #e5e7eb;
    border: 1px solid #334155;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 14px;
}

.fo-count {
    background: #111827;
    border: 1px solid #38bdf8;
    border-radius: 12px;
    padding: 14px 16px;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.fo-count:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(56, 189, 248, .25);
}

.fo-count.is-on {
    border-color: #3d9a7a;
    box-shadow: inset 0 0 0 1px #3d9a7a;
}

.fo-count .fo-action {
    display: inline-block;
    margin-top: 8px;
    color: #7dd3fc;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.fo-count strong {
    display: block;
    font-size: 26px;
}

.fo-count span {
    color: #94a3b8;
    font-size: 13px;
}

.fo-stale {
    background: #3f2a12;
    color: #fcd34d;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
}

.fo-group {
    margin-top: 22px;
}

.fo-group.is-hidden,
tr.is-hidden {
    display: none;
}

.fo-group h2 {
    margin: 0 0 10px;
    font-size: 16px;
}

.fo-table {
    width: 100%;
    border-collapse: collapse;
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
}

.fo-table th,
.fo-table td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #1f2937;
    font-size: 14px;
}

.fo-table th {
    color: #94a3b8;
    font-weight: 600;
}

.fo-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 700;
}

.fo-online { background: #064e3b; color: #6ee7b7; }
.fo-instavel { background: #78350f; color: #fcd34d; }
.fo-erro { background: #7f1d1d; color: #fca5a5; }
.fo-manutencao { background: #1e3a8a; color: #bfdbfe; }

.fo-empty {
    color: #94a3b8;
}

@media (max-width: 800px) {
    .fo-counts { grid-template-columns: 1fr 1fr; }
    .fo-toolbar { flex-direction: column; align-items: stretch; }
    .fo-table { display: block; overflow-x: auto; }
}
