:root{--registry:#0c5133;--registry2:#083d27;--gold:#f3bd39;--ink:#183028}body{background:#f5f8f6;color:var(--ink);min-height:100vh}.bg-registry{background:linear-gradient(110deg,var(--registry2),var(--registry))}.seal{display:inline-grid;place-items:center;background:var(--gold);color:var(--registry2);width:34px;height:34px;border-radius:50%;margin-right:.35rem}.hero{background:linear-gradient(115deg,rgba(8,61,39,.97),rgba(12,81,51,.91)),url('../img/hall.jpg');color:#fff;padding:5rem 0}.hero h1{font-size:clamp(2rem,5vw,4rem);max-width:850px}.card{border:0;border-radius:1rem}.stat-card{border-left:5px solid var(--gold)}.status{display:inline-block;padding:.35rem .65rem;border-radius:50rem;font-size:.78rem;font-weight:700}.status-pending{background:#fff3cd;color:#806000}.status-under_review{background:#cfe2ff;color:#084298}.status-approved,.status-ready_for_pickup{background:#d1e7dd;color:#0f5132}.status-disapproved,.status-rejected{background:#f8d7da;color:#842029}.status-released{background:#e2e3e5;color:#41464b}.timeline{border-left:3px solid #d9e5df;margin-left:.5rem;padding-left:1.2rem}.timeline-item{position:relative;margin-bottom:1.2rem}.timeline-item:before{content:'';position:absolute;left:-1.62rem;top:.25rem;width:.75rem;height:.75rem;background:var(--registry);border-radius:50%}.form-section{border-left:4px solid var(--registry);padding-left:1rem}.table thead th{background:#e8f0ec;white-space:nowrap}.btn-registry{background:var(--registry);color:#fff}.btn-registry:hover{background:var(--registry2);color:#fff}@media(max-width:576px){.hero{padding:3rem 0}.card-body{padding:1.1rem}.table-responsive{font-size:.88rem}}
.staff-shell{display:flex;min-height:100vh}.staff-sidebar{position:fixed;inset:0 auto 0 0;width:255px;background:linear-gradient(180deg,#073b26,#0c5133);color:#fff;padding:1.2rem;display:flex;flex-direction:column;z-index:1030}.staff-brand{display:flex;align-items:center;color:#fff;text-decoration:none;font-size:1.1rem;font-weight:700;padding:.4rem}.staff-brand small{font-size:.75rem;font-weight:400;opacity:.75}.staff-sidebar nav{display:flex;flex-direction:column;gap:.35rem;margin-top:2rem}.staff-sidebar nav a{color:#dcebe3;text-decoration:none;padding:.8rem 1rem;border-radius:.65rem}.staff-sidebar nav a:hover,.staff-sidebar nav a.active{background:rgba(255,255,255,.13);color:#fff}.staff-user{margin-top:auto;display:grid;gap:.35rem;padding:.8rem;border-top:1px solid rgba(255,255,255,.18)}.staff-content{margin-left:255px;width:calc(100% - 255px);min-height:100vh}.staff-mobilebar{display:none}.staff-ui .container{max-width:1280px}@media(max-width:800px){.staff-sidebar{display:none}.staff-content{margin-left:0;width:100%}.staff-mobilebar{display:flex;position:sticky;top:0;z-index:1020;background:#fff;padding:.75rem;align-items:center;gap:1rem;flex-wrap:wrap;box-shadow:0 2px 10px rgba(0,0,0,.08)}.staff-mobilebar .card-body{gap:.5rem}.staff-mobilebar a{text-decoration:none;color:var(--registry);padding:.35rem}}
@media print{.staff-sidebar,.staff-mobilebar{display:none!important}.staff-content{margin:0!important;width:100%!important}}
.theme-dark-gradient{background:linear-gradient(135deg,#111 0%,#2b2b2b 48%,#555 100%) fixed;color:#f4f4f4}.theme-dark-gradient main{min-height:calc(100vh - 75px)}.theme-dark-gradient .bg-registry{background:linear-gradient(110deg,#070707,#3b3b3b)}.theme-dark-gradient .hero{background:linear-gradient(125deg,#050505 0%,#262626 52%,#5c5c5c 100%)}.theme-dark-gradient .card{background:rgba(26,26,26,.94);color:#f4f4f4;border:1px solid rgba(255,255,255,.12);box-shadow:0 18px 45px rgba(0,0,0,.25)!important}.theme-dark-gradient .text-muted,.theme-dark-gradient small{color:#bbb!important}.theme-dark-gradient .table{--bs-table-bg:transparent;--bs-table-color:#eee;--bs-table-border-color:#4c4c4c}.theme-dark-gradient .table thead th{background:#303030;color:#fff}.theme-dark-gradient .form-control,.theme-dark-gradient .form-select{background:#202020;border-color:#555;color:#fff}.theme-dark-gradient .form-control:focus,.theme-dark-gradient .form-select:focus{background:#181818;color:#fff;border-color:#aaa;box-shadow:0 0 0 .2rem rgba(255,255,255,.12)}.theme-dark-gradient .form-control::placeholder{color:#929292}.theme-dark-gradient .form-select option{background:#202020;color:#fff}.theme-dark-gradient .btn-registry{background:linear-gradient(135deg,#777,#252525);border:1px solid #999}.theme-dark-gradient .btn-registry:hover{background:linear-gradient(135deg,#999,#3d3d3d)}.theme-dark-gradient .seal{background:#ddd;color:#111}.theme-dark-gradient footer{background:#111!important;border-color:#444!important;color:#bbb}.theme-dark-gradient .staff-sidebar{background:linear-gradient(180deg,#050505,#333)}.theme-dark-gradient .staff-mobilebar{background:#181818}.theme-dark-gradient .registry-section{background:#202020;border-color:#4a4a4a}.theme-dark-gradient .registry-section h5{color:#ddd;border-color:#4a4a4a}.theme-dark-gradient .alert-info{background:#303d45;color:#dceef8;border-color:#526873}.theme-dark-gradient .alert-warning{background:#493e22;color:#fff0bd;border-color:#75632f}.theme-dark-gradient .alert-success{background:#253e31;color:#cef2db;border-color:#426b52}.theme-dark-gradient a{color:#d6d6d6}.theme-dark-gradient .birth-certificate,.theme-dark-gradient .marriage-certificate,.theme-dark-gradient .death-certificate{color:inherit}
.registry-section{border:1px solid #dce8e1;border-radius:.75rem;padding:1rem;margin-bottom:1rem;background:#fbfdfc}.registry-section h5{color:var(--registry);border-bottom:1px solid #dce8e1;padding-bottom:.6rem}.birth-certificate{width:8.5in;min-height:13in;margin:0 auto;background:#fff;border:2px solid #168226;color:#168226;display:grid;grid-template-columns:6.25in 2.2in;font-family:Arial,sans-serif;font-size:10px}.bc-main{border-right:2px solid #168226}.bc-header{height:1.3in;padding:.15in;position:relative;text-align:center;border-bottom:1px solid #168226}.bc-small{position:absolute;left:.15in;top:.12in;text-align:left;font-size:7px}.bc-title{font-size:12px}.bc-title span{display:block;font-size:14px}.bc-title strong{display:block;font-size:20px;margin-top:3px}.bc-row,.bc-grid{display:grid}.bc-row{grid-template-columns:2fr 1fr;border-bottom:2px solid #168226}.bc-row>div,.bc-grid>p,.birth-certificate section>p,.bc-main>p{padding:7px;margin:0;border-right:1px solid #168226;border-bottom:1px solid #168226;min-height:42px}.bc-grid.two{grid-template-columns:1fr 1fr}.bc-grid.three{grid-template-columns:1fr 1fr 1fr}.birth-certificate section{position:relative}.birth-certificate section h3{position:absolute;left:-42px;top:50%;transform:rotate(-90deg);font-size:14px;letter-spacing:3px}.birth-certificate p span{display:block;color:#111;font-size:11px;min-height:17px;border-bottom:1px solid #168226;margin-top:4px}.birth-certificate p small{display:block;text-align:center}.birth-certificate aside{padding:12px;background:#a9e9a9}.birth-certificate aside h4{font-size:14px;font-weight:bold}.birth-certificate aside .ocr{margin:1.5in -12px 0;padding:12px;text-align:center;border-top:2px solid #168226}.signatures p{min-height:80px}.print-toolbar{display:flex;justify-content:space-between;max-width:8.5in}@media print{@page{size:legal portrait;margin:.2in}nav,footer,.print-toolbar,.alert{display:none!important}body,main{background:#fff!important}.birth-certificate{margin:0;transform:scale(.96);transform-origin:top left;box-shadow:none}}
.marriage-certificate{width:8.5in;min-height:13in;margin:0 auto 24px;background:#fff;border:2px solid #111;color:#111;font:10px Arial,sans-serif}.marriage-certificate header{height:1in;position:relative;text-align:center;padding:.08in;border-bottom:2px solid #111}.marriage-certificate header small{position:absolute;left:.1in;top:.08in;text-align:left}.marriage-certificate header div{font-size:13px}.marriage-certificate header h1{font-size:25px;letter-spacing:2px;margin:4px}.mc-row{display:grid;grid-template-columns:2fr 1fr}.mc-row>p,.mc-full>p{margin:0;padding:6px;border-right:1px solid #111;border-bottom:1px solid #111;min-height:42px}.mc-row span,.mc-full p span{display:block;font-size:11px;margin-top:4px;min-height:16px}.mc-parties{display:grid;grid-template-columns:1.25in 1fr 1fr}.mc-parties>*{padding:4px;border-right:1px solid #111;border-bottom:1px solid #111;min-height:28px}.mc-parties>b:nth-child(-n+3){text-align:center;font-size:12px}.mc-sign{display:grid;grid-template-columns:1fr 1fr;gap:.5in;padding:.35in .3in .05in;text-align:center;border-bottom:1px solid #111}.mc-sign span{border-top:1px solid #111}.marriage-certificate .remarks{min-height:1.1in}.marriage-certificate.affidavit{padding:.2in;font-size:12px}.affidavit h1{text-align:center;font-size:20px;border-bottom:2px solid #111;padding:10px}.affidavit p{line-height:2;margin:15px}.affidavit p span{display:inline-block;min-width:1.5in;border-bottom:1px solid #111}.affidavit-space{height:1.3in;padding-top:1in;text-align:center;border-bottom:1px solid #111;margin:20px}.affidavit-space:before{content:'';display:block;border-top:1px solid #111;width:3in;margin:auto}@media print{.marriage-certificate{margin:0;page-break-after:always}.marriage-certificate:last-of-type{page-break-after:auto}.marriage-certificate+footer{display:none!important}}
.death-certificate{width:8.5in;min-height:13in;margin:0 auto 24px;background:#fff;border:2px solid #138428;color:#138428;display:grid;grid-template-columns:6.3in 2.15in;font:10px Arial,sans-serif}.dc-main{border-right:2px solid #138428}.death-certificate header{text-align:center;height:1in;padding:.08in;position:relative;border-bottom:1px solid #138428}.death-certificate header small{position:absolute;left:.1in;text-align:left}.death-certificate header div{font-size:12px}.death-certificate header h1{font-size:23px;margin:4px}.dc-row,.dc-grid{display:grid}.dc-row{grid-template-columns:2fr 1fr}.dc-grid.two{grid-template-columns:1fr 1fr}.dc-grid.three{grid-template-columns:1fr 1fr 1fr}.dc-main p{margin:0;padding:6px;border-right:1px solid #138428;border-bottom:1px solid #138428;min-height:38px}.dc-main p span{display:block;color:#111;font-size:11px;min-height:15px;margin-top:3px}.dc-main p small{display:block;text-align:center}.dc-main h2{text-align:center;font-size:16px;padding:5px;margin:0;border-bottom:2px solid #138428}.death-certificate aside{background:#a9e9a9;padding:10px}.death-certificate aside h3{font-size:13px}.death-certificate aside .ocr{margin:2in -10px 0;padding:12px;text-align:center;border-top:2px solid #138428}.dc-main .signature{min-height:.75in}.death-certificate.delayed{display:block;padding:.25in;color:#111;font-size:12px}.death-certificate.delayed h1{text-align:center;font-size:20px}.death-certificate.delayed p{line-height:2;margin:18px}.death-certificate.delayed p span{display:inline-block;min-width:2in;border-bottom:1px solid #111}@media print{.death-certificate{margin:0;page-break-after:always}.death-certificate:last-of-type{page-break-after:auto}}
.theme-dark-gradient .birth-certificate{color:#168226}.theme-dark-gradient .marriage-certificate{color:#111}.theme-dark-gradient .death-certificate{color:#138428}
.theme-dark-gradient .text-dark{color:#fff!important}.theme-dark-gradient .card h1,.theme-dark-gradient .card h2,.theme-dark-gradient .card h3,.theme-dark-gradient .card h4,.theme-dark-gradient .card h5,.theme-dark-gradient .card h6,.theme-dark-gradient .card li{color:#fff}.theme-dark-gradient .btn-registry,.theme-dark-gradient .btn-warning{background:#198754!important;border-color:#198754!important;color:#fff!important}.theme-dark-gradient .btn-registry:hover,.theme-dark-gradient .btn-warning:hover{background:#157347!important;border-color:#146c43!important;color:#fff!important}.theme-dark-gradient .btn-outline-success,.theme-dark-gradient .btn-outline-primary{border-color:#36b878;color:#5bd69a}.theme-dark-gradient .btn-outline-success:hover,.theme-dark-gradient .btn-outline-primary:hover{background:#198754;border-color:#198754;color:#fff}
.report-print-sheet{background:#fff;color:#24342b;border:1px solid #d9e4dd;border-radius:1rem;padding:2rem;box-shadow:0 .5rem 1.5rem rgba(12,81,51,.08)}.report-letterhead{display:flex;align-items:center;justify-content:center;gap:1rem;text-align:center;padding-bottom:1rem;border-bottom:3px double #0c5133}.report-letterhead img{width:76px;height:76px;border-radius:50%;object-fit:cover}.report-letterhead div{font-size:.9rem;line-height:1.3}.report-letterhead strong,.report-letterhead span{display:block}.report-letterhead strong{font-family:Georgia,serif;font-size:1.35rem;text-transform:uppercase;color:#0c5133}.report-letterhead span{font-weight:600}.report-title{text-align:center;margin:1.5rem 0}.report-title h1{font:700 1.6rem Georgia,serif;text-transform:uppercase;letter-spacing:.06em;color:#193d2b}.report-title p{margin:0}.report-meta{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem;padding:.7rem 1rem;background:#f1f6f3;border-left:4px solid #0c5133;font-size:.86rem}.report-table-card{border-radius:.35rem;overflow:hidden}.report-table thead th{background:#0c5133!important;color:#fff!important;text-transform:uppercase;font-size:.78rem;letter-spacing:.04em;padding:.85rem}.report-table td{padding:.8rem .85rem}.report-total td{background:#e6f0ea!important;color:#0c5133!important;font-weight:800;border-top:2px solid #0c5133}.report-signature{display:grid;grid-template-columns:1fr 1fr;gap:5rem;margin:4rem 2rem 1.5rem;text-align:center}.report-signature span{display:block;border-top:1px solid #333}.report-signature strong,.report-signature small{display:block}.report-document-note{text-align:center;color:#6c757d;font-size:.75rem;margin:2.5rem 0 0}@media(max-width:600px){.report-print-sheet{padding:1rem}.report-letterhead img{width:58px;height:58px}.report-meta{flex-direction:column}.report-signature{gap:2rem;margin-left:0;margin-right:0}}
@media print{@page{size:A4 portrait;margin:.55in}.report-page{max-width:none!important;padding:0!important}.report-screen-heading,.report-controls{display:none!important}.report-print-sheet{border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;color:#111!important}.report-letterhead{border-color:#0c5133!important}.report-table-card{box-shadow:none!important;border:1px solid #777!important}.report-table{color:#111!important}.report-table thead th{background:#0c5133!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-total td,.report-meta{background:#e6f0ea!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.report-signature{break-inside:avoid}.report-document-note{position:fixed;bottom:0;left:0;right:0}}
.staff-sidebar nav a{display:flex;align-items:center;justify-content:space-between;gap:.75rem}.pending-nav-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:1.75rem;height:1.55rem;padding:0 .5rem;border:1px solid rgba(255,255,255,.55);border-radius:999px;color:#fff;font-size:.75rem;font-weight:800;line-height:1;letter-spacing:.02em;box-shadow:0 3px 10px rgba(0,0,0,.28)}.pending-nav-badge.request-count{background:linear-gradient(135deg,#ff8a00,#dc3545)}.pending-nav-badge.user-count{background:linear-gradient(135deg,#3b82f6,#6f42c1)}.staff-sidebar nav a.active .pending-nav-badge{border-color:#fff;box-shadow:0 0 0 2px rgba(255,255,255,.18),0 3px 10px rgba(0,0,0,.3)}
.seal{overflow:hidden;background:#fff!important;border:2px solid rgba(255,255,255,.9);box-shadow:0 2px 8px rgba(0,0,0,.25);flex:0 0 38px;width:38px;height:38px}.seal img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.staff-brand .seal{width:52px;height:52px;flex-basis:52px;margin-right:.65rem}
.marriage-request-table{min-width:760px;border:1px solid #b8c9bf}.marriage-request-table th,.marriage-request-table td{border:1px solid #b8c9bf;padding:.65rem;vertical-align:middle}.marriage-request-table thead th{background:var(--registry);color:#fff;text-align:center}.marriage-request-table tbody th{width:25%;background:#eef4f0;color:var(--registry);font-weight:700}.marriage-request-table td{width:37.5%}.marriage-request-table .form-control,.marriage-request-table .form-select{border-radius:.35rem}
.birth-2016-page{width:8.5in;min-height:13in;margin:0 auto 1rem;background:#fff;color:#235f35;border:1.5px solid #4f8a60;font-family:Arial,sans-serif;font-size:10px;box-sizing:border-box}.b16-header{display:grid;grid-template-columns:1fr 3fr 1fr;align-items:start;text-align:center;padding:8px;border-bottom:1px solid #4f8a60}.b16-header h1{font-size:24px;letter-spacing:1px;margin:3px}.b16-header small:first-child{text-align:left}.b16-table{width:100%;border-collapse:collapse}.b16-table td,.b16-table th{border:1px solid #4f8a60;padding:5px;vertical-align:top}.b16-table td{height:38px}.b16-table span{display:block;color:#111;margin-top:4px;min-height:13px}.b16-table small{display:block;text-align:center;color:#52715b}.b16-table .vertical{width:32px;writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;letter-spacing:4px;font-size:14px}.b16-three,.b16-two{display:grid;gap:8px}.b16-three{grid-template-columns:repeat(3,1fr)}.b16-two{grid-template-columns:repeat(2,1fr)}.signature-lines span,.line{border-top:1px solid #4f8a60;margin-top:18px;padding-top:3px;text-align:center}.b16-table .remarks{height:105px}.coding{text-align:center;word-spacing:22px;margin-top:14px}.birth-affidavits{color:#333;padding:16px;border-color:#4f8a60}.birth-affidavits section{border:1.5px solid #4f8a60;padding:16px;min-height:5.85in}.birth-affidavits h1{text-align:center;font-size:20px;margin:0 0 4px}.birth-affidavits section>small{display:block;text-align:center}.birth-affidavits p,.birth-affidavits li{font-size:12px;line-height:1.7}.affidavit-sign{margin-top:45px;text-align:center}.affidavit-sign span,.affidavit-sign.single{border-top:1px solid #555;padding-top:5px}.affidavit-sign.single{width:50%;margin-left:auto}.birth-affidavits h3{font-size:13px;margin-top:30px}@media print{@page{size:legal portrait;margin:.18in}.birth-2016-page{margin:0;border:1px solid #4f8a60;page-break-after:always}.birth-2016-page:last-of-type{page-break-after:auto}.birth-affidavits section{break-inside:avoid}}

/* Equal legal-page inset on both pages; the affidavit page uses one outer frame only. */
.birth-2016-page{padding:.28in}
.birth-affidavits{padding:.28in;border:1.5px solid #4f8a60}
.birth-affidavits section{border:0;padding:0;min-height:5.85in}
.birth-affidavits section+section{margin-top:.28in}
@media print{.birth-2016-page,.birth-affidavits{padding:.28in}.birth-affidavits section{border:0}}

/* Matching front/back frames for duplex printing on one legal-size sheet. */
.birth-2016-page,.birth-affidavits{width:8.5in;height:13in;min-height:13in;border:1.5px solid #4f8a60;padding:.28in;box-sizing:border-box}
@media print{
 @page{size:8.5in 13in;margin:0}
 .birth-2016-page,.birth-affidavits{width:8.5in;height:13in;min-height:13in;margin:0;padding:.28in;border:1.5px solid #4f8a60;box-sizing:border-box;overflow:hidden;print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* One aligned inset frame on both sides of an 8.5 x 14 inch sheet. */
.birth-2016-page,.birth-affidavits{position:relative;width:8.5in;height:14in;min-height:14in;border:0}
.birth-2016-page::before,.birth-affidavits::before{content:"";position:absolute;inset:.28in;border:1.5px solid #4f8a60;pointer-events:none;z-index:2}
@media print{
 @page{size:8.5in 14in;margin:0}
 .birth-2016-page,.birth-affidavits{width:8.5in;height:14in;min-height:14in;border:0}
}

/* Back-page affidavit layout based on Municipal Form No. 102. */
.birth-affidavits{font-size:11px;color:#444}
.birth-affidavits section{min-height:0;padding:.08in .12in;border:0;box-sizing:border-box}
.birth-affidavits section+section{margin-top:0}
.birth-affidavits .b16-paternity{height:4.45in}
.birth-affidavits .b16-delayed{height:8.99in;border-top:1.5px solid #4f8a60}
.birth-affidavits h1{font-size:19px;line-height:1.05;margin:0;text-align:center;color:#444}
.birth-affidavits section>small{font-size:10px;line-height:1.1}
.birth-affidavits p{font-size:11px;line-height:1.65;margin:.16in 0}
.birth-affidavits ol{margin:.1in 0 0 .26in;padding-left:.14in}
.birth-affidavits li{font-size:10.5px;line-height:1.45;margin-bottom:.08in;padding-left:.05in}
.fill-line{display:inline-block;min-width:1.45in;min-height:13px;border-bottom:1px solid #777;text-align:center;vertical-align:baseline}
.fill-line.short{min-width:.65in}.fill-line.wide{min-width:2.5in}.fill-line.extra-wide{min-width:4.5in}
.choice-line{margin:.07in 0 0 .15in}.choice-indent{display:inline-block;width:.42in}.box{display:inline-block;width:.25in;height:.25in;margin-right:.18in;border:1px solid #777;vertical-align:middle}
.birth-affidavits .affidavit-sign{margin-top:.35in}.birth-affidavits .affidavit-sign span{padding-top:3px}
.birth-affidavits .sworn{margin-top:.32in}.birth-affidavits .truth{text-align:center;margin-top:.17in}
.officer-sign{margin-top:.55in;text-align:center;gap:.6in}.officer-sign span{border-top:1px solid #777;padding-top:3px;line-height:2.2}.officer-sign i{font-style:normal;border-top:1px solid #aaa;display:block;margin-top:.04in}
.b16-delayed .officer-sign{margin-top:.38in}.b16-delayed .affidavit-sign.single{margin-top:.3in}

/* Revised August 2016 Certificate of Marriage — legal-size duplex form. */
.marriage-2016-page{position:relative;width:8.5in;height:14in;min-height:14in;margin:0 auto 1rem;padding:.28in;background:#fff;color:#5f2945;font:9px Arial,sans-serif;box-sizing:border-box;overflow:hidden}
.marriage-2016-page::before{content:"";position:absolute;inset:.28in;border:1.4px solid #914b70;pointer-events:none;z-index:3}
.m16-header{height:.72in;display:grid;grid-template-columns:1fr 3fr 1fr;align-items:start;text-align:center;padding:7px;border-bottom:1px solid #914b70;box-sizing:border-box}.m16-header small:first-child{text-align:left}.m16-header h1{font-size:23px;letter-spacing:2px;margin:2px}.m16-location{height:.48in;display:grid;grid-template-columns:2fr 1fr;border-bottom:1px solid #914b70}.m16-location>div{padding:5px}.m16-location>div+div{border-left:1px solid #914b70}.m16-location strong{display:block;text-align:center;font-size:13px;color:#222}.m16-parties{width:100%;border-collapse:collapse;table-layout:fixed}.m16-parties th,.m16-parties td{border:1px solid #914b70;padding:3px;height:25px;vertical-align:middle}.m16-parties th:first-child{width:1.05in;text-align:left}.m16-parties thead th{text-align:center;font-size:12px}.m16-parties td{color:#222;text-align:center;font-weight:600}.name-three{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.name-three small{display:block;color:#914b70;font-weight:400}.m16-field,.m16-two>div,.m16-cert,.office-sign>div,.m16-remarks,.m16-coding{border:1px solid #914b70;padding:4px;box-sizing:border-box}.m16-field span{color:#222;font-weight:600}.m16-two{display:grid;grid-template-columns:1fr 1fr}.m16-cert{line-height:1.35}.m16-cert p{margin:3px 0}.m16-cert p span{display:inline-block;min-width:1.5in;border-bottom:1px dotted #777;text-align:center;color:#222;font-weight:600}.signatures{gap:.5in;text-align:center;margin:.12in .15in 0}.signatures span{border-top:1px dotted #777;padding-top:2px;color:#222}.m16-three{display:grid;grid-template-columns:repeat(3,1fr)}.check-row{margin:3px 0}.check-row i,.rites i{display:inline-block;width:.19in;height:.19in;border:1px solid #914b70;vertical-align:middle;margin-right:5px}.office-sign>div{min-height:.62in}.office-sign span{display:block;margin-top:.18in;text-align:center;color:#222}.m16-remarks{height:.77in}.m16-coding{height:.48in}.marriage-affidavits{font-size:10px;color:#444}.back-witness{height:1.05in;padding:.08in .12in;border-bottom:1.4px solid #914b70}.m16-four-lines{height:.6in;background:repeating-linear-gradient(to bottom,transparent 0,transparent .27in,#999 .28in)}.marriage-affidavits section{padding:.08in .14in;box-sizing:border-box}.marriage-affidavits h1{text-align:center;font-size:18px;margin:0 0 .06in}.marriage-affidavits p,.marriage-affidavits li{line-height:1.45;margin:.08in 0}.solemnizing-affidavit{height:5.35in;border-bottom:1.4px solid #914b70}.delayed-marriage{height:7.04in}.mline{display:inline-block;min-width:1.35in;border-bottom:1px solid #777;text-align:center}.mline.wide{min-width:3.6in}.marriage-affidavits ol{margin:.08in 0;padding-left:.25in}.marriage-affidavits li{padding-left:.04in}.affiant-line{width:3.2in;margin:.28in 0 .14in auto;border-top:1px solid #777;text-align:center;padding-top:3px}.administering{gap:.55in;margin-top:.35in;text-align:center}.administering span{border-top:1px solid #777;padding-top:4px}.rites{display:flex;justify-content:space-around;margin:.08in 0}.rites span{white-space:nowrap}
@media print{@page{size:8.5in 14in;margin:0}.marriage-2016-page{width:8.5in;height:14in;min-height:14in;margin:0;padding:.28in;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.marriage-2016-page:last-of-type{page-break-after:auto}}

/* High-fidelity proportions and field guides from the clean Form No. 97 scan. */
.marriage-2016-page{font-size:8.4px}.m16-header{height:.7in}.m16-header h1{font-size:25px;font-weight:800}.m16-location{height:.5in;font-size:10px}.m16-parties th,.m16-parties td{height:23px;padding:2px 3px}.m16-parties tbody tr:nth-child(1)>*{height:51px}.m16-parties tbody tr:nth-child(2)>*{height:35px}.m16-parties tbody tr:nth-child(3)>*{height:38px}.m16-parties tbody tr:nth-child(5)>*,.m16-parties tbody tr:nth-child(8)>*,.m16-parties tbody tr:nth-child(10)>*,.m16-parties tbody tr:nth-child(12)>*,.m16-parties tbody tr:nth-child(14)>*{height:37px}.field-value{display:block;color:#222}.field-guide{display:block;color:#c05b8d;text-align:center;font-size:7px;font-weight:400}.date-four{display:grid;grid-template-columns:3fr 1fr;height:100%}.date-four span{display:flex;flex-direction:column;justify-content:center}.date-four span+span{border-left:1px solid #d9a0bd}.date-four small,.split-value small{display:block;color:#c05b8d;font-size:7px;font-weight:400}.split-value{display:grid;grid-template-columns:1fr 2fr;height:100%;align-items:center}.split-value span+span{border-left:1px solid #d9a0bd;height:100%;display:flex;flex-direction:column;justify-content:center}.marriage-place{height:.42in;position:relative;padding-left:1.3in}.marriage-place>b{position:absolute;left:4px}.marriage-place span{display:block;text-align:center;border-bottom:1px dotted #999}.marriage-place small,.marriage-datetime small{display:block;text-align:center;color:#333;font-size:7px}.marriage-datetime>div{height:.38in;border-top:0}.marriage-datetime span{display:inline-block;min-width:2in;border-bottom:1px dotted #999;text-align:center;color:#222;font-weight:600}.m16-cert.contracting{height:1.28in}.m16-cert.solemnizing{height:2.05in}.m16-cert{font-size:8.4px}.m16-cert .centered{text-align:center}.square{display:inline-block;width:.18in;height:.18in;border:1px solid #d26b9d;vertical-align:middle}.cert-further{margin-left:.35in}.solemnizing .check-row{line-height:1.2}.solemnizing .signatures{margin-top:.16in}.m16-field{height:.42in}.office-sign>div{height:.75in}.m16-remarks{height:.95in}.m16-coding{height:.52in}.back-witness{height:1.18in}.solemnizing-affidavit{height:5.42in}.delayed-marriage{height:6.84in}.marriage-affidavits h1{font-size:19px;font-weight:800}.marriage-affidavits{font-size:9.5px}.marriage-affidavits p,.marriage-affidavits li{line-height:1.38}.marriage-affidavits .check-row{margin:5px 0}.marriage-affidavits .check-row i,.marriage-affidavits .rites i{width:.24in;height:.24in}.delayed-marriage .affiant-line{margin-top:.35in}.delayed-marriage .administering{margin-top:.55in}

.death-2016-page{position:relative;width:8.5in;height:13in;min-height:13in;margin:0 auto 1rem;padding:.28in;background:#fff;color:#155db5;font:8.5px Arial,sans-serif;box-sizing:border-box;overflow:hidden}.death-2016-page::before{content:"";position:absolute;inset:.28in;border:1.4px solid #2879d0;pointer-events:none;z-index:3}.d16-header{height:.68in;display:grid;grid-template-columns:1fr 3fr 1fr;text-align:center;padding:6px;border-bottom:1px solid #2879d0}.d16-header small:first-child{text-align:left}.d16-header h1{font-size:23px;color:#222;margin:0}.d16-location{display:grid;grid-template-columns:2fr 1fr;height:.5in;border-bottom:1px solid #2879d0}.d16-location>div{padding:4px}.d16-location>div+div{border-left:1px solid #2879d0}.d16-location strong{display:block;text-align:center;color:#222}.d16-grid{display:grid}.d16-grid>div,.d16-box,.d16-causes,.d16-cert,.d16-remarks,.d16-coding,.death-back section{border:1px solid #2879d0;padding:4px;box-sizing:border-box}.d16-grid span,.d16-box span{display:block;color:#222;font-weight:600;margin-top:5px}.d16-grid small{display:block;text-align:center}.g-name{grid-template-columns:3fr 1fr}.g-name>div{height:.62in}.g-vitals{grid-template-columns:1fr 1fr 1.5fr}.g-vitals>div{height:.48in}.g-place{grid-template-columns:3fr 1fr}.g-place>div{height:.47in}.g-three{grid-template-columns:1fr 1fr 2fr}.g-three>div{height:.43in}.d16-band{text-align:center;font-size:14px;color:#222;margin:0;padding:2px;border:1px solid #2879d0}.d16-band small{display:block;font-size:9px}.d16-causes{height:1.02in}.cause{display:grid;grid-template-columns:1.3in 1fr 1.8in;margin:3px}.cause span,.cause i{border-bottom:1px solid #2879d0;color:#222;font-style:normal}.options{text-align:center;margin-top:5px}.g-external{grid-template-columns:4fr 1fr}.g-external>div{height:.5in}.g-attendant{grid-template-columns:2fr 1fr}.g-attendant>div{height:.5in}.d16-cert{height:1.42in}.d16-cert p{margin:3px}.g-cert{grid-template-columns:3fr 2fr}.g-cert>div{border:0!important;height:.98in}.g-cert>div+div{border-left:1px solid #2879d0!important;text-align:center}.permits>div{height:.5in}.d16-box{height:.37in}.g-two{grid-template-columns:1fr 1fr}.office>div{height:1.2in}.d16-remarks{height:.78in}.d16-coding{height:.42in}.death-back h1{text-align:center;font-size:14px;color:#222;margin:0;padding:3px}.infant-three{grid-template-columns:1fr 1.5fr 1.5fr}.infant-three>div{height:.5in}.death-back section:first-child{height:2.75in}.infant-causes{padding:4px}.infant-causes p{margin:5px}.infant-causes>b:last-child{display:block;text-align:center}.back-cert{height:1.75in}.back-cert p{font-size:10px;text-align:center}.write-lines{height:.45in;border-bottom:1px solid #2879d0}.back-cert .g-two>div{height:.55in}.death-delayed{height:6.45in}.death-delayed p,.death-delayed li{font-size:10px;line-height:1.55}.death-delayed li{margin-bottom:.12in}.dline{display:inline-block;min-width:1.5in;border-bottom:1px solid #2879d0;color:#222;text-align:center}.dline.wide{min-width:3.5in}.dcheck i{display:inline-block;width:.24in;height:.24in;border:1px solid #2879d0;vertical-align:middle;margin:4px}.death-affiant{width:3.2in;margin:.35in 0 .3in auto;border-top:1px solid #2879d0;text-align:center}.death-delayed .administering{margin-top:.55in;gap:.5in;text-align:center}.death-delayed .administering span{border-top:1px solid #2879d0;padding-top:4px}@media print{@page{size:8.5in 13in;margin:0}.death-2016-page{width:8.5in;height:13in;min-height:13in;margin:0;padding:.28in;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.death-2016-page:last-of-type{page-break-after:auto}}

/* Exact PDF-page template with database values positioned over the original blanks. */
.death-template-page{position:relative;width:8.5in;height:13in;margin:0 auto 1rem;background:#fff;overflow:hidden;box-sizing:border-box}.death-template-page>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}.death-overlay{position:absolute;z-index:2;color:#111;font:700 9px Arial,sans-serif;line-height:1.05;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dt-province{left:17%;top:7.6%;width:48%}.dt-city{left:17%;top:9.3%;width:48%}.dt-registry{left:72%;top:7.5%;width:22%}.dt-first{left:20%;top:11.7%;width:16%}.dt-middle{left:36%;top:11.7%;width:16%}.dt-last{left:52%;top:11.7%;width:16%}.dt-sex{left:78%;top:11.7%;width:16%}.dt-death-date{left:20%;top:15.6%;width:19%}.dt-birth-date{left:42%;top:15.6%;width:18%}.dt-age{left:67%;top:16.3%;width:26%}.dt-death-place{left:21%;top:20.2%;width:50%}.dt-civil{left:76%;top:20.2%;width:18%}.dt-religion{left:12%;top:23.8%;width:20%}.dt-citizenship{left:33%;top:23.8%;width:17%}.dt-residence{left:52%;top:23.8%;width:43%}.dt-occupation{left:12%;top:27.1%;width:18%}.dt-father{left:30%;top:27.1%;width:32%}.dt-mother{left:63%;top:27.1%;width:32%}.dt-immediate{left:31%;top:34.6%;width:45%}.dt-antecedent{left:31%;top:36.2%;width:45%}.dt-underlying{left:31%;top:37.8%;width:45%}.dt-other{left:44%;top:39.5%;width:48%}.dt-int-a{left:78%;top:36.2%;width:16%}.dt-int-u{left:78%;top:37.8%;width:16%}.dt-external{left:30%;top:45.4%;width:55%}.dt-external-place{left:30%;top:47.1%;width:55%}.dt-autopsy{left:87%;top:45.3%;width:8%}.dt-attendant{left:18%;top:50%;width:48%}.dt-duration{left:72%;top:50%;width:23%}.dt-physician{left:20%;top:59.4%;width:38%}.dt-physician-title{left:20%;top:61.1%;width:38%}.dt-physician-address{left:20%;top:62.6%;width:38%}.dt-disposal{left:12%;top:65.3%;width:22%}.dt-permit{left:39%;top:65.3%;width:24%}.dt-cemetery{left:13%;top:69.6%;width:80%}.dt-informant{left:20%;top:76%;width:30%}.dt-relationship{left:25%;top:77.7%;width:25%}.dt-informant-address{left:20%;top:79.3%;width:30%}.dt-received{left:20%;top:85.5%;width:30%}.dt-remarks{left:12%;top:91%;width:80%;text-align:left;white-space:normal}.db-embalmed-name{left:41%;top:39.5%;width:43%}.db-affiant{left:15%;top:55.2%;width:40%}.db-deceased{left:18%;top:60.3%;width:35%}.db-death-date{left:58%;top:60.3%;width:27%}.db-death-place{left:86%;top:60.3%;width:10%}.db-burial-place{left:35%;top:62.6%;width:39%}.db-burial-date{left:65%;top:64%;width:25%}.db-attendant{left:35%;top:68.5%;width:40%}.db-cause{left:45%;top:74%;width:45%}.db-reason{left:48%;top:77.4%;width:42%}
@media print{@page{size:8.5in 13in;margin:0}.death-template-page{width:8.5in;height:13in;margin:0;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.death-template-page:last-of-type{page-break-after:auto}}

/* Pure HTML/CSS Municipal Form No. 103 (Revised August 2016). */
.death-html-page{width:8.5in;height:13in;margin:0 auto 1rem;padding:.22in;background:#fff;color:#222;font:8px Arial,sans-serif;box-sizing:border-box;overflow:hidden}.dh-head{height:.62in;display:grid;grid-template-columns:1fr 3fr 1fr;align-items:start;text-align:center;color:#222;border:1.2px solid #2879d0;border-bottom:0;padding:5px;box-sizing:border-box}.dh-head small:first-child{text-align:left}.dh-head h1{font-size:22px;line-height:1;margin:0;font-weight:800}.dh-table{width:100%;height:11.94in;border-collapse:collapse;table-layout:fixed;color:#222}.dh-table td,.dh-table th{border:1.2px solid #2879d0;padding:3px;vertical-align:top;box-sizing:border-box}.dh-table b,.dh-table th{font-weight:500}.dh-table span{display:block;text-align:center;font-weight:600;margin-top:4px}.dh-table small{display:block;color:#2879d0;text-align:center;font-size:7px}.dh-table u,.death-html-back u{display:inline-block;min-width:1in;border-bottom:1px solid #2879d0;text-decoration:none;text-align:center}.dh-local{height:.5in}.dh-local u{width:4.3in}.dh-local strong{display:block;text-align:center;margin-top:6px}.dh-name{height:.6in}.dh-3{display:grid;grid-template-columns:repeat(3,1fr)}.dh-table tr:nth-child(3){height:.5in}.dh-table tr:nth-child(4){height:.48in}.dh-table tr:nth-child(5),.dh-table tr:nth-child(6){height:.43in}.dh-band{height:.32in;text-align:center;font-size:13px!important;font-weight:800!important;padding:2px!important}.dh-band small{font-size:8px}.dh-causes{height:1in;position:relative}.dh-cause-head{position:absolute;right:10px;top:5px}.dh-cause{display:grid;grid-template-columns:1.55in 1fr 1.65in;gap:4px;margin-top:4px}.dh-cause span,.dh-cause i{border-bottom:1px solid #2879d0;margin:0;text-align:left;font-style:normal}.dh-options{text-align:center;margin-top:5px}.dh-line{border-bottom:1px solid #2879d0;margin:5px 10px}.dh-death-cert{height:1.32in}.dh-death-cert p{margin:4px}.dh-cert-grid{display:grid;grid-template-columns:3fr 2fr}.dh-cert-grid>div{line-height:1.7;padding:0 8px}.dh-cert-grid>div+div{border-left:1px solid #2879d0;text-align:center}.dh-cert-grid u{width:70%}.dh-office{height:1.08in}.dh-office td{line-height:1.5}.dh-office p{margin:3px;text-align:center}.dh-office u{width:60%}.dh-office-short{height:.85in}.dh-remarks{height:.72in}.dh-coding{height:.42in}.dh-coding div{text-align:center;margin-top:7px;word-spacing:28px}.death-html-back{border:1.2px solid #2879d0;padding:.22in}.death-html-back section{border:1.2px solid #2879d0;margin:0;box-sizing:border-box}.death-html-back h1{text-align:center;font-size:14px;line-height:1;margin:0;padding:4px;font-weight:800}.dh-back-grid{display:grid}.dh-back-grid>div{border:1px solid #2879d0;padding:4px;box-sizing:border-box}.dh-back-grid.three{grid-template-columns:1fr 1.6fr 1.5fr}.dh-back-grid.two{grid-template-columns:1fr 1fr}.dh-back-grid small{display:block;color:#2879d0;text-align:center}.dh-infant{height:2.72in}.dh-back-grid.three>div{height:.48in}.dh-back-grid.two>div{height:.43in}.dh-infant-causes{padding:5px}.dh-infant-causes p{margin:5px 25px}.dh-infant-causes p u{width:65%}.dh-infant-causes strong{display:block;text-align:center}.dh-postmortem{height:1.72in}.dh-embalmer{height:1.72in}.dh-postmortem p,.dh-embalmer p{font-size:9px;text-align:center;margin:6px}.dh-write{height:.4in;margin:0 5px;border-bottom:1px solid #2879d0}.death-html-back .signatures>div{height:.55in;border:0;line-height:1.65}.dh-delayed{height:6.38in;padding:5px}.dh-delayed p,.dh-delayed li{font-size:9.5px;line-height:1.5}.dh-delayed li{margin-bottom:.12in}.dh-delayed ol{padding-left:.32in}.dh-check{margin:5px}.dh-check i{display:inline-block;width:.24in;height:.24in;border:1px solid #2879d0;vertical-align:middle;margin-right:8px}.dh-delayed u{min-width:1.8in}.dh-affiant{width:3.5in;margin:.35in 0 .25in auto;border-top:1px solid #2879d0;text-align:center}.death-html-back .administering{gap:.45in;margin-top:.45in;text-align:center}.death-html-back .administering span{border-top:1px solid #2879d0;padding-top:4px}
@media print{@page{size:8.5in 13in;margin:0}.death-html-page{width:8.5in;height:13in;margin:0;padding:.22in;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.death-html-page:last-of-type{page-break-after:auto}}
.supporting-documents-card{overflow:hidden;border:1px solid #cfe0d7}.supporting-documents-card .card-header{background:linear-gradient(110deg,var(--registry2),var(--registry));color:#fff;border:0;padding:1rem 1.25rem}.supporting-documents-card .card-header small{color:#dcebe3}.supporting-documents-card .list-group-item{border-color:#e1ebe5;padding:1rem 1.25rem}.supporting-documents-card .list-group-item strong{color:var(--registry)}
.hero,.theme-dark-gradient .hero{background-image:linear-gradient(115deg,rgba(4,38,24,.88),rgba(8,61,39,.62)),url('../img/ligawasan-hero.jpg');background-size:cover;background-position:center 48%;background-repeat:no-repeat}

/* Green and warm-cream theme inspired by the supplied reference. */
:root{--registry:#377b2d;--registry2:#174b23;--registry3:#2d6828;--gold:#f2dfa0;--cream:#fff4c7;--ink:#17351d;--panel:#245d27;--panel-dark:#17451f;--surface:#f4f8ed}
.theme-dark-gradient{background:radial-gradient(circle at 20% 0,#5ca84a 0,#377b2d 30%,#245d27 68%,#17451f 100%) fixed;color:#fff}.theme-dark-gradient main{min-height:calc(100vh - 75px)}
.theme-dark-gradient .bg-registry{background:linear-gradient(110deg,#17451f,#377b2d);border-bottom:1px solid rgba(242,223,160,.55)}
.theme-dark-gradient .navbar-brand,.theme-dark-gradient .nav-link{color:#fff!important}.theme-dark-gradient .nav-link:hover{color:var(--cream)!important}
.theme-dark-gradient .hero{background-image:linear-gradient(110deg,rgba(19,67,28,.86),rgba(55,123,45,.58)),url('../img/ligawasan-hero.jpg');box-shadow:inset 0 -1px 0 rgba(242,223,160,.55)}
.theme-dark-gradient .hero h1,.theme-dark-gradient .hero h2{font-family:Georgia,'Times New Roman',serif;color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.35)}
.theme-dark-gradient .hero .text-warning{color:var(--cream)!important}.theme-dark-gradient .hero .card{background:rgba(24,72,31,.92);border-left:3px solid var(--gold)!important}
.theme-dark-gradient .card{background:linear-gradient(145deg,rgba(43,104,40,.97),rgba(27,76,31,.97));color:#fff;border:1px solid rgba(242,223,160,.24);box-shadow:0 14px 34px rgba(10,44,18,.28)!important}
.theme-dark-gradient .card h1,.theme-dark-gradient .card h2,.theme-dark-gradient .card h3,.theme-dark-gradient .card h4,.theme-dark-gradient .card h5,.theme-dark-gradient .card h6{font-family:Georgia,'Times New Roman',serif;color:#fff}
.theme-dark-gradient .text-muted,.theme-dark-gradient small{color:#d9e8ce!important}.theme-dark-gradient a{color:var(--cream)}
.theme-dark-gradient .table{--bs-table-bg:rgba(20,67,28,.38);--bs-table-color:#fff;--bs-table-border-color:rgba(242,223,160,.25);--bs-table-hover-bg:rgba(242,223,160,.09);--bs-table-hover-color:#fff}
.theme-dark-gradient .table thead th{background:#17451f;color:var(--cream);border-bottom:2px solid var(--gold)}
.theme-dark-gradient .form-control,.theme-dark-gradient .form-select{background:#f8fbf3;border:1px solid #b9cda9;color:#18391f}.theme-dark-gradient .form-control:focus,.theme-dark-gradient .form-select:focus{background:#fff;color:#18391f;border-color:var(--gold);box-shadow:0 0 0 .2rem rgba(242,223,160,.27)}.theme-dark-gradient .form-control::placeholder{color:#71836d}.theme-dark-gradient .form-select option{background:#fff;color:#18391f}
.theme-dark-gradient .btn-registry,.theme-dark-gradient .btn-warning{background:var(--gold)!important;border-color:var(--gold)!important;color:#234d25!important;font-weight:700}.theme-dark-gradient .btn-registry:hover,.theme-dark-gradient .btn-warning:hover{background:var(--cream)!important;border-color:var(--cream)!important;color:#14371c!important}
.theme-dark-gradient .btn-outline-primary,.theme-dark-gradient .btn-outline-success{border-color:var(--gold);color:var(--cream)}.theme-dark-gradient .btn-outline-primary:hover,.theme-dark-gradient .btn-outline-success:hover{background:var(--gold);border-color:var(--gold);color:#234d25}
.theme-dark-gradient .registry-section{background:rgba(21,69,30,.62);border:1px solid rgba(242,223,160,.3)}.theme-dark-gradient .registry-section h5{color:var(--cream);border-color:rgba(242,223,160,.35)}
.theme-dark-gradient .marriage-request-table thead th{background:#17451f;color:var(--cream)}.theme-dark-gradient .marriage-request-table tbody th{background:#285f2b;color:var(--cream)}
.theme-dark-gradient .supporting-documents-card .card-header{background:linear-gradient(110deg,#17451f,#377b2d);border-bottom:2px solid var(--gold)}.theme-dark-gradient .supporting-documents-card .list-group-item{background:rgba(23,69,31,.7);color:#fff;border-color:rgba(242,223,160,.2)}.theme-dark-gradient .supporting-documents-card .list-group-item strong{color:var(--cream)}
.theme-dark-gradient .alert-info{background:#285f2b;color:#f4ffe9;border-color:#8fbd75}.theme-dark-gradient .alert-warning{background:#665b28;color:#fff7ce;border-color:#d6c568}.theme-dark-gradient .alert-success{background:#1b5931;color:#e8ffef;border-color:#65a87b}.theme-dark-gradient .alert-danger{background:#713b39;color:#ffe9e6;border-color:#c77c74}
.theme-dark-gradient footer{background:#153e1d!important;border-color:rgba(242,223,160,.35)!important;color:#dbe8d2}
.theme-dark-gradient .staff-sidebar{background:linear-gradient(180deg,#123c1b 0%,#245d27 55%,#17451f 100%);border-right:1px solid rgba(242,223,160,.42)}.theme-dark-gradient .staff-sidebar nav a{color:#eef7e8}.theme-dark-gradient .staff-sidebar nav a:hover,.theme-dark-gradient .staff-sidebar nav a.active{background:rgba(242,223,160,.16);color:var(--cream);box-shadow:inset 3px 0 0 var(--gold)}.theme-dark-gradient .staff-user{border-color:rgba(242,223,160,.35)}
.theme-dark-gradient .staff-mobilebar{background:#17451f;color:#fff;border-bottom:1px solid var(--gold)}.theme-dark-gradient .staff-mobilebar .card{background:#245d27}
.theme-dark-gradient .stat-card{border-left:5px solid var(--gold)}.theme-dark-gradient .timeline{border-color:var(--gold)}.theme-dark-gradient .timeline-item:before{background:var(--gold)}
.theme-dark-gradient .status-pending{background:#fff1b8;color:#6b5000}.theme-dark-gradient .status-approved,.theme-dark-gradient .status-ready_for_pickup{background:#d9f2cf;color:#205628}.theme-dark-gradient .status-rejected,.theme-dark-gradient .status-disapproved{background:#ffd8d3;color:#7a2520}.theme-dark-gradient .status-released{background:#e5eadf;color:#384938}
.theme-dark-gradient .birth-certificate,.theme-dark-gradient .birth-2016-page,.theme-dark-gradient .marriage-certificate,.theme-dark-gradient .marriage-2016-page,.theme-dark-gradient .death-certificate,.theme-dark-gradient .death-html-page{background:#fff;color:inherit}
@media(max-width:800px){.theme-dark-gradient .staff-content{background:transparent}.theme-dark-gradient .staff-mobilebar a{color:var(--cream)}}

/* Admin: keep the reference theme on the navigation sidebar only. */
.theme-dark-gradient.staff-ui{background:#f4f7f5;color:#183028}.theme-dark-gradient.staff-ui main{background:#f4f7f5;min-height:100vh}.theme-dark-gradient.staff-ui .staff-content{background:#f4f7f5}
.theme-dark-gradient.staff-ui .staff-content .card{background:#fff;color:#183028;border:0;box-shadow:0 8px 24px rgba(16,65,37,.09)!important}.theme-dark-gradient.staff-ui .staff-content .card h1,.theme-dark-gradient.staff-ui .staff-content .card h2,.theme-dark-gradient.staff-ui .staff-content .card h3,.theme-dark-gradient.staff-ui .staff-content .card h4,.theme-dark-gradient.staff-ui .staff-content .card h5,.theme-dark-gradient.staff-ui .staff-content .card h6{font-family:inherit;color:#183028}
.theme-dark-gradient.staff-ui .staff-content .text-muted,.theme-dark-gradient.staff-ui .staff-content small{color:#6c757d!important}.theme-dark-gradient.staff-ui .staff-content a:not(.btn){color:#27682f}
.theme-dark-gradient.staff-ui .staff-content .table{--bs-table-bg:#fff;--bs-table-color:#26372d;--bs-table-border-color:#dce7df;--bs-table-hover-bg:#f2f7f3;--bs-table-hover-color:#26372d}.theme-dark-gradient.staff-ui .staff-content .table thead th{background:#e8f0ec;color:#214b2b;border-bottom:1px solid #ccdcd1}
.theme-dark-gradient.staff-ui .staff-content .form-control,.theme-dark-gradient.staff-ui .staff-content .form-select{background:#fff;border-color:#ced8d1;color:#24362b}.theme-dark-gradient.staff-ui .staff-content .form-control:focus,.theme-dark-gradient.staff-ui .staff-content .form-select:focus{background:#fff;color:#24362b;border-color:#4b8a55;box-shadow:0 0 0 .2rem rgba(55,123,45,.15)}.theme-dark-gradient.staff-ui .staff-content .form-control::placeholder{color:#87938b}.theme-dark-gradient.staff-ui .staff-content .form-select option{background:#fff;color:#24362b}
.theme-dark-gradient.staff-ui .staff-content .btn-registry{background:#377b2d!important;border-color:#377b2d!important;color:#fff!important}.theme-dark-gradient.staff-ui .staff-content .btn-registry:hover{background:#245d27!important;border-color:#245d27!important;color:#fff!important}
.theme-dark-gradient.staff-ui .staff-content .btn-outline-primary,.theme-dark-gradient.staff-ui .staff-content .btn-outline-success{border-color:#377b2d;color:#377b2d}.theme-dark-gradient.staff-ui .staff-content .btn-outline-primary:hover,.theme-dark-gradient.staff-ui .staff-content .btn-outline-success:hover{background:#377b2d;border-color:#377b2d;color:#fff}
.theme-dark-gradient.staff-ui .staff-content .registry-section{background:#fbfdfc;border-color:#dce8e1}.theme-dark-gradient.staff-ui .staff-content .registry-section h5{color:#377b2d;border-color:#dce8e1}.theme-dark-gradient.staff-ui .staff-content .marriage-request-table tbody th{background:#eef4f0;color:#377b2d}.theme-dark-gradient.staff-ui .staff-content .marriage-request-table thead th{background:#377b2d;color:#fff}
.theme-dark-gradient.staff-ui .staff-content .supporting-documents-card .card-header{background:#377b2d;color:#fff}.theme-dark-gradient.staff-ui .staff-content .supporting-documents-card .card-header small{color:#e7f1e8!important}.theme-dark-gradient.staff-ui .staff-content .supporting-documents-card .list-group-item{background:#fff;color:#26372d;border-color:#e1ebe5}.theme-dark-gradient.staff-ui .staff-content .supporting-documents-card .list-group-item strong{color:#377b2d}
.theme-dark-gradient.staff-ui .staff-content .alert-info{background:#dff0f4;color:#245664;border-color:#b8dce4}.theme-dark-gradient.staff-ui .staff-content .alert-warning{background:#fff3cd;color:#664d03;border-color:#ffecb5}.theme-dark-gradient.staff-ui .staff-content .alert-success{background:#d1e7dd;color:#0f5132;border-color:#badbcc}.theme-dark-gradient.staff-ui .staff-content .alert-danger{background:#f8d7da;color:#842029;border-color:#f5c2c7}
.theme-dark-gradient.staff-ui footer{background:#fff!important;border-color:#dce6df!important;color:#6c757d}
.theme-dark-gradient.staff-ui .staff-mobilebar{background:#17451f;color:#fff}.theme-dark-gradient.staff-ui .staff-mobilebar .card{background:#fff;color:#183028}.theme-dark-gradient.staff-ui .staff-mobilebar a{color:#27682f}

/* Resident/public: keep the reference palette on the navbar only. */
.theme-dark-gradient.resident-ui{background:#f5f8f6;color:#183028}.theme-dark-gradient.resident-ui main{background:#f5f8f6;min-height:calc(100vh - 75px)}
.theme-dark-gradient.resident-ui .bg-registry{background:linear-gradient(110deg,#17451f,#377b2d);border-bottom:1px solid rgba(242,223,160,.55)}
.theme-dark-gradient.resident-ui main>.container .card,.theme-dark-gradient.resident-ui main>section:not(.hero) .card{background:#fff;color:#183028;border:0;box-shadow:0 8px 24px rgba(16,65,37,.09)!important}
.theme-dark-gradient.resident-ui main>.container .card h1,.theme-dark-gradient.resident-ui main>.container .card h2,.theme-dark-gradient.resident-ui main>.container .card h3,.theme-dark-gradient.resident-ui main>.container .card h4,.theme-dark-gradient.resident-ui main>.container .card h5,.theme-dark-gradient.resident-ui main>.container .card h6,.theme-dark-gradient.resident-ui main>section:not(.hero) .card h1,.theme-dark-gradient.resident-ui main>section:not(.hero) .card h2,.theme-dark-gradient.resident-ui main>section:not(.hero) .card h3,.theme-dark-gradient.resident-ui main>section:not(.hero) .card h4,.theme-dark-gradient.resident-ui main>section:not(.hero) .card h5,.theme-dark-gradient.resident-ui main>section:not(.hero) .card h6{font-family:inherit;color:#183028}
.theme-dark-gradient.resident-ui main .text-muted,.theme-dark-gradient.resident-ui main small{color:#6c757d!important}.theme-dark-gradient.resident-ui main a:not(.btn){color:#27682f}
.theme-dark-gradient.resident-ui .hero{background-image:linear-gradient(115deg,rgba(8,61,39,.88),rgba(12,81,51,.66)),url('../img/ligawasan-hero.jpg')}.theme-dark-gradient.resident-ui .hero h1,.theme-dark-gradient.resident-ui .hero h2{font-family:inherit;color:#fff}.theme-dark-gradient.resident-ui .hero .card{background:#fff;color:#183028;border:0!important}.theme-dark-gradient.resident-ui .hero .card h5,.theme-dark-gradient.resident-ui .hero .card li{font-family:inherit;color:#183028}
.theme-dark-gradient.resident-ui .table{--bs-table-bg:#fff;--bs-table-color:#26372d;--bs-table-border-color:#dce7df;--bs-table-hover-bg:#f2f7f3;--bs-table-hover-color:#26372d}.theme-dark-gradient.resident-ui .table thead th{background:#e8f0ec;color:#214b2b;border-bottom:1px solid #ccdcd1}
.theme-dark-gradient.resident-ui .form-control,.theme-dark-gradient.resident-ui .form-select{background:#fff;border-color:#ced8d1;color:#24362b}.theme-dark-gradient.resident-ui .form-control:focus,.theme-dark-gradient.resident-ui .form-select:focus{background:#fff;color:#24362b;border-color:#4b8a55;box-shadow:0 0 0 .2rem rgba(55,123,45,.15)}.theme-dark-gradient.resident-ui .form-control::placeholder{color:#87938b}.theme-dark-gradient.resident-ui .form-select option{background:#fff;color:#24362b}
.theme-dark-gradient.resident-ui .btn-registry{background:#377b2d!important;border-color:#377b2d!important;color:#fff!important}.theme-dark-gradient.resident-ui .btn-registry:hover{background:#245d27!important;border-color:#245d27!important;color:#fff!important}.theme-dark-gradient.resident-ui .btn-outline-primary,.theme-dark-gradient.resident-ui .btn-outline-success{border-color:#377b2d;color:#377b2d}.theme-dark-gradient.resident-ui .btn-outline-primary:hover,.theme-dark-gradient.resident-ui .btn-outline-success:hover{background:#377b2d;border-color:#377b2d;color:#fff}
.theme-dark-gradient.resident-ui .registry-section{background:#fbfdfc;border-color:#dce8e1}.theme-dark-gradient.resident-ui .registry-section h5{color:#377b2d;border-color:#dce8e1}.theme-dark-gradient.resident-ui .marriage-request-table tbody th{background:#eef4f0;color:#377b2d}.theme-dark-gradient.resident-ui .marriage-request-table thead th{background:#377b2d;color:#fff}
.theme-dark-gradient.resident-ui .supporting-documents-card .card-header{background:#377b2d;color:#fff}.theme-dark-gradient.resident-ui .supporting-documents-card .card-header small{color:#e7f1e8!important}.theme-dark-gradient.resident-ui .supporting-documents-card .list-group-item{background:#fff;color:#26372d;border-color:#e1ebe5}.theme-dark-gradient.resident-ui .supporting-documents-card .list-group-item strong{color:#377b2d}
.theme-dark-gradient.resident-ui .alert-info{background:#dff0f4;color:#245664;border-color:#b8dce4}.theme-dark-gradient.resident-ui .alert-warning{background:#fff3cd;color:#664d03;border-color:#ffecb5}.theme-dark-gradient.resident-ui .alert-success{background:#d1e7dd;color:#0f5132;border-color:#badbcc}.theme-dark-gradient.resident-ui .alert-danger{background:#f8d7da;color:#842029;border-color:#f5c2c7}
.theme-dark-gradient.resident-ui footer{background:#fff!important;border-color:#dce6df!important;color:#6c757d}
/* Final Municipal Form No. 102 reference — 8.5 x 14 in duplex HTML form. */
.birth-final-page{--bf:#5f9862;position:relative;width:8.5in;height:14in;margin:0 auto 1rem;padding:.28in;background:#fff;color:#333;font:8.3px Arial,sans-serif;box-sizing:border-box;overflow:hidden}.birth-final-page *{box-sizing:border-box}.bf-frame{height:100%;border:1.35px solid var(--bf)}.bf-header{height:.74in;display:grid;grid-template-columns:1.15fr 3fr 1.45fr;align-items:start;padding:7px;text-align:center;border-bottom:1px solid var(--bf)}.bf-header small:first-child{text-align:left}.bf-header h1{font-size:23px;letter-spacing:2px;margin:2px 0 0;color:#333}.bf-location{height:.52in;display:grid;grid-template-columns:2fr 1fr;border-bottom:1px solid var(--bf);font-size:10px}.bf-location>div{padding:4px}.bf-location>div+div{border-left:1px solid var(--bf)}.bf-location b{display:block;text-align:center;color:#111}.bf-table{width:100%;border-collapse:collapse;table-layout:fixed}.bf-table th,.bf-table td{border:1px solid var(--bf);padding:3px;vertical-align:top}.bf-table td{height:.39in}.bf-table th.bf-vertical{width:.25in;writing-mode:vertical-rl;transform:rotate(180deg);text-align:center;vertical-align:middle;letter-spacing:3px;font-size:12px}.bf-table span{display:block;color:#111;text-align:center;font-weight:600;margin-top:3px;min-height:10px}.bf-table small{display:block;text-align:center;color:#55765b;font-size:7px;font-weight:400}.bf-three{display:grid;grid-template-columns:repeat(3,1fr);gap:3px}.bf-name td{height:.48in}.bf-child-extra td{height:.58in}.bf-child-extra small{min-height:16px}.bf-mother-stats td{height:.58in;text-align:center}.bf-mother-stats td:last-child{text-align:left}.bf-parents{height:.61in;border-bottom:1px solid var(--bf);padding:4px}.bf-parents>div{display:grid;grid-template-columns:2fr 3fr;margin-top:4px}.bf-parents span{color:#111;font-weight:600;text-align:center}.bf-parents span+span{border-left:1px solid var(--bf)}.bf-parents small{color:#55765b}.bf-parents span small{display:block;font-size:7px}.bf-attendant{height:1.48in;border-bottom:1px solid var(--bf);padding:4px}.bf-attendant p{margin:5px;text-align:center}.birth-final-page u{display:inline-block;min-width:1.1in;min-height:10px;border-bottom:1px solid #777;text-decoration:none;text-align:center;color:#111;font-weight:600}.bf-sign-two{display:grid;grid-template-columns:1fr 1fr;gap:.45in;text-align:center}.bf-attendant .bf-sign-two{margin-top:.18in;line-height:1.75}.bf-office{height:2.15in;display:grid;grid-template:1fr 1fr/1fr 1fr}.bf-office section{padding:4px;border-right:1px solid var(--bf);border-bottom:1px solid var(--bf);line-height:1.65}.bf-office section:nth-child(even){border-right:0}.bf-office p{margin:5px;text-align:center}.bf-office span{display:block}.bf-remarks{height:1.12in;padding:4px;border-bottom:1px solid var(--bf)}.bf-coding{height:.58in;padding:4px}.bf-coding div{text-align:center;margin-top:9px;word-spacing:21px}.birth-final-back{color:#555;font-size:9.5px}.birth-final-back .bf-frame{padding:0}.birth-final-back h1{font-size:18px;line-height:1;margin:0;text-align:center;color:#444}.birth-final-back section>small{display:block;text-align:center}.birth-final-back p,.birth-final-back li{line-height:1.55}.bf-paternity{height:4.45in;padding:.12in;border-bottom:1.35px solid var(--bf)}.bf-paternity p{margin:.18in 0}.bf-parent-sign{margin-top:.42in}.bf-parent-sign span,.bf-admin-sign span{border-top:1px solid #888;padding-top:3px}.bf-paternity .bf-admin-sign{margin-top:.65in}.bf-delayed{height:8.97in;padding:.08in .13in}.bf-delayed ol{margin:.12in 0 0 .25in;padding-left:.15in}.bf-delayed li{margin-bottom:.1in;padding-left:.04in}.bf-delayed li div{margin:.07in 0 .03in .12in}.bf-delayed li i{display:inline-block;width:.25in;height:.25in;border:1px solid #888;vertical-align:middle;margin-right:.15in}.bf-delayed p{margin:.16in 0}.bf-delayed>p:first-of-type u{min-width:4in}.bf-truth{text-align:center;margin-top:.24in!important}.bf-affiant{width:3.2in;margin:.32in 0 .25in auto;border-top:1px solid #888;text-align:center;padding-top:3px}.bf-delayed .bf-admin-sign{margin-top:.52in;line-height:2}.birth-final-back u{min-width:1.65in}.birth-final-back u:empty{min-width:2in}
@media print{@page{size:8.5in 14in;margin:0}.birth-final-page{width:8.5in;height:14in;margin:0;padding:.28in;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.birth-final-page:last-of-type{page-break-after:auto}.birth-2016-page{display:none!important}}
/* Final Form No. 97 back-page reference: full affidavit clauses and balanced legal-page spacing. */
.marriage-final-back{font-size:8.2px}.marriage-final-back .back-witness{height:1.15in}.marriage-final-back .solemnizing-affidavit{height:5.55in;padding:.07in .13in}.marriage-final-back .delayed-marriage{height:6.73in;padding:.06in .13in}.marriage-final-back h1{font-size:17px;line-height:1;margin-bottom:.04in}.marriage-final-back p,.marriage-final-back li{line-height:1.28;margin:.055in 0}.marriage-final-back ol{margin:.04in 0;padding-left:.23in}.marriage-final-back .check-row{margin:3px 0;line-height:1.18}.marriage-final-back .check-row i,.marriage-final-back .rites i{width:.22in;height:.22in}.marriage-final-back .mline{min-width:1.2in}.marriage-final-back .mline.wide{min-width:3.4in}.marriage-final-back .m16-truth{text-align:center;margin-top:.09in}.marriage-final-back .affiant-line{margin:.18in 0 .09in auto}.marriage-final-back .administering{margin-top:.25in;line-height:1.7}.marriage-final-back .delayed-marriage .administering{margin-top:.3in}.marriage-final-back .rites{margin:.04in 0}
/* Final Municipal Form No. 103 reference — 8.5 x 14 in duplex HTML form. */
.death-final-page{width:8.5in;height:14in;min-height:14in;margin:0 auto 1rem;padding:.28in;font-size:8.2px}.death-final-front .dh-head{height:.7in}.death-final-front .dh-table{height:12.74in}.death-final-front .dh-local{height:.52in}.death-final-front .dh-name{height:.64in}.death-final-front .dh-death-cert{height:1.38in}.death-final-front .dh-office{height:1.14in}.death-final-front .dh-office-short{height:.92in}.death-final-front .dh-remarks{height:.83in}.death-final-front .dh-coding{height:.48in}.death-final-back{padding:.28in}.death-final-back .dh-infant{height:2.88in}.death-final-back .dh-postmortem{height:1.83in}.death-final-back .dh-embalmer{height:1.83in}.death-final-back .dh-delayed{height:6.9in}.death-final-back .dh-delayed p,.death-final-back .dh-delayed li{line-height:1.55}.death-final-back .dh-affiant{margin-top:.38in}.death-final-back .administering{margin-top:.52in}
@media print{@page{size:8.5in 14in;margin:0}.death-final-page{width:8.5in;height:14in;min-height:14in;margin:0;padding:.28in;page-break-after:always;print-color-adjust:exact;-webkit-print-color-adjust:exact}.death-final-page:last-of-type{page-break-after:auto}}
/* Keep navigation actions readable on light cards and generator toolbars. */
.btn-outline-secondary,.print-toolbar .btn-outline-secondary{background:#fff!important;border:1px solid #52645a!important;color:#243c2e!important;font-weight:600}.btn-outline-secondary:hover,.print-toolbar .btn-outline-secondary:hover{background:#52645a!important;border-color:#52645a!important;color:#fff!important}.btn-link,.theme-dark-gradient .btn-link,.staff-ui .btn-link{display:inline-block;background:#eef4f0!important;border:1px solid #b7c8be!important;border-radius:.375rem;color:#245d27!important;font-weight:600;text-decoration:none!important;padding:.375rem .75rem}.btn-link:hover,.theme-dark-gradient .btn-link:hover,.staff-ui .btn-link:hover{background:#245d27!important;border-color:#245d27!important;color:#fff!important}.print-toolbar{gap:.75rem;align-items:center}.print-toolbar .btn{opacity:1;visibility:visible}
.bf-location .bf-locality{padding:0;display:grid;grid-template-rows:1fr 1fr}.bf-locality p{display:grid;grid-template-columns:1.35in 1fr;align-items:center;margin:0;padding:0 4px;border-bottom:1px solid var(--bf);min-height:0;overflow:hidden}.bf-locality p:last-child{border-bottom:0}.bf-locality p span{white-space:nowrap}.bf-location .bf-locality b{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;line-height:1}.bf-location .bf-registry{display:grid;grid-template-rows:auto 1fr;align-items:center;overflow:hidden}.bf-location .bf-registry b{display:block;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center;line-height:1}
.residence-format-note{margin-top:.35rem;color:#52645a!important;font-size:.78rem;font-weight:600;line-height:1.35}.theme-dark-gradient .residence-format-note{color:#d7e6d3!important}
.staff-mobile-logout{margin-left:auto;flex:0 0 auto}.staff-mobile-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staff-mobile-logout .logout-btn{background:#fff;border-width:1.5px;font-weight:700;white-space:nowrap}@media(max-width:420px){.staff-mobilebar{gap:.5rem!important}.staff-mobile-title{order:3;flex:1 0 100%;font-size:.92rem}.staff-mobile-logout{margin-left:auto}}
.registry-section .form-text,.edit-registry-section .form-text,.marriage-request-table .form-text{display:block;margin-top:.35rem;padding:.3rem .5rem;border-left:3px solid #5f8c68;border-radius:0 .25rem .25rem 0;background:#eef5ef;color:#344d3b!important;font-size:.78rem;font-weight:600;line-height:1.35;white-space:normal}.theme-dark-gradient .registry-section .form-text,.theme-dark-gradient .edit-registry-section .form-text,.theme-dark-gradient .marriage-request-table .form-text{background:#eaf3e8;color:#24422c!important;border-left-color:#f2dfa0}.marriage-place-format-note{letter-spacing:.01em}
.barangay-user-nav{display:flex;gap:.5rem;margin:1rem 0;padding:.65rem;background:#e9f1e7;border:1px solid #cadbc7;border-radius:.75rem;overflow-x:auto;scrollbar-width:thin}.barangay-user-tab{display:inline-flex;align-items:center;gap:.45rem;flex:0 0 auto;padding:.55rem .8rem;border:1px solid #9db69c;border-radius:999px;background:#fff;color:#245d27;font-size:.86rem;font-weight:700;white-space:nowrap}.barangay-user-tab span{display:inline-grid;place-items:center;min-width:1.45rem;height:1.45rem;padding:0 .35rem;border-radius:999px;background:#dbe9d8;color:#245d27;font-size:.72rem}.barangay-user-tab:hover,.barangay-user-tab.active{background:#245d27;border-color:#245d27;color:#fff}.barangay-user-tab.active span,.barangay-user-tab:hover span{background:#f2dfa0;color:#17451f}.barangay-filter-empty{margin:.75rem 0}.theme-dark-gradient.staff-ui .barangay-user-nav{background:#edf4eb;border-color:#cadbc7}
.demographic-inline-label{display:block;margin:.55rem 0 .25rem;font-size:.8rem;font-weight:700;color:#344d3b}.marriage-request-table .demographic-select+.demographic-inline-label{margin-top:.55rem}.demographic-select{min-width:150px}
.request-review-section{margin-bottom:1rem;padding:1rem;border:1px solid #d5e2d8;border-radius:.65rem;background:#f8fbf7}.request-review-section h6{margin:0 0 .75rem;color:#245d27;font-weight:800}.request-review-item{height:100%;padding:.65rem .75rem;border-left:3px solid #5f8c68;background:#fff}.request-review-item small{display:block;color:#617067;font-size:.75rem}.request-review-item strong{display:block;margin-top:.15rem;color:#1f3427;overflow-wrap:anywhere}.theme-dark-gradient .modal-content{color:#183028}.theme-dark-gradient .request-review-section{background:#f4f8ed}.theme-dark-gradient .request-review-item{background:#fff}
.theme-dark-gradient #requestReviewModal .modal-content,.theme-dark-gradient #requestReviewModal .modal-header,.theme-dark-gradient #requestReviewModal .modal-body,.theme-dark-gradient #requestReviewModal .modal-footer{background:#fff;color:#183028}.theme-dark-gradient #requestReviewModal .modal-title{color:#183028!important}.theme-dark-gradient #requestReviewModal .text-muted,.theme-dark-gradient #requestReviewModal small,.theme-dark-gradient #requestReviewModal .request-review-item small{color:#5c6d63!important}.theme-dark-gradient #requestReviewModal .request-review-item strong{color:#1f3427!important}.theme-dark-gradient #requestReviewModal .request-review-section h6{color:#245d27!important}.theme-dark-gradient #requestReviewModal .alert-warning{background:#fff3cd;color:#664d03;border-color:#ffecb5}.theme-dark-gradient #requestReviewModal .btn-close{filter:none;opacity:.75}#requestReviewModal .modal-title,#requestReviewModal .modal-body,#requestReviewModal .modal-footer{color:#183028}#requestReviewModal .request-review-item strong{color:#1f3427}
.report-print-sheet{page:report}@page report{size:A4 portrait;margin:.55in}
.registry-records-table th:first-child,.registry-records-table td:first-child{width:64px}.registry-records-total td{padding:1rem!important;background:linear-gradient(90deg,#e7f2eb,#d2e8d9)!important;color:#174b2d!important;border-top:2px solid #2f7850!important;font-size:1rem;font-weight:800}.registry-records-total td:last-child{font-size:1.25rem;color:#0c5133!important}.theme-dark-gradient .registry-records-total td{background:linear-gradient(90deg,#dcecdf,#c8e2cf)!important;color:#174b2d!important}
.records-barangay-filters{display:flex;gap:.65rem;margin:0 auto;padding:1rem max(1rem,calc((100% - 1280px)/2));overflow-x:auto;background:#e8f1e8;border-block:1px solid #c8dbc9}.records-barangay-filter{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex:0 0 155px;padding:.72rem .85rem;border:1px solid #b9ceb9;border-radius:.75rem;background:#fff;color:#245d27!important;text-decoration:none!important;font-size:.82rem;font-weight:700;box-shadow:0 2px 6px rgba(20,70,35,.06)}.records-barangay-filter strong{display:grid;place-items:center;min-width:2rem;height:2rem;padding:0 .4rem;border-radius:999px;background:#dcebdd;color:#17451f;font-size:.85rem}.records-barangay-filter:hover,.records-barangay-filter.active{background:#245d27;color:#fff!important;border-color:#245d27;transform:translateY(-1px)}.records-barangay-filter:hover strong,.records-barangay-filter.active strong{background:#f2dfa0;color:#17451f}.theme-dark-gradient.staff-ui .records-barangay-filters{background:#edf4eb;border-color:#cadbc7}@media(max-width:800px){.records-barangay-filters{padding:.75rem}.records-barangay-filter{flex-basis:145px}}
.records-barangay-filters{gap:.4rem;padding:.55rem max(.75rem,calc((100% - 1280px)/2));background:#f2f6f2}.records-barangay-filter{justify-content:flex-start;gap:.45rem;flex:0 0 auto;min-width:0;padding:.38rem .58rem;border-radius:999px;font-size:.75rem;box-shadow:none}.records-barangay-filter strong{display:inline-flex;min-width:1.4rem;height:1.4rem;padding:0 .3rem;font-size:.68rem}.records-barangay-filter:hover,.records-barangay-filter.active{transform:none}@media(max-width:800px){.records-barangay-filters{padding:.45rem .65rem}.records-barangay-filter{padding:.34rem .52rem}}
.user-account-tabs{display:inline-flex;gap:.35rem;margin:1rem 0 .15rem;padding:.3rem;border:1px solid #cbdccf;border-radius:.75rem;background:#edf4ef}.user-account-tab{display:inline-flex;align-items:center;gap:.55rem;padding:.58rem .9rem;border:0;border-radius:.55rem;background:transparent;color:#315c41;font-weight:800}.user-account-tab span{display:inline-grid;place-items:center;min-width:1.55rem;height:1.55rem;padding:0 .35rem;border-radius:999px;background:#d7e7db;font-size:.72rem}.user-account-tab:hover,.user-account-tab.active{background:#245d27;color:#fff}.user-account-tab:hover span,.user-account-tab.active span{background:#f2dfa0;color:#17451f}.resident-barangay-panel .barangay-user-nav{margin-top:.65rem}.theme-dark-gradient.staff-ui .user-account-tabs{background:#edf4ef;border-color:#cbdccf}@media(max-width:576px){.user-account-tabs{display:flex}.user-account-tab{flex:1;justify-content:center;padding:.52rem .6rem;font-size:.82rem}}
.dashboard-stat-card{position:relative;min-height:118px;overflow:hidden;border:0!important;transition:transform .18s ease,box-shadow .18s ease}.dashboard-stat-card:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(15,55,25,.2)!important}.dashboard-stat-card .card-body{position:relative;z-index:1}.dashboard-stat-label{margin-bottom:.3rem;color:rgba(255,255,255,.9)!important;font-weight:700;letter-spacing:.02em}.theme-dark-gradient.staff-ui .dashboard-stat-card{color:#fff!important;border:0!important}.theme-dark-gradient.staff-ui .dashboard-stat-pending{background:linear-gradient(135deg,#a96c0f,#d99a29)!important}.theme-dark-gradient.staff-ui .dashboard-stat-approved{background:linear-gradient(135deg,#23713c,#43a05c)!important}.theme-dark-gradient.staff-ui .dashboard-stat-rejected{background:linear-gradient(135deg,#9f3f43,#c95b57)!important}.theme-dark-gradient.staff-ui .dashboard-stat-ready_for_pickup{background:linear-gradient(135deg,#11766e,#279d90)!important}.theme-dark-gradient.staff-ui .dashboard-stat-released{background:linear-gradient(135deg,#3a5c76,#63839b)!important}@media(max-width:576px){.dashboard-stat-card{min-height:105px}.dashboard-stat-card .display-6{font-size:2rem}}
