/* THRS V14.64 — Fingerprint Center | DARK COLOR PALETTE ONLY.
   Approved screenshot: Midnight Navy & Muted Cumin Gold.
   Scope: existing Fingerprint Center admin tab, never light mode.
   Never change layout, dimensions, spacing, content, form logic, or artwork.
   Last-link load ensures V14.17 pale surfaces are replaced in the real browser. */

html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]{
 --fp17-paper:#143249!important;
 --fp17-soft:#1b3c51!important;
 --fp17-muted:#bdd1df!important;
 --fp17-ink:#eff5f8!important;
 --fp17-line:#507085!important;
 --fp17-gold:#d7ad5b!important;
 --fp17-shadow:0 8px 20px rgba(0,6,15,.25),inset 0 1px 0 rgba(255,255,255,.035)!important;
 color-scheme:dark!important;
}
/* Both existing panels are already in place; change only their skin. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] :is(
 .thrs-attendance-raw-log-panel,section.thrs-premium-panel
){
 background:linear-gradient(155deg,#193b51,#102b40)!important;
 border-color:#507186!important;
 border-top-color:#d4a854!important;
 color:#eaf3f8!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-premium-panel-head{
 border-bottom-color:#4c6a7e!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-premium-panel-head :is(h3,svg){
 color:#f0f5f9!important;
}
/* Small labels were ivory; dark gold chips retain their intent. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-premium-panel-head .thrs-premium-panel-badge{
 background:#3d342a!important;
 background-image:none!important;
 color:#f0d095!important;
 border-color:#947b4e!important;
}
/* Sheet fingerprint log: independent summary and empty state remain dark. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-raw-log-panel>.thrs-premium-panel-body>div:first-child{
 background:#16364b!important;color:#edf4f8!important;border-color:#507186!important;
 box-shadow:none!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-raw-log-panel .thrs-premium-panel-body :is(input:not([type="checkbox"]),select){
 background:#193c51!important;background-color:#193c51!important;
 border-color:#5b798e!important;
 color:#f0f6f9!important;-webkit-text-fill-color:#f0f6f9!important;
 color-scheme:dark!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-raw-log-panel select option{
 background:#17374c!important;color:#edf5f9!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-raw-log-panel input::placeholder{
 color:#afc4d2!important;-webkit-text-fill-color:#afc4d2!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-raw-log-panel .thrs-premium-panel-body .thrs-empty-state,
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-raw-log-panel .thrs-premium-panel-body [class*="empty-state"],
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] .thrs-attendance-raw-log-panel .thrs-premium-panel-body>div:first-child>div:has(>svg:first-child + div + div){
 background:linear-gradient(140deg,#24455b,#15354b)!important;
 color:#eef6f9!important;border-color:#6b8594!important;box-shadow:none!important;
}
/* Import workflow art untouched; only fix low contrast of display labels. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"] > section.thrs-premium-panel > .thrs-premium-panel-body > div:first-child{
 border-color:#ad8448!important;
}
/* Monthly deficit calendar: V14.17 had DARK -> '#fff2db,#fff' explicitly.
   Same box, controls, day-grid and save action. Pure color changes. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(2){
 --fp17-ink:#f0f5f9!important;
 --fp17-muted:#bcd0dc!important;
 --fp17-line:#547587!important;
 background:#17394f!important;
 background-image:linear-gradient(115deg,#1a4055,#112d42)!important;
 border-color:#58778a!important;
 color:#eaf4f8!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(2)
 > div:first-child > div:first-child > div:first-child{
 color:#f1f6f8!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(2)
 > div:first-child > div:first-child > div:nth-child(2){
 color:#c5d7e1!important;
}
/* Inline select/input styles from React and original v14.17 both forced white. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(2) :is(select,input:not([type="checkbox"])){
 background:#1d4257!important;background-color:#1d4257!important;
 background-image:none!important;
 border-color:#678397!important;
 color:#f1f6fa!important;-webkit-text-fill-color:#f1f6fa!important;
 color-scheme:dark!important;caret-color:#e7bf72!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(2) select option{
 background:#1d4257!important;color:#f1f6fa!important;
}
/* Work-day / holiday squares keep original position, selected states and logic. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(2)
 > div:nth-child(2) > div{
 background:#204359!important;
 background-color:#204359!important;
 border-color:#58788c!important;
 color:#ecf4f8!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(2)
 > div:nth-child(2) > div > div:first-child{
 color:#f0f6fa!important;
}
/* Upload card and latest imports: dark surfaces with readable text, same
   upload label, file input, status badges and buttons. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div{
 background:#17394e!important;
 background-color:#17394e!important;
 border-color:#527285!important;
 color:#edf5f9!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div>div:first-child>div:first-child>div:first-child{
 color:#f1f5fa!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div>div:first-child>div:first-child>div:nth-child(2){
 color:#bfd1dd!important;
}
/* Dropzone: replacing white icon tile, white-tinted label and navy-on-navy text. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:first-child>label{
 background:#193c51!important;
 background-image:linear-gradient(145deg,#1d4053,#102d42)!important;
 border-color:#c39951!important;
 color:#f1f6fa!important;
 box-shadow:none!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:first-child>label>div>div:first-child{
 background:#473d2c!important;
 border-color:#ae8952!important;
 color:#f1cf8b!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:first-child>label>div>div:last-child>div:first-child{
 color:#f0f6f9!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:first-child>label>div>div:last-child>div:last-child{
 color:#bed1dc!important;
}
/* Validation/help text beneath upload remains legible. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:first-child>div:last-child>div{
 color:#bfd0db!important;
}
/* List tiles are never white in Dark, even when a particular import is active. */
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:last-child>div:nth-child(2)>button{
 background:#1c3e54!important;
 background-color:#1c3e54!important;
 background-image:none!important;
 border-color:#58778b!important;
 color:#edf5f9!important;
 box-shadow:none!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:last-child>div:nth-child(2)>button:hover{
 background:#274b60!important;
 border-color:#b79351!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:last-child>div:nth-child(2)>button>div:first-child>strong{
 color:#f0f5f9!important;
}
html[data-theme="dark"] body .thrs-page-attendance[data-thrs-attendance-v1411="admin"]
 > section.thrs-premium-panel > .thrs-premium-panel-body > div:nth-child(3)>div:last-child>div:nth-child(2)>button>div:nth-child(2){
 color:#c4d5df!important;
}
/* Only deep-slate neutrals and semantic status accents. No geometry or
   interaction overrides, no actual payroll/import/approval data touched. */
