/* A calmer header and a compact, readable register. */
:root{--ink:#203f35;--muted:#697b70;--line:#e0e5dc;--bg:#f5f4ef}
.app-shell{background:#f5f4ef}
.app-header{height:96px;background-color:#1c4238;background-image:linear-gradient(90deg,#1b4039d9,#1b4038f2 65%,#1b4038),url(/images/calm-camp.webp);background-size:cover,52%;background-position:center,left 60%;padding-inline:28px}
.app-header:after{height:2px;background:linear-gradient(90deg,#bca77726,#c5b58c 70%,#bca77733)}
.brand{gap:12px}.brand h1{font-size:23px;letter-spacing:-.3px;color:#fffdf7}.brand p{color:#c1cfc7;font-size:11px;line-height:1.7}
.brand-icon{width:47px;height:47px;border-radius:13px;border-color:#d7c79f40;background:#ffffff05;color:#d9c89d}
.header-actions>.btn{min-height:44px;border-radius:11px;box-shadow:none;font-size:12px}
.header-actions>.btn-cream{background:#efe6d1;border:1px solid #dfd3b5;color:#213f34}
.header-actions>.header-import{background:#ffffff03;border-color:#ffffff29;color:#f0f2eb}
.app-header .header-account-actions .account-button,.app-header .header-account-actions .notification-bell{border-color:#ffffff29;background:#ffffff04;border-radius:11px}
.toolbar{padding:15px 24px;background:#fbfbf7;border-color:#e0e5dc;gap:10px;min-height:78px}
.search{border-color:#dfe5dc;border-radius:11px;box-shadow:0 2px 5px #1e413503}
.search input{color:#244338}.search input::placeholder{color:#7c8880}
.view-tabs{border:1px solid #dfe5dc;background:#edf0e9;border-radius:11px;padding:3px}
.view-tabs button{color:#64766b;min-height:36px;border-radius:8px;font-weight:600}
.view-tabs button.active{background:#255144;color:#fffdf6;box-shadow:0 2px 5px #15372a13}
.filter{border-color:#dfe5dc;border-radius:10px;color:#627b6b}.filter select{color:#405d4e}
.export-btn{width:auto;min-width:84px;height:46px;display:flex;gap:7px;padding:0 12px;background:#f3f5ee;border:1px solid #dce4d7;border-radius:10px;color:#2b5642;font-size:12px;font-weight:600}
.export-btn:hover{background:#eaf0e3}.export-btn:disabled{opacity:.5}
.export-btn svg{flex-shrink:0}.export-btn span{white-space:nowrap}
.table-workspace{padding:20px 24px;background:#f5f4ef;scrollbar-width:thin;scrollbar-color:#cbd5c7 transparent}
.table-panel{border-radius:16px;border-color:#dfe5da;box-shadow:0 4px 18px #193c2e04}
.table-title{padding:19px 23px;background:#fafaf6;border-color:#e4e8df}
.table-title .eyebrow{color:#7b806b;font-size:10px;font-weight:500}
.table-title h2{display:flex;gap:10px;align-items:center;color:#234737;font-size:22px;line-height:1.6}
.table-title h2>span{margin:0;background:#edf2e9;border-color:#dce5d5;color:#355c43;font-size:12px;min-width:32px;text-align:center;border-radius:7px;padding:1px 8px}
.register-caption{display:flex;align-items:center;gap:7px;font-size:11px;color:#70816d;white-space:nowrap}
.table-scroll th{background:#f1f4ed;color:#62745d;padding:13px 18px;font-size:11px}
.table-scroll td{color:#3e5b47;padding:16px 18px;font-size:12px;border-color:#e9ede4}
.table-scroll td[data-label="صاحب المخيم"]{color:#214331;font-size:13px;font-weight:700;line-height:1.8}
.register-camp-number{font-size:11px;letter-spacing:.15px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.table-scroll td .camp-type-pill{border-color:#dfe7d9;background:#eef4e8;color:#52703d;font-size:10px;border-radius:6px;padding:2px 8px}
.table-scroll td[data-label="الموسم"]{color:#607459;font-size:11px;font-variant-numeric:tabular-nums}
.table-coordinates{border-color:#d5dfcc}.table-coordinates small{color:#667c5c}.table-coordinates bdi{color:#345b3c;font-size:11px;font-variant-numeric:tabular-nums}
.table-scroll td:last-child .text-button{color:#345c43;border-color:#d9e4d2;background:#f3f7ef;border-radius:8px;min-height:40px;justify-content:center}
.table-scroll tbody tr:hover td{background:#f4f7ef}
.sidebar-heading h2,.camp-item-text>span{color:#284a36}.camp-item-text small{color:#697e61}.camp-item{border-color:#e1e7dc;box-shadow:none}
.camp-item:hover{box-shadow:0 3px 10px #25442c05}.mini-stats>div{border-color:#e0e7d8;background:#f1f5ec}
.sidebar-camp-photo{border-bottom-color:#bfae87}.map-title,.map-tools button,.basemap-control{box-shadow:0 2px 8px #173b2810}
@media(max-width:1180px) and (min-width:761px){
 .app-header{padding-inline:20px}.header-actions>.btn{font-size:11px;padding-inline:12px}.brand h1{font-size:21px}
 .toolbar{padding:13px 18px}.export-btn{min-width:78px}
}
@media(max-width:760px){
 .app-header{height:auto;min-height:122px;padding:15px 16px 13px;gap:13px;background-size:cover,95%;background-image:linear-gradient(90deg,#193e35df,#1d453bed 60%,#1b4239),url(/images/calm-camp.webp)}
 .brand{gap:10px}.brand h1{font-size:19px;line-height:1.5}.brand p{display:block;font-size:9px;line-height:1.5;margin-top:2px;color:#c0cec4}
 .brand-icon{width:36px;height:36px;border-radius:10px}.brand-icon svg{width:24px;height:24px}
 .app-header .header-actions>.btn{font-size:11px;min-height:44px;gap:6px;padding:9px 10px;border-radius:10px}
 .app-header .header-account-actions .account-button,.app-header .header-account-actions .notification-bell{width:44px;height:44px;min-width:44px;border-radius:10px}
 .toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:auto auto auto;gap:8px;padding:12px;min-height:0}
 .search{grid-area:1/1/2/5;height:43px;border-radius:11px;padding-inline:12px}.search input{height:39px;font-size:16px}.search input::placeholder{font-size:12px}
 .view-tabs{grid-area:2/1/3/4;border-radius:10px;gap:3px}.view-tabs button{min-height:34px;font-size:11px;padding:6px 9px}
 .export-btn{grid-area:2/4/3/5;min-width:0;width:100%;height:42px;min-height:42px;padding:0 6px;gap:5px;font-size:11px;border-radius:10px}
 .export-btn svg{width:16px;height:16px}
 .toolbar>.filter:not(.area-filter){grid-area:3/1/4/3}.toolbar>.filter.area-filter{grid-area:3/3/4/5}
 .filter{height:38px;padding:0 9px;gap:5px}.filter select{font-size:12px;min-height:34px;line-height:1.5}.filter>svg{width:14px;height:14px}
 .table-workspace{padding:13px 12px 20px;overflow-y:auto;overscroll-behavior:contain}
 .table-panel{min-height:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
 .table-title{padding:0 3px 12px;background:transparent;border:0;gap:8px;align-items:center}
 .table-title h2{font-size:19px;gap:8px;line-height:1.7}.table-title h2>span{font-size:11px;min-width:27px;padding:0 6px;border-radius:6px}
 .table-title .eyebrow{font-size:9px}.register-caption{font-size:9px;gap:5px}.register-caption svg{width:15px;height:15px;color:#9e916d}
 .table-scroll tbody{gap:10px}
 .table-scroll tbody tr{grid-template-columns:repeat(4,minmax(0,1fr));column-gap:10px;row-gap:0;border:1px solid #dde5d6;border-radius:14px;padding:12px 14px 13px;box-shadow:0 3px 10px #27442a04;background:#fff;position:relative}
 .table-scroll tbody tr:before{content:"";position:absolute;top:0;right:18px;width:34px;height:2px;background:#c2b081;border-radius:0 0 2px 2px}
 .table-scroll tbody tr td,.table-scroll tbody tr:nth-child(even) td,.table-scroll tbody tr:hover td{padding:6px 0;border:0;background:transparent;min-width:0;max-width:none;color:#36563e;font-size:14px;line-height:1.6}
 .table-scroll tbody tr td:before{font-size:11px;line-height:1.5;color:#718068;margin-bottom:1px;font-weight:500}
 .table-scroll tbody tr td:first-child{grid-column:1/-1;padding:0 0 3px;direction:rtl;font-size:10px;color:#617956;line-height:1.7}
 .table-scroll tbody tr td:first-child:before{display:inline;margin-inline-end:7px;font-size:9px}
 .table-scroll .register-camp-number{display:inline-block;background:#f0f4e9;border:1px solid #e2e9d9;border-radius:5px;padding:0 6px;color:#5b7550;font-size:11px;font-weight:600;vertical-align:middle;max-width:100%}
 .table-scroll tbody tr td[data-label="صاحب المخيم"]{grid-column:1/-1;font-size:17px;line-height:1.65;color:#234830;padding:0 0 8px;margin-bottom:2px;border-bottom:1px solid #ecf0e5;overflow-wrap:anywhere}
 .table-scroll tbody tr td[data-label="صاحب المخيم"]:before{display:none}
 .table-scroll tbody tr td[data-label="منطقة المخيم"],.table-scroll tbody tr td[data-label="النوع"]{grid-column:1/3}
 .table-scroll tbody tr td[data-label="الجوال"],.table-scroll tbody tr td[data-label="الموسم"]{grid-column:3/5}
 .table-scroll tbody tr td[data-label="الجوال"] bdi,.table-scroll tbody tr td[data-label="الموسم"] bdi{font-variant-numeric:tabular-nums}
 .table-scroll tbody tr td[data-label="النوع"],.table-scroll tbody tr td[data-label="الموسم"]{padding-top:3px;padding-bottom:9px;font-size:13px}
 .table-scroll td .camp-type-pill{font-size:11px;line-height:1.6;padding:1px 7px;border-radius:5px}
 .table-scroll tbody tr td[data-label="إحداثيات الموقع"]{grid-column:1/4;padding:0;align-self:stretch;display:flex;align-items:center;min-height:44px}
 .table-scroll tbody tr td[data-label="إحداثيات الموقع"]:before{display:none}
 .table-scroll .table-coordinates{width:100%;background:#f3f6ed;border:1px solid #e9eee1;border-radius:8px;padding:5px 7px;gap:8px;min-height:44px;align-items:center;white-space:normal}
 .table-scroll .table-coordinates>span{flex:1;min-width:0;gap:0;align-items:flex-start}
 .table-scroll .table-coordinates small{font-size:10px;line-height:1.5;color:#75866b}.table-scroll .table-coordinates bdi{font-size:12px;line-height:1.7;color:#42633b;letter-spacing:0}
 .table-scroll tbody tr td:last-child{grid-column:4/5;padding:0;display:flex;align-items:stretch}
 .table-scroll tbody tr td:last-child:before{display:none}
 .table-scroll td:last-child .text-button{width:100%;min-height:44px;font-size:11px;line-height:1.6;padding:6px 4px;white-space:normal;border:1px solid #cedbc3;border-radius:8px;background:#eaf1e2;color:#456c35;gap:0;justify-content:center;text-align:center}
 .table-scroll td:last-child .text-button svg{display:none}
 .table-scroll td .location-badge.missing{font-size:10px;color:#7f795c;background:#f7f5ee;border:1px solid #ebe6d5;padding:8px;border-radius:8px;width:100%;justify-content:center}
 .camp-item{padding:11px 10px;border-radius:11px;margin-bottom:7px}.camp-item-text>span{font-size:13px;line-height:1.7}.camp-item-text>strong{font-size:10px}.camp-item-text small{font-size:10px}
 .sidebar-heading h2{font-size:17px}.sidebar-footer{color:#6d7c62}
}
@media(max-width:359px){
 .app-header{padding-inline:13px}.brand h1{font-size:18px}.app-header .header-actions>.btn{font-size:11px}
 .register-caption{display:none}.table-title h2{font-size:18px}.table-scroll tbody tr{column-gap:7px;padding-inline:11px}.table-scroll tbody tr td[data-label="صاحب المخيم"]{font-size:16px}
 .table-scroll .table-coordinates{gap:5px;padding-inline:5px}.table-scroll .table-coordinates bdi{font-size:11px}.table-scroll td:last-child .text-button{font-size:10px}
 .filter select{font-size:11px}.export-btn{font-size:10px;gap:3px}.export-btn svg{width:14px}
}
@media(prefers-reduced-motion:reduce){.camp-item,.view-tabs button{transition:none}}
