/* UAE Government Apps Guide — civic design. White, deep green, sand panels. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fbfaf6; color: #22302a; font: 17px/1.62 system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: #0b6b4f; }
a:hover { color: #084d39; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 9; }
.site-head { background: #0b6b4f; color: #eef6f1; }
.brandrow { max-width: 1080px; margin: 0 auto; padding: 20px 20px 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #eef6f1; }
.wordmark { font: 800 25px/1.1 system-ui, sans-serif; letter-spacing: -.3px; }
.tagline { margin: 0 0 0 auto; font-size: 14px; color: #bcdccb; max-width: 330px; text-align: right; }
.mainnav { max-width: 1080px; margin: 0 auto; padding: 0 20px 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.mainnav a { font: 700 13.5px/1.4 system-ui, sans-serif; text-decoration: none; color: #d5e9dd; padding: 3px 0; border-bottom: 2px solid transparent; }
.mainnav a:hover { border-bottom-color: #f2c14e; color: #fff; }
main { max-width: 1080px; margin: 0 auto; padding: 26px 20px 44px; }
.crumbs { font-size: 13px; color: #66756d; margin: 0 0 14px; }
.crumbs a { color: #66756d; }
h1 { font: 800 33px/1.2 system-ui, sans-serif; letter-spacing: -.5px; margin: 0 0 10px; color: #123528; }
h2 { font: 800 23px/1.3 system-ui, sans-serif; margin: 36px 0 10px; color: #123528; }
h3 { font: 700 18px/1.35 system-ui, sans-serif; margin: 24px 0 8px; color: #22302a; }
p { margin: 0 0 14px; }
.lede { font-size: 19px; line-height: 1.6; color: #3d4f45; }
ul, ol { margin: 0 0 16px; padding-left: 24px; }
li { margin-bottom: 6px; }
.steps { list-style: none; padding: 0; counter-reset: step; margin: 0 0 18px; }
.steps li { counter-increment: step; padding: 12px 0 12px 52px; position: relative; border-bottom: 1px solid #e2ddd0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 10px; width: 34px; height: 34px; border-radius: 50%; background: #0b6b4f; color: #fff; font-weight: 800; text-align: center; line-height: 34px; }
table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 15px; background: #fff; }
th, td { border: 1px solid #d8d2c2; text-align: left; padding: 9px 10px; vertical-align: top; }
th { background: #123528; color: #eef6f1; }
figure { margin: 18px 0; }
figcaption { font-size: 13px; color: #66756d; margin-top: 6px; }
.sand { background: #f5efe3; border: 1px solid #e2d9c2; padding: 16px 18px; margin: 20px 0; }
.sand p:last-child { margin-bottom: 0; }
.greenbox { background: #0b6b4f; color: #eef6f1; padding: 18px 20px; margin: 20px 0; border-radius: 8px; }
.greenbox h3 { color: #f2c14e; margin-top: 0; }
.greenbox a { color: #f2c14e; }
.verified { font-size: 13px; color: #66756d; border-top: 1px solid #d8d2c2; padding-top: 10px; margin-top: 28px; }
.sources { font-size: 13px; color: #52645a; }
.sources li { margin-bottom: 4px; }
.toc { background: #fff; border: 1px solid #d8d2c2; border-top: 4px solid #0b6b4f; padding: 14px 18px; margin: 18px 0; font-size: 15px; }
.toc b { display: block; margin-bottom: 6px; font-size: 16px; }
.toc a { display: block; padding: 2px 0; }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; align-items: start; }
.appgrid { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.appgrid li { background: #fff; border: 1px solid #d8d2c2; border-top: 4px solid #0b6b4f; padding: 14px 16px; }
.appgrid a { font: 800 18px system-ui, sans-serif; text-decoration: none; color: #123528; }
.appgrid p { margin: 6px 0 0; font-size: 15px; }
label { display: block; font-weight: 700; font-size: 14px; margin: 14px 0 4px; }
input[type=number], input[type=text], select { width: 100%; max-width: 430px; padding: 9px 10px; font: 16px system-ui, sans-serif; border: 1px solid #8a9a90; background: #fff; border-radius: 4px; }
button { background: #0b6b4f; color: #fff; border: none; padding: 11px 22px; font: 700 16px system-ui, sans-serif; cursor: pointer; margin-top: 16px; border-radius: 4px; }
button:hover { background: #084d39; }
.result { background: #fff; border: 2px solid #123528; padding: 16px 18px; margin-top: 18px; display: none; border-radius: 4px; }
.result.show { display: block; }
.error { color: #a11; font-weight: 700; font-size: 14px; margin-top: 8px; }
.checkrow { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid #d8d2c2; font-size: 15px; }
.checkrow input { margin-top: 4px; width: 18px; height: 18px; }
.progress { font-weight: 700; font-size: 15px; margin-top: 14px; }
.site-foot { background: #123528; color: #bcdccb; padding: 26px 20px 34px; }
.site-foot p, .site-foot nav { max-width: 1080px; margin: 0 auto 12px; }
.foot-about { font-size: 15px; }
.footnav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.footnav a { color: #f2c14e; }
.foot-meta { font-size: 13px; color: #8fae9c; }
@media (max-width: 760px) {
  h1 { font-size: 26px; }
  .split { grid-template-columns: 1fr; }
  .appgrid { grid-template-columns: 1fr; }
  .tagline { text-align: left; margin: 0; }
  body { font-size: 16px; }
  table { font-size: 14px; }
}
@media print {
  .mainnav, .site-foot, .skip { display: none; }
  body { background: #fff; }
}
