/* AGR Time Clock - runner app. Brand: black & white, Playfair Display + Open Sans. */
.agrtc {
	--ink: #111111;
	--gray: #777777;
	--line: #E4E4E4;
	--soft: #F9F9F9;
	--white: #FFFFFF;
	--danger: #111111;
	font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 15px;
	line-height: 1.45;
	color: var(--ink);
	max-width: 1100px;
	margin: 0 auto;
	-webkit-font-smoothing: antialiased;
}
.agrtc *, .agrtc *::before, .agrtc *::after { box-sizing: border-box; }
.agrtc button, .agrtc input, .agrtc select, .agrtc textarea {
	font: inherit; color: inherit; margin: 0; letter-spacing: normal; text-transform: none;
	box-shadow: none; border-radius: 0; line-height: 1.3;
}
.agrtc button { cursor: pointer; background: none; border: 0; padding: 0; }
.agrtc button:focus-visible, .agrtc input:focus-visible, .agrtc select:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.agrtc h1, .agrtc h2, .agrtc h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: 0; text-transform: none; }
.agrtc svg { display: block; }
.agrtc .muted { color: var(--gray); }
.agrtc-loading { padding: 60px 16px; text-align: center; color: var(--gray); }

body.agrtc-fullscreen { margin: 0; background: var(--soft, #F9F9F9); background: #F9F9F9; }
body.agrtc-fullscreen .agrtc { max-width: none; min-height: 100vh; }
body.agrtc-fullscreen .agrtc-main { max-width: 1100px; margin: 0 auto; }

/* Header */
.agrtc-top { background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; }
.agrtc-top h1 { color: var(--white); font-size: 20px; }
.agrtc-top h1 small { display: block; font-family: 'Open Sans', sans-serif; font-weight: 400; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #BDBDBD; margin-top: 2px; }
.agrtc-user { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.agrtc-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--white); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.agrtc-link { color: #BDBDBD !important; text-decoration: underline; font-size: 13px; }
.agrtc-main { padding: 20px; }

/* Tracker bar */
.agrtc-bar { background: var(--white); border: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: stretch; min-height: 64px; }
.agrtc-bar.running { border-color: var(--ink); }
.agrtc-desc { flex: 1 1 260px; min-width: 240px; display: flex; align-items: center; padding: 10px 12px; }
.agrtc-desc input { width: 100%; border: 1px solid transparent !important; background: transparent; padding: 10px 10px; font-size: 16px; outline: none; }
.agrtc-desc input:focus { border-color: var(--line) !important; }
.agrtc-seg { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-left: 1px dashed var(--line); white-space: nowrap; position: relative; }
.agrtc-proj-btn { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; max-width: 220px; }
.agrtc-proj-btn span.nm { overflow: hidden; text-overflow: ellipsis; }
.agrtc-proj-btn.empty { color: var(--gray); font-weight: 400; }
.agrtc-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; display: inline-block; }
.agrtc-icon-btn { width: 34px; height: 34px; display: grid; place-items: center; color: var(--gray); }
.agrtc-icon-btn:hover, .agrtc-icon-btn.on { color: var(--ink); }
.agrtc-tag-val { font-size: 13px; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.agrtc-timer { font-variant-numeric: tabular-nums; font-size: 20px; font-weight: 700; min-width: 104px; text-align: right; }
.agrtc-go { min-height: 44px; align-self: center; flex: 0 0 auto; background: var(--ink) !important; color: var(--white) !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase !important; font-size: 14px; min-width: 120px; padding: 0 22px !important; margin: 10px 0; }
.agrtc-go:hover { background: #333 !important; }
.agrtc-go.stop { background: var(--white) !important; color: var(--ink) !important; border: 2px solid var(--ink) !important; }
.agrtc-go:disabled { opacity: .5; cursor: default; }
.agrtc-mode { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 10px 0 6px; }
.agrtc-mode .agrtc-icon-btn { width: 26px; height: 24px; }
.agrtc-manual { display: flex; align-items: center; gap: 6px; }
.agrtc-manual input[type=time], .agrtc-manual input[type=date] { border: 1px solid var(--line) !important; background: var(--white); padding: 6px 6px; font-size: 14px; height: 36px; }
.agrtc-manual input[type=date] { width: 140px; }
.agrtc-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--gray); }
.agrtc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: agrtc-pulse 1.4s infinite; }
@keyframes agrtc-pulse { 0%,100% { opacity: 1; } 50% { opacity: .2; } }

/* Popovers */
.agrtc-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 50; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.12); width: 290px; padding: 10px; }
.agrtc-pop input { width: 100%; border: 1px solid var(--line) !important; padding: 8px 10px; font-size: 14px; background: var(--white); }
.agrtc-pop ul { list-style: none; margin: 8px 0 0; padding: 0; max-height: 260px; overflow: auto; }
.agrtc-pop li button { width: 100%; text-align: left; display: flex; align-items: center; gap: 8px; padding: 9px 8px; font-size: 14px; }
.agrtc-pop li button:hover, .agrtc-pop li button.sel { background: var(--soft); }
.agrtc-pop .none { color: var(--gray); }
.agrtc-pop-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 8px; }

/* Week */
.agrtc-week { display: flex; align-items: center; justify-content: space-between; margin: 26px 0 10px; gap: 10px; }
.agrtc-week-nav { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.agrtc-week-nav button { width: 30px; height: 30px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; }
.agrtc-week-nav button:disabled { opacity: .35; cursor: default; }
.agrtc-total { font-size: 13px; color: var(--gray); }
.agrtc-total b { color: var(--ink); font-size: 20px; font-variant-numeric: tabular-nums; margin-left: 6px; }

/* Day groups */
.agrtc-day { background: var(--white); border: 1px solid var(--line); margin-bottom: 16px; }
.agrtc-day-head { background: var(--soft); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; font-size: 13px; color: var(--gray); }
.agrtc-day-head b { color: var(--ink); font-size: 16px; font-variant-numeric: tabular-nums; margin-left: 6px; }
.agrtc-row { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); min-height: 58px; }
.agrtc-row:last-child { border-bottom: 0; }
.agrtc-row.open { background: #FBFBFB; }
.agrtc-row-main { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 14px; }
.agrtc-row-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.agrtc-row-proj { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.agrtc-chip { font-size: 11px; border: 1px solid var(--line); padding: 2px 8px; border-radius: 20px; color: var(--gray); white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.agrtc-chip.dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.agrtc-row-time { font-size: 14px; white-space: nowrap; color: var(--ink); padding: 0 14px; border-left: 1px dashed var(--line); margin-left: auto; }
.agrtc-row-dur { flex: 0 0 auto; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; min-width: 84px; text-align: right; }
.agrtc-row-actions { display: flex; align-items: center; justify-content: flex-end; position: relative; width: 70px; flex: 0 0 70px; }
.agrtc-meta { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; min-width: 0; }
.agrtc-menu { position: absolute; right: 0; top: 100%; z-index: 40; background: var(--white); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 150px; }
.agrtc-menu button { display: block; width: 100%; text-align: left; padding: 10px 14px; font-size: 14px; }
.agrtc-menu button:hover { background: var(--soft); }
.agrtc-empty { background: var(--white); border: 1px dashed var(--line); padding: 36px 16px; text-align: center; color: var(--gray); }

/* Login */
.agrtc-login { max-width: 400px; margin: 48px auto; background: var(--white); border: 1px solid var(--line); padding: 32px 28px; }
.agrtc-login h2 { font-size: 26px; margin-bottom: 4px; }
.agrtc-login p { margin: 0 0 22px; color: var(--gray); font-size: 14px; }

/* Forms */
.agrtc-field { display: block; margin-bottom: 14px; }
.agrtc-field > span { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.agrtc-field input, .agrtc-field select { width: 100%; border: 1px solid #CFCFCF !important; background: var(--white); padding: 11px 12px; font-size: 16px; height: auto; }
.agrtc-field input.pin { letter-spacing: .5em; font-size: 22px; text-align: center; }
.agrtc-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.agrtc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 20px !important; font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase !important; border: 2px solid var(--ink) !important; background: var(--white) !important; color: var(--ink) !important; }
.agrtc-btn.primary { background: var(--ink) !important; color: var(--white) !important; }
.agrtc-btn.block { width: 100%; }
.agrtc-btn:disabled { opacity: .5; }
.agrtc-error { background: var(--soft); border-left: 3px solid var(--ink); padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }

/* Modal */
.agrtc-modal-bg { position: fixed; inset: 0; background: rgba(17,17,17,.55); z-index: 99990; display: flex; align-items: flex-start; justify-content: center; padding: 60px 16px; overflow: auto; }
.agrtc-modal { background: var(--white); width: 100%; max-width: 480px; padding: 24px; }
.agrtc-modal h3 { font-size: 22px; margin-bottom: 16px; }
.agrtc-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.agrtc-note { font-size: 13px; color: var(--gray); margin: -4px 0 14px; }

/* Toast */
.agrtc-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--white); padding: 12px 18px; font-size: 14px; z-index: 99999; max-width: calc(100% - 32px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }

/* Mobile: stacked layout like the Clockify extension */
@media (max-width: 760px) {
	.agrtc-top { padding: 12px 16px; }
	.agrtc-top h1 { font-size: 18px; }
	.agrtc-user .nm { display: none; }
	.agrtc-main { padding: 14px 16px 40px; }
	.agrtc-bar { flex-wrap: wrap; }
	.agrtc-desc { flex: 1 1 100%; border-bottom: 1px solid var(--line); padding: 6px; }
	.agrtc-seg { border-left: 0; padding: 8px 10px; }
	.agrtc-seg.proj { flex: 1 1 auto; }
	.agrtc-seg.timer-seg { flex: 1 1 100%; justify-content: space-between; border-top: 1px solid var(--line); padding: 8px 10px; }
	.agrtc-go { margin: 0; min-height: 46px; }
	.agrtc-mode { flex-direction: row; padding: 0 6px; }
	.agrtc-manual { flex-wrap: wrap; }
	.agrtc-manual input[type=date] { width: 100%; }
	.agrtc-row { flex-wrap: nowrap; align-items: flex-start; padding: 12px; }
	.agrtc-row-main { flex-direction: column; align-items: flex-start; gap: 3px; }
	.agrtc-row-desc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.agrtc-row-proj { font-size: 13px; }
	.agrtc-row-time { border: 0; padding: 0; font-size: 12px; color: var(--gray); margin-left: 0; }
	.agrtc-row-dur { min-width: 0; font-size: 15px; line-height: 34px; }
	.agrtc-row-actions { width: auto; flex: 0 0 auto; }
	.agrtc-week { flex-wrap: wrap; }
	.agrtc-pop { width: min(290px, calc(100vw - 32px)); }
}

/* Account screens */
.agrtc-ok { background: var(--soft); border-left: 3px solid var(--ink); padding: 10px 12px; font-size: 14px; margin-bottom: 14px; }
.agrtc-pw { position: relative; }
.agrtc-pw input { padding-right: 64px !important; }
.agrtc-pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 12px !important; font-weight: 600; color: var(--gray) !important; padding: 6px !important; }
.agrtc-textlink { color: var(--ink) !important; text-decoration: underline !important; font-weight: 600; font-size: inherit; }
.agrtc-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: -2px 0 18px; font-size: 14px; flex-wrap: wrap; }
.agrtc-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.agrtc-check input { width: 16px; height: 16px; accent-color: #111; }
.agrtc-switch { text-align: center; margin: 20px 0 0 !important; font-size: 14px; color: var(--gray); }
.agrtc-login .agrtc-note { margin: -6px 0 16px; }
@media (max-width: 760px) { .agrtc-login { margin: 20px auto; padding: 24px 18px; } }

/* Notes */
.agrtc-pop-note { left: auto; right: 0; width: 360px; }
.agrtc-pop-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); margin-bottom: 6px; }
.agrtc textarea { width: 100%; border: 1px solid #CFCFCF !important; background: var(--white); padding: 10px 12px; font-size: 15px; line-height: 1.45; resize: vertical; min-height: 90px; }
.agrtc-note-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); margin-left: -8px; margin-top: -14px; }
.agrtc-row-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.agrtc-row-notes { font-size: 13px; color: var(--gray); white-space: pre-line; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (max-width: 760px) {
	.agrtc-pop-note { width: min(340px, calc(100vw - 32px)); }
	.agrtc-seg.note-seg { padding-left: 0; }
}

/* Labeled buttons (Tag / Notes) */
.agrtc-lbl-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 6px !important; color: var(--gray) !important; font-size: 14px; white-space: nowrap; }
.agrtc-lbl-btn:hover, .agrtc-lbl-btn.on { color: var(--ink) !important; }
.agrtc-lbl-btn.on span { font-weight: 600; }
.agrtc-lbl-btn .agrtc-tag-val { font-size: 14px; }

/* Time off */
.agrtc-week-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.agrtc-btn-sm { padding: 7px 12px !important; font-size: 12px; border-width: 1px !important; }
.agrtc-leave-row { background: #FCFCFC; }
.agrtc-leave-row .agrtc-row-desc { font-weight: 600; }
.agrtc-leave-row .agrtc-icon-btn { font-size: 22px; line-height: 1; }
@media (max-width: 760px) { .agrtc-week-right { width: 100%; justify-content: space-between; } }

/* Breaks and lunch */
.agrtc-pop-break { width: 300px; left: auto; right: 0; }
.agrtc-pop-break li button { align-items: flex-start; gap: 10px; padding: 10px 8px; }
.agrtc-pop-break li button:disabled { opacity: .4; cursor: default; }
.agrtc-pop-break small { color: var(--gray); font-size: 12px; }
.agrtc-on-break { background: var(--soft); }
.agrtc-break-title { font-size: 17px; font-weight: 700; padding: 0 10px; }
.agrtc-break-left { font-size: 14px; color: var(--gray); }
.agrtc-break-left strong { color: var(--ink); }
.agrtc-resume { font-size: 13px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-right: 6px; }
.agrtc-break-row { background: #FCFCFC; }
.agrtc-break-row .agrtc-row-desc { color: var(--gray); }
.agrtc-manual select { border: 1px solid var(--line) !important; background: var(--white); height: 36px; padding: 0 6px; font-size: 14px; }
@media (max-width: 760px) { .agrtc-pop-break { right: auto; left: -120px; } .agrtc-resume { max-width: 100%; } }
.agrtc-pop { white-space: normal; }
body.agrtc-fullscreen .agrtc-main { max-width: 1320px; }
.agrtc-seg { padding: 0 11px; }

/* ---------- Header tabs + Admin tab ---------- */
.agrtc-tabs { display: flex; gap: 4px; margin-left: auto; margin-right: 12px; }
.agrtc-tabs button { color: #BDBDBD !important; background: transparent !important; border: 1px solid #444 !important; padding: 6px 14px !important; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.agrtc-tabs button.on { background: var(--white) !important; color: var(--ink) !important; border-color: var(--white) !important; }
.agrtc-btn-dark { background: var(--ink) !important; color: var(--white) !important; border-color: var(--ink) !important; }
.agrtc-adm-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; background: var(--white); border: 1px solid var(--line); padding: 14px 16px; }
.agrtc-adm-filters label { display: flex; flex-direction: column; font-size: 12px; color: var(--gray); gap: 4px; }
.agrtc-adm-filters input, .agrtc-adm-filters select { border: 1px solid var(--line) !important; background: var(--white); height: 36px; padding: 4px 8px; font-size: 14px; color: var(--ink); min-width: 140px; }
.agrtc-adm-quick { display: flex; gap: 12px; align-items: center; height: 36px; }
.agrtc-adm-quick .agrtc-link { color: var(--ink) !important; text-decoration: underline; font-size: 13px; }
.agrtc-adm-dl { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin: 14px 0; }
.agrtc-adm-dl-btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.agrtc-adm-ck { font-size: 13px; color: var(--gray); display: inline-flex; gap: 6px; align-items: center; margin-right: 6px; }
.agrtc-adm-card { background: var(--white); border: 1px solid var(--line); margin-bottom: 16px; }
.agrtc-adm-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.agrtc-adm-head h2 { font-size: 18px; }
.agrtc-adm-head h2 .muted { font-family: 'Open Sans', sans-serif; font-size: 13px; font-weight: 400; }
.agrtc-adm-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.agrtc-adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.agrtc-adm-table th { text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.agrtc-adm-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.agrtc-adm-table .muted { font-size: 12px; margin-top: 2px; }
.agrtc-adm-table .num { text-align: right; white-space: nowrap; }
.agrtc-adm-table .nw { white-space: nowrap; }
.agrtc-adm-table .act { text-align: right; white-space: nowrap; }
.agrtc-adm-table .act .agrtc-btn { margin-left: 6px; }
.agrtc-adm-table .ck { width: 32px; }
.agrtc-adm-table tr.tot td { font-weight: 700; background: var(--soft); border-bottom: 0; }
.agrtc-adm-table .agrtc-chip { margin: 0 4px 4px 0; }
.agrtc-adm-notes { font-size: 12px; color: var(--ink); background: var(--soft); border-left: 2px solid var(--ink); padding: 4px 8px; margin-top: 6px; white-space: pre-wrap; }
.agrtc-adm-bulk { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.agrtc-adm-bulk select { border: 1px solid var(--line) !important; background: var(--white); height: 32px; padding: 2px 8px; font-size: 14px; }
.agrtc-adm-p { font-size: 13px; padding: 0 16px; margin: 10px 0; }
@media (max-width: 700px) {
	.agrtc-top { flex-wrap: wrap; }
	.agrtc-tabs { order: 3; width: 100%; margin: 8px 0 0; }
	.agrtc-tabs button { flex: 1; }
	.agrtc-adm-filters label { flex: 1 1 45%; }
	.agrtc-adm-filters input, .agrtc-adm-filters select { min-width: 0; width: 100%; }
}

/* ---------- Logo in header ---------- */
.agrtc-brand { display: flex; align-items: center; gap: 16px; margin: -6px 0 !important; }
.agrtc-brand img { height: 76px; width: auto; display: block; max-width: none; }
.agrtc-brand span { font-family: 'Open Sans', sans-serif; font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #BDBDBD; border-left: 1px solid #444; padding-left: 14px; line-height: 1.4; }
@media (max-width: 480px) {
	.agrtc-brand img { height: 52px; }
	.agrtc-brand { gap: 10px; }
	.agrtc-brand span { font-size: 10px; padding-left: 10px; }
}
.agrtc-adm-add { border-top: 1px solid var(--line); }
.agrtc-adm-add summary { cursor: pointer; padding: 12px 16px; font-weight: 600; font-size: 14px; list-style: none; }
.agrtc-adm-add summary::-webkit-details-marker { display: none; }
.agrtc-adm-add[open] summary { border-bottom: 1px solid var(--line); }
.agrtc-adm-leave-f { border: 0; }
.agrtc-adm-note input { min-width: 220px; }
.agrtc-adm-pay input[type=number] { width: 110px; border: 1px solid var(--line) !important; height: 32px; padding: 2px 6px; font-size: 14px; background: var(--white); }
.agrtc-adm-pay select { border: 1px solid var(--line) !important; height: 32px; padding: 2px 6px; font-size: 14px; background: var(--white); }
.agrtc-adm-pay [hidden] { display: none !important; }
.agrtc-adm-pay td { vertical-align: middle; }
.agrtc-adm-head select { border: 1px solid var(--line) !important; background: var(--white); height: 32px; padding: 2px 8px; font-size: 13px; max-width: 100%; }
.agrtc-myleave { margin-bottom: 16px; }
.agrtc-myleave .agrtc-row-desc b { font-weight: 600; }
.agrtc-pay-skip { display: block; margin-top: 6px; font-size: 12px; color: var(--gray); }
.agrtc-pay-skip input { margin-right: 4px; }
.agrtc-adm-pay .agrtc-pay-std { width: 56px !important; height: 26px !important; margin: 0 2px; }
.agrtc-subtabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); margin-bottom: 16px; flex-wrap: wrap; }
.agrtc-subtabs button { background: transparent !important; border: 0 !important; padding: 10px 18px !important; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--gray) !important; cursor: pointer; }
.agrtc-subtabs button.on { background: var(--ink) !important; color: var(--white) !important; }
.agrtc-count { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: var(--white); color: var(--ink); font-size: 11px; line-height: 18px; margin-left: 4px; border: 1px solid var(--ink); }
.agrtc-subtabs button:not(.on) .agrtc-count { background: var(--ink); color: var(--white); }
#agrtc-adm-f + .agrtc-adm-card { margin-top: 16px; }
