#securityContent{overflow-wrap:anywhere;padding:1.3rem}
.secRow{border-bottom:1px solid #d6dfd9;padding:1rem 0}
.secRow h3,.secRow p{margin:.3rem 0}
.secBadge{display:inline-block;margin:.2rem 0;padding:.15rem .65rem;border-radius:1rem;background:#e6f2e8;color:#183e32}
#securityContent form,.secControlRow,.secActionStrip,.secPagination{display:flex;gap:.6rem;flex-wrap:wrap;align-items:end;margin:.55rem 0}
#securityContent label{display:grid;gap:.3rem}
#securityContent label:has(input[type=checkbox]){display:flex;align-items:center;gap:.45rem}
#securityContent input:not([type=checkbox]),#securityContent select,#securityContent textarea{min-width:0;max-width:100%}
#securityContent textarea{min-width:min(16rem,100%);min-height:4rem}
.secActionStrip{align-items:start}
.secActionStrip summary,.secRegistrationQR summary{cursor:pointer;padding:.55rem 0;font-weight:600}
.secActionStrip>details[open]:has(.secVisitorFields){flex-basis:min(100%,44rem)}
#securityContent :is([data-pre],[data-walkin]),.secVisitorFields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.secVisitorFields,.secVisitorApproval{grid-column:1/-1}
.secVisitorVehicle{display:grid;gap:.3rem}
.secVisitorVehicleRow{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.6rem;align-items:center}
.secVisitorVehicleRow input[type=checkbox]{width:18px;height:18px;margin:0;padding:0;justify-self:start}
.secVisitorVehicleRow [name=plate]{width:100%;min-width:0;box-sizing:border-box}
.secMetrics,.secFacts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,10rem),1fr));gap:.65rem;margin:.65rem 0}
.secMetrics :is(button,.secMetricSummary){display:grid;justify-items:start;padding:.75rem;text-align:left}
.secMetrics strong{font-size:1.5rem}
.secDashboardGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,19rem),1fr));gap:.8rem;margin:.8rem 0}
.secDashboardPanel{min-width:0;padding:1rem;margin-top:.8rem}
.secDashboardGrid .secDashboardPanel{margin-top:0}
.secDashboardPanel h2,.secDashboardPanel p{margin:.3rem 0}
.secChartActions,.secChartRanges{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.secChartActions{justify-content:space-between}
.secChartRanges button[aria-pressed=true]{color:#fff;background:#285942}
.secTrendScroll{overflow-x:auto;margin:.6rem 0;padding:.2rem;scrollbar-width:thin}
.secTrendBars{display:grid;grid-template-columns:repeat(var(--points),minmax(2.2rem,1fr));gap:.15rem;min-width:calc(var(--points)*2.35rem)}
.secTrendBars .secTrendBar{padding:.22rem .1rem;min-width:0;display:grid;grid-template-rows:6.2rem 1.25rem;place-items:center;gap:.15rem;background:transparent;border-color:transparent;box-shadow:none;font-size:.72rem}
.secTrendBars .secTrendBar[aria-pressed=true]{background:#d9eddf;border-color:#3a7458;color:#173d2e}
.secTrendBarPlot{width:70%;height:100%;display:flex;align-items:end;background:rgba(22,76,56,.06);border-radius:.35rem .35rem 0 0}
.secTrendBarPlot span{width:100%;height:var(--height);background:#387661;border-radius:.35rem .35rem 0 0}
.secCategorySummary{display:grid;grid-template-columns:minmax(4rem,6rem) minmax(0,1fr);align-items:start;gap:.75rem}
.secDonut{aspect-ratio:1;border-radius:50%;background:var(--segments,#d5e3d9);display:grid;place-items:center;margin:.35rem 0}
.secDonut span{display:grid;place-items:center;width:63%;aspect-ratio:1;border-radius:50%;background:#f3faf5;color:#173c30;font-weight:700}
.secChartList{display:grid;gap:.35rem}
.secChartRank,.secCompanyRank{display:grid;align-items:center;gap:.4rem;text-align:left;min-width:0}
.secChartRank{grid-template-columns:.7rem minmax(0,1fr) auto}
.secCompanyRank{grid-template-columns:minmax(0,1fr) auto}
.secSwatch{width:.7rem;height:.7rem;border-radius:50%}
.secCompanyRank meter{grid-column:1/-1;width:100%;height:.65rem;accent-color:#387661}
.secFacts dt{font-weight:600}
.secFacts dd{margin:0}
.secSignature{display:block;width:min(100%,30rem);border:1px solid #a2b9ab;border-radius:.5rem}
.secDialog{max-width:min(44rem,calc(100% - 2rem))}
.secDialog ul{columns:2;padding-inline-start:1.25rem}
.secPassDialog{width:min(36rem,calc(100% - 1.5rem));max-height:calc(100% - 1.5rem);overflow:auto}
.secPassDialog>header,.secPassSummary{display:flex;align-items:center;justify-content:space-between;gap:.55rem}
.secPassDialog header h2{margin:0}
.secPassGates [aria-pressed=true]{background:#285942;color:#fff}
.secPassFeedback:empty{display:none}
.secPassStock ul{columns:1;list-style:none;margin:.5rem 0;padding:0}
.secPassStock li{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;padding:.5rem 0;border-bottom:1px solid #b6ccbf}
.secPassActions{display:flex;gap:.4rem;flex-wrap:wrap;margin-inline-start:auto}
#securityContent .secPassEditor form{display:grid;gap:.45rem}
.secPassEditor h3,.secPassEditor p{margin:0}
.secNotice{color:#235741}
.secVehicleModule{min-width:0}
.secVehicleModule [hidden]{display:none!important}
.secVehicleCategory [aria-pressed=true]{background:#285942;color:#fff}
.secVehicleModule [data-v-search]>label{flex:1 1 17rem}
.secVehicleModule [data-v-summary]{color:#294d3d}
.secVehicleModule [role=status]:empty{display:none}
.secVehicleScroll{max-width:100%;overflow:auto;border:1px solid var(--glassy-data-line,#b6ccbf);border-radius:var(--jxm-glass-inner-radius,.7rem)}
.secVehicleTable{width:100%;min-width:56rem;border-collapse:collapse;text-align:left;background:var(--glassy-data-fill,#fbfdfb)}
.secVehicleTable th,.secVehicleTable td{padding:.65rem .7rem;border-bottom:1px solid var(--glassy-data-line,#d6e3da);vertical-align:middle}
.secVehicleTable th{white-space:nowrap;font-weight:650}
.secVehicleTable thead th{background:var(--glassy-data-head,#e6f0e9);color:var(--glassy-muted,#254a38)}
.secVehicleTable tbody tr:last-child>*{border-bottom:0}
.secVehicleTable:not(.secVehicleReview) td:nth-child(8),.secVehicleTable td:last-child button{white-space:nowrap}
.secVehicleLegacy{display:block;color:#294d3d}
.secVehicleBadge[data-status=inactive],.secVehicleBadge[data-status=rejected]{background:#f9e4e0;color:#81271c}
.secVehicleRemarks{min-width:8rem;max-width:16rem;white-space:pre-wrap;overflow-wrap:anywhere}
.secVehicleModule .secPagination{justify-content:center;align-items:center}
.secVehicleDialog{width:min(62rem,calc(100% - 1.5rem));max-width:none;max-height:calc(100% - 1.5rem);overflow:auto}
.secVehicleDialog[aria-label="Filter & Sort"]{width:min(30rem,calc(100% - 1.5rem))}
.secVehicleDialog>header{display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.secVehicleDialog>header h2{margin:0}
.secVehicleDialog>.secVehicleRecordHeader{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;
}
#securityContent .secVehicleRecordHeader>form{margin:0}
.secVehicleRecordHeader button,.secVehicleRecordActions button{min-height:44px;white-space:nowrap}
.secVehicleRecordActions{
  display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.55rem;margin-top:1rem;
}
.secVehicleRecordActions+[data-v-fields]{width:min(100%,32rem);margin-inline-start:auto}
html[lang] .secVehicleDialog button.secVehicleDanger{
  border-color:#a8685d;background:rgba(255,246,244,.6);color:#81271c;
}
.secVehicleEdit.secVehicleDelete p{margin:.3rem 0}
#securityContent .secVehicleFilters,#securityContent .secVehicleEdit{display:grid;justify-items:start}
.secVehicleFilters label,.secVehicleEdit label{width:100%}
.secVehicleEdit textarea{width:100%}
.secVehicleReview{min-width:40rem}
.secVehicleIssue{color:#81271c}
.secVehicleDecision{margin-top:1.25rem}
#securityContent .secVehicleDecision form{display:grid;justify-items:start}
.secVehicleDecision label:has([data-sticker-serial]){width:min(100%,20rem)}
.secVehicleDecisionActions{
  display:grid;grid-template-columns:max-content minmax(0,1fr);align-items:start;
  gap:.65rem;margin-top:1rem;
}
.secVehicleDecisionActions>button{min-height:44px}
.secVehicleReject>summary{
  box-sizing:border-box;width:fit-content;min-height:44px;padding:.65rem .95rem;
  border:1px solid #a8685d;border-radius:999px;background:rgba(255,246,244,.6);
  color:#81271c;cursor:pointer;font-weight:650;
}
.secVehicleReject[open] form>label{width:min(100%,24rem)}
.secVehicleReject textarea{width:100%}
.secVehicleReject form>button{color:#81271c;border-color:#a8685d}
.secVehicleReject p{color:var(--jxm-glass-ink)}
.secRegistrationHeading{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.secRegistrationHeading>div:first-child{min-width:0}
.secRegistrationHeading [data-staff-qr-open]{white-space:nowrap}
#securityContent.secRegistrationContent{padding:0;min-height:0}
.secPending{padding:0;min-height:0;border:1px solid var(--jxm-glass-edge,#d9e3d4);overflow:hidden;color:var(--jxm-glass-ink,#183e32)}
.secPendingHeading,.secPendingRow{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.6rem}
.secPendingHeading{height:auto;min-height:56px;padding:.85rem 1.35rem;background:transparent;border:0}
.secPendingHeading h2{margin:0;font-size:.95rem}
.secPendingHeading .secBadge{margin:0;padding:.3rem .55rem;font-size:.7rem}
.secPendingBody{padding:22px}
.secPendingRow button{align-self:center}
#securityContent .secPending [data-pending-search]{margin:0}
#securityContent .secPending [data-pending-search]>label{flex:1 1 19rem;min-width:0}
#securityContent .secPending [data-pending-search] input{width:100%}
.secPending [data-pending-summary]{color:#294d3d}
.secPending [data-pending-list]>p{margin:1.8rem 0 .55rem}
.secPending .secPagination{justify-content:center;align-items:center}
.secPending .secPagination:empty{display:none}
.secPending .secPagination [aria-current=page]{background:#285942;color:white}
.secRegistrationDialog [data-review-status]:empty{display:none}
.secRegistrationDialog [role=alert]{color:#81271c}
.secStaffQrPrintPage{display:none}
@media screen{
  body.workspace-shell-active dialog.secStaffQrDialog:not(.esh-print-preview){
    box-sizing:border-box;width:min(720px,calc(100vw - 10px));max-width:none;
    max-height:calc(100% - 1rem);max-height:calc(100dvh - 1rem);overflow:auto;
    padding:1rem;
  }
  :is(.secPassDialog,.secVehicleDialog,.secStaffQrDialog)>header{
    height:auto;min-height:0;padding:0;border:0;background:transparent;
  }
  :is(.secPassDialog,.secVehicleDialog)>header{margin-bottom:1rem}
  .secStaffQrHeading,.secStaffQrToolbar,.secStaffQrTools{display:flex;align-items:center;gap:.5rem}
  .secStaffQrHeading,.secStaffQrToolbar{justify-content:space-between}
  .secStaffQrHeading{margin-bottom:1.5rem}
  .secStaffQrHeading h2{margin:0;font-size:1.3rem}
  .secStaffQrToolbar{padding:0 1.25rem .8rem;flex-wrap:wrap}
  .secStaffQrToolbar[hidden]{display:none}
  .secStaffQrToolbar h3{margin:0;font-size:.95rem}
  .secStaffQrToolbar p{margin:.15rem 0 0;color:#0b201a;font-size:.8rem}
  .secStaffQrTools{flex-wrap:wrap}
  html[lang] :is(.secRegistrationHeading,.secStaffQrDialog) :is(button,a[href]){
    display:inline-flex;align-items:center;justify-content:center;min-height:44px;
    padding:.55rem .9rem;border:1px solid var(--jxm-glass-control-edge);border-radius:999px;
    background:var(--jxm-glass-control);color:var(--jxm-glass-ink);text-align:center;text-decoration:none;
  }
  html[lang] :is(.secRegistrationHeading,.secStaffQrDialog) button.secStaffQrPrimary{
    background:var(--glassy-sidebar,#1e4939);border-color:#244e3d;color:#fff;
  }
  html[lang] .secStaffQrDialog :is(button,a[href]):hover:not(:disabled){border-color:#587e6c}
  .secStaffQrPreview{
    display:grid;justify-items:center;gap:1rem;padding:1.5rem .85rem 1.9rem;
    border-radius:var(--jxm-glass-inner-radius);background:var(--jxm-glass-inset);
  }
  .secStaffQrPreview .secVehiclePoster{
    display:block;width:min(100%,355px);height:auto;background:#fff;box-shadow:0 .55rem 1.9rem #213e3011;
  }
  .secStaffQrPreview p{margin:0;text-align:center;color:#0b201a;font-size:.8rem}
  .secStaffQrStatus{margin:.6rem 0 0;color:#264a3a}
  .secStaffQrStatus:empty{display:none}
}
.secPoster{max-width:17rem}
.secPoster svg{width:100%}
.securityPublic{margin:0;background:#f4f6f2;color:#183e32;font:16px system-ui}
.securityPublic main{margin:0 auto;max-width:38rem;padding:1rem}
.securityPublic section{background:white;padding:1.5rem;border-radius:14px}
.securityPublic label{display:grid;gap:.4rem;margin:1rem 0}
.securityPublic .secVisitorVehicle>label{margin:0}
.securityPublic input,.securityPublic select,.securityPublic button{font:inherit;padding:.7rem}
.securityPublic canvas{width:100%;height:9rem;border:1px solid #526a60;touch-action:none}
.securityPublic button{cursor:pointer}
.securityPublic header{padding:1rem 0}
.securityPublic :is(input,button):focus-visible{outline:3px solid #597b26}
.securityGroup>summary{padding:.7rem;cursor:pointer;font-weight:600}
.securityGroup>button{padding-inline-start:1.6rem}
@media (max-width:600px){
  #securityContent{padding:.85rem}
  #securityContent form>label:not(:has(input[type=checkbox])){flex-basis:100%}
  #securityContent :is([data-pre],[data-walkin]),.secVisitorFields{grid-template-columns:minmax(0,1fr)}
  .secPassDialog .secPassActions{margin-inline-start:0}
  .secDashboardPanel{padding:.7rem}
  .secStaffQrToolbar{padding-inline:0}
  .secVehicleDecisionActions{grid-template-columns:minmax(0,1fr)}
  .secVehicleReject>summary{width:100%}
  .secVehicleDialog>.secVehicleRecordHeader{grid-template-columns:minmax(0,1fr) auto}
  .secVehicleRecordHeader>form{grid-column:2;grid-row:1}
  .secVehicleRecordHeader>[data-v-pdf]{grid-column:1/-1;grid-row:2;justify-self:end}
  .secVehicleRecordActions{display:grid;grid-template-columns:minmax(0,1fr)}
}
@media print{
  @page secVisitorQrPoster{size:A4 portrait;margin:18mm}
  @page secStaffQrPoster{size:A4 portrait;margin:0}
  body.secStaffQrPrinting{display:block!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important}
  body.secStaffQrPrinting > :not(.secStaffQrPrintPage),body.secStaffQrPrinting dialog{display:none!important}
  body.secStaffQrPrinting .secStaffQrPrintPage{
    display:block;page:secStaffQrPoster;width:210mm;height:297mm;overflow:hidden;
    break-inside:avoid;print-color-adjust:exact;-webkit-print-color-adjust:exact;
  }
  body.secStaffQrPrinting .secStaffQrPrintPage svg{display:block;width:210mm;height:297mm}
  body.secPrintMode{page:secVisitorQrPoster}
  body.secPrintMode *{visibility:hidden!important}
  body.secPrintMode .secPrintChoice,body.secPrintMode .secPrintChoice *{visibility:visible!important}
  body.secPrintMode .secPrintChoice{position:fixed;inset:0 auto auto 0;width:150mm;max-width:none;text-align:center;background:white}
  body.secPrintMode .secPrintChoice button{display:none!important}
}
