/* Shared Libetario design tokens, login, and workspace layout. */
.lwf-auth,
.lwf-workspace,
.lwf-wrap,
.lwf-portal {
	--lwf-ink: #173b35;
	--lwf-muted: #536a60;
	--lwf-paper: #f6f7f3;
	--lwf-surface: #fafbf7;
	--lwf-white: #fff;
	--lwf-line: #dfe6dd;
	--lwf-green: #195c4e;
	--lwf-green-dark: #124b3e;
	--lwf-lime: #daf0a6;
	--lwf-sidebar: #143e34;
	--lwf-red: #a42f39;
	--lwf-soft: #e7ede6;
	--lwf-font: Arial, Helvetica, sans-serif;
}

body.lwf-document {
	margin: 0;
	padding: 0;
	background: #f6f7f3;
}

.lwf-auth, .lwf-workspace {
	color: var(--lwf-ink);
	font: 14px/1.5 var(--lwf-font);
}

.lwf-auth *, .lwf-workspace * { box-sizing: border-box; }
.lwf-auth :focus-visible, .lwf-workspace :focus-visible, .lwf-wrap :focus-visible {
	outline: 3px solid #8dbb54;
	outline-offset: 3px;
}
.lwf-auth a, .lwf-workspace a { text-underline-offset: 3px; }

.lwf-auth .lwf-wordmark, .lwf-workspace .lwf-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	width: fit-content;
	color: #eff5e9;
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -1.2px;
	line-height: 1.1;
	text-decoration: none;
}

.lwf-brand-mark {
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 35px;
	flex-shrink: 0;
	font-size: 37px;
}

.lwf-brand-mark span { position: absolute; top: -4px; inset-inline-start: 13px; font-size: 24px; }
.lwf-brand-caption { display: block; margin-top: 7px; font-size: 7px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.lwf-eyebrow { color: var(--lwf-muted); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }

/* Task instruction files in the employee and admin workspaces. */
.lwf-task-file-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 136px), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lwf-task-file-grid > li { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--lwf-line); border-radius: 8px; background: var(--lwf-white); }
.lwf-task-file-preview { position: relative; display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-bottom: 1px solid var(--lwf-line); background: var(--lwf-paper); }
a.lwf-task-file-preview { text-decoration: none; }
a.lwf-task-file-preview:hover { background: var(--lwf-soft); }
a.lwf-task-file-preview:focus-visible { outline-offset: -3px; }
.lwf-task-file-preview img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.lwf-task-file-type { display: grid; justify-items: center; gap: 6px; color: var(--lwf-muted); font-size: 12px; font-weight: 700; }
.lwf-task-file-type .dashicons { width: 30px; height: 30px; font-size: 30px; }
.lwf-task-file-details { padding: 8px 10px; font-size: 13px; }
.lwf-task-file-name { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lwf-task-file-details small { display: block; margin-bottom: 4px; color: var(--lwf-muted); font-size: 12px; }
.lwf-task-file-grid > li > form { padding: 0 10px 10px; }
.lwf-attendance-action { text-transform: uppercase; }

/* Attendance calendar, shared by employees and both admin entry points. */
.lwf-calendar, .lwf-calendar-summary, .lwf-calendar-day {
	margin: 0 0 18px;
	padding: 20px;
	border: 1px solid var(--lwf-line);
	border-radius: 10px;
	background: var(--lwf-white);
}
.lwf-calendar { container-type: inline-size; }
.lwf-calendar-header, .lwf-calendar-toolbar, .lwf-calendar-nav, .lwf-calendar-picker, .lwf-calendar-shift-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}
.lwf-calendar-header, .lwf-calendar-toolbar, .lwf-calendar-shift-header { justify-content: space-between; }
.lwf-calendar-header .lwf-eyebrow { margin: 0 0 5px; }
.lwf-calendar-header h2, .lwf-calendar-summary h2, .lwf-calendar-day h2 { margin: 0; color: var(--lwf-ink); font-size: 21px; line-height: 1.25; }
.lwf-calendar-toolbar { margin: 16px 0 12px; }
.lwf-calendar-picker label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; color: var(--lwf-muted); font-size: 12px; }
.lwf-calendar-picker input {
	box-sizing: border-box;
	max-width: 100%;
	min-height: 36px;
	padding: 5px 8px;
	border: 1px solid #cad8cc;
	border-radius: 6px;
	background: #fff;
	color: var(--lwf-ink);
	font: inherit;
}
.lwf-calendar-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	padding: 6px 11px;
	border: 1px solid #cddbd0;
	border-radius: 6px;
	background: #fff;
	color: var(--lwf-green);
	font: 600 12px/1.3 var(--lwf-font);
	text-decoration: none;
	cursor: pointer;
}
.lwf-calendar-button:hover { background: var(--lwf-soft); }
.lwf-calendar .lwf-calendar-button[aria-current="true"] { border-color: var(--lwf-green); background: var(--lwf-green); color: #fff; }
.lwf-calendar-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	border: 1px solid var(--lwf-line);
	border-radius: 8px;
	background: var(--lwf-line);
}
.lwf-calendar-weekday {
	padding: 8px 3px;
	background: var(--lwf-surface);
	color: var(--lwf-muted);
	font-size: 11px;
	font-weight: 700;
	overflow-wrap: anywhere;
	text-align: center;
}
.lwf-calendar-grid .lwf-calendar-date, .lwf-calendar-empty {
	min-width: 0;
	min-height: 93px;
	padding: 8px;
	background: #fff;
}
.lwf-calendar-grid .lwf-calendar-date {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	color: var(--lwf-ink);
	text-decoration: none;
}
.lwf-calendar-grid .lwf-calendar-empty { background: var(--lwf-surface); }
.lwf-calendar-grid .lwf-calendar-date.has-shifts { background: #f1f6ef; }
.lwf-calendar-grid .lwf-calendar-date:hover { background: #e7f0e4; }
.lwf-calendar-grid .lwf-calendar-date:focus-visible { outline: 2px solid var(--lwf-green); outline-offset: -3px; }
.lwf-calendar-grid .lwf-calendar-date[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--lwf-green); }
.lwf-calendar-date time { display: grid; place-items: center; min-width: 24px; min-height: 24px; border-radius: 50%; font-weight: 700; }
.lwf-calendar-date.is-today time { background: var(--lwf-green); color: #fff; }
.lwf-calendar-count, .lwf-calendar-count-short, .lwf-calendar-tags { font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
.lwf-calendar-count-short { display: none; }
.lwf-calendar-tags, .lwf-calendar-legend { display: flex; flex-wrap: wrap; gap: 3px 8px; }
.lwf-calendar-legend { margin-top: 10px; font-size: 12px; }
.lwf-calendar-legend-count { display: none; color: var(--lwf-muted); }
.lwf-calendar-late { color: #795000; }
.lwf-calendar-early { color: #8e3641; }
.lwf-calendar-late::before, .lwf-calendar-early::before, .lwf-calendar-code::before {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-inline-end: 4px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}
.lwf-calendar-summary > p, .lwf-calendar-day > p { margin: 6px 0 14px; color: var(--lwf-muted); font-size: 13px; }
.lwf-calendar-summary dl, .lwf-calendar-shift dl {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 115px), 1fr));
	gap: 8px;
	margin: 0;
}
.lwf-calendar-summary dl > div, .lwf-calendar-shift dl > div { padding: 9px 11px; border-radius: 6px; background: var(--lwf-surface); }
.lwf-calendar-summary dt, .lwf-calendar-shift dt { color: var(--lwf-muted); font-size: 12px; }
.lwf-calendar-summary dd, .lwf-calendar-shift dd { margin: 3px 0 0; color: var(--lwf-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.lwf-calendar-summary dd { font-size: 20px; }
.lwf-calendar-day, #lwf-correction { scroll-margin-block-start: 16px; }
.lwf-calendar-shift { margin-top: 12px; padding: 14px; border: 1px solid var(--lwf-line); border-radius: 8px; }
.lwf-calendar-shift-header { margin: 0 0 10px; }
.lwf-calendar-shift-header h3 { margin: 0; color: var(--lwf-ink); font-size: 15px; }
.lwf-calendar-pill { padding: 3px 8px; border-radius: 20px; background: var(--lwf-soft); color: var(--lwf-green); font-size: 11px; font-weight: 700; }
.lwf-calendar-pill.is-rejected { background: #fdf1f2; color: var(--lwf-red); }
.lwf-calendar-pill.is-open, .lwf-calendar-flags { color: #795000; }
.lwf-calendar-pill.is-open { background: #fff4e5; }
.lwf-calendar-shift .lwf-calendar-button { margin-top: 10px; }
.lwf-calendar-bulk > summary { cursor: pointer; font-weight: 700; }
.lwf-calendar-bulk ul { max-height: 315px; overflow-y: auto; padding: 0; list-style: none; }
.lwf-calendar-bulk li { padding: 7px 3px; border-bottom: 1px solid var(--lwf-line); }

@container (max-width: 525px) {
	.lwf-calendar-grid .lwf-calendar-date, .lwf-calendar-empty { min-height: 61px; padding: 4px 2px; align-items: center; gap: 2px; }
	.lwf-calendar-date time { font-size: 12px; min-width: 22px; min-height: 22px; }
	.lwf-calendar-count, .lwf-calendar-tags > span > span { display: none; }
	.lwf-calendar-count-short { display: inline; }
	.lwf-calendar-legend-count { display: inline; }
	.lwf-calendar-tags { gap: 3px; }
	.lwf-calendar-tags > span { display: inline-flex; }
	.lwf-calendar-tags > span::before { margin: 0; }
}
@media (max-width: 650px) {
	.lwf-calendar, .lwf-calendar-summary, .lwf-calendar-day { padding: 12px; }
	.lwf-calendar-button { min-height: 40px; }
	.lwf-wrap .lwf-calendar-filters .lwf-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lwf-wrap .lwf-calendar-filters .lwf-calendar-filter-date { display: grid; gap: 3px; }
	.lwf-wrap .lwf-calendar-filter-date input { min-width: 0; width: 100%; }
	.lwf-wrap .lwf-calendar-filters .button { justify-self: start; }
}

.lwf-auth { display: grid; grid-template-columns: 1fr 1fr; background: var(--lwf-surface); }
.lwf-document .lwf-auth { min-height: 100vh; min-height: 100dvh; }
.lwf-auth .lwf-auth-story {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	min-width: 0;
	min-height: 720px;
	overflow: hidden;
	padding: 52px 64px;
	background: #164e40;
	color: #eff5e9;
}

.lwf-auth-story::after {
	content: "";
	position: absolute;
	inset-inline-end: -210px;
	bottom: -70px;
	width: 480px;
	height: 480px;
	border: 1px solid #ffffff14;
	border-radius: 50%;
	pointer-events: none;
}

.lwf-auth .lwf-auth-message { position: relative; z-index: 1; }
.lwf-auth-story .lwf-eyebrow { color: #a6c3a1; margin: 28px 0 24px; }
.lwf-auth .lwf-auth-headline {
	margin: 0;
	color: #eff5e9;
	font: 700 clamp(38px, 5vw, 64px)/1.08 var(--lwf-font);
	letter-spacing: -.045em;
	overflow-wrap: anywhere;
}
.lwf-auth-headline em { color: var(--lwf-lime); font-family: Georgia, serif; font-weight: 400; }
.lwf-auth .lwf-auth-copy { max-width: 310px; margin: 24px 0 0; color: #b5cdc1; font-size: 15px; line-height: 1.7; }
.lwf-auth-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: #c1d3c5;
	font-size: 11px;
}
.lwf-auth-footer .dashicons { width: 17px; height: 17px; font-size: 17px; }
.lwf-auth-footer > span:last-child { margin-inline-start: auto; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }

.lwf-auth .lwf-auth-panel {
	position: relative;
	display: grid;
	place-items: center;
	min-width: 0;
	padding: 70px 40px;
	background: var(--lwf-surface);
}
.lwf-auth-card { width: 100%; max-width: 368px; }
.lwf-auth .lwf-auth-pill {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 9px;
	border: 1px solid #dbe3d6;
	border-radius: 5px;
	color: var(--lwf-ink);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 1.1px;
	text-transform: uppercase;
}
.lwf-auth-pill > span { font-size: 13px; line-height: 1; }
.lwf-auth .lwf-auth-card h1 { margin: 24px 0 8px; color: var(--lwf-ink); font: 700 38px/1.15 var(--lwf-font); letter-spacing: -1.5px; }
.lwf-auth .lwf-auth-intro { margin: 0 0 28px; color: var(--lwf-muted); }
.lwf-access-choices { display: grid; gap: 12px; }
.lwf-auth .lwf-access-choice {
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr) 18px;
	align-items: center;
	gap: 13px;
	min-height: 67px;
	padding: 12px 15px;
	border: 1px solid #cddbd0;
	border-radius: 8px;
	background: var(--lwf-white);
	color: var(--lwf-ink);
	text-decoration: none;
}
.lwf-auth .lwf-access-choice:hover { border-color: #60907e; background: #f3f7f0; }
.lwf-auth .lwf-access-primary { color: var(--lwf-white); border-color: var(--lwf-green); background: var(--lwf-green); }
.lwf-auth .lwf-access-primary:hover { border-color: var(--lwf-green-dark); background: var(--lwf-green-dark); }
.lwf-access-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 6px; background: var(--lwf-soft); color: var(--lwf-green); }
.lwf-access-primary .lwf-access-icon { background: #ffffff21; color: #ecf6db; }
.lwf-access-choice strong { display: block; font-size: 12px; letter-spacing: .7px; text-transform: uppercase; }
.lwf-access-choice small { display: block; margin-top: 3px; color: var(--lwf-muted); font-size: 12px; }
.lwf-access-primary small { color: #e0efe7; }
.lwf-access-choice > svg { width: 18px; height: 18px; }
.lwf-auth .lwf-auth-note { display: flex; align-items: center; gap: 12px; margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--lwf-line); color: var(--lwf-muted); font-size: 12px; }
.lwf-auth-note .dashicons { width: 16px; height: 16px; font-size: 16px; }
.lwf-auth .lwf-auth-bottom {
	position: absolute;
	bottom: 26px;
	inset-inline: 35px;
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin: 0;
	color: var(--lwf-muted);
	font-size: 8px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.lwf-auth form { margin: 0; }
.lwf-auth form p { margin: 0 0 16px; }
.lwf-auth form label { display: block; margin-bottom: 6px; color: var(--lwf-ink); font-size: 13px; font-weight: 600; }
.lwf-auth form .login-remember label { display: inline-flex; gap: 6px; align-items: center; margin: 0; font-weight: 400; }
.lwf-auth input { font: inherit; }
.lwf-auth input:is([type="text"], [type="password"]) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cad8cc; border-radius: 6px; background: #fff; color: var(--lwf-ink); }
.lwf-auth input[type="checkbox"] { accent-color: var(--lwf-green); }
.lwf-auth input[type="submit"] { width: 100%; min-height: 44px; padding: 10px 16px; border: 0; border-radius: 7px; background: var(--lwf-green); color: #fff; font-weight: 700; cursor: pointer; }
.lwf-auth input[type="submit"]:hover { background: var(--lwf-green-dark); }
.lwf-auth .lwf-auth-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 19px; font-size: 12px; }
.lwf-auth-links a { color: var(--lwf-green); }

.lwf-workspace { display: flex; position: relative; min-width: 0; background: var(--lwf-paper); }
.lwf-document .lwf-workspace { min-height: 100vh; min-height: 100dvh; }
.lwf-workspace .lwf-skip { position: absolute; z-index: 2; top: 12px; inset-inline-start: 12px; padding: 8px 14px; border-radius: 6px; background: #fff; color: var(--lwf-ink); }
.lwf-skip:not(:focus) { width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; }
.lwf-workspace .lwf-sidebar { display: flex; flex: 0 0 244px; flex-direction: column; gap: 22px; padding: 29px 22px 24px; min-width: 0; background: var(--lwf-sidebar); color: #d3e0d4; }
.lwf-document .lwf-sidebar { position: sticky; align-self: flex-start; top: 0; height: 100vh; height: 100dvh; overflow-y: auto; }
.lwf-workspace .lwf-workspace-label { display: flex; align-items: center; gap: 8px; margin: 0; padding: 9px 10px; border: 1px solid #9bbb9847; border-radius: 5px; color: #c8dbc7; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; }
.lwf-workspace-label > span { width: 5px; height: 5px; flex-shrink: 0; border-radius: 50%; background: var(--lwf-lime); }
.lwf-workspace-nav { display: flex; flex-direction: column; gap: 3px; }
.lwf-workspace .lwf-workspace-nav a { display: flex; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 6px; color: #d3e0d4; font-size: 13px; text-decoration: none; }
.lwf-workspace-nav .dashicons, .lwf-sidebar-account .dashicons { width: 17px; height: 17px; flex-shrink: 0; font-size: 17px; }
.lwf-workspace .lwf-workspace-nav a:hover, .lwf-workspace .lwf-workspace-nav a[aria-current="page"] { background: #ffffff14; color: var(--lwf-lime); }
.lwf-workspace-nav a[aria-current="page"] { font-weight: 700; }
.lwf-workspace .lwf-sidebar-account { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 15px; border-top: 1px solid #ffffff23; color: #e5efe3; font-size: 12px; overflow-wrap: anywhere; }
.lwf-sidebar-account strong, .lwf-sidebar-account a { display: block; }
.lwf-sidebar-account a { color: #c1d3c5; font-size: 11px; }
.lwf-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #42664c; color: #e1f1c5; }
.lwf-main-column { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lwf-workspace .lwf-topbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 76px; padding: 12px 40px; border-bottom: 1px solid var(--lwf-line); background: var(--lwf-surface); color: var(--lwf-muted); font-size: 12px; }
.lwf-topbar [aria-hidden="true"] { margin-inline: 6px; color: #83998a; }
.lwf-timezone { white-space: nowrap; }
.lwf-workspace .lwf-content { flex: 1; width: 100%; max-width: 1500px; min-width: 0; margin: 0 auto; padding: 34px 40px 40px; }
.lwf-workspace .lwf-workspace-footer { display: flex; justify-content: space-between; gap: 12px; padding: 16px 40px; border-top: 1px solid var(--lwf-line); color: var(--lwf-muted); font-size: 11px; }

.lwf-welcome { position: relative; overflow: hidden; padding: 28px 30px; margin: 18px 0 22px; border-radius: 11px; background: #1d5b49; color: #f4f6ed; }
.lwf-welcome::after { content: "↗"; position: absolute; inset-inline-end: 26px; bottom: -60px; color: #daf0a629; font: 200px/1 Georgia, serif; pointer-events: none; }
.lwf-welcome > div { position: relative; z-index: 1; }
.lwf-welcome .lwf-eyebrow { margin: 0 0 8px; color: #c5dbbc; }
.lwf-wrap .lwf-welcome h2 { margin: 0; color: #fff; font-size: 29px; line-height: 1.2; }
.lwf-wrap .lwf-welcome .button { margin-top: 4px; border-color: var(--lwf-lime); background: var(--lwf-lime); color: #173b35; }
.lwf-wrap .lwf-welcome .button:hover { background: #ebf7cd; }

@media (max-width: 1100px) {
	.lwf-auth .lwf-auth-story { padding: 45px 36px; }
	.lwf-workspace .lwf-sidebar { flex-basis: 208px; padding-inline: 17px; }
	.lwf-workspace .lwf-content, .lwf-workspace .lwf-topbar, .lwf-workspace .lwf-workspace-footer { padding-inline: 25px; }
}

@media (max-width: 850px) {
	.lwf-workspace { display: block; }
	.lwf-workspace .lwf-sidebar { position: relative; height: auto; padding: 20px 18px 9px; gap: 14px; overflow: visible; }
	.lwf-workspace .lwf-workspace-label, .lwf-sidebar-account .lwf-avatar, .lwf-sidebar-account strong { display: none; }
	.lwf-workspace-nav { flex-direction: row; overflow-x: auto; padding: 3px 3px 6px; scrollbar-width: thin; scrollbar-color: #709784 var(--lwf-sidebar); }
	.lwf-workspace .lwf-workspace-nav a { flex: 0 0 auto; min-height: 40px; white-space: nowrap; }
	.lwf-workspace .lwf-sidebar-account { position: absolute; inset-inline-end: 18px; top: 28px; margin: 0; padding: 0; border: 0; }
	.lwf-sidebar-account a { padding: 8px 0 8px 8px; }
	.lwf-workspace .lwf-topbar { min-height: 51px; }
	.lwf-workspace .lwf-content { padding: 23px 18px; }
	.lwf-workspace .lwf-topbar, .lwf-workspace .lwf-workspace-footer { padding-inline: 18px; }
}

@media (max-width: 650px) {
	.lwf-auth { display: block; }
	.lwf-auth .lwf-auth-story { min-height: 0; gap: 28px; padding: 26px; }
	.lwf-auth-story .lwf-auth-headline { font-size: clamp(28px, 7.5vw, 39px); }
	.lwf-auth-story .lwf-eyebrow, .lwf-auth-story .lwf-auth-copy, .lwf-auth-story .lwf-auth-footer { display: none; }
	.lwf-auth .lwf-auth-panel { padding: 35px 24px 70px; }
	.lwf-auth .lwf-auth-card h1 { font-size: 33px; }
	.lwf-auth .lwf-auth-bottom { bottom: 16px; inset-inline: 24px; }
	.lwf-welcome { padding: 22px 18px; }
}

/* v2.8 — Duty today board: live clock + Morning/Afternoon Time In windows. */
.lwf-duty {
	--lwf-duty-green: #1d7a4c;
	--lwf-duty-green-bg: #e6f5ec;
	--lwf-duty-red: #b3261e;
	--lwf-duty-red-bg: #fdecea;
	--lwf-duty-gray: #6b7a73;
	--lwf-duty-gray-bg: #eef1ee;
	margin: 0 0 18px;
	padding: 16px;
	border: 1px solid #dfe6dd;
	border-radius: 12px;
	background: #fff;
	color: #173b35;
	font: 14px/1.45 Arial, Helvetica, sans-serif;
	text-align: left;
}
.lwf-duty * { box-sizing: border-box; }
.lwf-duty-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lwf-duty-eyebrow { margin: 0; color: #536a60; font-size: 10px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.lwf-duty-date { margin: 2px 0 0; font-weight: 700; }
.lwf-duty-clock {
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--lwf-duty-gray-bg);
	color: var(--lwf-duty-gray);
	font: 700 22px/1.2 Arial, Helvetica, sans-serif;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}
.lwf-duty-clock.is-open { background: var(--lwf-duty-green-bg); color: var(--lwf-duty-green); }
.lwf-duty-clock.is-late { background: var(--lwf-duty-red-bg); color: var(--lwf-duty-red); }
.lwf-duty-list { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lwf-duty-session {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 4px 10px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #dfe6dd;
	border-left-width: 5px;
	border-radius: 8px;
	background: var(--lwf-duty-gray-bg);
}
.lwf-duty-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--lwf-duty-gray); }
.lwf-duty-name { display: flex; flex-wrap: wrap; gap: 2px 8px; align-items: baseline; }
.lwf-duty-name span { color: #536a60; font-size: 13px; }
.lwf-duty-status { grid-column: 2; font-size: 13px; font-weight: 700; color: var(--lwf-duty-gray); }
.lwf-duty-session.is-upcoming { border-left-color: var(--lwf-duty-gray); }
.lwf-duty-session.is-open { border-color: #b6dfc6; border-left-color: var(--lwf-duty-green); background: var(--lwf-duty-green-bg); }
.lwf-duty-session.is-open .lwf-duty-dot { background: var(--lwf-duty-green); box-shadow: 0 0 0 4px rgba(29,122,76,.18); }
.lwf-duty-session.is-open .lwf-duty-status { color: var(--lwf-duty-green); }
.lwf-duty-session.is-late { border-color: #f2c4bf; border-left-color: var(--lwf-duty-red); background: var(--lwf-duty-red-bg); }
.lwf-duty-session.is-late .lwf-duty-dot { background: var(--lwf-duty-red); }
.lwf-duty-session.is-late .lwf-duty-status { color: var(--lwf-duty-red); }
.lwf-duty-session.is-done { border-left-color: #195c4e; background: #fff; }
.lwf-duty-session.is-done .lwf-duty-dot { background: #195c4e; }
.lwf-duty-session.is-done .lwf-duty-status { color: #195c4e; }
.lwf-duty-session.is-ended { opacity: .7; }
.lwf-duty-note { margin: 10px 0 0; padding: 8px 10px; border-radius: 6px; background: #fff7e0; color: #6b4e00; font-size: 13px; }
.lwf-duty-none { margin: 12px 0 0; color: #536a60; font-weight: 700; }
.lwf-duty-help { margin: 10px 0 0; color: #536a60; font-size: 12px; }
.lwf-late-box { display: grid; gap: 4px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid #f2c4bf; border-left: 5px solid #b3261e; border-radius: 8px; background: #fdecea; color: #7a1a14; text-align: left; }
.lwf-btn.lwf-btn-late { background: #b3261e; border-color: #b3261e; color: #fff; }
.lwf-remark { display: block; margin-top: 2px; color: #795000; font-size: 12px; }
.lwf-calendar-remarks { margin: 8px 0 0; padding: 8px 10px; border-radius: 6px; background: #fff7e0; color: #6b4e00; font-size: 13px; }
.lwf-calendar-remarks strong { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.lwf-calendar-code { color: #b3261e; }
.lwf-schedule-table input[type="time"] { max-width: 120px; }
.lwf-schedule-table td, .lwf-schedule-table th { vertical-align: middle; }
.lwf-schedule-dates .lwf-inline { display: inline; }
@media (max-width: 600px) {
	.lwf-duty-clock { font-size: 18px; }
	.lwf-schedule-table thead { display: none; }
	.lwf-schedule-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 8px 0; border-bottom: 1px solid #dfe6dd; }
	.lwf-schedule-table td { display: block; padding: 2px 0; border: 0; }
	.lwf-schedule-table td[data-label]::before { content: attr(data-label); display: block; color: #536a60; font-size: 11px; }
}

/* v2.9 — Task board (one card per project / domain) and ticket page. */
.lwf-tk-board, .lwf-tk-page, .lwf-tk-mine, .lwf-tk-activity { --tk-ink: #173b35; --tk-muted: #5b6f66; --tk-line: #dfe6dd; --tk-soft: #f3f6f1; --tk-green: #1d7a4c; --tk-blue: #2f6aa3; --tk-red: #b3261e; --tk-amber: #8a6100; }
.lwf-tk-board { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 14px; align-items: start; overflow-x: auto; padding: 4px 2px 12px; }
.lwf-tk-lane { min-width: 0; padding: 12px; border: 1px solid var(--tk-line); border-radius: 12px; background: var(--tk-soft); }
.lwf-tk-lane > header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.lwf-tk-lane > header::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--tk-muted); }
.lwf-tk-lane.is-ongoing > header::before { background: var(--tk-blue); }
.lwf-tk-lane.is-done > header::before { background: var(--tk-green); }
.lwf-tk-lane > header h2 { flex: 1; margin: 0; padding: 0; font-size: 15px; color: var(--tk-ink); }
.lwf-tk-lane > header span { color: var(--tk-muted); font-size: 13px; font-weight: 700; }
.lwf-tk-lane-note, .lwf-tk-empty { margin: -4px 0 8px; color: var(--tk-muted); font-size: 12px; }
.lwf-tk-lane > ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lwf-tk-card { margin: 0; border: 1px solid var(--tk-line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(23,59,53,.06); }
.lwf-tk-card:hover { border-color: var(--tk-green); }
.lwf-tk-card > a { display: grid; gap: 8px; padding: 12px; color: var(--tk-ink); text-decoration: none; overflow-wrap: anywhere; }
.lwf-tk-card-name { font-size: 16px; line-height: 1.3; }
.lwf-tk-card-tasks { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lwf-tk-card-tasks li { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; }
.lwf-tk-card-tasks li > span:first-child { flex: 1; min-width: 0; }
.lwf-tk-more { color: var(--tk-muted); }
.lwf-tk-count { color: var(--tk-muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.lwf-tk-card-meta { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.lwf-tk-new { padding: 1px 8px; border-radius: 999px; background: #e8f0fb; color: var(--tk-blue); font-weight: 700; }
.lwf-tk-takers { color: var(--tk-amber); font-weight: 700; }
.lwf-tk-chip { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #eef1ee; color: var(--tk-muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.lwf-tk-chip.is-ongoing { background: #e8f0fb; color: var(--tk-blue); }
.lwf-tk-chip.is-fix { background: #fdecea; color: var(--tk-red); }
.lwf-tk-chip.is-done { background: #e6f5ec; color: var(--tk-green); }

.lwf-tk-page { max-width: 980px; color: var(--tk-ink); }
.lwf-tk-back { font-weight: 700; }
.lwf-tk-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.lwf-tk-eyebrow { margin: 0; color: var(--tk-muted); font-size: 11px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.lwf-tk-title { margin: 2px 0 4px; font-size: 26px; line-height: 1.2; overflow-wrap: anywhere; }
.lwf-tk-desc { margin: 0; color: var(--tk-muted); }
.lwf-tk-panel, .lwf-tk-task { margin: 0 0 14px; border: 1px solid var(--tk-line); border-radius: 12px; background: #fff; }
.lwf-tk-panel { padding: 16px; }
.lwf-tk-task > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 16px; cursor: pointer; list-style: none; }
.lwf-tk-task > summary::-webkit-details-marker { display: none; }
.lwf-tk-task > summary::before { content: "▸"; color: var(--tk-muted); }
.lwf-tk-task[open] > summary::before { content: "▾"; }
.lwf-tk-task-title { font-size: 17px; font-weight: 700; }
.lwf-tk-date { margin-left: auto; color: var(--tk-muted); font-size: 12px; }
.lwf-tk-task.is-closed { background: #fafbf9; }
.lwf-tk-task-body { padding: 0 16px 16px; }
.lwf-tk-bar { height: 6px; margin: 0 0 12px; border-radius: 999px; background: #eef1ee; overflow: hidden; }
.lwf-tk-bar span { display: block; height: 100%; background: var(--tk-green); }
.lwf-tk-warn { margin: 0 0 10px; padding: 8px 10px; border-left: 4px solid #d4a017; border-radius: 6px; background: #fff7e0; color: #6b4e00; font-weight: 700; font-size: 13px; }
.lwf-tk-info { margin: 0 0 10px; padding: 8px 10px; border-radius: 6px; background: #eef4fb; color: #24527f; font-size: 13px; }
.lwf-tk-notes { margin: 0 0 10px; color: var(--tk-ink); }
.lwf-tk-files { margin: 8px 0; grid-template-columns: repeat(auto-fill, minmax(120px, 160px)); }
.lwf-tk-items { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lwf-tk-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; margin: 0; padding: 12px; border: 1px solid var(--tk-line); border-radius: 10px; background: #fff; }
.lwf-tk-item.is-taken { border-color: #f0d68a; background: #fffcf2; }
.lwf-tk-item.is-done { border-color: #7cc79c; border-left: 6px solid var(--tk-green); background: #e3f5ea; }
.lwf-tk-item.is-mine { box-shadow: inset 4px 0 0 var(--tk-blue); }
.lwf-tk-num { margin-right: 2px; color: var(--tk-ink); font-weight: 800; }
.lwf-tk-tickcol { display: flex; justify-content: center; padding-top: 1px; }
.lwf-tk-tick { display: grid; place-items: center; width: 34px; height: 34px; margin: 0; padding: 0; border: 2px solid #9aaba3; border-radius: 8px; background: #fff; color: #fff; font: 800 20px/1 Arial, Helvetica, sans-serif; cursor: pointer; transition: background .15s, border-color .15s; }
button.lwf-tk-tick:hover { border-color: var(--tk-green); background: #e6f5ec; }
button.lwf-tk-tick:focus-visible { outline: 3px solid #8dbb54; outline-offset: 2px; }
.lwf-tk-tick.is-checked { border-color: var(--tk-green); background: var(--tk-green); color: #fff; }
button.lwf-tk-tick.is-checked:hover { background: #16613c; }
.lwf-tk-tick.is-static { cursor: default; opacity: .85; }
.lwf-tk-item.is-taken .lwf-tk-tick:not(.is-checked) { border-color: #d4a017; }
.lwf-tk-tick:disabled { opacity: .5; }
.lwf-tk-item-main { min-width: 0; }
.lwf-tk-text { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.lwf-tk-item.is-done .lwf-tk-text { color: #1f4d35; }
.lwf-tk-state.is-done { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #fff; }
.lwf-tk-state { margin: 6px 0 0; color: var(--tk-muted); font-size: 13px; }
.lwf-tk-state.is-done { color: var(--tk-green); font-weight: 700; }
.lwf-tk-state.is-taken { color: var(--tk-amber); font-weight: 700; }
.lwf-tk-remarks { margin: 6px 0 0; padding: 0 0 0 14px; color: #6b4e00; font-size: 12px; }
.lwf-tk-remarks li { margin: 2px 0; }
.lwf-tk-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 0; }
.lwf-tk-actions .lwf-tk-warn { flex-basis: 100%; margin: 0; }
.lwf-tk-confirm { flex-basis: 100%; display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; }
.lwf-tk-btn { min-height: 36px !important; padding: 6px 12px !important; }
.lwf-tk-admin { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; margin-top: 8px; }
.lwf-tk-admin .lwf-tk-inline { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.lwf-tk-edit > summary { cursor: pointer; color: var(--tk-blue); font-weight: 700; }
.lwf-tk-add { margin: 14px 0 0; padding: 12px; border: 1px dashed var(--tk-line); border-radius: 10px; background: var(--tk-soft); }
.lwf-tk-add h3 { margin: 0 0 8px; font-size: 14px; }
.lwf-tk-chat { margin: 14px 0 0; padding-top: 10px; border-top: 1px solid var(--tk-line); }
.lwf-tk-chat > summary { cursor: pointer; font-weight: 700; }
.lwf-tk-msgs { margin: 10px 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lwf-tk-msgs li { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--tk-soft); }
.lwf-tk-msgs span { color: var(--tk-muted); font-size: 12px; }
.lwf-tk-chat form { display: grid; gap: 8px; margin-top: 8px; }
.lwf-tk-input { width: 100%; min-height: 56px; padding: 8px 10px; border: 1px solid var(--tk-line); border-radius: 8px; font: inherit; }
.lwf-tk-chat button { justify-self: start; }

.lwf-tk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 10px; }
.lwf-tk-stats div { padding: 10px; border-radius: 8px; background: var(--tk-soft); text-align: center; }
.lwf-tk-stats strong { display: block; font-size: 22px; color: var(--tk-ink); }
.lwf-tk-stats span { color: var(--tk-muted); font-size: 12px; }
.lwf-tk-list-h { margin: 12px 0 6px; font-size: 13px; color: var(--tk-muted); text-transform: uppercase; letter-spacing: .8px; }
.lwf-tk-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.lwf-tk-list li { margin: 0; border-left: 4px solid var(--tk-amber); border-radius: 6px; background: #fffcf2; }
.lwf-tk-list li.is-done { border-left-color: var(--tk-green); background: #f3fbf6; }
.lwf-tk-list a { display: grid; gap: 2px; padding: 8px 10px; color: var(--tk-ink); text-decoration: none; }
.lwf-tk-list-where { font-size: 12px; font-weight: 700; color: var(--tk-muted); }
.lwf-tk-list small { color: var(--tk-muted); }

.lwf-tk-newform { max-width: 860px; }
.lwf-item-rows { margin: 0 0 6px 22px; padding: 0; }
.lwf-item-row { margin: 0 0 12px; padding-left: 4px; }
.lwf-item-row::marker { font-weight: 800; color: #195c4e; }
.lwf-item-row textarea { display: block; width: 100%; }
.lwf-item-image { display: block; margin-top: 4px; color: #5b6f66; font-size: 12px; }

.lwf-late-banner { display: grid; gap: 4px; margin: 0 0 14px; padding: 14px 16px; border: 2px solid #b3261e; border-radius: 12px; background: #fdecea; color: #7a1a14; }
.lwf-late-banner strong { font-size: 22px; letter-spacing: 1px; }
.lwf-late-banner ul { margin: 0; padding-left: 18px; font-weight: 700; }
.lwf-late-banner span { font-size: 13px; }
.lwf-duty-logout { margin: 10px 0 0; padding: 6px 10px; border-radius: 6px; background: #eef4fb; color: #24527f; font-size: 12px; font-weight: 700; }
.lwf-auth-out { margin: 0 0 14px; padding: 10px 12px; border-left: 4px solid #b3261e; border-radius: 6px; background: #fdecea; color: #7a1a14; font-size: 13px; }
.login-lwf-extension { margin: 0 0 12px; }
.login-lwf-extension label { display: block; margin-bottom: 4px; }
.login-lwf-extension input { width: 100%; }

@media (max-width: 782px) {
	.lwf-tk-board { grid-template-columns: repeat(3, minmax(250px, 80vw)); scroll-snap-type: x proximity; }
	.lwf-tk-lane { scroll-snap-align: start; }
	.lwf-tk-title { font-size: 21px; }
	.lwf-tk-date { margin-left: 0; flex-basis: 100%; }
	.lwf-tk-stats strong { font-size: 18px; }
}

/* v2.10 — Task type labels and Projects period view. */
.lwf-tk-type { display: inline-block; padding: 1px 8px; border: 1px solid #cfd9d2; border-radius: 999px; color: #3d5a4f; font-size: 11px; font-weight: 700; white-space: nowrap; }
.lwf-tk-type.is-new_project { border-color: #9cc8f0; color: #2f6aa3; }
.lwf-tk-type.is-modification { border-color: #f0d68a; color: #8a6100; }
.lwf-tk-type.is-special { border-color: #d6b8e8; color: #6b3b8c; }
.lwf-tk-card-tasks small { color: #5b6f66; font-size: 11px; font-weight: 400; }
.lwf-period-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.lwf-period-tabs a { padding: 6px 12px; border: 1px solid #dfe6dd; border-radius: 999px; background: #fff; color: #173b35; font-weight: 700; text-decoration: none; }
.lwf-period-tabs a[aria-current="true"] { border-color: #195c4e; background: #195c4e; color: #fff; }
.lwf-period-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 12px; }
.lwf-period-nav strong { font-size: 18px; }
.lwf-period-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; max-width: 640px; }
.lwf-period-stats a { display: grid; gap: 2px; padding: 12px; border: 1px solid #dfe6dd; border-radius: 10px; background: #fff; color: #173b35; text-decoration: none; }
.lwf-period-stats strong { font-size: 24px; }
.lwf-period-stats span { color: #5b6f66; font-size: 12px; }

/* v2.11 — Session login codes and welcome popup. */
.login-lwf-code { margin: 0 0 14px; }
.login-lwf-code label { display: block; margin-bottom: 4px; font-weight: 700; }
.login-lwf-code input { width: 100%; font-size: 20px !important; letter-spacing: 3px; text-align: center; }
.login-lwf-help { display: block; margin-top: 4px; color: #5b6f66; font-size: 12px; line-height: 1.4; }
.lwf-code-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lwf-code-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0; padding: 10px 12px; border: 1px solid #dfe6dd; border-radius: 10px; background: #fff; }
.lwf-code-row.is-new { border-color: #195c4e; box-shadow: 0 0 0 3px rgba(25,92,78,.15); }
.lwf-code-who { display: grid; gap: 2px; }
.lwf-code-who span { color: #5b6f66; font-size: 12px; }
.lwf-code-value { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lwf-code-big { padding: 4px 12px; border-radius: 8px; background: #173b35; color: #fff; font: 800 24px/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 2px; }
.lwf-code-none { color: #5b6f66; font-size: 13px; }
.lwf-code-status { padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.lwf-code-status.is-in { background: #e6f5ec; color: #1d7a4c; }
.lwf-code-status.is-late { background: #fdecea; color: #b3261e; }
.lwf-hello { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 16px; background: rgba(10, 30, 25, .55); }
.lwf-hello-box { width: min(420px, 100%); padding: 28px 22px 22px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.25); animation: lwf-pop .25s ease-out; }
@keyframes lwf-pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lwf-hello-box { animation: none; } }
.lwf-hello-icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 50%; background: #1d7a4c; color: #fff; font: 800 40px/1 Arial, sans-serif; }
.lwf-hello.is-late .lwf-hello-icon { background: #b3261e; }
.lwf-hello-hi { margin: 0; color: #173b35; font-size: 18px; font-weight: 700; }
.lwf-hello-big { margin: 8px 0 6px; color: #1d7a4c; font-size: 26px; font-weight: 800; line-height: 1.2; }
.lwf-hello.is-late .lwf-hello-big { color: #b3261e; }
.lwf-hello-line { margin: 4px 0; color: #5b6f66; }
.lwf-hello .lwf-btn { margin-top: 16px; width: 100%; }
