* {
    box-sizing: border-box;
}

html {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    color: #202124;
    background: #f5f6f8;
}

body {
    margin: 0;
}

a {
    color: inherit;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}

.topbar-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    font-weight: 700;
    font-size: 20px;
}

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

.account form {
    margin: 0;
}

.link-button {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

.page {
    padding-top: 42px;
    padding-bottom: 60px;
}

.page-heading {
    margin-bottom: 28px;
}

.page-heading h1 {
    margin: 6px 0;
    font-size: 32px;
}

.eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #6b7280;
}

.muted {
    color: #6b7280;
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.card h2 {
    margin-top: 0;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #f5f6f8;
}

.login-card {
    width: min(420px, 100%);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.login-card h1 {
    margin: 0 0 6px;
}

.form {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.form label:not(.checkbox) {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
}

.form input[type="email"],
.form input[type="password"] {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    padding: 11px 12px;
    font: inherit;
    background: #fff;
}

.form input:focus {
    outline: 2px solid #202124;
    outline-offset: 1px;
}

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

.primary-button {
    width: 100%;
    border: 0;
    border-radius: 9px;
    padding: 12px 16px;
    background: #202124;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.error-box {
    margin-top: 18px;
    padding: 11px 12px;
    border: 1px solid #ef4444;
    border-radius: 9px;
    background: #fef2f2;
    font-size: 14px;
}

@media (max-width: 640px) {
    .account > span {
        display: none;
    }

    .page-heading h1 {
        font-size: 28px;
    }

    .login-card {
        padding: 24px;
    }
}

.cabinet-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.card-wide {
    grid-column: 1 / -1;
}

.section-label {
    margin-bottom: 6px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.section-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.property-address {
    margin-bottom: 18px;
    font-size: 17px;
}

.meta-row {
    color: #6b7280;
    font-size: 14px;
}

.charge-group {
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
}

.charge-group:first-of-type {
    margin-top: 10px;
}

.charge-month {
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 18px;
}

.money-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 0;
}

.total-row {
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
    font-size: 17px;
}

.due-note {
    margin: 12px 0;
    font-size: 14px;
    color: #6b7280;
}

.big-money {
    margin: 12px 0;
    font-size: 30px;
    font-weight: 700;
}

.status-line {
    margin: 12px 0;
}

.small {
    font-size: 13px;
}

.payment-note {
    margin-top: 8px;
}

.button-disabled {
    margin-top: 12px;
    cursor: not-allowed;
    opacity: .45;
}

.success-state {
    padding: 18px;
    border-radius: 10px;
    background: #f3f4f6;
}

.history-list,
.document-list {
    display: grid;
}

.history-row,
.document-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid #e5e7eb;
}

.history-right {
    text-align: right;
}

.secondary-button {
    display: inline-block;
    padding: 9px 13px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 760px) {
    .cabinet-grid {
        grid-template-columns: 1fr;
    }

    .card-wide {
        grid-column: auto;
    }

    .money-row,
    .history-row,
    .document-row {
        gap: 14px;
    }

    .document-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.admin-property-list {
    display: grid;
    gap: 16px;
}

.admin-property-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    color: inherit;
    text-decoration: none;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.admin-property-card:hover {
    border-color: #9ca3af;
    box-shadow: 0 5px 16px rgba(0, 0, 0, .06);
}

.admin-property-meta {
    min-width: 260px;
    display: grid;
    gap: 12px;
}

.admin-property-meta > div {
    display: grid;
    gap: 3px;
}

.admin-back {
    margin-bottom: 24px;
    font-size: 14px;
}

.admin-detail-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.admin-detail-grid > div {
    display: grid;
    gap: 5px;
}

.admin-table-wrap {
    width: 100%;
    overflow-x: auto;
}

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

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-top: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.money-cell {
    white-space: nowrap;
}

.admin-record {
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
}

.status-badge {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f3f4f6;
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 760px) {
    .admin-property-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-property-meta {
        min-width: 0;
        width: 100%;
    }

    .admin-detail-grid {
        grid-template-columns: 1fr;
    }
}

.flash-success,
.flash-error {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 9px;
    font-size: 14px;
}

.flash-success {
    border: 1px solid #86b89a;
    background: #f2f8f4;
}

.flash-error {
    border: 1px solid #ef4444;
    background: #fef2f2;
}

.admin-form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.admin-form label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    padding: 10px 11px;
    background: #fff;
    font: inherit;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form input:focus,
.admin-form textarea:focus {
    outline: 2px solid #202124;
    outline-offset: 1px;
}

.field-error {
    margin-top: -8px;
    color: #b91c1c;
    font-size: 13px;
}

.inline-amount-form {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 220px;
}

.inline-amount-form input {
    width: 105px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 7px 8px;
    background: #fff;
    font: inherit;
    text-align: right;
}

.inline-amount-form input:focus {
    outline: 2px solid #202124;
    outline-offset: 1px;
}

.small-action-button {
    border: 1px solid #d1d5db;
    border-radius: 7px;
    padding: 7px 9px;
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
}

.small-action-button:hover {
    border-color: #9ca3af;
}

.prepayment-preview-form {
    grid-template-columns:
        minmax(180px, 260px)
        max-content;
    align-items: end;
    margin-bottom: 22px;
}

.prepayment-preview-form .secondary-button {
    height: 42px;
    cursor: pointer;
}

.prepayment-preview {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.prepayment-total-row td {
    border-top: 2px solid #d1d5db;
}

.prepayment-existing {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.prepayment-existing h3 {
    margin-top: 0;
}

.prepayment-package-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 0;
    border-top: 1px solid #e5e7eb;
}

.prepayment-package-row form {
    margin: 0;
}

@media (max-width: 760px) {
    .prepayment-preview-form {
        grid-template-columns: 1fr;
    }

    .prepayment-package-row {
        align-items: flex-start;
        flex-direction: column;
    }
}

.admin-setup-grid {
    margin-bottom: 28px;
}

.admin-form select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    padding: 10px 11px;
    background: #fff;
    font: inherit;
}

.admin-form select:focus {
    outline: 2px solid #202124;
    outline-offset: 1px;
}

.tenancy-start-form {
    max-width: 560px;
    margin-top: 24px;
}

.topbar-link {
    color: inherit;
    font-size: 14px;
    text-decoration: none;
}

.topbar-link:hover {
    text-decoration: underline;
}

.audit-table {
    min-width: 940px;
}

.audit-time {
    white-space: nowrap;
}

.audit-details summary {
    cursor: pointer;
    font-weight: 600;
}

.audit-details pre {
    max-width: 520px;
    max-height: 300px;
    overflow: auto;
    margin: 8px 0 12px;
    padding: 10px;
    border-radius: 7px;
    background: #f5f6f8;
    font-size: 11px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
}

.audit-json-title {
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
}

.deposit-admin-form {
    max-width: 620px;
}

.deposit-operation-summary {
    display: grid;
    gap: 4px;
    margin: 14px 0 22px;
}

.deposit-return-note {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #e5e7eb;
}

/* DOCUMENT WORKFLOW */

.document-upload-form {
    max-width: 680px;
    margin-bottom: 28px;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.checkbox-row input {
    width: auto;
    margin: 0;
}

.document-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.document-record {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.document-record-main {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.document-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.document-actions form {
    margin: 0;
}

.document-record-archived {
    opacity: .72;
}

@media (max-width: 760px) {
    .document-record {
        display: grid;
    }

    .document-actions {
        justify-content: flex-start;
    }
}

/* TENANCY HISTORY WORKFLOW */

.tenancy-summary-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(170px, 1fr)
    );
    gap: 18px;
}

.tenancy-summary-grid > div {
    display: grid;
    gap: 4px;
}

.tenancy-history-list,
.tenant-tenancy-list {
    display: grid;
    gap: 10px;
}

.tenancy-history-row,
.tenant-tenancy-card {
    display: grid;
    grid-template-columns:
        minmax(180px, 1fr)
        auto
        auto;
    align-items: center;
    gap: 18px;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
}

.tenancy-history-row:hover,
.tenant-tenancy-card:hover {
    border-color: #c5c9d1;
}

.tenant-tenancy-card {
    grid-template-columns:
        minmax(0, 1fr)
        auto;
}

.tenant-tenancy-card h2 {
    margin: 4px 0;
}

.tenant-tenancy-period {
    white-space: nowrap;
}

@media (max-width: 760px) {
    .tenancy-history-row,
    .tenant-tenancy-card {
        grid-template-columns: 1fr;
    }

    .tenant-tenancy-period {
        white-space: normal;
    }
}

/* TENANCY CLOSE WORKFLOW */

.tenancy-close-form {
    max-width: 680px;
}

.tenancy-close-notes {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
}

.tenancy-close-notes p {
    margin: 0;
}

.tenancy-close-notes p + p {
    margin-top: 8px;
}

/* CHARGE CANCELLATION WORKFLOW */

.charge-cancel-details {
    min-width: 180px;
}

.charge-cancel-details summary {
    cursor: pointer;
}

.charge-cancel-form {
    display: grid;
    gap: 8px;
    margin-top: 8px;
    min-width: 220px;
}

.charge-cancel-form textarea {
    width: 100%;
    min-width: 0;
    resize: vertical;
}

/* === ADMIN WORKSPACE V1 START === */

:root {
    --ui-bg: #f5f6f8;
    --ui-surface: #ffffff;
    --ui-surface-soft: #f8f9fb;
    --ui-text: #17191d;
    --ui-muted: #69717d;
    --ui-border: #e2e5e9;
    --ui-border-strong: #cbd1d8;
    --ui-action: #202226;
    --ui-action-hover: #0d0e10;
    --ui-focus: #2563eb;
    --ui-success-bg: #edf8f1;
    --ui-success-text: #17623a;
    --ui-error-bg: #fff1f1;
    --ui-error-text: #962a2a;
    --ui-radius: 16px;
}

* {
    box-sizing: border-box;
}

html,
body {
    background: var(--ui-bg);
}

body {
    margin: 0;
    color: var(--ui-text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: calc(100% - 48px);
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
}

.page {
    padding-top: 48px;
    padding-bottom: 72px;
}


/* topbar */

.topbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--ui-border);
}

.topbar-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    color: var(--ui-text);
    font-size: 21px;
    font-weight: 760;
    letter-spacing: -0.025em;
    text-decoration: none;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.topbar-link {
    padding: 8px 11px;
    color: var(--ui-muted);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 620;
    text-decoration: none;
}

.topbar-link:hover,
.topbar-link.is-active {
    background: #eef0f3;
    color: var(--ui-text);
    text-decoration: none;
}

.account {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 22px;
    border-left: 1px solid var(--ui-border);
}

.account-name {
    max-width: 220px;
    overflow: hidden;
    color: var(--ui-muted);
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-button {
    padding: 0;
    background: transparent;
    color: var(--ui-text);
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
}


/* heading */

.workspace-heading {
    margin-bottom: 32px;
}

.workspace-heading .eyebrow,
.section-label {
    margin-bottom: 8px;
    color: var(--ui-muted);
    font-size: 12px;
    font-weight: 760;
    letter-spacing: 0.085em;
    text-transform: uppercase;
}

.workspace-heading h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 44px);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -0.038em;
}

.workspace-lead {
    max-width: 820px;
    margin: 14px 0 0;
    color: var(--ui-muted);
    font-size: 17px;
    line-height: 1.58;
}


/* dashboard */

.metric-strip {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    min-width: 175px;
    padding: 18px 20px;
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    border-radius: 14px;
}

.metric-value {
    font-size: 28px;
    font-weight: 760;
    line-height: 1;
}

.metric-label {
    margin-top: 8px;
    color: var(--ui-muted);
    font-size: 13px;
}

.workspace-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.workspace-tile {
    min-height: 150px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    background: var(--ui-surface);
    color: inherit;
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius);
    text-decoration: none;
    box-shadow:
        0 1px 2px rgba(16, 24, 40, .03),
        0 8px 24px rgba(16, 24, 40, .04);
    transition:
        transform .12s ease,
        border-color .12s ease;
}

.workspace-tile:hover {
    transform: translateY(-1px);
    border-color: var(--ui-border-strong);
}

.workspace-tile-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--ui-surface-soft);
    border: 1px solid var(--ui-border);
    border-radius: 12px;
    font-weight: 760;
}

.workspace-tile-body h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
}

.workspace-tile-body p {
    margin: 7px 0 0;
    color: var(--ui-muted);
    font-size: 14px;
}

.workspace-tile-arrow {
    color: #98a0ad;
    font-size: 24px;
}

.role-note {
    margin-top: 20px;
    padding: 20px 22px;
    border: 1px dashed var(--ui-border-strong);
    border-radius: 14px;
}

.role-note strong {
    font-size: 14px;
}

.role-note p {
    max-width: 860px;
    margin: 6px 0 0;
    color: var(--ui-muted);
    font-size: 14px;
}


/* landlords */

.landlords-layout {
    display: grid;
    grid-template-columns:
        minmax(360px, 430px)
        minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.ui-panel {
    padding: 28px;
    background: var(--ui-surface);
    border: 1px solid var(--ui-border);
    border-radius: var(--ui-radius);
    box-shadow:
        0 1px 2px rgba(16, 24, 40, .03),
        0 8px 24px rgba(16, 24, 40, .04);
}

.ui-panel-heading {
    margin-bottom: 24px;
}

.ui-panel-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.ui-panel-heading h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.ui-panel-heading p {
    margin: 8px 0 0;
    color: var(--ui-muted);
    font-size: 14px;
}

.ui-form {
    display: grid;
    gap: 18px;
}

.ui-field {
    display: grid;
    gap: 7px;
}

.ui-field label {
    font-size: 14px;
    font-weight: 650;
}

.ui-field input,
.ui-field select,
.ui-field textarea {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 11px 13px;
    background: #fff;
    color: var(--ui-text);
    border: 1px solid var(--ui-border-strong);
    border-radius: 10px;
    outline: none;
    font: inherit;
    font-size: 16px;
}

.ui-field input:focus,
.ui-field select:focus,
.ui-field textarea:focus {
    border-color: var(--ui-focus);
    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .12);
}

.ui-field-hint {
    color: var(--ui-muted);
    font-size: 12px;
}

.ui-field-error {
    color: var(--ui-error-text);
    font-size: 13px;
    font-weight: 560;
}

.ui-button {
    min-height: 48px;
    padding: 11px 18px;
    border-radius: 11px;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
}

.ui-button-primary {
    width: 100%;
    margin-top: 4px;
    background: var(--ui-action);
    color: #fff;
    border: 1px solid var(--ui-action);
}

.ui-button-primary:hover {
    background: var(--ui-action-hover);
}

.count-badge {
    min-width: 34px;
    height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ui-surface-soft);
    color: var(--ui-muted);
    border: 1px solid var(--ui-border);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.entity-row {
    min-height: 82px;
    padding: 15px 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--ui-border);
}

.entity-row:first-child {
    border-top: 0;
}

.entity-avatar {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--ui-surface-soft);
    border: 1px solid var(--ui-border);
    border-radius: 11px;
    font-size: 14px;
    font-weight: 760;
}

.entity-main {
    min-width: 0;
}

.entity-name {
    overflow: hidden;
    font-size: 15px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entity-meta {
    margin-top: 3px;
    overflow: hidden;
    color: var(--ui-muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.entity-secondary {
    margin-top: 3px;
    color: #8a919c;
    font-size: 12px;
}

.status-pill {
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.status-pill-active {
    background: var(--ui-success-bg);
    color: var(--ui-success-text);
}

.status-pill-muted {
    background: #f0f1f3;
    color: #707782;
}

.empty-state {
    min-height: 280px;
    padding: 38px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed var(--ui-border-strong);
    border-radius: 14px;
}

.empty-state-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    background: var(--ui-surface-soft);
    border: 1px solid var(--ui-border);
    border-radius: 13px;
    font-weight: 760;
}

.empty-state h3 {
    margin: 0;
    font-size: 17px;
}

.empty-state p {
    margin: 6px 0 0;
    color: var(--ui-muted);
    font-size: 14px;
}

.ui-notice {
    margin-bottom: 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.ui-notice-success {
    background: var(--ui-success-bg);
    color: var(--ui-success-text);
    border: 1px solid #cce8d6;
}

.ui-notice-error {
    background: var(--ui-error-bg);
    color: var(--ui-error-text);
    border: 1px solid #f0cccc;
}


/* responsive */

@media (max-width: 900px) {
    .landlords-layout,
    .workspace-grid {
        grid-template-columns: 1fr;
    }

    .topbar-right {
        gap: 14px;
    }
}

@media (max-width: 720px) {
    .container {
        width: calc(100% - 28px);
    }

    .page {
        padding-top: 30px;
        padding-bottom: 48px;
    }

    .topbar-nav {
        display: none;
    }

    .account {
        padding-left: 0;
        border-left: 0;
    }

    .workspace-heading h1 {
        font-size: 34px;
    }

    .metric-strip {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .metric-card {
        min-width: 0;
    }

    .workspace-tile {
        grid-template-columns: auto 1fr;
    }

    .workspace-tile-arrow {
        display: none;
    }

    .ui-panel {
        padding: 21px;
    }

    .entity-row {
        grid-template-columns: auto 1fr;
    }

    .status-pill {
        grid-column: 2;
        justify-self: start;
    }
}

/* === ADMIN WORKSPACE V1 END === */
