*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Tajawal',Tahoma,sans-serif;background:#f7f3e8;color:#123128;direction:rtl;min-height:100vh}
a{color:#9a7420;text-decoration:none}
a:hover{text-decoration:underline}
.topbar{background:#123128;color:#f7f3e8;padding:14px 22px;display:flex;align-items:center;justify-content:space-between}
.topbar .brand{font-weight:700;font-size:1.15rem;color:#d9b64f}
.topbar a{color:#d9b64f;margin-inline-start:16px}
.wrap{max-width:760px;margin:40px auto;padding:0 18px}
.card{background:#fff;border:1px solid #e5ddc8;border-radius:14px;padding:28px;box-shadow:0 4px 18px rgba(18,49,40,.08)}
h1{font-size:1.5rem;margin-bottom:6px;color:#123128}
.sub{color:#5c6b62;font-size:.95rem;margin-bottom:20px}
label{display:block;font-weight:700;margin:14px 0 6px;font-size:.95rem}
input[type=email],input[type=password],input[type=text]{width:100%;padding:11px 12px;border:1px solid #cfc5a8;border-radius:9px;font-size:1rem;font-family:inherit;background:#fdfcf8}
input:focus{outline:2px solid #d9b64f;border-color:#d9b64f}
.btn{display:inline-block;background:#123128;color:#fff;border:0;border-radius:9px;padding:12px 26px;font-size:1rem;font-weight:700;cursor:pointer;font-family:inherit;margin-top:18px}
.btn:hover{background:#1b4332}
.btn.gold{background:#b78b2e}
.btn.gold:hover{background:#9a7420}
.notice{background:#fdf6dd;border:1px solid #e8d48a;border-radius:9px;padding:12px 14px;font-size:.9rem;margin:16px 0;color:#6b5410}
.error{background:#fbe6e4;border:1px solid #e4a9a3;color:#8a2f27;border-radius:9px;padding:12px 14px;font-size:.9rem;margin:16px 0}
.ok{background:#e6f4ea;border:1px solid #9ccfa9;color:#1f6b3a;border-radius:9px;padding:12px 14px;font-size:.9rem;margin:16px 0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin-top:18px}
.tile{background:#fdfcf8;border:1px solid #e5ddc8;border-radius:12px;padding:18px}
.tile h3{font-size:1.02rem;margin-bottom:6px;color:#123128}
.tile p{font-size:.86rem;color:#5c6b62}
.badge{display:inline-block;background:#f0e7c8;color:#6b5410;border-radius:20px;padding:2px 10px;font-size:.75rem;font-weight:700;margin-top:8px}
.center{text-align:center}
.mt{margin-top:18px}
small.muted{color:#8a927f}
.mailbox{border:1px solid #e5ddc8;border-radius:9px;padding:14px;background:#fdfcf8;margin-top:12px}
.mailbox .mh{font-size:.85rem;color:#5c6b62;border-bottom:1px dashed #e5ddc8;padding-bottom:8px;margin-bottom:8px}
