/* additions of the HR portal to the shared Gromic stylesheet */
.flash.info { background: #eef4fb; border-color: #c4d7ef; color: #1d4f91; }
.flash.warning { background: var(--amber-soft); border-color: #f5c99a; color: var(--amber); }
.app-version { font-size: 10px; color: #a3aca7; }
.sidebar .brand { position: relative; }
.app-version { position: absolute; right: 12px; bottom: 10px; }
.nav-count { display: inline-block; min-width: 18px; padding: 0 6px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 11px; font-weight: 600; text-align: center; margin-left: 4px; }
.sidebar nav .group { font-weight: 700; color: var(--ink); border-top: 1px solid var(--line); margin-top: 6px; }
.red-text { color: var(--red); font-weight: 600; }
.center { text-align: center; }
.ms-btn { width: 100%; justify-content: center; margin-bottom: 8px; }
.local-login { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.local-login summary { cursor: pointer; color: var(--muted); margin-bottom: 10px; }
.count-line { margin: 0 0 14px; }
.todo-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 4px; }
.decision { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.circuit { list-style: none; margin: 0; padding: 0; }
.circuit li { padding: 8px 0 8px 12px; border-left: 3px solid var(--line); margin-bottom: 4px; }
.circuit li.approved { border-left-color: var(--green); }
.circuit li.rejected { border-left-color: var(--red); }
.circuit li.pending { border-left-color: var(--gold); background: var(--gold-soft); }
.circuit li.cancelled, .circuit li.skipped { opacity: .6; }
.circuit .mark { display: inline-block; width: 18px; font-weight: 700; color: var(--muted); }
.circuit li.approved .mark { color: var(--green); }
.circuit li.rejected .mark { color: var(--red); }
.circuit .comment { margin: 4px 0 0 18px; color: var(--ink); }
tr.unread td { font-weight: 600; }
tr.warn-row td { background: var(--amber-soft); }
.small-badge { font-size: 10px; margin-left: 6px; }
.small-value { font-size: 16px !important; }
.title-form input { font-size: 20px; font-weight: 600; border-color: transparent; padding: 2px 6px; min-width: 320px; }
.title-form input:hover, .title-form input:focus { border-color: #cbd5d0; }
.line-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.receipt { height: 75vh; position: sticky; top: 12px; }
.receipt iframe, .receipt img { width: 100%; height: 100%; border: 0; object-fit: contain; display: block; }
@media (max-width: 900px) { .line-split { grid-template-columns: 1fr; } .receipt { position: static; height: 60vh; } }
/* shared absence calendar */
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; margin-bottom: 8px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-right: 4px; vertical-align: -2px; }
.cal-wrap { overflow-x: auto; }
table.cal { font-size: 11px; min-width: 900px; }
table.cal th, table.cal td { padding: 4px 2px; text-align: center; border-left: 1px solid var(--line); min-width: 24px; }
table.cal th.who, table.cal td.who { text-align: left; padding-left: 10px; min-width: 160px; position: sticky; left: 0; background: #fff; font-size: 13px; }
table.cal .off, .legend .cal-off { background: #eef1f0; }
table.cal td.ok, .legend .cal-ok { background: var(--green); color: #fff; }
table.cal td.ok a { color: #fff; }
table.cal td.pending, .legend .cal-pending { background: repeating-linear-gradient(45deg, var(--gold-soft), var(--gold-soft) 4px, #f1dfb3 4px, #f1dfb3 8px); }
table.cal td.half { background-image: linear-gradient(90deg, transparent 50%, rgba(255,255,255,.55) 50%); }
.btn:disabled, .btn[disabled] { opacity: .45; cursor: not-allowed; }
.import-box { position: relative; }
.import-box summary { list-style: none; }
.import-box summary::-webkit-details-marker { display: none; }
.import-box[open] form { position: absolute; right: 0; top: 44px; width: 380px; z-index: 10; box-shadow: 0 8px 30px rgba(0,0,0,.12); }
