* { box-sizing: border-box; }
:root { color-scheme: light; font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; color: #1d2939; background: #f6f8fc; }
body { margin: 0; min-height: 100vh; background: radial-gradient(ellipse at 50% -15%, #fff5cf 0, transparent 48%), #f6f8fc; }
.sites-page { width: min(880px, 100%); margin: 0 auto; padding: 28px 22px 48px; }
.sites-header { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.sites-header h1 { margin: 0; font-size: clamp(21px, 4vw, 30px); font-weight: 900; letter-spacing: -.4px; }
.back-link { flex: 0 0 auto; padding: 9px 13px; border: 1px solid #e1e5eb; border-radius: 11px; background: #fff; color: #344054; font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 0 3px 10px #24344d0a; }
.back-link:hover { border-color: #a8b8d3; background: #f9fbff; }
.site-section { margin: 0 0 26px; }
.site-section h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 13px; color: #27364b; font-size: 18px; font-weight: 900; }
.section-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fff0bd; font-size: 17px; }
.site-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.site-card { display: flex; align-items: center; gap: 12px; min-height: 76px; padding: 13px 15px; border: 1px solid #e3e8ef; border-radius: 14px; background: #fff; color: #172033; text-decoration: none; box-shadow: 0 5px 17px #25385808; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.site-card:hover { transform: translateY(-2px); border-color: #b8c9e2; box-shadow: 0 9px 22px #25385812; }
.site-symbol { display: grid; place-items: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(145deg, #ffecaa, #ffe083); color: #382d12; font-size: 20px; font-weight: 900; }
.site-card > span:nth-child(2) { display: grid; gap: 3px; min-width: 0; }
.site-card strong { display: block; color: #172033; font-family: Arial, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.35; font-weight: 900; direction: ltr; text-align: right; overflow-wrap: anywhere; visibility: visible; opacity: 1; }
.site-card small { display: block; color: #475467; font-size: 12px; line-height: 1.5; visibility: visible; opacity: 1; }
.external-mark { margin-inline-start: auto; color: #75839a; font-size: 18px; }
@media (max-width: 560px) { .sites-page { padding: 18px 14px 34px; } .sites-header { gap: 10px; margin-bottom: 24px; } .sites-header h1 { font-size: 21px; } .back-link { padding: 8px 10px; font-size: 11px; } .site-grid { grid-template-columns: 1fr; gap: 9px; } .site-section h2 { font-size: 16px; } }

/* Four compact action buttons share the existing single toolbar row. */
