/* AY ERP RC51 — premium dashboard skin; scoped, non-destructive */
.ay51-dashboard{font-family:Cairo,system-ui,sans-serif;color:#102d50;direction:rtl;padding:8px 0 32px}.ay51-dashboard *{box-sizing:border-box}.ay51-welcome{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:18px}.ay51-welcome h1{margin:0;font-size:27px;font-weight:900}.ay51-welcome p{margin:4px 0;color:#71839c}.ay51-eyebrow{color:#2283ee;letter-spacing:.07em;font-size:10px;font-weight:800}.ay51-date{background:white;padding:12px 17px;border:1px solid #e0e9f4;border-radius:12px;color:#4b6482}.ay51-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:15px}.ay51-metric{position:relative;min-height:128px;border:1px solid #e3ebf5;background:white;border-radius:15px;padding:16px 15px;box-shadow:0 6px 20px #0d34600b}.ay51-metric label{display:block;font-size:12px;color:#4a617e;font-weight:800;padding-right:44px}.ay51-metric strong{display:block;font-size:28px;margin:12px 0 1px;font-weight:900}.ay51-metric small{font-size:10px;color:#8695aa}.ay51-symbol{position:absolute;right:13px;top:13px;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;font-size:21px}.ay51-symbol.blue{color:#1271e9;background:#eaf2ff}.ay51-symbol.gold{color:#d89300;background:#fff5df}.ay51-symbol.red{color:#e94e5f;background:#ffebef}.ay51-symbol.indigo{color:#686de4;background:#eff0ff}.ay51-symbol.green{color:#10aa69;background:#e4faef}.ay51-symbol.sky{color:#178db8;background:#e6f7fd}.ay51-layout{display:grid;grid-template-columns:1.15fr 1fr .9fr;gap:14px}.ay51-panel{border:1px solid #e3ebf5;background:#fff;border-radius:15px;padding:17px;min-width:0;box-shadow:0 6px 20px #0d346007}.ay51-panel-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.ay51-panel-title h2{margin:0;color:#0a2e57;font-weight:900;font-size:16px}.ay51-panel-title>span{color:#1477e7}.ay51-panel-title button{background:none;border:0;color:#167bef;cursor:pointer;font:inherit}.ay51-action-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.ay51-action-grid button{cursor:pointer;border:0;border-radius:12px;padding:20px 6px;font:800 13px Cairo,system-ui;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;background:#eaf2ff;color:#0e58b8;min-height:94px}.ay51-action-grid button:nth-child(2){background:#e6f8ee;color:#088f60}.ay51-action-grid button:nth-child(3){background:#fff1d9;color:#b77b12}.ay51-action-grid button:nth-child(4){background:#e5f2ff}.ay51-action-grid button:nth-child(5){background:#feeaf0;color:#bd3c62}.ay51-action-grid button:nth-child(6){background:#f0ebff;color:#7354ca}.ay51-action-grid button:hover{filter:brightness(.97);transform:translateY(-1px)}.ay51-donut-group{display:flex;align-items:center;gap:18px;justify-content:space-around;padding:4px 0 10px}.ay51-donut{flex:0 0 155px;width:155px;height:155px;border-radius:50%;display:grid;place-items:center;background:#e8eef6}.ay51-donut>div{width:106px;height:106px;border-radius:50%;background:white;display:flex;flex-direction:column;align-items:center;justify-content:center}.ay51-donut strong{font-size:30px}.ay51-donut small{font-size:11px}.ay51-legend{width:130px;flex:1;max-width:160px}.ay51-legend>div{display:flex;align-items:center;gap:6px;padding:8px 0;border-bottom:1px solid #edf1f7;font-size:12px}.ay51-legend i{width:9px;height:9px;border-radius:50%}.ay51-legend strong{margin-right:auto}.ay51-bottom{display:grid;grid-template-columns:1.2fr 1fr;gap:14px;margin-top:14px}.ay51-table-scroll{width:100%;overflow:auto}.ay51-table{width:100%;border-collapse:collapse;font-size:12px}.ay51-table th{background:#f2f6fc;font-weight:800;color:#3b5879}.ay51-table td,.ay51-table th{text-align:right;padding:11px 9px;border-bottom:1px solid #edf1f7;white-space:nowrap}.ay51-review .review-row{margin:6px 0}.ay51-dashboard .review-row{display:flex;justify-content:space-between;gap:10px;background:#f8faff;border:1px solid #e8eef6;border-radius:9px;padding:12px;font-size:12px}.ay51-dashboard .review-row b{color:#145cbb}@media(max-width:1280px){.ay51-metrics{grid-template-columns:repeat(3,1fr)}.ay51-layout{grid-template-columns:1fr 1fr}.ay51-review{grid-column:1/-1}}@media(max-width:780px){.ay51-welcome{flex-direction:column;align-items:stretch}.ay51-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.ay51-layout,.ay51-bottom{grid-template-columns:1fr}.ay51-review{grid-column:auto}.ay51-donut{flex-basis:135px;width:135px;height:135px}.ay51-donut>div{width:94px;height:94px}}
