:root{--color-bg: #f8fafc;--color-surface: #ffffff;--color-border: #e2e8f0;--color-text: #0f172a;--color-muted: #64748b;--color-primary: #4f46e5;--color-primary-hover: #4338ca;--color-danger: #ef4444;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--color-bg);color:var(--color-text);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}.dashboard-page{max-width:1600px;margin:0 auto}.dashboard-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.dashboard-header h1{margin:0 0 5px;font-size:25px;letter-spacing:-.4px}.dashboard-header p{margin:0;color:var(--color-muted);font-size:14px}.dashboard-action{border:0;border-radius:8px;padding:11px 16px;background:var(--color-primary);color:#fff;font-weight:600}.dashboard-grid{display:grid;gap:16px;margin-bottom:16px}.kpi-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.middle-grid{grid-template-columns:2fr 1fr 1fr}.bottom-grid{grid-template-columns:1.2fr 1fr 1fr}.dashboard-card{background:#fff;border:1px solid #f0f2f5;border-radius:12px;box-shadow:0 1px 3px #0f172a0f;padding:18px;min-width:0}.kpi-card{position:relative;min-height:150px}.kpi-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;margin-bottom:13px}.kpi-title,.kpi-meta,.property-item small,.agenda-content small{color:var(--color-muted);font-size:12px}.kpi-value{margin:3px 0 6px;font-size:25px;font-weight:750;letter-spacing:-.4px}.kpi-meta{display:flex;gap:7px;align-items:center;white-space:nowrap}.positive{color:#10b981;font-weight:700}.negative{color:#ef4444;font-weight:700}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.card-heading>div{display:flex;align-items:center;gap:9px;color:#6366f1}.card-heading h2{color:var(--color-text);font-size:15px;margin:0}.card-heading a{color:#6366f1;font-size:12px;font-weight:650;white-space:nowrap}.card-heading select{border:1px solid var(--color-border);border-radius:6px;color:var(--color-muted);font-size:11px;padding:6px 7px;background:#fff}.chart-legend{display:flex;gap:16px;margin-bottom:8px;color:var(--color-muted);font-size:11px}.chart-legend span,.origin-legend span{display:inline-flex;align-items:center;gap:5px}.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.legend-dot.purple{background:#6366f1}.legend-dot.orange{background:#f59e0b}.bar-chart{height:190px}.donut-layout{display:flex;align-items:center;gap:4px}.donut-wrap{position:relative;width:52%;height:190px}.donut-center{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;pointer-events:none}.donut-center strong{font-size:22px}.donut-center span{color:var(--color-muted);font-size:11px}.origin-legend{flex:1;display:grid;gap:9px;font-size:11px;color:var(--color-muted)}.origin-legend div{display:flex;justify-content:space-between;gap:5px}.origin-legend b{color:var(--color-text)}.license-inner{border:1px solid #f1f5f9;border-radius:9px;padding:15px}.license-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.license-top strong,.license-top span{display:block}.license-top strong{font-size:17px}.license-top>div span{color:var(--color-muted);font-size:12px;margin-top:4px}.status-badge{border-radius:20px;background:#dcfce7;color:#15803d;padding:5px 8px;font-size:10px;font-weight:700;white-space:nowrap}.license-lines{border-top:1px solid #f1f5f9;margin-top:18px;padding-top:12px;display:grid;gap:11px}.license-lines div{display:flex;justify-content:space-between;color:var(--color-muted);font-size:12px}.license-lines b{color:var(--color-text)}.property-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.property-image{height:94px;border-radius:8px;position:relative;margin-bottom:9px}.tag{position:absolute;top:7px;left:7px;border-radius:4px;color:#fff;padding:4px 6px;font-size:9px;font-weight:700}.purple-tag{background:#6366f1}.orange-tag{background:#f59e0b}.property-item>strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.property-item small{display:block;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.property-price{display:block;font-size:12px;margin:8px 0}.property-details{display:flex;gap:8px;color:var(--color-muted);font-size:10px}.property-details span{display:inline-flex;align-items:center;gap:3px}.agenda-list{display:grid}.agenda-item{display:grid;grid-template-columns:39px 18px 1fr;min-height:65px}.agenda-item time{color:var(--color-muted);font-size:11px;padding-top:2px}.timeline-dot{width:9px;height:9px;border-radius:50%;margin-top:4px;position:relative;z-index:1}.timeline-dot span{position:absolute;top:9px;left:4px;height:57px;border-left:1px dashed #cbd5e1}.timeline-dot.blue{background:#3b82f6}.timeline-dot.yellow{background:#f59e0b}.timeline-dot.green{background:#10b981}.agenda-content{position:relative;padding-bottom:10px}.agenda-content strong,.agenda-content small{display:block;font-size:12px}.agenda-content small{margin:3px 0 6px}.appointment-status{border-radius:4px;display:inline-block;padding:3px 6px;font-size:9px;font-weight:650}.appointment-status.blue{background:#dbeafe;color:#2563eb}.appointment-status.yellow{background:#fef3c7;color:#b45309}.appointment-status.green{background:#dcfce7;color:#15803d}.finance-list{display:grid;gap:17px;padding-top:5px}.finance-row{display:grid;grid-template-columns:30px 1fr auto;gap:8px;align-items:center}.finance-icon{display:grid;place-items:center;width:30px;height:30px;border-radius:8px}.finance-label{font-size:12px;color:var(--color-muted)}.finance-row b{font-size:12px;text-align:right}.finance-row small{grid-column:2 / 4;margin-top:-7px;text-align:right;font-size:10px}@media (max-width: 1100px){.middle-grid,.bottom-grid{grid-template-columns:1fr 1fr}.chart-card,.properties-card{grid-column:span 2}}@media (max-width: 767px){.dashboard-header{align-items:flex-start;gap:12px}.dashboard-header h1{font-size:21px}.dashboard-action{padding:9px 11px;font-size:12px}.kpi-grid,.middle-grid,.bottom-grid{grid-template-columns:1fr}.chart-card,.properties-card{grid-column:auto}.property-grid{grid-template-columns:1fr}.property-image{height:130px}.dashboard-card{padding:15px}}
