.geoground-client-dashboard {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px;
    color: #1f2937;
    font-family: Arial, sans-serif;
}

.geoground-report-login {
    max-width: 420px;
    margin: 40px auto;
    padding: 22px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #1f2937;
    font-family: Arial, sans-serif;
}

.geoground-report-login h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.geoground-report-login p {
    margin: 0 0 18px;
    color: #64748b;
}

.geoground-report-login form,
.geoground-report-login label {
    display: grid;
    gap: 7px;
}

.geoground-report-login form {
    gap: 14px;
}

.geoground-report-login input[type="text"],
.geoground-report-login input[type="password"] {
    min-height: 40px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 8px 10px;
}

.geoground-login-remember {
    grid-template-columns: auto 1fr;
    align-items: center;
}

.geoground-report-login button {
    min-height: 42px;
    border: 0;
    border-radius: 4px;
    background: #0f172a;
    color: #fff;
    cursor: pointer;
}

.geoground-login-error {
    margin-bottom: 14px;
    padding: 10px;
    border: 1px solid #fecaca;
    border-radius: 4px;
    background: #fef2f2;
    color: #991b1b;
}

.geoground-client-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 12px;
    border-bottom: 1px solid #d1d5db;
    padding-bottom: 10px;
}

.geoground-client-header p {
    margin: 0 0 4px;
    color: #64748b;
    font-size: 13px;
    text-transform: uppercase;
}

.geoground-client-header h1 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.geoground-client-badge {
    border: 1px solid #94a3b8;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 13px;
}

.geoground-filter-bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    gap: 12px;
    align-items: end;
    margin-bottom: 10px;
}

.geoground-filter-bar label {
    display: grid;
    gap: 4px;
    font-size: 13px;
    font-weight: 700;
}

.geoground-filter-bar select,
.geoground-filter-bar button {
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 7px 9px;
    background: #fff;
}

.geoground-filter-bar button {
    background: #0f172a;
    color: #fff;
    cursor: pointer;
}

.geoground-dashboard-message {
    min-height: 24px;
    margin-bottom: 8px;
    color: #475569;
}

.geoground-dashboard-message.is-error {
    color: #b91c1c;
}

.geoground-profile-view {
    display: grid;
    grid-template-columns: 150px 1fr 1fr;
    gap: 4px;
    align-items: stretch;
    min-height: 640px;
}

.geoground-profile-sidebar,
.geoground-profile-chart {
    background: #fff;
    border: 1px solid #8f8f8f;
}

.geoground-profile-sidebar {
    display: grid;
    grid-template-rows: 72px 150px 112px 1fr;
    gap: 8px;
    border: 0;
}

.geoground-side-box {
    border: 1px solid #8f8f8f;
    padding: 8px;
    font-size: 12px;
    background: #fff;
}

.geoground-side-box span,
.geoground-side-box strong {
    display: block;
    margin-bottom: 7px;
}

.geoground-side-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.geoground-orientation {
    position: relative;
    width: 86px;
    height: 86px;
    margin: 18px auto 0;
    border: 1px solid #111;
    border-radius: 50%;
}

.geoground-orientation::before,
.geoground-orientation::after {
    content: "";
    position: absolute;
    background: #111;
}

.geoground-orientation::before {
    left: 50%;
    top: -8px;
    width: 1px;
    height: 102px;
}

.geoground-orientation::after {
    left: -8px;
    top: 50%;
    width: 102px;
    height: 1px;
}

.geoground-orientation span {
    position: absolute;
    margin: 0;
    font-size: 11px;
}

.axis-b180 {
    top: -16px;
    left: 38px;
}

.axis-a180 {
    top: 38px;
    left: -38px;
}

.axis-a0 {
    top: 38px;
    right: -24px;
}

.axis-b0 {
    bottom: -20px;
    left: 39px;
}

.geoground-profile-chart {
    min-width: 0;
    overflow: hidden;
    padding: 10px 12px;
}

.geoground-profile-chart h2 {
    margin: 0;
    text-align: center;
    font-size: 20px;
}

.geoground-profile-chart p {
    margin: 4px 0 0;
    text-align: center;
    font-size: 12px;
}

.geoground-table-section h2 {
    margin: 0 0 8px;
    font-size: 15px;
}

.geoground-chart-box {
    position: relative;
    width: 100%;
    height: calc(100% - 30px);
    min-height: 0;
    overflow: hidden;
}

.geoground-chart-box canvas {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.geoground-profile-chart .geoground-chart-box {
    height: calc(100% - 46px);
    min-height: 560px;
}

.geoground-table-section {
    margin-top: 14px;
}

.geoground-table-wrap {
    overflow-x: auto;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.geoground-table-section table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.geoground-table-section th,
.geoground-table-section td {
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 10px;
    text-align: right;
}

.geoground-table-section th:first-child,
.geoground-table-section td:first-child {
    text-align: left;
}

@media (max-width: 860px) {
    .geoground-filter-bar,
    .geoground-profile-view {
        grid-template-columns: 1fr;
    }

    .geoground-client-dashboard {
        padding: 10px;
    }

    .geoground-profile-view {
        min-height: 0;
    }

    .geoground-profile-chart .geoground-chart-box {
        min-height: 360px;
    }
}
