:root {
    --zk-green: #7ac143;
    --zk-green-strong: #63ad32;
    --zk-green-deep: #356f31;
    --zk-ink: #1d2a21;
    --zk-muted: #5f6b62;
    --zk-line: #dfe6df;
    --zk-page: #f1f4f1;
    --zk-soft: #f7f9f6;
    --zk-white: #ffffff;
    --zk-shadow: rgba(31, 55, 36, 0.14);
}

.zk-login-body {
    min-width: 320px;
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 44px;
    color: var(--zk-ink);
    background: #edf1ee;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zk-login-body *,
.zk-portal-page * {
    box-sizing: border-box;
}

.zk-login-shell {
    width: min(1040px, 100%);
    min-height: 610px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    border-radius: 22px;
    background: var(--zk-white);
    box-shadow: 0 30px 80px var(--zk-shadow);
}

.zk-login-panel {
    display: flex;
    align-items: center;
    padding: 54px clamp(38px, 5vw, 72px);
}

.zk-login-content {
    width: 100%;
    max-width: 390px;
    margin: auto;
}

.zk-login-logo {
    display: inline-flex;
    margin-bottom: 44px;
}

.zk-login-logo img {
    display: block;
    width: 184px;
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
}

.zk-login-content h1 {
    margin: 0;
    color: #17241b;
    font-size: 31px;
    font-weight: 650;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.zk-login-subtitle {
    margin: 10px 0 30px;
    color: #566159;
    font-size: 14px;
    line-height: 1.6;
}

.zk-form-field {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.zk-form-field label {
    color: #29352c;
    font-size: 13px;
    font-weight: 600;
}

.zk-input-wrap {
    position: relative;
}

.zk-input-wrap svg {
    position: absolute;
    left: 15px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: none;
    stroke: #7d8a80;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.zk-input-wrap input {
    width: 100%;
    min-height: 50px;
    padding: 0 15px 0 45px;
    border: 1px solid var(--zk-line);
    border-radius: 10px;
    outline: 0;
    color: var(--zk-ink);
    background: var(--zk-soft);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.zk-input-wrap input::placeholder {
    color: #909990;
}

.zk-input-wrap input:focus {
    border-color: var(--zk-green);
    background: var(--zk-white);
    box-shadow: 0 0 0 3px rgba(122, 193, 67, 0.17);
}

.zk-login-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    color: #173012;
    background: var(--zk-green);
    box-shadow: 0 9px 22px rgba(83, 144, 37, 0.22);
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.zk-login-submit:hover {
    background: #70b93b;
    box-shadow: 0 12px 25px rgba(83, 144, 37, 0.27);
    transform: translateY(-1px);
}

.zk-login-submit svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zk-login-alert {
    margin-top: 18px;
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.45;
}

.zk-login-alert-error {
    border: 1px solid #f1c4c4;
    color: #8a2525;
    background: #fff1f1;
}

.zk-login-alert-success {
    border: 1px solid #bde0bd;
    color: #245e2b;
    background: #eff9ef;
}

.zk-login-help {
    margin: 22px auto 0;
    max-width: 330px;
    color: #68736a;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.zk-login-visual {
    min-height: 610px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 56px;
    color: #fff;
    background: linear-gradient(145deg, #8bcf50 0%, #70bd40 50%, #4e9834 100%);
}

.zk-login-visual::before,
.zk-login-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.zk-login-visual::before {
    width: 430px;
    height: 430px;
    left: 50%;
    top: 43%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 58px rgba(255, 255, 255, 0.055), 0 0 0 116px rgba(255, 255, 255, 0.028);
}

.zk-login-visual::after {
    width: 260px;
    height: 260px;
    right: -130px;
    bottom: -110px;
    background: rgba(255, 255, 255, 0.045);
}

.zk-visual-orbit {
    position: absolute;
    left: 50%;
    top: 44%;
    width: 310px;
    height: 245px;
    transform: translate(-50%, -50%);
}

.zk-visual-card {
    position: absolute;
    right: 0;
    top: 27px;
    width: 205px;
    height: 166px;
    padding: 20px;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 22px 46px rgba(29, 68, 24, 0.24);
}

.zk-visual-card-top {
    width: 58px;
    height: 7px;
    margin-bottom: 14px;
    border-radius: 99px;
    background: #dfe7dc;
}

.zk-visual-row {
    height: 31px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 7px;
    border-radius: 7px;
    background: #f0f4ef;
}

.zk-visual-row span {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--zk-green);
}

.zk-visual-row i {
    width: 78px;
    height: 5px;
    border-radius: 99px;
    background: #c8d3c7;
}

.zk-visual-icon {
    position: absolute;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 5px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    color: var(--zk-green-deep);
    background: #fff;
    box-shadow: 0 10px 26px rgba(38, 81, 32, 0.22);
}

.zk-visual-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zk-visual-user { left: 27px; top: 12px; }
.zk-visual-ticket { left: 0; top: 99px; }
.zk-visual-shield { left: 49px; top: 178px; }

.zk-visual-copy {
    position: relative;
    z-index: 2;
    text-align: center;
}

.zk-visual-copy h2 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.zk-visual-copy p {
    max-width: 360px;
    margin: 10px auto 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: 13px;
    line-height: 1.6;
}

/* Authenticated portal */
.zk-portal-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 38px 0 64px;
    color: var(--zk-ink);
}

.zk-dashboard-hero,
.zk-lead-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px 38px;
    border: 1px solid #e1e8e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(35, 58, 39, 0.075);
}

.zk-dashboard-hero h1,
.zk-lead-hero h1,
.zk-page-heading h1 {
    margin: 5px 0 8px;
    color: #17241b;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.zk-dashboard-hero p,
.zk-lead-hero p,
.zk-page-heading p {
    margin: 0;
    color: var(--zk-muted);
    line-height: 1.6;
}

.zk-eyebrow {
    color: var(--zk-green-deep);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zk-account-chip {
    min-width: 190px;
    padding: 14px 17px;
    border: 1px solid #dce8d7;
    border-radius: 12px;
    background: #f5faf2;
}

.zk-account-chip span,
.zk-account-chip strong {
    display: block;
}

.zk-account-chip span {
    margin-bottom: 3px;
    color: #6c786d;
    font-size: 11px;
    text-transform: uppercase;
}

.zk-account-chip strong {
    color: #264924;
    font-size: 14px;
}

.zk-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 24px;
}

.zk-module-card {
    min-height: 190px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    padding: 28px;
    border: 1px solid #e0e7e0;
    border-radius: 17px;
    color: var(--zk-ink);
    background: #fff;
    box-shadow: 0 12px 34px rgba(34, 57, 38, 0.065);
    text-decoration: none !important;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.zk-module-card:hover {
    border-color: #b9dba9;
    color: var(--zk-ink);
    box-shadow: 0 18px 42px rgba(34, 57, 38, 0.11);
    transform: translateY(-3px);
}

.zk-module-icon,
.zk-empty-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: #376d2f;
    background: #eaf6e4;
}

.zk-module-icon svg,
.zk-empty-icon svg,
.zk-search-field svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zk-module-copy span,
.zk-module-copy strong,
.zk-module-copy small,
.zk-module-meta b,
.zk-module-meta small {
    display: block;
}

.zk-module-label {
    margin-bottom: 4px;
    color: var(--zk-green-deep);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.zk-module-copy strong {
    margin-bottom: 7px;
    font-size: 23px;
}

.zk-module-copy small {
    max-width: 380px;
    color: var(--zk-muted);
    font-size: 13px;
    line-height: 1.5;
}

.zk-module-meta {
    min-width: 74px;
    text-align: right;
}

.zk-module-meta b {
    color: #2e5c28;
    font-size: 29px;
    line-height: 1;
}

.zk-module-meta small {
    margin-top: 5px;
    color: #7a847c;
    font-size: 11px;
}

.zk-empty-access,
.zk-empty-list {
    margin-top: 24px;
    padding: 54px 28px;
    border: 1px dashed #cbd6cb;
    border-radius: 17px;
    background: #fff;
    text-align: center;
}

.zk-empty-icon { margin: 0 auto 18px; }
.zk-empty-access h2,
.zk-empty-list h2 { margin: 0 0 8px; font-size: 22px; }
.zk-empty-access p,
.zk-empty-list p { max-width: 560px; margin: auto; color: var(--zk-muted); }

.zk-notice {
    margin: 18px 0;
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 14px;
}

.zk-notice-warning { border: 1px solid #ead9a8; color: #725918; background: #fff9e8; }
.zk-notice-success { border: 1px solid #bfdcba; color: #2e642c; background: #f0f8ed; }

.zk-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 23px;
}

.zk-back-link {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--zk-green-deep) !important;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none !important;
}

.zk-total-badge,
.zk-current-stage {
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    padding: 0 14px;
    border-radius: 99px;
    color: #315e2d;
    background: #eaf6e4;
    font-size: 13px;
    font-weight: 700;
}

.zk-list-toolbar {
    display: grid;
    grid-template-columns: 1fr 190px auto;
    gap: 12px;
    margin-bottom: 18px;
    padding: 15px;
    border: 1px solid #e0e7e0;
    border-radius: 13px;
    background: #fff;
}

.zk-search-field { position: relative; }
.zk-search-field svg {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    color: #7d897f;
}

.zk-search-field input,
.zk-list-toolbar select,
.zk-lead-sidebar select,
.zk-comment-form textarea {
    width: 100%;
    border: 1px solid #dce4dc;
    border-radius: 9px;
    color: var(--zk-ink);
    background: #f8faf7;
    font: inherit;
    outline: 0;
}

.zk-search-field input { height: 44px; padding: 0 13px 0 42px; }
.zk-list-toolbar select,
.zk-lead-sidebar select { height: 44px; padding: 0 12px; }
.zk-list-toolbar button,
.zk-comment-form button,
.zk-lead-sidebar button {
    min-height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 9px;
    color: #173012;
    background: var(--zk-green);
    cursor: pointer;
    font-weight: 700;
}

.zk-table-card {
    overflow: hidden;
    border: 1px solid #e0e7e0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(34, 57, 38, 0.055);
}

.zk-lead-row {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) minmax(130px, 0.7fr) minmax(165px, 0.75fr) 28px;
    align-items: center;
    gap: 18px;
    min-height: 76px;
    padding: 14px 20px;
    border-bottom: 1px solid #edf1ed;
    color: #334038 !important;
    text-decoration: none !important;
}

.zk-lead-row:last-child { border-bottom: 0; }
.zk-lead-row:not(.zk-lead-header):hover { background: #f8fbf7; }
.zk-lead-header { min-height: 46px; color: #748077 !important; background: #f6f8f5; font-size: 11px; font-weight: 750; text-transform: uppercase; }
.zk-lead-name strong,
.zk-lead-name small { display: block; }
.zk-lead-name strong { margin-bottom: 4px; color: #1d2a21; font-size: 15px; }
.zk-lead-name small { color: #737e75; font-size: 12px; }
.zk-stage-dot { width: 8px; height: 8px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--zk-green); }
.zk-row-arrow { color: var(--zk-green-deep); font-size: 20px; text-align: right; }

.zk-lead-hero { margin-top: 9px; }
.zk-lead-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; margin-top: 22px; align-items: start; }
.zk-lead-main { display: grid; gap: 22px; }
.zk-lead-sidebar { position: sticky; top: 20px; }
.zk-content-card { padding: 27px; border: 1px solid #e0e7e0; border-radius: 15px; background: #fff; box-shadow: 0 10px 30px rgba(34, 57, 38, 0.055); }
.zk-content-card h2 { margin: 0 0 20px; color: #1c2920; font-size: 20px; }
.zk-content-card h3 { margin: 0 0 8px; font-size: 14px; }
.zk-lead-sidebar .zk-content-card p { margin: -10px 0 17px; color: var(--zk-muted); font-size: 13px; line-height: 1.5; }
.zk-lead-sidebar form { display: grid; gap: 12px; }
.zk-lead-sidebar button:disabled { cursor: not-allowed; opacity: 0.5; }
.zk-lead-sidebar small { display: block; margin-top: 12px; color: #7b493a; }

.zk-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; }
.zk-detail-grid div { padding-bottom: 15px; border-bottom: 1px solid #edf1ed; }
.zk-detail-grid dt { margin-bottom: 5px; color: #778179; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.zk-detail-grid dd { margin: 0; color: #2b382f; font-size: 14px; }
.zk-description { margin-top: 24px; color: #4f5b52; white-space: pre-line; }
.zk-description p { margin: 0; line-height: 1.65; }

.zk-comment-form { display: grid; gap: 10px; padding-bottom: 24px; border-bottom: 1px solid #e8eee8; }
.zk-comment-form label { font-size: 13px; font-weight: 700; }
.zk-comment-form textarea { min-height: 112px; padding: 12px; resize: vertical; line-height: 1.55; }
.zk-comment-form button { justify-self: end; }
.zk-timeline { margin-top: 24px; }
.zk-timeline-item { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: 13px; padding-bottom: 23px; }
.zk-timeline-item::before { content: ""; position: absolute; left: 6px; top: 14px; bottom: -2px; width: 1px; background: #dfe7df; }
.zk-timeline-item:last-child::before { display: none; }
.zk-timeline-dot { position: relative; z-index: 1; width: 13px; height: 13px; margin-top: 3px; border: 3px solid #d9efcd; border-radius: 50%; background: var(--zk-green); }
.zk-timeline-item header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 7px; }
.zk-timeline-item header strong { color: #2c382f; font-size: 13px; }
.zk-timeline-item header time { color: #7c867e; font-size: 11px; }
.zk-message-body { color: #566158; font-size: 13px; line-height: 1.6; }
.zk-message-body p { margin: 0; }
.zk-no-comments { margin: 20px 0 0; color: #7a857c; font-size: 13px; }

/* Unified application dashboard */
.zk-app-shell,
.zk-app-shell * {
    box-sizing: border-box;
}

.zk-app-shell {
    min-width: 320px;
    min-height: 100vh;
    color: #1b261e;
    background: #f5f7f4;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zk-app-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid #e7ebe6;
    background: rgba(255, 255, 255, 0.98);
}

.zk-app-header-inner {
    width: min(1240px, calc(100% - 48px));
    min-height: 78px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 42px;
    margin: 0 auto;
}

.zk-app-brand {
    display: inline-flex;
    align-items: center;
}

.zk-app-brand img {
    width: 145px;
    max-height: 48px;
    display: block;
    object-fit: contain;
    object-position: left center;
}

.zk-app-nav {
    height: 78px;
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.zk-app-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    color: #657067 !important;
    font-size: 13px;
    font-weight: 650;
    text-decoration: none !important;
}

.zk-app-nav-link::after {
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
    content: "";
}

.zk-app-nav-link:hover,
.zk-app-nav-link.is-active {
    color: #285c26 !important;
}

.zk-app-nav-link.is-active::after {
    background: var(--zk-green);
}

.zk-user-menu {
    position: relative;
}

.zk-user-menu summary {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    min-width: 210px;
    padding: 8px 10px;
    border-radius: 12px;
    cursor: pointer;
    list-style: none;
}

.zk-user-menu summary::-webkit-details-marker {
    display: none;
}

.zk-user-menu summary:hover,
.zk-user-menu[open] summary {
    background: #f3f7f1;
}

.zk-user-avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #2e6729;
    background: #e6f3df;
    font-size: 14px;
    font-weight: 750;
}

.zk-user-copy,
.zk-user-copy strong,
.zk-user-copy small {
    min-width: 0;
    display: block;
}

.zk-user-copy strong,
.zk-user-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zk-user-copy strong {
    color: #263129;
    font-size: 12px;
}

.zk-user-copy small {
    margin-top: 2px;
    color: #7b857d;
    font-size: 10px;
}

.zk-user-menu summary > svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #7b857d;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zk-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 190px;
    overflow: hidden;
    padding: 7px;
    border: 1px solid #e1e7e0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(32, 49, 36, 0.13);
}

.zk-user-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #3b473e !important;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
}

.zk-user-dropdown a:hover {
    color: #285c26 !important;
    background: #f1f7ee;
}

.zk-app-main {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
    padding: 46px 0 72px;
}

.zk-app-welcome {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.zk-app-kicker {
    color: #397235;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.zk-app-welcome h1 {
    margin: 7px 0 8px;
    color: #172019;
    font-size: clamp(29px, 4vw, 42px);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.zk-app-welcome p {
    margin: 0;
    color: #687269;
    font-size: 14px;
}

.zk-app-welcome-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.zk-app-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid #dce3da;
    border-radius: 10px;
    color: #344037 !important;
    background: #fff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.zk-app-button:hover {
    border-color: #bcd6b2;
    box-shadow: 0 8px 20px rgba(38, 67, 42, 0.08);
    transform: translateY(-1px);
}

.zk-app-button.is-primary {
    border-color: var(--zk-green);
    color: #fff !important;
    background: var(--zk-green);
}

.zk-app-button.is-primary:hover {
    border-color: var(--zk-green-strong);
    background: var(--zk-green-strong);
}

.zk-app-button svg,
.zk-app-notice svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zk-app-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 13px 15px;
    border: 1px solid #eadcad;
    border-radius: 10px;
    color: #725918;
    background: #fffaf0;
    font-size: 13px;
}

.zk-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.zk-overview-card {
    position: relative;
    min-height: 182px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    overflow: hidden;
    border: 1px solid #e2e7e1;
    border-radius: 16px;
    color: #1c271f !important;
    background: #fff;
    box-shadow: 0 8px 28px rgba(36, 53, 39, 0.045);
    text-decoration: none !important;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

a.zk-overview-card:hover {
    border-color: #bdd9b1;
    box-shadow: 0 14px 34px rgba(36, 63, 40, 0.09);
    transform: translateY(-2px);
}

.zk-overview-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 19px;
    border-radius: 11px;
    color: #326b2d;
    background: #eaf5e5;
}

.zk-overview-icon svg,
.zk-activity-mark svg,
.zk-app-empty-access svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.zk-overview-label {
    color: #717c73;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.zk-overview-value {
    margin: 4px 0 8px;
    color: #18221a;
    font-size: 34px;
    font-weight: 680;
    line-height: 1;
    letter-spacing: -0.035em;
}

.zk-overview-detail {
    margin-top: auto;
    color: #778179;
    font-size: 11px;
}

.zk-overview-detail b {
    color: #34702e;
}

.zk-overview-arrow {
    position: absolute;
    top: 24px;
    right: 24px;
    color: #86a37d;
    font-size: 22px;
}

.zk-account-overview {
    background: #f8fbf6;
}

.zk-account-name {
    max-width: 100%;
    margin: 8px 0 10px;
    overflow: hidden;
    color: #234422;
    font-size: 19px;
    font-weight: 680;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zk-activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    gap: 20px;
}

.zk-activity-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e7e1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(36, 53, 39, 0.045);
}

.zk-panel-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 22px;
    border-bottom: 1px solid #edf0ec;
}

.zk-panel-header span {
    color: #4e7b49;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.zk-panel-header h2 {
    margin: 3px 0 0;
    color: #202b23;
    font-size: 17px;
    font-weight: 680;
}

.zk-panel-header > a,
.zk-panel-empty a {
    color: #3e7938 !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
}

.zk-panel-header > a:hover,
.zk-panel-empty a:hover {
    text-decoration: underline !important;
}

.zk-activity-row {
    min-height: 70px;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto 14px;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f2ef;
    color: #29342c !important;
    text-decoration: none !important;
}

.zk-activity-row:last-child {
    border-bottom: 0;
}

.zk-activity-row:hover {
    background: #f8fbf7;
}

.zk-activity-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #487d42;
    background: #edf6e9;
}

.zk-activity-mark svg {
    width: 18px;
    height: 18px;
}

.zk-activity-copy,
.zk-activity-copy strong,
.zk-activity-copy small {
    min-width: 0;
    display: block;
}

.zk-activity-copy strong,
.zk-activity-copy small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zk-activity-copy strong {
    color: #263129;
    font-size: 12px;
    font-weight: 650;
}

.zk-activity-copy small {
    margin-top: 4px;
    color: #818a83;
    font-size: 10px;
}

.zk-status-pill {
    max-width: 120px;
    overflow: hidden;
    padding: 5px 8px;
    border-radius: 999px;
    color: #3d7138;
    background: #eef7ea;
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zk-activity-chevron {
    color: #a1aaa3;
    font-size: 22px;
}

.zk-panel-empty {
    min-height: 148px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 24px;
    text-align: center;
}

.zk-panel-empty p {
    margin: 0;
    color: #7b857d;
    font-size: 12px;
}

.zk-app-empty-access {
    min-height: 340px;
    display: grid;
    place-items: center;
    align-content: center;
    margin-top: 14px;
    padding: 54px 28px;
    border: 1px dashed #cbd6cb;
    border-radius: 17px;
    background: #fff;
    text-align: center;
}

.zk-app-empty-access > span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 15px;
    color: #376d2f;
    background: #eaf6e4;
}

.zk-app-empty-access h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.zk-app-empty-access p {
    max-width: 560px;
    margin: 0;
    color: var(--zk-muted);
}

@media (max-width: 900px) {
    .zk-login-body { padding: 24px; }
    .zk-login-shell { grid-template-columns: 1fr; }
    .zk-login-panel { min-height: 610px; }
    .zk-login-visual { min-height: 430px; }
    .zk-visual-orbit { top: 43%; transform: translate(-50%, -50%) scale(0.82); }
    .zk-module-grid { grid-template-columns: 1fr; }
    .zk-lead-layout { grid-template-columns: 1fr; }
    .zk-lead-sidebar { position: static; }
    .zk-app-header-inner {
        width: min(100% - 32px, 1240px);
        grid-template-columns: auto 1fr;
        gap: 24px;
    }
    .zk-app-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 46px;
        order: 3;
    }
    .zk-user-menu {
        justify-self: end;
    }
    .zk-app-main { width: min(100% - 32px, 1240px); }
    .zk-app-welcome { align-items: flex-start; flex-direction: column; }
    .zk-app-welcome-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
    .zk-login-body { padding: 12px; }
    .zk-login-shell { border-radius: 15px; }
    .zk-login-panel { min-height: auto; padding: 42px 27px; }
    .zk-login-logo { margin-bottom: 34px; }
    .zk-login-visual { min-height: 390px; padding: 38px 24px; }
    .zk-portal-page { width: min(100% - 22px, 1180px); padding-top: 22px; }
    .zk-dashboard-hero,
    .zk-lead-hero,
    .zk-page-heading { align-items: flex-start; flex-direction: column; }
    .zk-account-chip { width: 100%; }
    .zk-module-card { grid-template-columns: auto 1fr; }
    .zk-module-meta { grid-column: 2; text-align: left; }
    .zk-list-toolbar { grid-template-columns: 1fr; }
    .zk-lead-header { display: none; }
    .zk-lead-row { grid-template-columns: 1fr auto; gap: 8px 14px; padding: 18px; }
    .zk-lead-row > span:nth-child(2),
    .zk-lead-row > span:nth-child(3) { font-size: 12px; }
    .zk-lead-row > span:nth-child(3) { grid-column: 1; }
    .zk-row-arrow { grid-column: 2; grid-row: 1 / 3; }
    .zk-detail-grid { grid-template-columns: 1fr; }
    .zk-timeline-item header { align-items: flex-start; flex-direction: column; gap: 2px; }
    .zk-app-header-inner {
        width: min(100% - 22px, 1240px);
        gap: 12px;
    }
    .zk-app-brand img { width: 126px; }
    .zk-user-menu summary {
        min-width: 0;
        grid-template-columns: 38px 17px;
    }
    .zk-user-copy { display: none; }
    .zk-app-nav-link { padding: 0 11px; }
    .zk-app-nav-link::after { right: 11px; left: 11px; }
    .zk-app-main {
        width: min(100% - 22px, 1240px);
        padding-top: 30px;
    }
    .zk-app-welcome { gap: 22px; }
    .zk-app-welcome-actions,
    .zk-app-button { width: 100%; }
    .zk-overview-grid { grid-template-columns: 1fr; }
    .zk-activity-grid { grid-template-columns: 1fr; }
    .zk-status-pill { max-width: 86px; }
    .zk-activity-row {
        grid-template-columns: 36px minmax(0, 1fr) 14px;
    }
    .zk-activity-row .zk-status-pill {
        grid-column: 2;
        justify-self: start;
    }
    .zk-activity-chevron {
        grid-column: 3;
        grid-row: 1 / 3;
    }
}
