/* تنسيق واحد للاتجاهين: الخصائص المنطقية (inline-start و inline-end) تتبع اتجاه الصفحة. */
:root {
    /* OO2 colours, measured from the logo (28 Nov 2026). Shapes and motion live in oo2.css. */
    --green: #1b7f45;
    --green-dark: #12332a;
    --ink: #12332a;
    --muted: #4e6b60;
    --line: #d5e0d3;
    --surface: #ffffff;
    --bg: #f6faf4;
    --danger: #b3261e;
    --warning-bg: #fdebd3;
    --success-bg: #e4f4d4;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
}

a { color: var(--green); }
h1 { font-size: 1.5rem; margin: 0 0 16px; }
h2 { font-size: 1.1rem; margin: 20px 0 10px; }

.topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    padding: 10px 20px;
    background: var(--green);
    color: #fff;
}
.topbar a, .topbar .link { color: #fff; text-decoration: none; }
.topbar a:hover, .topbar .link:hover { text-decoration: underline; }
.brand { font-weight: 700; font-size: 1.1rem; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.nav a.current { text-decoration: underline; text-underline-offset: 6px; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-inline-start: auto; }
.tools form { margin: 0; }
.who { opacity: 0.85; }

.page { max-width: 1100px; margin: 0 auto; padding: 24px 20px 40px; }
.footer { text-align: center; color: var(--muted); font-size: 0.85rem; padding: 16px; line-height: 1.9; }
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--green); }

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.card.narrow { max-width: 440px; margin-inline: auto; }
.card > h1:first-child, .card > h2:first-child { margin-top: 0; }

.heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.heading h1 { margin: 0; }

.form { display: grid; gap: 6px; max-width: 520px; }
.form label { font-weight: 600; margin-top: 8px; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form input[type="password"], .form select, .form textarea, .form input[type="file"] {
    width: 100%;
    padding: 9px 10px;
    font: inherit;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.form textarea { resize: vertical; line-height: 1.6; }
.form.inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; max-width: none; margin-bottom: 20px; }
.form.inline > div { flex: 1 1 220px; display: grid; gap: 4px; }
.form.inline label { margin-top: 0; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.hint { margin: 0; color: var(--muted); font-size: 0.85rem; }

.button {
    display: inline-block;
    padding: 9px 18px;
    font: inherit;
    font-weight: 600;
    color: #fff;
    background: var(--green);
    border: 0;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
}
.button:hover { background: var(--green-dark); }
.button.secondary { color: var(--green-dark); background: #fff; border: 1px solid var(--green); }
.button.secondary:hover { background: var(--success-bg); }
.button.danger { background: var(--danger); }
.button.danger:hover { background: #8c1d18; }
.button:disabled { background: #b8c4c0; cursor: not-allowed; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.button-row form { margin: 0; }
.form > .button { margin-top: 14px; justify-self: start; }

.link { padding: 0; font: inherit; color: var(--green); background: none; border: 0; cursor: pointer; }
.link:hover { text-decoration: underline; }

.notice { padding: 12px 16px; border-radius: 8px; margin: 0 0 16px; border: 1px solid var(--line); }
.notice.success { background: var(--success-bg); border-color: #b5dccb; }
.notice.warning { background: var(--warning-bg); border-color: #edd59a; }
.notice.error { background: #fdecea; border-color: #f2b8b5; color: var(--danger); list-style: none; }
.notice h2 { margin-top: 0; }
.secret { display: inline-block; padding: 6px 12px; font-size: 1.2rem; letter-spacing: 1px; background: #fff; border: 1px dashed var(--muted); border-radius: 6px; user-select: all; }

.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; text-align: start; vertical-align: middle; border-bottom: 1px solid var(--line); }
th { font-size: 0.85rem; color: var(--muted); background: #fafcfb; white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
.row-actions { white-space: nowrap; }
.row-actions form { display: inline; margin: 0; }
.row-actions > * + * { margin-inline-start: 14px; }

.badge { display: inline-block; padding: 2px 10px; font-size: 0.8rem; border-radius: 999px; background: var(--success-bg); color: var(--green-dark); }
.badge.off { background: #eceff0; color: var(--muted); }
.badge.warn { background: var(--warning-bg); color: #7a5200; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.muted { color: var(--muted); }
.empty { color: var(--muted); padding: 24px; text-align: center; background: var(--surface); border: 1px dashed var(--line); border-radius: 10px; }

.logo { width: 40px; height: 40px; object-fit: contain; }
.logo.large { width: 96px; height: 96px; }

.stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 16px; display: grid; gap: 2px; }
.stat .number { font-size: 1.8rem; font-weight: 700; color: var(--green); }
.stat .label { color: var(--muted); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.pagination .disabled { color: var(--muted); }

.code { font-size: 2.4rem; font-weight: 700; color: var(--green); margin: 0; }

/* الأشجار: القائمة، شاشة المراجعة، والصفحة العامة. */
.page.slim { max-width: 720px; }
.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; display: block; background: #eceff0; }
.check { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.bulk { margin-top: 16px; }
.bulk .form.inline { margin-bottom: 0; }

.review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
.review-photo { margin: 0; }
.review-photo img { width: 100%; max-height: 560px; object-fit: contain; border-radius: 10px; background: #1f2d2a; display: block; }
.review-side .form.inline { margin: 12px 0 6px; }
.review-side .form.inline > div { flex: 1 1 130px; }

.map { position: relative; width: 100%; height: 420px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #dfe6e3; }
.map.off { display: none; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
/* البديل في القسم 17: دبوس ترسمه الصفحة فوق خريطة متمركزة على الشجرة. رأسه عند مركز الخريطة تماما. */
.map .pin { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin-left: -12px; margin-top: -24px; background: #d93025; border: 2px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); pointer-events: none; }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 20px; margin: 0; }
.facts dt { font-size: 0.85rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
.with-logo { display: flex; align-items: center; gap: 8px; }

.tree-page .kicker { margin: 0; color: var(--muted); }
.tree-page h1 { font-size: 1.8rem; color: var(--green); }
.tree-photo { width: 100%; max-height: 520px; object-fit: contain; border-radius: 10px; background: #1f2d2a; display: block; margin-bottom: 16px; }
.tree-page .map { height: 340px; }

/* لوحة الراعي والهدايا: أشجاري، إهداء شجرة، إهداءاتي. تعمل على الجوال. */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tabs a { padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; }
.tabs a.current { color: #fff; background: var(--green); border-color: var(--green); }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.tile-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eceff0; display: block; }
.tile-body { padding: 12px 14px 16px; display: grid; gap: 6px; }
.tile-body h2, .tile-body p { margin: 0; }
.tile-body .button { justify-self: start; margin-top: 6px; }

.with-photo { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.with-photo .facts { flex: 1 1 260px; }
.thumb.big { width: 112px; height: 112px; }
.form.card { max-width: 620px; }
.check.consent { align-items: flex-start; font-weight: 400; margin-top: 14px; }
.check.consent input { margin-top: 6px; }

.gift .heading { margin-bottom: 12px; }
.gift .heading h2 { margin: 0; }
.gift .button-row { margin: 16px 0 4px; }
.link-shown { flex: 1 1 100%; padding: 8px 10px; font: inherit; border: 1px solid var(--line); border-radius: 6px; }
.more { margin-top: 10px; }
.more summary { cursor: pointer; color: var(--green); font-weight: 600; }
.more .form { margin: 10px 0 6px; }
td .more .form { min-width: 220px; }

body.busy { cursor: progress; }
body.busy .button { opacity: 0.6; pointer-events: none; }

@media (max-width: 800px) {
    .review { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .page { padding: 16px 12px 32px; }
    .tools { margin-inline-start: 0; }
}

/* المرحلة 5: صور الشجرة الثلاث، وإعدادات الموقع، والحالة. */
.review-photos { display: grid; gap: 12px; align-content: start; }
.review-photo figcaption, .photo-pair figcaption { margin-top: 4px; font-size: 0.85rem; color: var(--muted); text-align: center; }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.photo-pair figure { margin: 0; }
.photo-pair a { display: block; cursor: zoom-in; }
.photo-pair img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; background: #1f2d2a; display: block; }
.review-photos .photo-pair { margin-bottom: 0; }

.lightbox { max-width: 96vw; max-height: 96vh; padding: 0; border: 0; border-radius: 10px; background: #1f2d2a; cursor: zoom-out; }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.8); }
.lightbox img { max-width: 96vw; max-height: 96vh; display: block; }

.form.settings { max-width: 640px; gap: 14px; }
.form.settings fieldset { margin: 0; padding: 12px 16px 14px; border: 1px solid var(--line); border-radius: 8px; display: grid; gap: 6px; }
.form.settings legend { padding: 0 6px; font-weight: 600; }
.form.settings .check { font-weight: 400; margin-top: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px; }
.condition-note { display: block; margin-top: 4px; font-weight: 400; }

/* حقل كلمة المرور وزر إظهارها. */
.password-field { display: flex; align-items: center; gap: 8px; }
.password-field input { flex: 1; min-width: 0; }
.password-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--muted); cursor: pointer; }
.password-toggle:hover, .password-toggle:focus-visible { color: var(--green); background: var(--success-bg); }
.password-toggle .eye-closed, .password-toggle[aria-pressed="true"] .eye-open { display: none; }
.password-toggle[aria-pressed="true"] .eye-closed { display: inline; }

/* خريطة الأشجار وتقرير الجهة (القسم 20.10). */
.tree-map { height: 70vh; min-height: 420px; }
.map-filters { margin-bottom: 12px; }
.map-count { margin: 8px 0; color: var(--muted, #5b6b66); }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; list-style: none; padding: 0; margin: 8px 0 12px; }
.map-legend li { display: flex; align-items: center; gap: 6px; }
.map-legend .dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #9aa8a3; }
.map-legend .dot.healthy { background: #2e9d5b; }
.map-legend .dot.unhealthy { background: #d93025; }
.map-legend .dot.unapproved { background: #8a9793; }
.map-legend .dot.gifted { background: #fff; border-color: #f5b301; border-width: 4px; }
/* نافذة الشجرة على الخريطة: تكبر مع الشاشة، وكل سطر بعنوانه وأمامه شجرة صغيرة. */
.map-card { display: flex; gap: 14px; align-items: flex-start; width: min(360px, 72vw); color: #1f2d2a; font-size: 1rem; line-height: 1.6; }
.map-card img { flex: none; width: 112px; height: 112px; border-radius: 10px; object-fit: cover; background: #dfe6e3; }
.map-card ul { flex: 1; min-width: 0; margin: 0; padding: 0; list-style: none; }
.map-card li { position: relative; margin: 0 0 4px; padding-inline-start: 24px; overflow-wrap: anywhere; }
.map-card li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.3em; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231b7f45' d='M12 2 6.5 9h2.8L5 15h5.5v5h3v-5H19l-4.3-6h2.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.map-card li span { color: #5b6b66; }
.map-card a { display: inline-block; margin-top: 8px; font-weight: 600; }
@media (max-width: 520px) {
    .map-card { flex-direction: column; align-items: stretch; width: min(300px, 78vw); gap: 8px; }
    .map-card img { width: 100%; height: 140px; }
}
.report-org { margin: 0; color: var(--muted, #5b6b66); }
.report-table { width: 100%; max-width: 520px; border-collapse: collapse; margin-bottom: 12px; }
.report-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); }
.report-table td:last-child { text-align: end; font-weight: 600; width: 6em; }
@media print {
    /* تخص صفحة التقرير وحدها. */
    body:has(.report) .topbar, body:has(.report) .footer, body:has(.report) nav, .no-print { display: none !important; }
    body:has(.report) .page { max-width: none; padding: 0; }
    .report.card { border: 0; box-shadow: none; }
}

/* قائمة الأشجار: الأعمدة الثلاثة الأولى تحدد الشجرة، وشريط إجراءات المحدد أعلى الجدول. */
td.pick { padding: 0; }
td.pick label { display: flex; align-items: center; min-height: 56px; padding: 8px 10px; margin: 0; cursor: pointer; font-weight: 400; }
td.pick input[type="checkbox"] { width: 20px; height: 20px; cursor: pointer; }
tr:has(td.pick input:checked) { background: var(--success-bg); }
.bulk-bar { position: sticky; top: 0; z-index: 5; margin-bottom: 12px; }
.bulk-bar h2 { margin-top: 0; }
.bulk-count { margin: 0 0 8px; color: var(--muted); }
.bulk-bar.has-selection .bulk-count { color: var(--green-dark); font-weight: 600; }
@media (max-width: 720px) {
    .bulk-bar { position: static; }
}

/* صفحة المراجعة: بالون «تم الحفظ» يظهر لحظة ويختفي، وعلامة الحفظ بجانب العنوان، وشريط التنقل أسفل الصفحة. */
.toast { position: fixed; inset-block-end: 88px; inset-inline-start: 50%; transform: translateX(-50%); z-index: 20; margin: 0; padding: 10px 22px; border-radius: 999px; background: #ffd84d; color: #3a2f00; font-weight: 600; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18); pointer-events: none; animation: toast-out 0.4s ease 1.2s forwards; }
[dir="rtl"] .toast { transform: translateX(50%); }
@keyframes toast-out { to { opacity: 0; visibility: hidden; } }
.saved-mark { color: var(--green); font-weight: 600; }
.review-bar { position: sticky; inset-block-end: 0; z-index: 6; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px 12px 0 0; box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06); }
.review-bar .button.off { opacity: 0.45; cursor: default; pointer-events: none; }
@media (max-width: 720px) {
    .review-bar { flex-wrap: wrap; justify-content: center; }
}

/* ما تحت عنوان الصفحة، ورابط تكبير الصورة الرئيسية. */
.under-heading { margin: -8px 0 12px; }
a[data-enlarge] { display: block; cursor: zoom-in; }
/* نافذة الخريطة بخط اللوحة نفسه، لا بخط خرائط Google. */
.map-card, .map-card * { font-family: "Readex Pro", "Segoe UI", Tahoma, system-ui, sans-serif; }
/* مفتاح ألوان الخريطة بشكل الشجرة نفسها التي على الخريطة. */
.map-legend .dot { width: 20px; height: 20px; border: 0; border-radius: 0; box-shadow: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 6.5 9h2.8L5 15h5.5v5h3v-5H19l-4.3-6h2.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 6.5 9h2.8L5 15h5.5v5h3v-5H19l-4.3-6h2.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.map-legend .dot.gifted { background: #f5b301; border: 0; }

/* قائمة شروط كلمة المرور: كل شرط بعلامة حمراء حتى يكتمل فتصير خضراء. */
.password-rules { margin: 6px 0 12px; padding: 0; list-style: none; font-size: 0.92rem; }
.password-rules li { position: relative; padding-inline-start: 26px; margin: 2px 0; color: var(--danger); }
.password-rules li::before { content: "\2715"; position: absolute; inset-inline-start: 4px; font-weight: 700; }
.password-rules li.met { color: var(--green-dark); }
.password-rules li.met::before { content: "\2713"; }
.form-footnote { margin: 14px 0 0; text-align: center; }
/* تبويبات صفحة المستخدمين: بشكل التبويبات القائمة في اللوحة، ومع كل تبويب عدده. */
.tabs .tab-count { display: inline-block; min-width: 1.6em; padding: 0 6px; margin-inline-start: 4px; border-radius: 999px; background: var(--bg); color: var(--ink); font-size: 0.82rem; text-align: center; }
/* نص لقارئ الشاشة فقط. */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* صفحتا تحذير الحذف النهائي. */
.purge { text-align: center; }
.purge-sign { margin: 4px 0 8px; }
.purge h1 { color: var(--danger); }
.purge-lead { font-size: 1.05rem; }
.purge-list, .purge-points { text-align: start; margin: 12px auto; max-width: 420px; }
.purge-list { list-style: none; padding: 0; max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; }
.purge-list li { padding: 6px 12px; border-bottom: 1px solid var(--line); }
.purge-list li:last-child { border-bottom: 0; }
.purge .form-actions { justify-content: center; }
.purge .form-actions form { margin: 0; }

/* الإهداء: طرق الإيصال، نص الرسالة للنسخ، والقوائم الجاهزة. */
.channels { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 14px 0 6px; }
.channels legend { padding: 0 6px; font-weight: 600; }
.channels .check { display: inline-flex; margin-inline-end: 18px; font-weight: 400; }
.form [hidden] { display: none; }
.share-message { margin: 12px 0; }
.share-message textarea { width: 100%; background: var(--bg); font: inherit; line-height: 1.7; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; resize: vertical; }
.share-message .button { margin-top: 6px; }
.preset-list { list-style: none; padding: 0; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 8px; }
.preset-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.preset-list li:last-child { border-bottom: 0; }
.preset-list form { margin: 0; flex: none; }
.preset-body { white-space: pre-line; overflow-wrap: anywhere; }
.preset-list.general { background: var(--bg); }
.form.inline .grow { flex: 1; min-width: 220px; }
.link.danger { color: var(--danger); }

/* الأثر البيئي: جدول العرض، وشبكة إدخال القيم المرجعية. */
.impact-table, .impact-grid { width: 100%; border-collapse: collapse; }
.impact-table th, .impact-table td, .impact-grid th, .impact-grid td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: middle; }
.impact-table thead th, .impact-grid thead th { font-weight: 600; font-size: .9rem; }
/* حقول الأرقام والروابط والتواريخ في شاشات الأثر تأخذ شكل بقية الحقول، دون مس حقول الصفحات الأخرى. */
.impact-form input[type="number"], .impact-form input[type="url"], .impact-grid input, [data-tree-planting] input {
    width: 100%; padding: 9px 10px; font: inherit; border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.impact-grid input { min-width: 86px; padding: 6px 8px; }
.impact-grid select { width: 100%; min-width: 180px; padding: 6px 8px; font: inherit; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.impact-form input[type="date"] { width: 100%; padding: 9px 10px; font: inherit; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.impact-source label { margin-top: 8px; }
.impact-grid small { font-weight: 400; color: var(--muted); }
.impact-form.form.card { max-width: none; }
.impact-source { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin: 12px 0; }
.impact-source legend { padding: 0 6px; font-weight: 600; }
.impact-note { margin-top: 10px; }

/* حدود الموقع: خريطة الرسم وحقل الأركان. */
#boundary-map { height: 420px; border-radius: 10px; border: 1px solid var(--line); margin: 10px 0; }
#boundary-map.off { display: none; }
#site-boundary textarea { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: 0.9rem; padding: 9px 10px; border: 1px solid var(--line); border-radius: 6px; }

/* تجربة 28 نوفمبر 2026: القسم الناقص البيانات حدوده صفراء حتى يملأ ويحفظ. دليل لمن يدخل البيانات. */
.card.incomplete, fieldset.incomplete { border: 2px solid #e0a800; }
.review-bar.single { justify-content: center; }
[data-role-only][hidden] { display: none; }

/* الموثقون في الميدان في صفحة الموقع (1 ديسمبر 2026). */
.field-recorders { margin-top: 0.75rem; }
.field-recorders .hint { margin-top: 0.25rem; }
.field-recorder-label { background: #fff; padding: 1px 6px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
