/* qliko look (specification CP-18, requestor decision R3).
   Login, two-factor code, forgot-password and set-password pages:
   grey background, teal #0088A8 panel with the logo, fields on a #00B0C8 band.
   Main colour #048AAF; light teal #C6E2EC; top bar #1B8DB9 to #0D4E7A. */

body.q-login-body {
	margin: 0;
	background: #C0C0C0;
	font-family: "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 13px;
	color: #444;
}
.q-login-bg {
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 60px 16px;
	box-sizing: border-box;
}
.q-login {
	width: 560px;
	max-width: 100%;
	background: #0088A8;
	color: #fff;
	padding: 30px 60px 34px;
	box-sizing: border-box;
}
.q-login .q-login-logo {
	display: block;
	height: 84px;
	margin: 0 auto 22px;
}
.q-login h1 {
	color: #fff;
	font-family: Arial, sans-serif;
	font-weight: 700;
	font-size: 22px;
	margin: 0 0 10px;
}
.q-login .q-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	background: #00B0C8;
	margin: 0;
	padding: 6px 12px;
}
.q-login .q-row.q-first {
	padding-top: 12px;
}
.q-login .q-row.q-last {
	padding-bottom: 12px;
}
.q-login .q-row label {
	flex: 0 0 150px;
	color: #fff;
	font-weight: 700;
}
.q-login .q-row .ui-inputfield,
.q-login .q-row .ui-password {
	width: 230px;
	max-width: 100%;
}
.q-login .q-row .ui-password input {
	width: 100%;
}
.q-login .q-btnrow {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
}
.q-login .q-btnrow .q-link {
	margin-left: auto;
	color: #fff;
	text-decoration: underline;
}
.q-login .q-btn.ui-button {
	background: linear-gradient(#6fd5e6, #00A3BF);
	border: 1px solid #e6f7fa;
	color: #fff;
	font-weight: 700;
	min-width: 160px;
}
.q-login .ui-messages > div {
	margin: 6px 0 10px;
}
.q-login .ui-messages-info {
	background: #e7f6ec;
	border-color: #2e7d32;
	color: #1b5e20;
}
.q-login .ui-messages-error {
	background: #fdecea;
	border-color: #B71C1C;
	color: #B71C1C;
}
.q-error-text {
	color: #fff;
	margin: 0 0 16px;
}

/* ---- Page frame (template.xhtml), as the mockups and CP-18 ---------------- */
body.q-body {
	margin: 0;
	font-family: "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 13px;
	color: #444;
	background: #eef1f3;
}
.q-topbar {
	background: linear-gradient(90deg, #1B8DB9 0%, #0D4E7A 70%);
	color: #fff;
	height: 52px;
	display: flex;
	align-items: center;
	padding: 0 16px;
	gap: 14px;
}
.q-topbar .q-logo {
	height: 36px;
	display: block;
}
.q-topbar .q-user {
	margin-left: auto;
	font-size: 12px;
	opacity: .95;
}
.q-wrap {
	display: flex;
	min-height: calc(100vh - 52px);
}
.q-menu {
	width: 210px;
	background: #fff;
	border-right: 1px solid #e3e6e8;
	padding: 10px 0;
	flex-shrink: 0;
}
.q-menu a,
.q-menu .q-item {
	display: block;
	padding: 8px 18px;
	color: #444;
	text-decoration: none;
}
.q-menu a:hover {
	background: #EAF4F8;
}
.q-menu .q-on {
	background: #C6E2EC;
	color: #03708F;
	font-weight: 600;
	border-left: 3px solid #048AAF;
}
.q-menu .q-grp {
	font-size: 11px;
	color: #6D6E71;
	text-transform: uppercase;
	padding: 14px 18px 8px;
}
.q-menu .q-sub {
	padding-left: 32px;
}
.q-menu .q-off {
	color: #aaa;
	cursor: default;
}
.q-content {
	flex: 1;
	padding: 14px 20px;
	min-width: 0;
}
.q-crumb {
	font-size: 12px;
	color: #6D6E71;
	margin-bottom: 4px;
}
.q-content h1 {
	font-size: 20px;
	margin: 0 0 10px;
	color: #048AAF;
	font-weight: 600;
}
.q-card {
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
	padding: 14px 16px;
	margin-bottom: 14px;
}
.q-note {
	font-size: 12px;
	color: #6D6E71;
	font-style: italic;
}

/* ---- Two-factor, password and profile pages ------------------------------ */
.q-login.q-login-wide { width: 620px; }
.q-login p { color: #fff; }
.q-login .q-note-light { color: #d9f1f6; font-size: 12px; font-style: italic; }
.q-warn {
	background: #fff8e1;
	border-left: 4px solid #f9a825;
	color: #7a5800;
	padding: 8px 12px;
	margin: 6px 0 10px;
}
.q-qr {
	display: inline-block;
	background: #fff;
	padding: 8px;
	margin: 4px 0 8px;
}
.q-key {
	font-family: Consolas, "Courier New", monospace;
	font-weight: 700;
	letter-spacing: 1px;
}
.q-card h2 { font-size: 14px; margin: 0 0 10px; color: #03708F; }
.q-grid {
	display: grid;
	grid-template-columns: 170px 240px;
	gap: 8px 16px;
	align-items: center;
	justify-content: start;
}
.q-ro {
	display: block;
	background: #F0F0F0;
	border: 1px solid #D9DCDF;
	border-radius: 3px;
	padding: 5px 7px;
	min-height: 18px;
}
.q-form .q-btnrow { margin-top: 12px; display: flex; gap: 6px; }
.q-content .q-btn.ui-button { background: #048AAF; border-color: #048AAF; color: #fff; }
.q-card .q-row { background: none; padding: 4px 0; }
.q-card .q-row label { color: #444; font-weight: 400; }
.q-card .q-key { color: #333; }

/* ==== Shared screen parts (stage 4a): CP-18 colours and row 13a layout, as the
   mockups. Scoped to the content area so the login pages keep their look. ==== */
.q-content, .q-content .ui-widget { font-family: "Segoe UI", Roboto, Arial, sans-serif; font-size: 13px; }
.q-content .ui-widget .ui-widget { font-size: inherit; }

/* Filter row: caption beside field, aligned columns, packed left (row 13a) */
.q-filters {
	display: grid;
	grid-template-columns: repeat(auto-fill, 90px 128px);
	gap: 8px 6px;
	align-items: start;
	margin-bottom: 8px;
}
.q-filters > label { padding-top: 6px; padding-left: 8px; color: #444; }
.q-filters .q-fc, .q-filters .ui-selectonemenu, .q-filters .ui-inputfield { width: 100% !important; min-width: 0 !important; }

/* Refresh and Action row; messages come right below it (row 13a) */
.q-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin: 6px 0 10px; }

/* Buttons: main colour teal #048AAF (CP-18); secondary: white with a teal border */
.q-content .ui-button,
.q-content .ui-menubutton .ui-button,
.q-confirm .ui-button {
	background: #048AAF;
	border: 1px solid #048AAF;
	color: #fff;
	border-radius: 3px;
}
.q-content .ui-button:enabled:hover, .q-confirm .ui-button:enabled:hover { background: #03708F; border-color: #03708F; }
.q-content .ui-button.q-sec, .q-confirm .ui-button.q-sec {
	background: #fff;
	color: #048AAF;
	border: 1px solid #048AAF;
}
.q-content .ui-button.q-sec:enabled:hover, .q-confirm .ui-button.q-sec:enabled:hover { background: #EAF4F8; color: #03708F; }
.q-content .ui-button .ui-icon, .q-content .ui-button .ui-button-icon-left { color: inherit; }

/* Fields */
.q-content .ui-inputfield, .q-content .ui-selectonemenu, .q-content .ui-inputnumber input {
	border: 1px solid #cfd4d8;
	border-radius: 3px;
}
.q-content .ui-inputfield:enabled:focus, .q-content .ui-selectonemenu.ui-state-focus {
	border-color: #048AAF;
	box-shadow: 0 0 0 1px #048AAF;
}
.q-content .ui-chkbox .ui-chkbox-box.ui-state-active { background: #048AAF; border-color: #048AAF; }
.q-content label.q-req:after, .q-content .q-req > label:after { content: " *"; color: #B71C1C; }
.q-content .ui-outputlabel .ui-outputlabel-rfi { color: #B71C1C; }

/* Messages: as Belsize v7. Markup <p:messages styleClass="message ui-fix-spacing"
   globalOnly="true"/> below the Action row; colours from v7 theme_w6.css (Rain
   based). CP-18 does not change message colours. */

/* Data table: light teal header #C6E2EC, selected row light teal (CP-18) */
.q-content .q-table .ui-datatable-header {
	background: #EAF4F8;
	border: 1px solid #e3e6e8;
	border-bottom: 0;
	padding: 6px 8px;
}
.q-table-head { display: flex; justify-content: space-between; align-items: center; }
.q-search { display: inline-flex; align-items: center; gap: 6px; color: #048AAF; }
.q-content .q-table thead th {
	background: #C6E2EC;
	color: #333;
	font-weight: 600;
	padding: 7px 9px;
	border-bottom: 2px solid #9fcbdb;
	white-space: nowrap;
}
.q-content .q-table tbody td { padding: 6px 9px; border-bottom: 1px solid #eef0f2; font-size: 12.5px; }
.q-content .q-table tbody tr.ui-state-highlight,
.q-content .q-table tbody tr.ui-state-highlight td { background: #C6E2EC; color: #333; }
.q-content .q-table tbody tr.ui-state-highlight a { color: #03708F; }
.q-content .q-table td.q-num, .q-content .q-table th.q-num { text-align: right; }
.q-content .q-table a { color: #03708F; text-decoration: underline; }
.q-content .q-table .ui-paginator {
	font-size: 12px;
	color: #6D6E71;
	border: 1px solid #e3e6e8;
	border-top: 0;
	background: #fff;
	padding: 6px 8px;
	justify-content: flex-start;
}
.q-content .q-table .ui-paginator .ui-paginator-page.ui-state-active { background: #048AAF; color: #fff; border-radius: 2px; }
.q-content .ui-datatable .ui-sortable-column-icon, .q-content .ui-datatable .ui-sortable-column.ui-state-active { color: #03708F; }

/* Edit card inside a screen */
.q-editcard { border: 1px solid #C6E2EC; background: #fbfdfe; border-radius: 4px; padding: 10px 14px; margin: 0 0 12px; }
.q-editcard h2 { font-size: 14px; margin: 0 0 10px; color: #03708F; }
.q-editcard .q-grid { grid-template-columns: 150px 220px; }

/* Confirmation dialog */
.q-confirm .ui-dialog-titlebar { background: #048AAF; color: #fff; }

/* ==== Compact sizes as the mockups (13 px text, fields about 28 px high, rows about
   32 px). The body.q-body prefix outranks the Rain theme's larger defaults. ==== */
body.q-body .q-content .ui-inputfield,
body.q-body .q-content .ui-inputnumber input { font-size: 13px; padding: 4px 7px; height: 28px; box-sizing: border-box; }
body.q-body .q-content .ui-selectonemenu { height: 28px; min-height: 28px; }
body.q-body .q-content .ui-selectonemenu .ui-selectonemenu-label { font-size: 13px; padding: 4px 7px; line-height: 18px; }
body.q-body .q-content .ui-selectonemenu .ui-selectonemenu-trigger { width: 24px; }
body.q-body .q-content .ui-button { font-size: 13px; }
body.q-body .q-content .ui-button .ui-button-text { padding: 5px 12px; }
body.q-body .q-content .ui-button.ui-button-text-icon-left .ui-button-text { padding-left: 30px; }
body.q-body .q-content .ui-button.ui-button-text-icon-right .ui-button-text { padding-right: 30px; }
body.q-body .q-content .ui-chkbox .ui-chkbox-box { width: 16px; height: 16px; }
body.q-body .q-content .ui-chkbox .ui-chkbox-box .ui-chkbox-icon { font-size: 11px; }
body.q-body .q-content .q-table thead th { padding: 7px 9px; font-size: 12.5px; }
body.q-body .q-content .q-table tbody td { padding: 6px 9px; font-size: 12.5px; height: auto; }
body.q-body .q-content .q-table .ui-datatable-header { padding: 6px 8px; }
body.q-body .q-content .q-table .ui-datatable-header .ui-inputfield { width: 180px; }

/* Tables sized to their columns, white space on the right (row 13a); the
   search and Columns bar above still spans the card */
body.q-body .q-content .q-table .ui-datatable-tablewrapper > table { width: auto; min-width: 360px; }
body.q-body .q-content .q-table .ui-datatable-tablewrapper { border: 1px solid #e3e6e8; border-top: 0; }

/* ==== Detail forms (spec row 13a, mockup .grid, R15): caption beside its field, pairs
   packed left, captions 150 px on one line. Each column's width suits what its
   fields typically hold (--f1 first field column, --f2 second; 220 px for names,
   statuses and similar), and every field in a column takes that width, so both
   edges line up. A long field (.q-wide) runs to the second field's right edge.
   Read-only values are grey boxes of the same size. White space stays on the right.
   .q-one: one pair per row (as the mockups' stacked forms). ==== */
body.q-body .q-detail {
	--f1: 220px;
	--f2: 220px;
	display: grid;
	grid-template-columns: 150px var(--f1) 150px var(--f2);
	gap: 8px 16px;
	align-items: center;
	justify-content: start;
}
body.q-body .q-detail.q-one { grid-template-columns: 150px var(--f1); }
body.q-body .q-detail > label,
body.q-body .q-detail > .q-cap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #444; }
body.q-body .q-detail .q-f,
body.q-body .q-detail .q-f.ui-inputfield,
body.q-body .q-detail .q-f.ui-selectonemenu,
body.q-body .q-detail .q-f.ui-password,
body.q-body .q-detail .q-f.ui-inputnumber,
body.q-body .q-detail .q-f.ui-inputnumber input,
body.q-body .q-detail .q-f.ui-password input,
body.q-body .q-detail .q-ro { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
body.q-body .q-detail .q-wide { grid-column: 2 / span 3; }
body.q-body .q-detail .q-ro {
	display: block;
	background: #F0F0F0;
	border: 1px solid #D9DCDF;
	border-radius: 3px;
	padding: 4px 7px;
	min-height: 28px;
	line-height: 18px;
	color: #444;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
@media (max-width: 860px) { body.q-body .q-detail { grid-template-columns: 150px var(--f1); } body.q-body .q-detail .q-wide { grid-column: 2; } }

/* Edit cards end at the fields' right edge, not the page edge */
body.q-body .q-editcard { width: fit-content; max-width: 100%; box-sizing: border-box; }
body.q-body .q-editcard .q-actions { margin-bottom: 0; }

/* ==== List and detail pages (stage 4b) ==== */
body.q-body .q-content .q-back { color: #03708F; text-decoration: underline; margin-right: 6px; }
body.q-body .q-content h2.q-h2 { font-size: 14px; margin: 4px 0 10px; color: #03708F; }
body.q-body .q-detail .q-radio table { border-collapse: collapse; }
body.q-body .q-detail .q-radio td { padding: 0 14px 0 0; }
body.q-body .q-detail .q-ticks { display: flex; gap: 10px; align-items: center; }
body.q-body .q-detail .q-ticks .ui-chkbox { display: inline-flex; align-items: center; gap: 5px; width: auto; }
body.q-body .q-detail .q-ticks .ui-chkbox-box { flex: none; }   /* Rain shrank the boxes and wrapped "Time admin" */
body.q-body .q-detail .q-ticks .ui-chkbox-label { white-space: nowrap; margin: 0; }

/* One pair per row (.q-one) with a long field: fields keep the column width (--f1),
   the long field (.q-wide) takes --wide (default 622 px), as the mockups. */
body.q-body .q-detail.q-one { grid-template-columns: 150px auto; }
body.q-body .q-detail.q-one > .q-f:not(.q-wide),
body.q-body .q-detail.q-one > .q-ro:not(.q-wide) { width: var(--f1); }
body.q-body .q-detail.q-one > .q-wide { grid-column: 2; width: var(--wide, 622px); max-width: 100%; }
body.q-body .q-detail-actions { margin: 0 0 10px; }

/* PrimeFaces widens a drop-down to its longest label; in detail forms every field
   keeps its column's width (R15), so the label is cut with an ellipsis instead. */
body.q-body .q-detail .ui-selectonemenu.q-f { width: 100% !important; min-width: 0 !important; }
body.q-body .q-detail.q-one > .ui-selectonemenu.q-f:not(.q-wide) { width: var(--f1) !important; }
body.q-body .q-detail .ui-selectonemenu.q-f .ui-selectonemenu-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Table cells stay on one line, as the mockups; a wide table scrolls inside its card. */
body.q-body .q-content .q-table thead th,
body.q-body .q-content .q-table tbody td { white-space: nowrap; }
body.q-body .q-content .q-table .ui-datatable-tablewrapper { overflow-x: auto; }

/* Confirmation dialogs as the mockups: light-teal title bar, question, No and Yes on the right. */
body.q-body .ui-dialog.q-confirm { border-radius: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.25); padding: 0; }
body.q-body .ui-dialog.q-confirm .ui-dialog-titlebar { background: #C6E2EC; color: #333; padding: 8px 14px; border-radius: 4px 4px 0 0; }
body.q-body .ui-dialog.q-confirm .ui-dialog-title { font-size: 13px; font-weight: 600; }
body.q-body .ui-dialog.q-confirm .ui-dialog-content { padding: 14px; font-size: 13px; }
body.q-body .ui-dialog.q-confirm .ui-dialog-content p { margin: 0 0 12px; }
body.q-body .ui-dialog.q-confirm .q-actions,
body.q-body .ui-dialog.q-confirm .ui-dialog-buttonpane { border-top: 1px solid #eef0f2; padding-top: 10px; margin: 0; justify-content: flex-end; }
body.q-body .ui-dialog.q-confirm .ui-button { background: #048AAF; border: 1px solid #048AAF; color: #fff; font-size: 13px; }
body.q-body .ui-dialog.q-confirm .ui-button.q-sec { background: #fff; color: #048AAF; }

/* ==== Issue Log (stage 4c) ==== */
body.q-body .q-content .q-table td.q-ell { overflow: hidden; text-overflow: ellipsis; }
body.q-body .q-filters .q-ro-inline { display: block; background: #F0F0F0; border: 1px solid #D9DCDF; border-radius: 3px; padding: 4px 7px; min-height: 28px; box-sizing: border-box; }

/* ==== Issue page (stage 4d), as the mockups ==== */
body.q-body .q-adv { width: calc(var(--adv-w, 788px) + 20px); max-width: calc(100% + 20px); margin: 12px -10px 0; border: 1px solid #c6e2ec; border-radius: 3px; box-sizing: border-box; }
body.q-body .q-adv-bar { cursor: pointer; padding: 7px 10px; background: #EAF4F8; font-weight: 600; color: #03708F; user-select: none; }
body.q-body .q-adv-bar:focus-visible { outline: 2px solid #048AAF; }
body.q-body .q-adv-icon { font-size: 11px; transition: transform .15s; margin-right: 4px; }
body.q-body .q-adv.q-open .q-adv-icon { transform: rotate(90deg); }
body.q-body .q-adv-body { display: none; padding: 10px; }
body.q-body .q-adv.q-open .q-adv-body { display: block; }
body.q-body .q-editor { width: 788px; max-width: 100%; }
body.q-body .q-editor .ql-container { font-family: inherit; font-size: 13px; }
body.q-body .q-attach { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
body.q-body .q-ticks-row { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
body.q-body .q-ticks-row .ui-chkbox { display: inline-flex; align-items: center; gap: 5px; }
body.q-body .q-waiting { display: inline-flex; align-items: center; gap: 8px; }
body.q-body .q-hist { border: 1px solid #eef0f2; border-radius: 4px; padding: 8px 10px; margin-bottom: 8px; background: #fff; }
body.q-body .q-hist.q-priv { background: #ffe6e6; border-color: #f5c2c2; }
body.q-body .q-hist-head { display: flex; gap: 10px; align-items: center; font-size: 12px; color: #6D6E71; margin-bottom: 4px; flex-wrap: wrap; }
body.q-body .q-hist-head b { color: #333; }
body.q-body .q-hist-acts { margin-left: auto; display: flex; gap: 10px; }
body.q-body .q-hist-acts a, body.q-body .q-file { color: #03708F; text-decoration: underline; }
body.q-body .q-hist-body p { margin: 0 0 4px; }
/* R17: images pasted into comments fit the editor and History */
body.q-body .q-hist-body img, body.q-body .q-editor .ql-editor img { max-width: 100%; height: auto; }
body.q-body .q-paste-msg { color: #B71C1C; font-size: 12px; margin: 4px 0; }
body.q-body .q-file { margin-right: 12px; font-size: 12.5px; }
body.q-body .q-badge { display: inline-block; padding: 0 7px; border-radius: 9px; font-size: 11px; font-weight: 600; color: #fff; }
body.q-body .q-badge-priv { background: #B71C1C; }
body.q-body .q-badge-pin { background: #048AAF; }
/* PrimeFaces textEditor colours come from variables the Rain theme does not define */
body.q-body .ui-texteditor { --text-color: #444; --surface-a: #fff; }
body.q-body .q-editor .ql-toolbar.ql-snow { padding: 4px 6px; }
body.q-body .q-editor .ql-snow.ql-toolbar button:hover .ql-stroke, body.q-body .q-editor .ql-snow.ql-toolbar button.ql-active .ql-stroke { stroke: #048AAF; }
body.q-body .q-editor .ql-snow.ql-toolbar button:hover .ql-fill, body.q-body .q-editor .ql-snow.ql-toolbar button.ql-active .ql-fill { fill: #048AAF; }
body.q-body .q-ticks-row .ui-chkbox-box { flex: none; }
/* Attach files: secondary (outline) button, as the mockup */
body.q-body .q-upload .ui-button, body.q-body .q-upload.ui-button { background: #fff; color: #048AAF; border: 1px solid #048AAF; }
body.q-body .q-upload .ui-button:hover, body.q-body .q-upload.ui-button:hover { background: #EAF4F8; color: #03708F; }
body.q-body .q-editor .ql-container .ql-editor { min-height: 70px; }
/* Clone and Send message dialogs (IL-23, IL-26) */
body.q-body .q-form-dialog .q-detail.q-one { --f1: 260px; margin: 6px 0 4px; }
body.q-body .q-form-dialog .q-dialog-actions { justify-content: flex-end; margin-top: 14px; }
body.q-body .q-send-group { margin: 8px 0; }
body.q-body .q-send-head { font-weight: 600; color: #03708F; margin-bottom: 4px; }
body.q-body .q-send-group .ui-selectmanycheckbox td { padding: 2px 0; }
body.q-body .q-send-group .ui-chkbox-box { flex: none; }
body.q-body .q-send-note { margin: 4px 0 8px; }
/* Dialogs as the mockups: grey mask (Rain leaves it transparent) and the dialog just below the top bar */
body.q-body .ui-widget-overlay.ui-dialog-mask { background: rgba(0, 0, 0, .35); }
body.q-body .ui-dialog.q-confirm { top: 60px !important; }

/* ==== Time Report (stage 4f), as the mockups ==== */
body.q-body .q-tr-head { align-items: start; }
body.q-body .q-tr-head .q-week .q-note { margin-top: 3px; font-size: 11.5px; line-height: 1.35; width: 128px; }
body.q-body .q-status { display: inline-block; padding: 1px 9px; border-radius: 10px; font-size: 11.5px; font-weight: 600; width: auto !important; justify-self: start; }
body.q-body .q-status-saved { background: #FFF4D6; color: #7A5A00; }
body.q-body .q-status-submitted { background: #E3F4EA; color: #1B6E3C; }
body.q-body .q-status-notstarted { background: #EEF0F2; color: #555; }
body.q-body .q-tr-filter { margin: 10px 0 2px; }
body.q-body .q-tr-filter .ui-chkbox { display: inline-flex; align-items: center; gap: 6px; }
body.q-body .q-tr-filter .ui-chkbox-box { flex: none; }
body.q-body .q-tr-actions { margin-top: 12px; align-items: center; }
body.q-body .q-tr-add { width: 340px; max-width: 100%; }
body.q-body .q-tr-add .q-tr-add-input, body.q-body .q-tr-add input { width: 340px; max-width: 100%; }
body.q-body .q-tr-wrap { overflow-x: auto; margin-top: 10px; }
body.q-body table.q-tr { border-collapse: collapse; font-size: 13px; border: 1px solid #e3e6e8; }
body.q-body table.q-tr th { background: #C6E2EC; color: #333; font-weight: 600; text-align: left; padding: 8px 10px; white-space: nowrap; }
body.q-body table.q-tr th.q-tr-day, body.q-body table.q-tr th.q-tr-tot { text-align: center; }
body.q-body table.q-tr td { padding: 6px 10px; border-top: 1px solid #eef0f2; white-space: nowrap; }
body.q-body table.q-tr .q-tr-sel { width: 20px; padding-right: 2px; }
body.q-body table.q-tr td.q-tr-issue { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
body.q-body table.q-tr .q-tr-label { display: block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
body.q-body table.q-tr td.q-tr-num, body.q-body table.q-tr td.q-tr-tot { text-align: right; }
body.q-body table.q-tr .q-tr-cell { width: 70px; height: 28px; box-sizing: border-box; padding: 3px 7px; border: 1px solid #c8ccd0; border-radius: 3px; font: inherit; }
body.q-body table.q-tr .q-tr-cell:focus { outline: none; border-color: #048AAF; box-shadow: 0 0 0 2px rgba(4, 138, 175, .15); }
body.q-body table.q-tr .q-tr-cell.q-tr-err { border: 2px solid #B71C1C; background: #FFF5F5; }
body.q-body table.q-tr tfoot td { font-weight: 700; background: #F5F8FA; border-top: 2px solid #dfe3e6; }
body.q-body table.q-tr td.q-tr-over { color: #B71C1C; }
body.q-body table.q-tr td.q-tr-empty { color: #6D6E71; font-style: italic; }
body.q-body .q-tr-filter .ui-chkbox-label { white-space: nowrap; }
