/* LetLej Timer – medarbejder-app */
.llt-body {
	margin: 0;
	background: #F2F4F3;
}
.llt-app {
	--llt-ground: #F2F4F3;
	--llt-surface: #FFFFFF;
	--llt-ink: #15201C;
	--llt-muted: #55625D;
	--llt-line: #DCE2DF;
	--llt-line-soft: #ECEFEE;
	--llt-field: #C9D1CD;
	--llt-accent: #1E6B4E;
	--llt-accent-dark: #15513A;
	--llt-accent-soft: #E3F1EA;
	--llt-warn-bg: #FFF6E5;
	--llt-warn-line: #F0D9A8;
	--llt-warn-ink: #6E3F0B;
	--llt-neg: #8A4B0E;
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.45;
	color: var(--llt-ink);
	background: var(--llt-ground);
	-webkit-font-smoothing: antialiased;
}
.llt-app *, .llt-app *::before, .llt-app *::after { box-sizing: border-box; }
.llt-app h1, .llt-app h2, .llt-app p, .llt-app ul, .llt-app fieldset { margin: 0; padding: 0; }
.llt-app ul { list-style: none; }
.llt-app fieldset { border: 0; min-width: 0; }
.llt-app a { color: var(--llt-accent); }
.llt-app a:hover { color: var(--llt-accent-dark); }
.llt-app button, .llt-app input, .llt-app select { font: inherit; color: inherit; }

.llt-screen {
	max-width: 480px;
	margin: 0 auto;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
.llt-screen--login {
	padding: 48px 24px 32px;
	gap: 16px;
}

/* Hoved */
.llt-head {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 20px 20px 4px 16px;
}
.llt-head__text { display: flex; flex-direction: column; flex: 1; padding-left: 8px; }
.llt-head .llt-title { flex: 1; }
.llt-title {
	font-family: Manrope, Inter, sans-serif;
	font-weight: 700;
	font-size: 23px;
	line-height: 1.2;
}
.llt-title--big { font-size: 28px; margin-top: 16px !important; }
.llt-lead { color: var(--llt-muted); font-size: 15px; }
.llt-avatar {
	width: 44px; height: 44px; border-radius: 22px; flex: none;
	border: 1px solid var(--llt-line); background: var(--llt-surface);
	display: flex; align-items: center; justify-content: center;
	font-family: Manrope, sans-serif; font-weight: 700; font-size: 15px;
	color: var(--llt-ink) !important; text-decoration: none;
}
.llt-iconbtn {
	width: 44px; height: 44px; flex: none; border-radius: 10px;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--llt-ink) !important; text-decoration: none;
}
.llt-iconbtn--sm { width: 40px; height: 40px; color: var(--llt-muted) !important; }
.llt-iconbtn:hover { background: var(--llt-line-soft); }

.llt-brand { display: flex; align-items: center; gap: 10px; }
.llt-brand__mark {
	width: 40px; height: 40px; border-radius: 10px; background: var(--llt-accent);
	color: #fff; display: flex; align-items: center; justify-content: center;
}
.llt-brand__name { font-family: Manrope, sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.llt-foot { margin-top: auto !important; text-align: center; color: var(--llt-muted); font-size: 13px; padding-top: 24px !important; }

.llt-main { display: flex; flex-direction: column; gap: 14px; padding: 12px 20px 24px; }

/* Kort */
.llt-card {
	background: var(--llt-surface);
	border: 1px solid var(--llt-line);
	border-radius: 18px;
	padding: 18px;
}
.llt-card--flush { padding: 0; overflow: hidden; }
.llt-split { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.llt-split > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.llt-label { font-size: 13px; font-weight: 600; color: var(--llt-muted); text-transform: uppercase; letter-spacing: 0.06em; padding-bottom: 6px; }
.llt-label-strong { font-size: 15px; font-weight: 600; padding-bottom: 10px; }
.llt-muted { color: var(--llt-muted); }
.llt-small { font-size: 13px; }
.llt-ok { color: var(--llt-accent-dark); font-size: 12px; font-weight: 600; }
.llt-num { font-variant-numeric: tabular-nums; }
.llt-tone-pos { color: var(--llt-accent-dark); }
.llt-tone-neg { color: var(--llt-neg); }
.llt-center { text-align: center; display: block; }
.llt-link { font-size: 14px; font-weight: 600; padding: 6px 0; }
.llt-empty { padding: 24px 18px; color: var(--llt-muted); text-align: center; }
.llt-info { background: var(--llt-ground); border-radius: 12px; padding: 12px 14px; font-size: 14px; }

/* Beskeder */
.llt-msg { border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.llt-msg--ok { background: var(--llt-accent-soft); color: var(--llt-accent-dark); }
.llt-msg--warn { background: var(--llt-warn-bg); border: 1px solid var(--llt-warn-line); color: #3D2306; }
.llt-msg--warn a { color: var(--llt-warn-ink); font-weight: 600; }

/* Pille */
.llt-pill {
	display: inline-flex; align-items: center; gap: 8px; border-radius: 999px;
	padding: 5px 12px; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.llt-pill--green { background: var(--llt-accent-soft); color: var(--llt-accent-dark); }
.llt-pill--grey { background: var(--llt-line-soft); color: #3F4B46; }
.llt-pill--yellow { background: #FCEFC7; color: #6E4A00; }
.llt-dot { width: 8px; height: 8px; border-radius: 4px; background: currentColor; }

/* Knapper */
.llt-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 20px; width: 100%;
	border: 0; border-radius: 14px; cursor: pointer;
	font-weight: 600; font-size: 16px; text-decoration: none;
}
.llt-btn--primary { background: var(--llt-accent); color: #fff !important; }
.llt-btn--primary:hover { background: var(--llt-accent-dark); }
.llt-btn--dark { background: var(--llt-ink); color: #fff !important; }
.llt-btn--ghost { background: var(--llt-surface); border: 1px solid var(--llt-field); color: var(--llt-ink) !important; }
.llt-btn--danger-ghost { background: transparent; color: #9B2C1F; width: auto; }
.llt-btn--lg { min-height: 56px; }
.llt-btn--xl { min-height: 64px; font-size: 18px; border-radius: 16px; }
.llt-textbtn { background: none; border: 0; color: var(--llt-muted); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 6px 0; min-height: 32px; }

/* Stempel */
.llt-stamp { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; text-align: center; }
.llt-bignum { font-family: Manrope, sans-serif; font-weight: 800; font-size: 50px; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.llt-stamp > .llt-muted { margin-top: -12px; font-size: 14px; }
.llt-stamp__form { width: 100%; }
.llt-rows li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--llt-line-soft); }
.llt-rows li:last-child { border-bottom: 0; }

/* Periode */
.llt-periodnav { display: flex; align-items: center; justify-content: space-between; padding: 4px; border-radius: 14px; }
.llt-periodnav__text { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 15px; }
.llt-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.llt-stat { background: var(--llt-surface); border: 1px solid var(--llt-line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.llt-stat strong { font-family: Manrope, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.2; }
.llt-progress { height: 10px; border-radius: 5px; background: var(--llt-line); overflow: hidden; }
.llt-progress > div { height: 100%; background: var(--llt-accent); }

.llt-days { display: flex; flex-direction: column; }
.llt-day { display: flex; align-items: flex-start; gap: 10px; padding: 12px 8px 12px 16px; border-bottom: 1px solid var(--llt-line-soft); }
.llt-day__date { width: 48px; flex: none; display: flex; flex-direction: column; padding-top: 2px; }
.llt-day__lines { flex: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 4px; font-size: 15px; min-width: 0; }
.llt-day__line { display: flex; flex-direction: column; padding: 8px 0; grid-column: 1; }
.llt-day__lines > .llt-iconbtn { grid-column: 2; }
.llt-day__sum { padding-top: 10px; font-size: 14px; white-space: nowrap; }
.llt-actions2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.llt-actions2 a {
	min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px;
	font-weight: 600; font-size: 15px; text-decoration: none;
}
.llt-actions2 a + a { border-left: 1px solid var(--llt-line-soft); }
.llt-actions2 a:only-child { grid-column: 1 / -1; }
.llt-actions2 .llt-icon { width: 18px; height: 18px; }

/* Formularer */
.llt-form { display: flex; flex-direction: column; gap: 16px; }
.llt-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.llt-field label, .llt-login label { font-size: 14px; font-weight: 600; }
.llt-app input[type="text"], .llt-app input[type="password"], .llt-app input[type="date"], .llt-app input[type="time"], .llt-app input[type="email"] {
	width: 100%; height: 50px; border: 1px solid var(--llt-field); border-radius: 10px;
	padding: 0 14px; font-size: 16px; background: #fff; color: var(--llt-ink); -webkit-appearance: none; appearance: none;
}
.llt-app input:focus-visible, .llt-app button:focus-visible, .llt-app a:focus-visible {
	outline: 3px solid rgba(30, 107, 78, 0.35); outline-offset: 2px;
}
.llt-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.llt-choice { position: relative; display: block; cursor: pointer; }
.llt-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.llt-choice span {
	display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 12px;
	border: 1px solid var(--llt-field); background: #fff; font-weight: 600; font-size: 15px; text-align: center; padding: 4px 8px;
}
.llt-choice input:checked + span { border: 2px solid var(--llt-accent); background: var(--llt-accent-soft); color: var(--llt-accent-dark); }
.llt-choice input:focus-visible + span { outline: 3px solid rgba(30, 107, 78, 0.35); outline-offset: 2px; }
.llt-types .llt-small { padding-top: 10px; }

.llt-abslist { display: flex; flex-direction: column; gap: 8px; }
.llt-abslist .llt-card { padding: 14px 16px; border-radius: 14px; }
.llt-abslist__right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex: none; }

/* Login (WordPress' egen formular) */
.llt-login { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.llt-login form { display: flex; flex-direction: column; gap: 16px; }
.llt-login form p { display: flex; flex-direction: column; gap: 6px; }
.llt-login .login-remember label { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.llt-login .login-remember input { width: 22px; height: 22px; margin: 0; accent-color: var(--llt-accent); }
.llt-login #wp-submit, .llt-login input[type="submit"] {
	min-height: 52px; width: 100%; border: 0; border-radius: 12px; cursor: pointer;
	background: var(--llt-accent); color: #fff; font-weight: 600; font-size: 16px;
}

/* Bundmenu */
.llt-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	display: flex; justify-content: center;
	background: var(--llt-surface); border-top: 1px solid var(--llt-line);
	padding: 6px 8px calc(10px + env(safe-area-inset-bottom));
}
.llt-nav a {
	flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 3px;
	padding: 8px 0; min-height: 56px; text-decoration: none; color: var(--llt-muted) !important; font-size: 12px; font-weight: 500;
}
.llt-nav a.is-active { color: var(--llt-accent) !important; font-weight: 600; }

/* Når siden vises inde i hjemmesidens tema */
body:not(.llt-body) .llt-app .llt-screen { min-height: 0; }
body:not(.llt-body) .llt-app .llt-nav { position: sticky; }

/* Tidsvælger som i Danløn */
.llt-tp-field { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--llt-field, #C9D1CD); border-radius: 10px; background: var(--llt-surface, #fff); color: var(--llt-ink, #15201C); font: 600 17px Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; text-align: left; }
.llt-tp { position: fixed; inset: 0; z-index: 1000; background: rgba(20, 28, 25, .55); display: flex; align-items: center; justify-content: center; padding: 16px; }
.llt-tp[hidden], .llt-tp__pad[hidden] { display: none !important; }
body.llt-tp-open { overflow: hidden; }
.llt-tp__box { width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 14px; font-family: Inter, system-ui, sans-serif; color: #15201C; }
.llt-tp__head { display: flex; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #ECEFEE; font-size: 16px; }
.llt-tp__body { padding: 8px 18px 14px; }
.llt-tp__lbl { margin: 12px 0 8px; font-size: 15px; color: #55625D; }
.llt-tp__grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 20px) / 3); gap: 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: thin; }
.llt-tp__grid button { scroll-snap-align: start; }
.llt-tp__grid button, .llt-tp__type, .llt-tp__none { min-height: 48px; border: 1px solid #C9D1CD; border-radius: 8px; background: #fff; font: 600 18px Inter, system-ui, sans-serif; color: #15201C; font-variant-numeric: tabular-nums; cursor: pointer; }
.llt-tp__grid button.is-sel, .llt-tp__none.is-sel { border: 2px solid #1E6B4E; background: #E3F1EA; }
.llt-tp__type { width: 100%; margin-top: 10px; font-weight: 500; font-size: 16px; }
.llt-tp__none { width: 100%; margin-top: 10px; font-weight: 500; font-size: 15px; color: #55625D; }
.llt-tp__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 18px 18px; border-top: 1px solid #ECEFEE; }
.llt-tp__btn { min-height: 48px; border: 1px solid #C9D1CD; border-radius: 8px; background: #fff; font: 600 16px Inter, system-ui, sans-serif; color: #15201C; cursor: pointer; }
.llt-tp__btn--ok { background: #1E6B4E; border-color: #1E6B4E; color: #fff; }
.llt-tp__btn--ok:disabled { opacity: .45; }
.llt-tp__pad { position: fixed; left: 0; right: 0; bottom: 0; background: #F7F8F8; padding: 14px 12px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.18); font-family: Inter, system-ui, sans-serif; }
.llt-tp__padhead { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.llt-tp__digits { flex: 1; display: flex; justify-content: center; align-items: center; gap: 8px; font: 500 28px Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; color: #55625D; }
.llt-tp__digits span { border: 1px solid #C9D1CD; border-radius: 8px; padding: 6px 14px; background: #fff; }
.llt-tp__digits span.is-act { border: 2px solid #15201C; color: #15201C; }
.llt-tp__padhead .llt-tp__btn { padding: 0 18px; }
.llt-tp__keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.llt-tp__keys button { min-height: 64px; border: 1px solid #C9D1CD; border-radius: 8px; background: #fff; font: 400 30px Inter, system-ui, sans-serif; color: #15201C; cursor: pointer; }
.llt-tp__keys .llt-tp__muted { font-size: 22px; color: #55625D; }
.llt-tp-field.is-missing { border-color: #B3261E; color: #B3261E; }
.llt-tp__padnote { text-align: center; font-size: 13px; color: #55625D; margin-bottom: 8px; }

.llt-tp__lbl small { font-weight: 400; color: #6B7A73; }
