.tt-knowlarity-wrap .ttk-help {
    background: #fff8e8;
    border-left: 4px solid #d60302;
    padding: 12px 14px;
    margin: 14px 0;
    border-radius: 6px;
}
.ttk-panel {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 10px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.ttk-filter-form,
.ttk-grid-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}
.ttk-filter-form label,
.ttk-grid-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 600;
}
.ttk-grid-form {
    margin-bottom: 12px;
}
.ttk-inline-form {
    display: inline-block;
    margin: 10px 8px 0 0;
}
.ttk-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    gap: 14px;
    margin: 16px 0;
}
.ttk-card {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.ttk-card span {
    display: block;
    color: #646970;
    margin-bottom: 8px;
}
.ttk-card strong {
    display: block;
    font-size: 26px;
    line-height: 1.1;
    color: #1d2327;
}
.ttk-table th {
    font-weight: 700;
}
.ttk-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 700;
}
.ttk-status.connected {
    background: #e7f7ed;
    color: #096b2c;
}
.ttk-status.missed {
    background: #fdeaea;
    color: #a00000;
}
.ttk-pre {
    background: #1d2327;
    color: #f0f0f1;
    padding: 14px;
    border-radius: 8px;
    overflow: auto;
    max-height: 420px;
}
.ttk-error {
    color: #b32d2e;
    font-weight: 700;
}
.ttk-check {
    flex-direction: row !important;
    align-items: center;
    padding-bottom: 7px;
}
@media (max-width: 960px) {
    .ttk-cards { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (max-width: 600px) {
    .ttk-cards { grid-template-columns: 1fr; }
    .ttk-filter-form, .ttk-grid-form { display: block; }
    .ttk-filter-form label, .ttk-grid-form label { margin-bottom: 12px; }
}
.ttk-warning {
    background: #fff8e8;
    border-left: 4px solid #d60302;
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 600;
}

/* v0.1.11 dashboard/sync refresh: dark internal-dashboard style with a different violet/cyan palette. */
.ttk-dashboard-wrap,
.ttk-sync-wrap {
    --ttk-dark: #17112f;
    --ttk-dark-2: #21164a;
    --ttk-card: #24184f;
    --ttk-line: rgba(125, 211, 252, .22);
    --ttk-accent: #7c3aed;
    --ttk-accent-2: #22d3ee;
    --ttk-soft: #f7f7ff;
}
.ttk-dash-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(34,211,238,.22), transparent 30%), linear-gradient(135deg, var(--ttk-dark), var(--ttk-dark-2));
    color: #fff;
    border: 1px solid var(--ttk-line);
    border-radius: 18px;
    padding: 24px 28px;
    margin: 16px 0;
    box-shadow: 0 16px 35px rgba(23,17,47,.18);
}
.ttk-dash-hero h1 {
    color: #fff;
    margin: 4px 0 8px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
}
.ttk-dash-hero p {
    color: #d9e7ff;
    max-width: 820px;
    margin: 0;
    font-size: 14px;
}
.ttk-eyebrow {
    display: inline-block;
    color: var(--ttk-accent-2);
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: 11px;
}
.ttk-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.ttk-dashboard-wrap .ttk-hero-actions .button,
.ttk-sync-wrap .ttk-hero-actions .button {
    border-radius: 999px;
    min-height: 36px;
    padding: 4px 16px;
}
.ttk-dashboard-wrap .button-primary,
.ttk-sync-wrap .button-primary {
    background: var(--ttk-accent);
    border-color: var(--ttk-accent);
}
.ttk-dashboard-wrap .button-primary:hover,
.ttk-sync-wrap .button-primary:hover {
    background: #6d28d9;
    border-color: #6d28d9;
}
.ttk-filter-panel {
    border-left: 4px solid var(--ttk-accent-2);
}
.ttk-dashboard-cards {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
}
.ttk-dashboard-cards .ttk-card {
    background: linear-gradient(145deg, #21164a, #17112f);
    border-color: var(--ttk-line);
    color: #fff;
    min-height: 82px;
}
.ttk-dashboard-cards .ttk-card span {
    color: #bcd1ff;
}
.ttk-dashboard-cards .ttk-card strong {
    color: #fff;
    font-size: 30px;
}
.ttk-dashboard-grid,
.ttk-sync-grid {
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(420px, 1.18fr);
    gap: 16px;
    align-items: stretch;
}
.ttk-sync-grid {
    grid-template-columns: repeat(2, minmax(320px, 1fr));
}
.ttk-panel-dark {
    background: linear-gradient(145deg, #21164a, #17112f) !important;
    color: #fff;
    border-color: var(--ttk-line) !important;
}
.ttk-panel-dark h2,
.ttk-panel-dark strong {
    color: #fff;
}
.ttk-panel-dark .description,
.ttk-panel-dark .ttk-muted {
    color: #c7d7ff;
}
.ttk-snapshot-list {
    display: grid;
    gap: 10px;
    margin: 12px 0 14px;
}
.ttk-snapshot-list div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
}
.ttk-snapshot-list span {
    color: #bcd1ff;
}
.ttk-snapshot-list strong {
    text-align: right;
}
.ttk-muted {
    color: #646970;
    margin-bottom: 0;
}
.ttk-panel-title-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 10px;
}
.ttk-panel-title-row h2 {
    margin-top: 0;
    margin-bottom: 4px;
}
.ttk-compact-table td,
.ttk-compact-table th {
    font-size: 12px;
}
.ttk-inline-check {
    flex-direction: row !important;
    align-items: center;
    padding-bottom: 7px;
}
.ttk-sync-wrap .ttk-panel h2,
.ttk-dashboard-wrap .ttk-panel h2 {
    font-size: 18px;
    font-weight: 800;
}
@media (max-width: 1180px) {
    .ttk-dashboard-cards { grid-template-columns: repeat(3, minmax(150px, 1fr)); }
    .ttk-dashboard-grid,
    .ttk-sync-grid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
    .ttk-dash-hero { display: block; padding: 20px; }
    .ttk-hero-actions { justify-content: flex-start; margin-top: 16px; }
    .ttk-dashboard-cards { grid-template-columns: 1fr; }
    .ttk-panel-title-row { display: block; }
}

/* v0.1.12 refinements */
.ttk-actions-cell {
    display: flex;
    gap: 8px;
    align-items: center;
}
.ttk-actions-cell form {
    margin: 0;
}
.ttk-plain-list {
    margin: 10px 0 0 18px;
    list-style: disc;
}
.ttk-plain-list li {
    margin: 8px 0;
}
.ttk-code-on-dark {
    display: inline-block;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #e0fbff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    padding: 8px 10px;
}
.ttk-subtext {
    display: block;
    color: #646970;
    font-size: 11px;
    margin-top: 2px;
}
.ttk-sync-wrap .ttk-table td[title] {
    max-width: 520px;
}

/* v0.1.15 safe sync progress */
.ttk-sync-progress {
    margin-top: 16px;
    padding: 14px;
    border: 1px solid rgba(124, 58, 237, .25);
    border-radius: 14px;
    background: #f8f5ff;
}
.ttk-progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.ttk-progress-bar {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8ddff;
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .15);
}
.ttk-progress-bar span {
    display: block;
    height: 100%;
    width: 0%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    transition: width .25s ease;
}
.ttk-sync-progress-error {
    background: #fff1f2;
    border-color: #fecdd3;
}
.ttk-sync-progress-error .ttk-progress-bar span {
    background: #e11d48;
}


/* v0.1.17 monthly sync coverage calendar */
.ttk-sync-calendar-panel {
    overflow: hidden;
}
.ttk-calendar-title-row {
    align-items: center;
}
.ttk-month-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.ttk-month-form label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: 700;
}
.ttk-calendar-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 12px;
}
.ttk-calendar-legend {
    display: flex;
    gap: 10px 16px;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0 14px;
    font-size: 12px;
    color: #3c434a;
}
.ttk-lg {
    display: inline-flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    margin-right: 4px;
    font-size: 13px;
    line-height: 1;
}
.ttk-lg-complete,
.ttk-lg-zero { background: #dcfce7; color: #166534; }
.ttk-lg-partial { background: #fef3c7; color: #92400e; }
.ttk-lg-data { background: #e0f2fe; color: #075985; }
.ttk-lg-today { background: #ede9fe; color: #5b21b6; }
.ttk-lg-error,
.ttk-lg-missing { background: #fee2e2; color: #991b1b; }
.ttk-sync-calendar-wrap {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
}
.ttk-sync-calendar-table {
    --ttk-name-col: 170px;
    width: 100%;
    min-width: 1040px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 2px;
}
.ttk-sync-calendar-table .ttk-property-col {
    width: 170px;
}
.ttk-sync-calendar-table .ttk-month-total-col {
    width: 58px;
}
.ttk-sync-calendar-table th,
.ttk-sync-calendar-table td {
    padding: 0;
    text-align: center;
    vertical-align: middle;
}
.ttk-property-head,
.ttk-property-cell {
    position: sticky;
    left: 0;
    z-index: 4;
    text-align: left !important;
    background: #fff;
    box-shadow: 6px 0 10px rgba(255,255,255,.9);
}
.ttk-month-total-head,
.ttk-month-total-cell {
    position: sticky;
    left: var(--ttk-name-col);
    z-index: 3;
    text-align: center !important;
    box-shadow: 6px 0 10px rgba(255,255,255,.78);
}
.ttk-month-total-head {
    height: 34px;
    border-radius: 9px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
    font-weight: 900;
}
.ttk-month-total-cell {
    height: 38px;
    border-radius: 9px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 900;
    overflow: hidden;
}
.ttk-month-total-cell strong {
    display: block;
    font-size: 12px;
    line-height: 38px;
}
.ttk-month-total-overall {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}
.ttk-property-head {
    padding: 8px 10px !important;
    font-weight: 800;
}
.ttk-property-cell {
    padding: 6px 8px !important;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
}
.ttk-property-cell strong,
.ttk-property-cell span,
.ttk-property-cell em {
    display: block;
}
.ttk-property-cell strong {
    font-size: 12px;
    color: #111827;
}
.ttk-property-cell span {
    font-size: 11px;
    color: #4b5563;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ttk-property-cell em {
    margin-top: 2px;
    font-style: normal;
    font-size: 10px;
    color: #6b7280;
}
.ttk-day-head {
    height: 34px;
    border-radius: 9px;
    background: #f3f4f6;
    color: #111827;
    border: 1px solid #e5e7eb;
}
.ttk-day-head span,
.ttk-day-head small {
    display: block;
    line-height: 1.05;
}
.ttk-day-head span {
    font-size: 12px;
    font-weight: 800;
    padding-top: 5px;
}
.ttk-day-head small {
    font-size: 9px;
    color: #6b7280;
    margin-top: 2px;
}
.ttk-day-today {
    background: #ede9fe;
    border-color: #c4b5fd;
}
.ttk-sync-cell {
    height: 38px;
    border-radius: 9px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-weight: 800;
    overflow: hidden;
}
.ttk-sync-cell span,
.ttk-sync-cell small {
    display: block;
    line-height: 1;
}
.ttk-sync-cell span {
    font-size: 14px;
    margin-top: 7px;
}
.ttk-sync-cell small {
    font-size: 10px;
    margin-top: 3px;
    font-weight: 700;
    color: rgba(0,0,0,.62);
}
.ttk-sync-complete { background: #dcfce7; border-color: #86efac; color: #166534; }
.ttk-sync-partial { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.ttk-sync-data { background: #e0f2fe; border-color: #7dd3fc; color: #075985; }
.ttk-sync-today { background: #ede9fe; border-color: #c4b5fd; color: #5b21b6; }
.ttk-sync-error,
.ttk-sync-missing { background: #fee2e2; border-color: #fecaca; color: #991b1b; }
.ttk-sync-future { background: #f3f4f6; color: #9ca3af; }
@media (max-width: 1180px) {
    .ttk-sync-calendar-table { --ttk-name-col: 160px; min-width: 1040px; }
    .ttk-sync-calendar-table .ttk-property-col { width: 160px; }
}
@media (max-width: 782px) {
    .ttk-month-form { justify-content: flex-start; margin-top: 10px; }
    .ttk-sync-calendar-table { min-width: 1040px; }
}

/* v0.1.20 daily total row in coverage calendar */
.ttk-total-row .ttk-property-cell,
.ttk-total-cell {
    background: #fff7ed !important;
    border-color: #fed7aa !important;
    color: #9a3412;
}
.ttk-total-cell strong {
    color: #9a3412;
    font-size: 12px;
}
.ttk-total-cell span {
    color: #b45309;
    font-size: 10px;
}
.ttk-total-day-cell {
    height: 34px;
    border-radius: 9px;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 900;
    overflow: hidden;
}
.ttk-total-day-cell strong {
    display: block;
    font-size: 13px;
    line-height: 34px;
}
.ttk-total-day-zero {
    background: #f9fafb;
    border-color: #e5e7eb;
    color: #9ca3af;
}
.ttk-total-day-has-calls {
    background: #ffedd5;
    border-color: #fdba74;
}

/* v0.1.21 internal tab navigation and agent-wise calls chart */
.ttk-admin-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin: 14px 0 16px;
    padding: 10px;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.ttk-admin-tab {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 12px;
    border: 1px solid #dbe4f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,.02);
}
.ttk-admin-tab:hover,
.ttk-admin-tab:focus {
    background: #eef2ff;
    color: #5b21b6;
}
.ttk-admin-tab.is-active {
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
    border-color: transparent;
    color: #fff;
}
.ttk-agent-wrap {
    --ttk-dark: #17112f;
    --ttk-dark-2: #21164a;
    --ttk-card: #24184f;
    --ttk-line: rgba(125, 211, 252, .22);
    --ttk-accent: #7c3aed;
    --ttk-accent-2: #22d3ee;
    --ttk-soft: #f7f7ff;
}
.ttk-agent-summary-panel {
    overflow: hidden;
}
.ttk-agent-bars {
    display: grid;
    gap: 9px;
    margin: 12px 0 16px;
}
.ttk-agent-bar-row {
    display: grid;
    grid-template-columns: minmax(150px, 240px) minmax(120px, 1fr) 58px;
    gap: 10px;
    align-items: center;
}
.ttk-agent-bar-row span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    color: #111827;
}
.ttk-agent-bar-row div {
    height: 18px;
    border-radius: 999px;
    background: #eef2ff;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(124, 58, 237, .12);
}
.ttk-agent-bar-row i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c3aed, #22d3ee);
}
.ttk-agent-bar-row strong {
    text-align: right;
    font-size: 14px;
    color: #111827;
}
.ttk-agent-summary-table {
    margin-top: 12px;
}
.ttk-agent-calendar-table {
    --ttk-name-col: 210px;
    min-width: 1140px;
}
.ttk-agent-calendar-table .ttk-property-col {
    width: 210px;
}
.ttk-agent-name-cell strong {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ttk-agent-cell {
    height: 38px;
    border-radius: 9px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #9ca3af;
    font-weight: 900;
    overflow: hidden;
}
.ttk-agent-cell strong,
.ttk-agent-cell span {
    display: block;
    line-height: 38px;
    font-size: 12px;
}
.ttk-agent-has-calls {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}
.ttk-agent-today {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #5b21b6;
}
.ttk-agent-zero {
    background: #f9fafb;
    color: #9ca3af;
}
.ttk-agent-future {
    background: #f3f4f6;
    color: #9ca3af;
}
.ttk-agent-lg-calls {
    background: #dcfce7;
    color: #166534;
    width: auto;
    min-width: 26px;
    padding: 0 5px;
}
.ttk-agent-lg-zero {
    background: #f3f4f6;
    color: #6b7280;
}
@media (max-width: 1180px) {
    .ttk-agent-calendar-table { --ttk-name-col: 190px; min-width: 1140px; }
    .ttk-agent-calendar-table .ttk-property-col { width: 190px; }
}
@media (max-width: 782px) {
    .ttk-admin-tabs { overflow-x: auto; flex-wrap: nowrap; }
    .ttk-admin-tab { flex: 0 0 auto; }
    .ttk-agent-bar-row { grid-template-columns: 1fr 1.3fr 50px; }
}

/* v0.1.23 agent report filters */
.ttk-agent-filter-form input[type="text"] {
    min-width: 220px;
}
.ttk-agent-filter-form input[type="number"] {
    width: 92px;
}
.ttk-agent-filter-form select {
    min-width: 220px;
}
.ttk-agent-filter-note {
    margin: 10px 0 0;
}


/* v0.1.24/0.1.25 agent vs sync reconciliation */
.ttk-agent-reconcile-panel .ttk-panel-title-row {
    margin-bottom: 8px;
}
.ttk-reconcile-cards {
    grid-template-columns: repeat(5, minmax(150px, 1fr));
    margin: 12px 0;
}
.ttk-agent-reconcile-note {
    margin: 4px 0 0;
}
@media (max-width: 960px) {
    .ttk-reconcile-cards { grid-template-columns: repeat(2, minmax(140px, 1fr)); }
}
@media (max-width: 600px) {
    .ttk-reconcile-cards { grid-template-columns: 1fr; }
}

/* v0.1.26 dashboard performance cards */
.ttk-dashboard-section-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-end;
    margin: 18px 0 8px;
}
.ttk-dashboard-section-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 900;
}
.ttk-dashboard-section-head p {
    margin: 0;
    color: #646970;
    font-weight: 700;
}
.ttk-performance-cards {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
}
.ttk-performance-cards .ttk-card {
    min-height: 92px;
}
.ttk-property-performance-panel {
    overflow: hidden;
}
.ttk-property-performance-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 14px;
    margin-top: 12px;
}
.ttk-property-performance-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.ttk-property-performance-head {
    padding: 12px 14px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-bottom: 1px solid #e5e7eb;
}
.ttk-property-performance-head strong,
.ttk-property-performance-head span {
    display: block;
}
.ttk-property-performance-head strong {
    font-size: 15px;
    color: #1d4ed8;
    font-weight: 900;
}
.ttk-property-performance-head span {
    margin-top: 2px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ttk-property-performance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #eef2f7;
}
.ttk-property-performance-grid div {
    background: #fff;
    padding: 10px 12px;
    min-height: 50px;
}
.ttk-property-performance-grid span,
.ttk-property-performance-grid strong {
    display: block;
}
.ttk-property-performance-grid span {
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}
.ttk-property-performance-grid strong {
    margin-top: 4px;
    color: #111827;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
}
@media (max-width: 1180px) {
    .ttk-performance-cards { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
}
@media (max-width: 782px) {
    .ttk-dashboard-section-head { display: block; }
    .ttk-dashboard-section-head p { margin-top: 4px; }
    .ttk-performance-cards { grid-template-columns: 1fr; }
    .ttk-property-performance-cards { grid-template-columns: 1fr; }
}


/* v0.1.27 compact dashboard cards + refresh resets to today via dashboard URL cleanup. */
.ttk-dashboard-filter-panel {
    padding: 10px 12px;
    margin: 10px 0 12px;
}
.ttk-dashboard-filter-form {
    gap: 10px;
}
.ttk-dashboard-filter-form label {
    font-size: 12px;
}
.ttk-dashboard-section-head {
    margin: 12px 0 6px;
}
.ttk-dashboard-section-head h2 {
    font-size: 18px;
}
.ttk-dashboard-section-head p {
    font-size: 12px;
}
.ttk-dashboard-wrap .ttk-performance-cards {
    grid-template-columns: repeat(8, minmax(112px, 1fr));
    gap: 8px;
    margin: 8px 0 12px;
}
.ttk-dashboard-wrap .ttk-performance-cards .ttk-card {
    min-height: 56px;
    border-radius: 11px;
    padding: 10px 11px;
}
.ttk-dashboard-wrap .ttk-performance-cards .ttk-card span {
    margin-bottom: 5px;
    font-size: 11px;
    line-height: 1.15;
}
.ttk-dashboard-wrap .ttk-performance-cards .ttk-card strong {
    font-size: 21px;
    line-height: 1.05;
}
.ttk-property-performance-panel {
    padding: 12px;
    margin-top: 10px;
}
.ttk-property-performance-panel .ttk-panel-title-row {
    margin-bottom: 6px;
}
.ttk-property-performance-panel .ttk-panel-title-row h2 {
    font-size: 18px;
    margin-bottom: 2px;
}
.ttk-property-performance-panel .description {
    font-size: 12px;
}
.ttk-property-performance-cards {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 9px;
    margin-top: 8px;
}
.ttk-property-performance-card {
    border-radius: 12px;
}
.ttk-property-performance-head {
    padding: 8px 10px;
}
.ttk-property-performance-head strong {
    font-size: 13px;
}
.ttk-property-performance-head span {
    font-size: 11px;
    margin-top: 1px;
}
.ttk-property-performance-grid div {
    padding: 6px 8px;
    min-height: 34px;
}
.ttk-property-performance-grid span {
    font-size: 9.5px;
    line-height: 1.05;
}
.ttk-property-performance-grid strong {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.05;
}
@media (max-width: 1500px) {
    .ttk-dashboard-wrap .ttk-performance-cards { grid-template-columns: repeat(4, minmax(130px, 1fr)); }
}
@media (max-width: 960px) {
    .ttk-dashboard-wrap .ttk-performance-cards { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
}
@media (max-width: 782px) {
    .ttk-dashboard-filter-panel { padding: 12px; }
    .ttk-dashboard-wrap .ttk-performance-cards { grid-template-columns: 1fr; }
    .ttk-property-performance-cards { grid-template-columns: 1fr; }
}

/* v0.1.29 dashboard today's sync status table */
.ttk-today-sync-panel {
    padding: 12px;
    margin: 10px 0;
}
.ttk-today-sync-panel .ttk-panel-title-row {
    margin-bottom: 6px;
}
.ttk-today-sync-panel .ttk-panel-title-row h2 {
    font-size: 18px;
    margin-bottom: 2px;
}
.ttk-today-sync-panel .description {
    font-size: 12px;
}
.ttk-today-sync-table-wrap {
    width: 100%;
    overflow-x: auto;
}
.ttk-today-sync-table {
    min-width: 760px;
    border-collapse: collapse;
}
.ttk-today-sync-table th,
.ttk-today-sync-table td {
    padding: 7px 9px;
    font-size: 12px;
    vertical-align: middle;
}
.ttk-today-sync-table th {
    font-weight: 900;
}
.ttk-today-sync-property strong,
.ttk-today-sync-property span {
    display: block;
    line-height: 1.15;
}
.ttk-today-sync-property strong {
    font-size: 12px;
    color: #1d4ed8;
    font-weight: 900;
}
.ttk-today-sync-property span {
    margin-top: 2px;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #111827;
    font-size: 11px;
    font-weight: 700;
}
.ttk-sync-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    border: 1px solid #e5e7eb;
    white-space: nowrap;
}
.ttk-sync-chip-synced { background: #dcfce7; border-color: #86efac; color: #166534; }
.ttk-sync-chip-partial { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.ttk-sync-chip-error { background: #fee2e2; border-color: #fecaca; color: #991b1b; }
.ttk-sync-chip-data { background: #e0f2fe; border-color: #7dd3fc; color: #075985; }
.ttk-sync-chip-missing { background: #f3f4f6; border-color: #e5e7eb; color: #6b7280; }

/* v0.1.30 compact today's sync status cards */
.ttk-today-sync-compact-panel {
    padding: 10px 12px;
    margin: 8px 0 10px;
}
.ttk-today-sync-compact-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}
.ttk-today-sync-compact-head h2 {
    font-size: 16px;
    line-height: 1.15;
    margin: 0 0 2px;
}
.ttk-today-sync-compact-head .description {
    font-size: 11px;
    line-height: 1.25;
    margin: 0;
}
.ttk-today-sync-mini-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
    min-width: 270px;
}
.ttk-today-sync-mini-summary span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 3px 7px;
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}
.ttk-today-sync-mini-summary strong {
    color: #111827;
}
.ttk-today-sync-mini-summary .ttk-mini-error {
    background: #fee2e2;
    border-color: #fecaca;
    color: #991b1b;
}
.ttk-today-sync-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 7px;
}
.ttk-today-sync-card {
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    background: #fff;
    padding: 7px 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    min-width: 0;
}
.ttk-today-sync-card-synced { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4, #fff); }
.ttk-today-sync-card-partial { border-color: #fcd34d; background: linear-gradient(180deg, #fffbeb, #fff); }
.ttk-today-sync-card-error { border-color: #fecaca; background: linear-gradient(180deg, #fef2f2, #fff); }
.ttk-today-sync-card-data { border-color: #7dd3fc; background: linear-gradient(180deg, #f0f9ff, #fff); }
.ttk-today-sync-card-missing { border-color: #e5e7eb; background: linear-gradient(180deg, #f8fafc, #fff); }
.ttk-today-sync-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    min-width: 0;
}
.ttk-today-sync-property-mini {
    min-width: 0;
}
.ttk-today-sync-property-mini strong,
.ttk-today-sync-property-mini span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ttk-today-sync-property-mini strong {
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1.05;
    font-weight: 900;
}
.ttk-today-sync-property-mini span {
    color: #0f172a;
    font-size: 10.5px;
    line-height: 1.15;
    margin-top: 1px;
    font-weight: 800;
}
.ttk-sync-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    margin-top: 2px;
    background: #cbd5e1;
    box-shadow: 0 0 0 2px rgba(255,255,255,.9);
}
.ttk-sync-dot-synced { background: #22c55e; }
.ttk-sync-dot-partial { background: #f59e0b; }
.ttk-sync-dot-error { background: #ef4444; }
.ttk-sync-dot-data { background: #0ea5e9; }
.ttk-sync-dot-missing { background: #94a3b8; }
.ttk-today-sync-card-status {
    margin-top: 5px;
}
.ttk-today-sync-card-status .ttk-sync-chip {
    font-size: 9.5px;
    padding: 2px 6px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ttk-today-sync-card-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 6px;
}
.ttk-today-sync-card-stats span {
    display: block;
    min-width: 0;
    padding: 4px 4px;
    border-radius: 8px;
    background: rgba(255,255,255,.75);
    border: 1px solid rgba(226,232,240,.9);
    color: #64748b;
    font-size: 9.5px;
    line-height: 1.05;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ttk-today-sync-card-stats b {
    display: block;
    color: #0f172a;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 900;
}
@media (min-width: 1500px) {
    .ttk-today-sync-card-grid { grid-template-columns: repeat(6, minmax(150px, 1fr)); }
}
@media (min-width: 1800px) {
    .ttk-today-sync-card-grid { grid-template-columns: repeat(8, minmax(145px, 1fr)); }
}
@media (max-width: 960px) {
    .ttk-today-sync-compact-head { display: block; }
    .ttk-today-sync-mini-summary { justify-content: flex-start; min-width: 0; margin-top: 6px; }
    .ttk-today-sync-card-grid { grid-template-columns: repeat(2, minmax(150px, 1fr)); }
}
@media (max-width: 600px) {
    .ttk-today-sync-card-grid { grid-template-columns: 1fr; }
}

/* v0.1.31 dashboard compact left metrics + right sync list */
.ttk-dashboard-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 10px;
    align-items: start;
    margin: 8px 0 12px;
}
.ttk-dashboard-metrics-col,
.ttk-dashboard-sync-col {
    min-width: 0;
}
.ttk-dashboard-top-grid .ttk-dashboard-section-head {
    margin: 0 0 6px;
}
.ttk-dashboard-top-grid .ttk-performance-cards {
    margin: 0;
}
.ttk-dashboard-top-grid .ttk-performance-cards .ttk-card {
    min-height: 58px;
    padding: 9px 10px;
}
.ttk-dashboard-top-grid .ttk-performance-cards .ttk-card span {
    font-size: 10.5px;
    line-height: 1.15;
}
.ttk-dashboard-top-grid .ttk-performance-cards .ttk-card strong {
    font-size: 20px;
}
.ttk-today-sync-side-panel {
    padding: 9px;
    margin: 0;
    border-radius: 12px;
}
.ttk-today-sync-side-head {
    display: block;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
    margin-bottom: 6px;
}
.ttk-today-sync-side-head h2 {
    margin: 0 0 1px;
    font-size: 15px;
    line-height: 1.1;
}
.ttk-today-sync-side-head .description {
    font-size: 10.5px;
    line-height: 1.15;
    margin: 0;
}
.ttk-today-sync-side-panel .ttk-today-sync-mini-summary {
    justify-content: flex-start;
    min-width: 0;
    gap: 4px;
    margin-top: 6px;
}
.ttk-today-sync-side-panel .ttk-today-sync-mini-summary span {
    padding: 2px 6px;
    font-size: 10px;
}
.ttk-today-sync-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 360px;
    overflow: auto;
    padding-right: 2px;
}
.ttk-today-sync-list-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    padding: 5px 6px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
}
.ttk-today-sync-row-synced { background: #f0fdf4; border-color: #bbf7d0; }
.ttk-today-sync-row-partial { background: #fffbeb; border-color: #fde68a; }
.ttk-today-sync-row-error { background: #fef2f2; border-color: #fecaca; }
.ttk-today-sync-row-data { background: #f0f9ff; border-color: #bae6fd; }
.ttk-today-sync-row-missing { background: #f8fafc; border-color: #e5e7eb; }
.ttk-today-sync-list-property {
    min-width: 0;
}
.ttk-today-sync-list-property strong,
.ttk-today-sync-list-property small,
.ttk-today-sync-list-status small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ttk-today-sync-list-property strong {
    color: #1d4ed8;
    font-size: 11px;
    line-height: 1.05;
    font-weight: 900;
}
.ttk-today-sync-list-property small {
    color: #111827;
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 700;
}
.ttk-today-sync-list-status {
    text-align: right;
    min-width: 82px;
}
.ttk-today-sync-list-status .ttk-sync-chip {
    max-width: 100%;
    font-size: 9.5px;
    padding: 2px 6px;
}
.ttk-today-sync-list-status small {
    margin-top: 2px;
    color: #475569;
    font-size: 10px;
    line-height: 1.05;
    font-weight: 800;
}
@media (max-width: 1500px) {
    .ttk-dashboard-top-grid { grid-template-columns: minmax(0, 1fr) 310px; }
    .ttk-dashboard-top-grid .ttk-performance-cards { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
}
@media (max-width: 1100px) {
    .ttk-dashboard-top-grid { grid-template-columns: 1fr; }
    .ttk-today-sync-list { max-height: none; }
}
@media (max-width: 782px) {
    .ttk-dashboard-top-grid .ttk-performance-cards { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
}
@media (max-width: 600px) {
    .ttk-dashboard-top-grid .ttk-performance-cards { grid-template-columns: 1fr; }
}

/* v0.1.34 dashboard tally clarity */
.ttk-dashboard-metric-card {
    position: relative;
}
.ttk-dashboard-metric-card em {
    display: block;
    margin-top: 1px;
    color: rgba(255,255,255,.72);
    font-style: normal;
    font-size: 9.5px;
    font-weight: 800;
    line-height: 1.05;
}
.ttk-dashboard-metric-total,
.ttk-dashboard-metric-bucket {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 1px 2px rgba(15, 23, 42, .08);
}
.ttk-dashboard-metric-insight {
    background: linear-gradient(135deg, #1e1b4b, #172554);
}
.ttk-dashboard-formula-note {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e3a8a !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}
.ttk-property-performance-card-v34 .ttk-property-tally-strip {
    padding: 4px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #334155;
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 900;
}
.ttk-property-bucket-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #dbeafe;
}
.ttk-property-bucket-grid div {
    background: #eff6ff;
}
.ttk-property-bucket-grid span {
    color: #1e40af;
}
.ttk-property-bucket-grid strong {
    color: #0f172a;
}
.ttk-property-insight-title {
    padding: 4px 8px 3px;
    background: #fff7ed;
    border-top: 1px solid #fed7aa;
    border-bottom: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 9.2px;
    line-height: 1.1;
    font-weight: 900;
}
.ttk-property-insight-grid {
    background: #ffedd5;
}
.ttk-property-insight-grid div {
    background: #fffaf5;
}
.ttk-property-insight-grid span {
    color: #9a3412;
}
.ttk-property-insight-grid small {
    display: block;
    margin-top: 1px;
    color: #c2410c;
    font-size: 8.5px;
    line-height: 1;
    font-weight: 800;
}
.ttk-property-insight-grid strong {
    color: #111827;
}
@media (max-width: 782px) {
    .ttk-property-bucket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v0.1.35 dashboard connected/unique clarity */
.ttk-dashboard-formula-note {
    flex-wrap: wrap;
    border-color: #bfdbfe;
    background: #eff6ff;
}
.ttk-performance-cards-v35 .ttk-dashboard-metric-insight {
    background: linear-gradient(135deg, #1e293b, #172554);
}
.ttk-property-performance-card-v35 .ttk-property-tally-strip {
    padding: 4px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    color: #334155;
    font-size: 9.5px;
    line-height: 1.1;
    font-weight: 900;
}
.ttk-property-performance-card-v35 .ttk-property-breakdown-title {
    padding: 4px 8px 3px;
    background: #eef2ff;
    border-top: 1px solid #c7d2fe;
    border-bottom: 1px solid #c7d2fe;
    color: #3730a3;
    font-size: 9.2px;
    line-height: 1.1;
    font-weight: 900;
}
.ttk-property-performance-card-v35 .ttk-property-breakdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #c7d2fe;
}
.ttk-property-performance-card-v35 .ttk-property-breakdown-grid div {
    background: #f8fafc;
}
.ttk-property-performance-card-v35 .ttk-property-breakdown-grid span {
    color: #3730a3;
}
.ttk-property-performance-card-v35 .ttk-property-breakdown-grid strong {
    color: #111827;
}
.ttk-property-performance-card-v35 .ttk-property-insight-title {
    padding: 4px 8px 3px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    color: #475569;
    font-size: 9.2px;
    line-height: 1.1;
    font-weight: 900;
}
.ttk-property-performance-card-v35 .ttk-property-insight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #e5e7eb;
}
.ttk-property-performance-card-v35 .ttk-property-insight-grid div {
    background: #fff;
}
.ttk-property-performance-card-v35 .ttk-property-insight-grid span {
    color: #475569;
}
.ttk-property-performance-card-v35 .ttk-property-insight-grid strong {
    color: #111827;
}
@media (max-width: 782px) {
    .ttk-property-performance-card-v35 .ttk-property-bucket-grid,
    .ttk-property-performance-card-v35 .ttk-property-insight-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* v0.1.36 dashboard clean property cards, resort filter, compact today sync */
.ttk-dashboard-wrap .ttk-performance-cards-v36 {
    grid-template-columns: repeat(8, minmax(92px, 1fr));
    gap: 7px;
}
.ttk-dashboard-wrap .ttk-performance-cards-v36 .ttk-card {
    min-height: 54px;
    padding: 8px 9px;
}
.ttk-dashboard-wrap .ttk-performance-cards-v36 .ttk-card span {
    font-size: 10px;
    line-height: 1.08;
    min-height: 22px;
    margin-bottom: 3px;
}
.ttk-dashboard-wrap .ttk-performance-cards-v36 .ttk-card strong {
    font-size: 19px;
    line-height: 1.05;
}
.ttk-property-performance-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}
.ttk-property-card-filter-wrap {
    min-width: 280px;
}
.ttk-property-card-filter-wrap label {
    display: block;
    margin-bottom: 3px;
    color: #475569;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 900;
}
.ttk-property-card-filter-box {
    display: flex;
    gap: 6px;
    align-items: center;
}
.ttk-property-card-filter-box input {
    width: 230px;
    max-width: 100%;
    min-height: 30px;
    border-radius: 8px;
    font-size: 12px;
}
.ttk-property-card-filter-box .button {
    min-height: 30px;
    padding: 0 9px;
    font-size: 11px;
    line-height: 28px;
}
.ttk-property-filter-empty {
    margin: 10px 0 0;
    padding: 8px 10px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-weight: 800;
}
.ttk-property-performance-card-v36 {
    border-radius: 13px;
}
.ttk-property-performance-card-v36 .ttk-property-performance-head {
    padding: 8px 10px;
}
.ttk-property-performance-card-v36 .ttk-property-performance-head strong {
    font-size: 13px;
}
.ttk-property-performance-card-v36 .ttk-property-performance-head span {
    font-size: 11px;
}
.ttk-property-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #e5e7eb;
}
.ttk-property-metrics-grid div {
    background: #fff;
    min-height: 39px;
    padding: 6px 8px;
}
.ttk-property-metrics-grid .ttk-property-metric-total,
.ttk-property-metrics-grid .ttk-property-metric-bucket {
    background: #f8fafc;
}
.ttk-property-metrics-grid .ttk-property-metric-insight {
    background: #fff;
}
.ttk-property-metrics-grid span {
    color: #475569;
    font-size: 9.2px;
    line-height: 1.05;
    font-weight: 900;
}
.ttk-property-metrics-grid strong {
    color: #0f172a;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
}
.ttk-property-metrics-grid .ttk-property-metric-total span,
.ttk-property-metrics-grid .ttk-property-metric-bucket span {
    color: #1e40af;
}
.ttk-today-sync-side-panel {
    padding: 8px;
}
.ttk-today-sync-side-head {
    padding-bottom: 5px;
    margin-bottom: 5px;
}
.ttk-today-sync-side-head h2 {
    font-size: 14px;
}
.ttk-today-sync-side-head .description {
    font-size: 9.8px;
}
.ttk-today-sync-side-panel .ttk-today-sync-mini-summary {
    gap: 3px;
    margin-top: 5px;
}
.ttk-today-sync-side-panel .ttk-today-sync-mini-summary span {
    padding: 2px 5px;
    font-size: 9.5px;
}
.ttk-today-sync-list {
    gap: 3px;
    max-height: 340px;
}
.ttk-today-sync-list-row {
    grid-template-columns: 8px minmax(0, 1fr) 58px;
    gap: 5px;
    padding: 4px 5px;
    border-radius: 8px;
}
.ttk-today-sync-list-property strong {
    font-size: 10.5px;
}
.ttk-today-sync-list-property small {
    font-size: 9px;
}
.ttk-today-sync-list-status {
    min-width: 58px;
    text-align: center;
}
.ttk-today-sync-list-status .ttk-sync-chip {
    display: flex;
    width: 100%;
    justify-content: center;
    font-size: 8.2px;
    line-height: 1;
    padding: 2px 3px;
}
.ttk-today-sync-list-status small {
    margin-top: 2px;
    font-size: 9.2px;
    line-height: 1;
}
@media (max-width: 1500px) {
    .ttk-dashboard-top-grid .ttk-performance-cards-v36 { grid-template-columns: repeat(8, minmax(80px, 1fr)); }
    .ttk-dashboard-top-grid .ttk-performance-cards-v36 .ttk-card { padding: 7px 8px; }
    .ttk-dashboard-top-grid .ttk-performance-cards-v36 .ttk-card span { font-size: 9.2px; }
    .ttk-dashboard-top-grid .ttk-performance-cards-v36 .ttk-card strong { font-size: 17px; }
}
@media (max-width: 1180px) {
    .ttk-dashboard-top-grid .ttk-performance-cards-v36 { grid-template-columns: repeat(4, minmax(110px, 1fr)); }
    .ttk-property-performance-title-row { display: block; }
    .ttk-property-card-filter-wrap { min-width: 0; margin-top: 8px; }
}
@media (max-width: 782px) {
    .ttk-dashboard-top-grid .ttk-performance-cards-v36 { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
    .ttk-property-card-filter-box { display: grid; grid-template-columns: 1fr auto; }
    .ttk-property-card-filter-box input { width: 100%; }
}
@media (max-width: 600px) {
    .ttk-dashboard-top-grid .ttk-performance-cards-v36 { grid-template-columns: 1fr; }
    .ttk-property-metrics-grid { grid-template-columns: 1fr; }
}

/* v0.1.37 dashboard WhatsApp-style cumulative time batch report */
.ttk-time-batch-panel {
    margin-top: 10px;
    padding: 8px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.ttk-time-batch-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.ttk-time-batch-head h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 900;
    color: #0f172a;
}
.ttk-time-batch-head p {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 10px;
    line-height: 1.15;
}
.ttk-time-batch-copy.button {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
    line-height: 26px;
    white-space: nowrap;
}
.ttk-time-batch-scroll {
    overflow-x: auto;
    border: 1px solid #111827;
    background: #fff;
}
.ttk-time-batch-table {
    width: 100%;
    min-width: 1120px;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 10px;
    line-height: 1.05;
    color: #000;
}
.ttk-time-batch-table th,
.ttk-time-batch-table td {
    border: 1px solid #111827;
    padding: 3px 4px;
    text-align: center;
    vertical-align: middle;
    font-weight: 800;
}
.ttk-time-batch-table thead th {
    background: #f6df9b;
    color: #111827;
    font-size: 10px;
    font-weight: 900;
}
.ttk-time-batch-table thead tr:nth-child(2) th {
    background: #e58f8f;
    color: #111827;
    font-size: 9.5px;
}
.ttk-time-batch-property-head {
    width: 92px;
}
.ttk-time-batch-property-cell {
    width: 92px;
    color: #0f172a;
}
.ttk-time-batch-property-cell strong,
.ttk-time-batch-property-cell small {
    display: block;
}
.ttk-time-batch-property-cell strong {
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}
.ttk-time-batch-property-cell small {
    margin-top: 2px;
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 8px;
    line-height: 1;
    font-weight: 800;
}
.ttk-time-batch-table tbody td {
    background: #fff;
    font-size: 10.5px;
}
.ttk-time-batch-total-row th,
.ttk-time-batch-total-row td {
    background: #e58f8f;
    font-size: 11px;
    font-weight: 900;
}
.ttk-time-batch-property-color-0 { background: #b6d7a8; }
.ttk-time-batch-property-color-1 { background: #ea9999; }
.ttk-time-batch-property-color-2 { background: #ffd966; }
.ttk-time-batch-property-color-3 { background: #9fc5e8; }
.ttk-time-batch-property-color-4 { background: #8e7cc3; color: #fff; }
.ttk-time-batch-property-color-5 { background: #cfe2f3; }
.ttk-time-batch-property-color-6 { background: #00ffff; }
.ttk-time-batch-property-color-7 { background: #e06666; }
.ttk-time-batch-property-color-8 { background: #f9cb9c; }
.ttk-time-batch-property-color-9 { background: #b45f06; color: #fff; }
.ttk-time-batch-property-color-10 { background: #93c47d; }
.ttk-time-batch-property-color-11 { background: #ff0000; color: #fff; }
@media (max-width: 1180px) {
    .ttk-time-batch-head { display: block; }
    .ttk-time-batch-copy.button { margin-top: 6px; }
}

/* v0.1.39 dashboard WhatsApp image + compact unique time-batch report */
.ttk-dashboard-wrap .ttk-performance-cards-v36 .ttk-card span {
    font-size: 9.2px;
    line-height: 1.05;
    min-height: 30px;
}
.ttk-dashboard-wrap .ttk-performance-cards-v36 .ttk-card strong {
    font-size: 18px;
}
.ttk-today-sync-side-panel {
    padding: 7px;
}
.ttk-today-sync-side-head {
    text-align: center;
    padding-bottom: 4px;
    margin-bottom: 4px;
}
.ttk-today-sync-side-head h2 {
    font-size: 13px;
}
.ttk-today-sync-side-head .description {
    font-size: 9.2px;
}
.ttk-today-sync-list {
    gap: 3px;
}
.ttk-today-sync-list-row {
    grid-template-columns: 7px minmax(0, 1fr) 66px;
    gap: 4px;
    padding: 3px 5px;
}
.ttk-today-sync-list-status {
    min-width: 66px;
    text-align: center;
}
.ttk-today-sync-list-status .ttk-sync-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    min-height: 18px;
    padding: 2px 3px;
    font-size: 8px;
    line-height: 1.05;
    text-align: center;
    white-space: normal;
}
.ttk-today-sync-list-status .ttk-sync-time {
    margin-top: 1px;
    font-size: 8.8px;
    line-height: 1;
    text-align: center;
}
.ttk-time-batch-copy-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}
.ttk-time-batch-copy-tools label {
    color: #475569;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}
.ttk-time-batch-copy-select {
    min-height: 28px;
    max-width: 90px;
    border-radius: 8px;
    font-size: 11px;
    line-height: 1.2;
}
.ttk-time-batch-copy-image.button {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
    line-height: 26px;
    white-space: nowrap;
}
.ttk-time-batch-copy-status {
    min-width: 86px;
    color: #166534;
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}
.ttk-time-batch-scroll {
    overflow-x: auto;
}
.ttk-time-batch-table {
    min-width: 760px;
    font-size: 9.2px;
    line-height: 1;
}
.ttk-time-batch-table th,
.ttk-time-batch-table td {
    padding: 2px 3px;
}
.ttk-time-batch-table thead th {
    font-size: 9.4px;
}
.ttk-time-batch-table thead tr:nth-child(2) th {
    font-size: 8.8px;
}
.ttk-time-batch-property-head,
.ttk-time-batch-property-cell {
    width: 86px;
}
.ttk-time-batch-property-cell strong {
    font-size: 10px;
}
.ttk-time-batch-property-cell small {
    max-width: 82px;
    font-size: 7.5px;
}
.ttk-time-batch-table tbody td {
    font-size: 10px;
}
.ttk-time-batch-total-row th,
.ttk-time-batch-total-row td {
    font-size: 10px;
}
@media (max-width: 1180px) {
    .ttk-time-batch-copy-tools {
        justify-content: flex-start;
        margin-top: 6px;
    }
}


/* v0.1.40 dashboard fit time-wise report into top gap */
.ttk-dashboard-metrics-col .ttk-time-batch-panel {
    margin-top: 8px;
    margin-bottom: 0;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-head {
    margin-bottom: 5px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-head h3 {
    font-size: 13px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-head p {
    font-size: 9px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-copy-tools {
    gap: 5px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-copy-select,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-copy-image.button {
    min-height: 26px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-scroll {
    overflow-x: hidden;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table {
    min-width: 0;
    width: 100%;
    font-size: 8.6px;
    line-height: 1;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table th,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table td {
    padding: 2px 2px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table thead th {
    font-size: 8.8px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table thead tr:nth-child(2) th {
    font-size: 8px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-property-head,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-property-cell {
    width: 74px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-property-cell strong {
    font-size: 9px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-property-cell small {
    max-width: 70px;
    font-size: 6.8px;
    margin-top: 1px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table tbody td,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-total-row th,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-total-row td {
    font-size: 8.8px;
}
@media (max-width: 1180px) {
    .ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-scroll {
        overflow-x: auto;
    }
    .ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table {
        min-width: 760px;
    }
}


/* v0.1.41: add full-day 23:59 batch and keep the six-batch WhatsApp table compact in the top gap */
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table {
    font-size: 8px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table th,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table td {
    padding: 2px 1px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table thead th {
    font-size: 8px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table thead tr:nth-child(2) th {
    font-size: 7.4px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-property-head,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-property-cell {
    width: 66px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-property-cell strong {
    font-size: 8.3px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-property-cell small {
    max-width: 62px;
    font-size: 6.2px;
}
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-table tbody td,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-total-row th,
.ttk-dashboard-metrics-col .ttk-time-batch-panel .ttk-time-batch-total-row td {
    font-size: 8px;
}

/* v0.1.42 auto safe sync monitor */
.ttk-auto-sync-monitor {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.055);
}
.ttk-auto-sync-monitor-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.ttk-auto-sync-monitor-head strong {
    color: #fff;
    font-size: 14px;
}
.ttk-auto-sync-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    border: 1px solid transparent;
}
.ttk-auto-sync-chip-ok { background: #dcfce7; border-color: #86efac; color: #166534; }
.ttk-auto-sync-chip-running { background: #dbeafe; border-color: #93c5fd; color: #1d4ed8; }
.ttk-auto-sync-chip-warn { background: #fef3c7; border-color: #fcd34d; color: #92400e; }
.ttk-auto-sync-chip-error { background: #fee2e2; border-color: #fecaca; color: #991b1b; }
.ttk-auto-sync-chip-neutral { background: #f3f4f6; border-color: #e5e7eb; color: #374151; }
.ttk-auto-sync-monitor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.ttk-auto-sync-monitor-grid > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.09);
}
.ttk-auto-sync-monitor-grid span {
    color: #dbeafe;
    font-size: 12px;
}
.ttk-auto-sync-monitor-grid strong {
    color: #fff;
    font-size: 12px;
    text-align: right;
}
.ttk-auto-sync-message,
.ttk-auto-sync-note {
    margin: 9px 0 0;
    color: #e5e7eb;
    font-size: 12px;
    line-height: 1.35;
}
.ttk-auto-sync-note {
    color: #cbd5e1;
    opacity: .9;
}
.ttk-auto-sync-action {
    margin-top: 10px;
}
.ttk-auto-sync-action .button {
    min-height: 30px;
    line-height: 28px;
    padding: 0 12px;
}
@media (max-width: 900px) {
    .ttk-auto-sync-monitor-grid { grid-template-columns: 1fr; }
}


/* v0.1.45 frontend report-only dashboard access */
.tt-knowlarity-frontend-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}
.tt-knowlarity-frontend-wrap,
.tt-knowlarity-frontend-wrap * {
    box-sizing: border-box;
}
.tt-knowlarity-frontend-wrap .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 4px 13px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}
.tt-knowlarity-frontend-wrap .button:hover,
.tt-knowlarity-frontend-wrap .button:focus {
    background: #f8fafc;
    color: #0f172a;
    text-decoration: none;
}
.tt-knowlarity-frontend-wrap .button-primary {
    background: var(--ttk-accent);
    border-color: var(--ttk-accent);
    color: #ffffff;
}
.tt-knowlarity-frontend-wrap .button-primary:hover,
.tt-knowlarity-frontend-wrap .button-primary:focus {
    background: #6d28d9;
    border-color: #6d28d9;
    color: #ffffff;
}
.tt-knowlarity-frontend-wrap input[type="date"],
.tt-knowlarity-frontend-wrap input[type="text"],
.tt-knowlarity-frontend-wrap select {
    min-height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 4px 9px;
    background: #ffffff;
    color: #0f172a;
}
.tt-knowlarity-frontend-wrap .ttk-dashboard-section-head {
    margin: 16px 0 8px;
}
.tt-knowlarity-frontend-wrap .ttk-performance-cards {
    margin-top: 0;
}
.ttk-frontend-login-required {
    max-width: 720px;
    margin: 20px auto;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
}
@media (max-width: 782px) {
    .tt-knowlarity-frontend-wrap { padding: 6px; }
    .tt-knowlarity-frontend-wrap .ttk-dash-hero { padding: 18px; }
}

/* v0.1.46 frontend full-width report page and theme-header suppression */
html.ttk-knowlarity-report-page-html {
    margin-top: 0 !important;
}
body.ttk-knowlarity-report-page {
    background: #f3f4f6;
}
body.ttk-knowlarity-report-page #wpadminbar {
    display: none !important;
}
body.ttk-knowlarity-report-page .elementor-location-header,
body.ttk-knowlarity-report-page .elementor-location-footer,
body.ttk-knowlarity-report-page #masthead,
body.ttk-knowlarity-report-page #header,
body.ttk-knowlarity-report-page #colophon,
body.ttk-knowlarity-report-page header.site-header,
body.ttk-knowlarity-report-page footer.site-footer,
body.ttk-knowlarity-report-page .site-header,
body.ttk-knowlarity-report-page .site-footer,
body.ttk-knowlarity-report-page .site-branding,
body.ttk-knowlarity-report-page .main-header,
body.ttk-knowlarity-report-page .main-header-bar-wrap,
body.ttk-knowlarity-report-page .ast-primary-header-bar,
body.ttk-knowlarity-report-page .whb-header,
body.ttk-knowlarity-report-page .navbar,
body.ttk-knowlarity-report-page .main-navigation,
body.ttk-knowlarity-report-page .page-header,
body.ttk-knowlarity-report-page .entry-header,
body.ttk-knowlarity-report-page .entry-title,
body.ttk-knowlarity-report-page .page-title {
    display: none !important;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-shell {
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 12px 18px 24px;
    background: #f3f4f6;
    box-sizing: border-box;
    overflow-x: auto;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-dash-hero {
    margin-top: 0;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-dashboard-top-grid {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 12px;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-dashboard-top-grid .ttk-dashboard-section-head {
    margin: 0 0 6px;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-dashboard-top-grid .ttk-performance-cards-v36 {
    grid-template-columns: repeat(8, minmax(80px, 1fr));
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-today-sync-list {
    max-height: 385px;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .notice {
    margin: 10px 0;
    padding: 10px 12px;
    border-left: 4px solid #d60302;
    border-radius: 8px;
    background: #fff8e8;
    color: #111827;
    font-weight: 700;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .notice p {
    margin: 0;
}
@media (max-width: 1200px) {
    body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-dashboard-top-grid {
        grid-template-columns: 1fr;
    }
    body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-today-sync-list {
        max-height: none;
    }
}
@media (max-width: 782px) {
    body.ttk-knowlarity-report-page .tt-knowlarity-frontend-shell {
        padding: 8px;
    }
    body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-dashboard-top-grid .ttk-performance-cards-v36 {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }
}

/* v0.1.47 frontend full Knowlarity app shell */
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .wrap,
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .tt-knowlarity-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap h1,
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap h2,
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap h3,
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap p {
    font-family: inherit;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .widefat {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #dcdcde;
    background: #ffffff;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .widefat th,
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .widefat td {
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .widefat th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 800;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .striped tbody tr:nth-child(odd) td {
    background: #fbfdff;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap input[type="date"],
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap input[type="text"],
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap input[type="url"],
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap input[type="number"],
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap input[type="password"],
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap textarea,
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap select {
    max-width: 100%;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap textarea {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 10px;
    background: #ffffff;
    color: #0f172a;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .description {
    color: #475569;
    font-size: 12px;
    margin: 4px 0 8px;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap code {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 2px 5px;
    color: #0f172a;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-admin-tabs {
    margin-top: 14px;
}

/* v0.1.48 date-range graphical dashboard reports */
.ttk-graph-panel {
    padding: 12px;
    margin: 10px 0 10px;
    overflow: hidden;
}
.ttk-graph-title-row {
    align-items: center;
    margin-bottom: 8px;
}
.ttk-graph-title-row h2 {
    margin: 0 0 2px;
    font-size: 18px;
    font-weight: 900;
}
.ttk-graph-title-row .description {
    margin: 0;
    font-size: 12px;
}
.ttk-graph-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 10px;
    font-size: 11px;
    font-weight: 800;
    color: #475569;
}
.ttk-graph-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.ttk-graph-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 999px;
}
.ttk-graph-dot-total { background: #7c3aed; }
.ttk-graph-dot-connected { background: #16a34a; }
.ttk-graph-dot-missed { background: #f59e0b; }
.ttk-graph-dot-abandoned { background: #d60302; }
.ttk-graph-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 10px;
}
.ttk-graph-card {
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    padding: 10px;
    box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.ttk-graph-card-wide {
    grid-column: span 1;
}
.ttk-graph-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.ttk-graph-card-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}
.ttk-graph-card-head span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}
.ttk-graph-empty {
    margin: 8px 0 0;
    padding: 18px 10px;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-weight: 800;
    text-align: center;
}
.ttk-graph-vbar-scroll {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 3px;
}
.ttk-graph-vbar-chart {
    display: grid;
    grid-template-columns: repeat(var(--ttk-graph-count), minmax(42px, 1fr));
    gap: 7px;
    align-items: end;
    min-height: 190px;
    min-width: min(100%, calc(var(--ttk-graph-count) * 52px));
    padding: 8px 2px 2px;
}
.ttk-graph-vbar-group {
    display: grid;
    grid-template-rows: 132px auto auto;
    gap: 4px;
    align-items: end;
    min-width: 42px;
    text-align: center;
}
.ttk-graph-vbars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    height: 132px;
    padding-top: 8px;
    border-bottom: 1px solid #e5e7eb;
    background: repeating-linear-gradient(to top, #f8fafc 0, #f8fafc 26px, #ffffff 26px, #ffffff 52px);
    border-radius: 10px 10px 0 0;
}
.ttk-graph-vbars span {
    display: inline-block;
    width: 8px;
    min-height: 2px;
    border-radius: 999px 999px 0 0;
    transition: height .2s ease;
}
.ttk-graph-bar-total { background: linear-gradient(180deg, #7c3aed, #a78bfa); }
.ttk-graph-bar-connected { background: linear-gradient(180deg, #16a34a, #86efac); }
.ttk-graph-bar-missed { background: linear-gradient(180deg, #f59e0b, #fde68a); }
.ttk-graph-vbar-group strong {
    color: #0f172a;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}
.ttk-graph-vbar-group em {
    min-height: 26px;
    color: #475569;
    font-size: 10px;
    line-height: 1.05;
    font-style: normal;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ttk-graph-slot-chart {
    grid-template-columns: repeat(var(--ttk-graph-count), minmax(52px, 1fr));
    min-width: 0;
}
.ttk-graph-slot-chart .ttk-graph-vbar-group {
    min-width: 52px;
}
.ttk-graph-hbar-list {
    display: grid;
    gap: 9px;
}
.ttk-graph-hbar-row {
    display: grid;
    gap: 5px;
}
.ttk-graph-hbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.ttk-graph-hbar-top span {
    color: #0f172a;
    font-size: 12px;
    font-weight: 900;
}
.ttk-graph-hbar-top strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}
.ttk-graph-track {
    position: relative;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.05);
}
.ttk-graph-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c3aed, #22d3ee);
}
.ttk-graph-hbar-connected .ttk-graph-track i { background: linear-gradient(90deg, #16a34a, #86efac); }
.ttk-graph-hbar-missed .ttk-graph-track i { background: linear-gradient(90deg, #f59e0b, #fde68a); }
.ttk-graph-hbar-abandoned .ttk-graph-track i { background: linear-gradient(90deg, #d60302, #fb7185); }
.ttk-graph-hbar-row small {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}
.ttk-graph-property-list {
    display: grid;
    gap: 7px;
}
.ttk-graph-property-row {
    display: grid;
    grid-template-columns: minmax(130px, 180px) minmax(170px, 1fr) 74px;
    gap: 9px;
    align-items: center;
    padding: 7px 8px;
    border: 1px solid #edf2f7;
    border-radius: 11px;
    background: #ffffff;
}
.ttk-graph-property-label strong,
.ttk-graph-property-label span {
    display: block;
    line-height: 1.15;
}
.ttk-graph-property-label strong {
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}
.ttk-graph-property-label span {
    margin-top: 2px;
    color: #0f172a;
    font-size: 10.5px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ttk-graph-property-bar-wrap {
    display: grid;
    gap: 4px;
}
.ttk-graph-property-total {
    height: 8px;
}
.ttk-graph-property-total i {
    background: linear-gradient(90deg, rgba(124,58,237,.45), rgba(34,211,238,.45));
}
.ttk-graph-stack {
    display: flex;
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.05);
}
.ttk-graph-stack span {
    display: block;
    height: 100%;
}
.ttk-graph-stack-connected { background: #16a34a; }
.ttk-graph-stack-missed { background: #f59e0b; }
.ttk-graph-stack-abandoned { background: #d60302; }
.ttk-graph-property-values {
    text-align: right;
}
.ttk-graph-property-values strong,
.ttk-graph-property-values span {
    display: block;
}
.ttk-graph-property-values strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
}
.ttk-graph-property-values span {
    color: #64748b;
    font-size: 9.5px;
    font-weight: 800;
    white-space: nowrap;
}
@media (max-width: 1450px) {
    .ttk-graph-grid { grid-template-columns: 1fr; }
    .ttk-graph-card-wide { grid-column: auto; }
}
@media (max-width: 782px) {
    .ttk-graph-title-row { display: block; }
    .ttk-graph-legend { justify-content: flex-start; margin-top: 8px; }
    .ttk-graph-vbar-chart { grid-template-columns: repeat(var(--ttk-graph-count), minmax(46px, 52px)); }
    .ttk-graph-property-row { grid-template-columns: 1fr; }
    .ttk-graph-property-values { text-align: left; }
}


/* v0.1.49 dashboard graph placement: charts are intentionally rendered after resort-wise performance to keep the main dashboard UI unchanged. */
.ttk-property-performance-panel + .ttk-graph-panel {
    margin-top: 14px;
}

/* v0.1.50 improved dashboard graphical reports: clearer labels, KPI context, axes and readable horizontal charts */
.ttk-graph-panel-v50 {
    padding: 18px;
    margin-top: 16px;
    border: 1px solid #dbe5f4;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}
.ttk-graph-title-row-v50 {
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e7edf6;
}
.ttk-graph-eyebrow {
    display: inline-block;
    margin-bottom: 4px;
    color: #0ea5e9;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.ttk-graph-title-row-v50 h2 {
    font-size: 21px;
    letter-spacing: -.02em;
}
.ttk-graph-title-row-v50 .description strong {
    color: #0f172a;
    font-weight: 950;
}
.ttk-graph-panel-v50 .ttk-graph-legend {
    align-self: flex-start;
    padding: 8px 10px;
    border: 1px solid #e5eaf3;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(15,23,42,.05);
}
.ttk-graph-kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 0 0 14px;
}
.ttk-graph-kpi-card {
    position: relative;
    overflow: hidden;
    min-height: 78px;
    padding: 12px 14px;
    border: 1px solid #e6edf7;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.ttk-graph-kpi-card:before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #7c3aed;
}
.ttk-graph-kpi-connected:before { background: #16a34a; }
.ttk-graph-kpi-missed:before { background: #f59e0b; }
.ttk-graph-kpi-abandoned:before { background: #d60302; }
.ttk-graph-kpi-card span,
.ttk-graph-kpi-card strong,
.ttk-graph-kpi-card em {
    display: block;
}
.ttk-graph-kpi-card span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.ttk-graph-kpi-card strong {
    margin-top: 5px;
    color: #111827;
    font-size: 25px;
    line-height: 1;
    font-weight: 950;
}
.ttk-graph-kpi-card em {
    margin-top: 7px;
    color: #475569;
    font-size: 11px;
    line-height: 1.25;
    font-style: normal;
    font-weight: 800;
}
.ttk-graph-grid-enhanced {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    gap: 14px;
}
.ttk-graph-grid-enhanced .ttk-graph-card {
    padding: 14px;
    border-color: #e5ebf4;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(15,23,42,.045);
}
.ttk-graph-card-full {
    grid-column: 1 / -1;
}
.ttk-graph-card-head-stacked {
    align-items: flex-start;
    margin-bottom: 12px;
}
.ttk-graph-card-head-stacked h3 {
    margin-bottom: 3px;
    font-size: 15px;
    letter-spacing: -.01em;
}
.ttk-graph-card-head-stacked p {
    max-width: 820px;
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 750;
}
.ttk-graph-card-head-stacked > span {
    padding: 5px 8px;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 10px;
}
.ttk-graph-axis-wrap {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 9px;
    align-items: start;
}
.ttk-graph-y-axis {
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    height: 154px;
    margin-top: 10px;
    color: #64748b;
    font-size: 10px;
    line-height: 1;
    font-weight: 850;
    text-align: right;
}
.ttk-graph-y-axis span {
    transform: translateY(-3px);
}
.ttk-graph-vbar-chart-clear {
    grid-template-columns: repeat(var(--ttk-graph-count), minmax(70px, 1fr));
    gap: 10px;
    min-height: 238px;
    min-width: min(100%, calc(var(--ttk-graph-count) * 82px));
    padding: 2px 4px 0;
}
.ttk-graph-vbar-chart-clear .ttk-graph-vbar-group {
    grid-template-rows: 154px auto auto auto;
    min-width: 70px;
}
.ttk-graph-vbar-chart-clear .ttk-graph-vbars {
    height: 154px;
    padding: 10px 3px 0;
    background: repeating-linear-gradient(to top, #f8fafc 0, #f8fafc 30px, #ffffff 30px, #ffffff 60px);
    border: 1px solid #edf2f7;
    border-bottom-color: #cbd5e1;
    border-radius: 12px 12px 4px 4px;
}
.ttk-graph-vbar-chart-clear .ttk-graph-vbars span {
    width: 9px;
    min-height: 3px;
    box-shadow: 0 -1px 0 rgba(255,255,255,.35) inset;
}
.ttk-graph-bar-abandoned { background: linear-gradient(180deg, #d60302, #fb7185); }
.ttk-graph-vbar-group-labeled strong {
    margin-top: 3px;
    font-size: 12px;
}
.ttk-graph-vbar-group-labeled small {
    display: block;
    color: #64748b;
    font-size: 9.5px;
    line-height: 1.05;
    font-weight: 850;
    white-space: nowrap;
}
.ttk-graph-vbar-group-labeled em {
    color: #334155;
    font-size: 10.5px;
}
.ttk-graph-axis-caption {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 7px 0 0 57px;
    color: #64748b;
    font-size: 10px;
    font-weight: 850;
}
.ttk-graph-hbar-list-v50 {
    gap: 12px;
}
.ttk-graph-hbar-list-v50 .ttk-graph-hbar-row {
    padding: 10px;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    background: #fbfdff;
}
.ttk-graph-hbar-list-v50 .ttk-graph-track,
.ttk-graph-slot-total,
.ttk-graph-property-total {
    height: 13px;
}
.ttk-graph-note {
    padding: 8px 10px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 850;
}
.ttk-graph-slot-list {
    display: grid;
    gap: 9px;
}
.ttk-graph-slot-row {
    display: grid;
    grid-template-columns: minmax(122px, 168px) minmax(0, 1fr) 82px;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border: 1px solid #edf2f7;
    border-radius: 13px;
    background: #fbfdff;
}
.ttk-graph-slot-label strong,
.ttk-graph-slot-label span,
.ttk-graph-slot-values strong,
.ttk-graph-slot-values span {
    display: block;
}
.ttk-graph-slot-label strong {
    color: #0f172a;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 950;
}
.ttk-graph-slot-label span {
    margin-top: 2px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.1;
    font-weight: 800;
}
.ttk-graph-slot-bars {
    display: grid;
    gap: 5px;
}
.ttk-graph-slot-stack {
    display: flex;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
    box-shadow: inset 0 0 0 1px rgba(15,23,42,.05);
}
.ttk-graph-slot-stack span {
    display: block;
    height: 100%;
}
.ttk-graph-slot-values {
    text-align: right;
}
.ttk-graph-slot-values strong {
    color: #0f172a;
    font-size: 14px;
    line-height: 1;
    font-weight: 950;
}
.ttk-graph-slot-values span {
    margin-top: 4px;
    color: #64748b;
    font-size: 9.5px;
    font-weight: 850;
    white-space: nowrap;
}
.ttk-graph-property-list-v50 {
    gap: 9px;
}
.ttk-graph-property-row-v50 {
    grid-template-columns: minmax(170px, 240px) minmax(260px, 1fr) 120px;
    padding: 10px 12px;
    border-color: #e8eef7;
    border-radius: 13px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
}
.ttk-graph-property-row-v50 .ttk-graph-property-label strong {
    font-size: 13px;
}
.ttk-graph-property-row-v50 .ttk-graph-property-label span {
    font-size: 11px;
}
.ttk-graph-property-row-v50 .ttk-graph-stack {
    height: 14px;
}
.ttk-graph-property-mini-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 5px;
    color: #64748b;
    font-size: 9.5px;
    line-height: 1;
    font-weight: 850;
}
.ttk-graph-property-row-v50 .ttk-graph-property-values strong {
    font-size: 16px;
}
.ttk-graph-property-row-v50 .ttk-graph-property-values span {
    font-size: 10px;
}
@media (max-width: 1450px) {
    .ttk-graph-grid-enhanced { grid-template-columns: 1fr; }
    .ttk-graph-card-full { grid-column: auto; }
}
@media (max-width: 980px) {
    .ttk-graph-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ttk-graph-slot-row,
    .ttk-graph-property-row-v50 { grid-template-columns: 1fr; }
    .ttk-graph-slot-values,
    .ttk-graph-property-values { text-align: left; }
    .ttk-graph-axis-wrap { grid-template-columns: 38px minmax(0, 1fr); }
    .ttk-graph-axis-caption { margin-left: 47px; }
}
@media (max-width: 600px) {
    .ttk-graph-panel-v50 { padding: 12px; }
    .ttk-graph-kpi-strip { grid-template-columns: 1fr; }
    .ttk-graph-title-row-v50 { display: block; }
    .ttk-graph-panel-v50 .ttk-graph-legend { justify-content: flex-start; margin-top: 10px; border-radius: 14px; }
}

/* v0.1.51 frontend time-wise resort label readability fix */
.ttk-time-batch-table .ttk-time-batch-property-cell,
.ttk-time-batch-table .ttk-time-batch-property-cell strong,
.ttk-time-batch-table .ttk-time-batch-property-cell small {
    color: inherit;
    text-shadow: none;
    opacity: 1;
}
.ttk-time-batch-property-color-4 {
    background: #d9d2e9 !important;
    color: #0f172a !important;
}
.ttk-time-batch-property-color-9 {
    background: #f6b26b !important;
    color: #0f172a !important;
}
.ttk-time-batch-property-color-11 {
    background: #ea9999 !important;
    color: #0f172a !important;
}
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-time-batch-table .ttk-time-batch-property-cell,
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-time-batch-table .ttk-time-batch-property-cell strong,
body.ttk-knowlarity-report-page .tt-knowlarity-frontend-wrap .ttk-time-batch-table .ttk-time-batch-property-cell small {
    color: #0f172a !important;
    text-shadow: none !important;
    opacity: 1 !important;
}
