/* ==========================================================================
   YNN HRM Portal - modern interface design system
   ========================================================================== */

:root {
	--green: #00a651;
	--green-2: #067a3d;
	--green-3: #045c2e;
	--dark: #07351f;
	--text: #14231b;
	--muted: #64776c;
	--bg: #f4f8f5;
	--card: #ffffff;
	--border: #dce8e1;
	--soft: #eef6f1;
	--danger: #d64545;
	--warn: #e08c00;
	--info: #2f80ed;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow: 0 1px 2px rgba(7, 53, 31, .06), 0 8px 24px rgba(7, 53, 31, .06);
	--shadow-lg: 0 18px 50px rgba(7, 53, 31, .18);
	--sidebar-w: 258px;
	--font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="dark"] {
	--text: #e6f0ea;
	--muted: #9db3a8;
	--bg: #0b1712;
	--card: #112119;
	--border: #21382c;
	--soft: #16281f;
	--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 26px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }

/* No overflow-x on html/body: it turns them into a scroll container and breaks the sticky sidebar. */
html, body { margin: 0; padding: 0; max-width: 100%; }

body {
	font-family: var(--font);
	color: var(--text);
	background: var(--bg);
	font-size: 14.5px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0 0 .35rem; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.06rem; }
h3 { font-size: .98rem; }
p { margin: 0 0 .6rem; }
a { color: var(--green-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .82em; background: var(--soft); padding: .12rem .35rem; border-radius: 5px; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .82rem; margin: .35rem 0 0; }
.num { font-size: .78rem; color: var(--muted); display: block; }
em.sub { display: block; font-style: normal; font-size: .77rem; color: var(--muted); }
.grow { flex: 1; min-width: 0; }
.prose p { margin-bottom: .55rem; }

.skip-link { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--card); padding: .5rem .9rem; border-radius: 8px; z-index: 200; }

/* ---------- Icons ---------- */
.ic { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic.big { width: 34px; height: 34px; stroke-width: 1.4; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: .4rem; justify-content: center;
	font: inherit; font-weight: 600; font-size: .86rem;
	padding: .5rem .9rem; border-radius: 10px; border: 1px solid var(--border);
	background: var(--card); color: var(--text); cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
	white-space: nowrap; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); text-decoration: none; }
.btn:active { transform: translateY(0); }
.btn.primary { background: linear-gradient(135deg, var(--green), var(--green-2)); border-color: transparent; color: #fff; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--soft); }
.btn.light { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn.danger { color: var(--danger); border-color: rgba(214, 69, 69, .35); background: transparent; }
.btn.danger:hover { background: rgba(214, 69, 69, .1); }
.btn.warn { color: var(--warn); border-color: rgba(224, 140, 0, .35); background: transparent; }
.btn.tiny { padding: .3rem .55rem; font-size: .78rem; border-radius: 8px; }
.btn.block { width: 100%; }
.btn .ic { width: 16px; height: 16px; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--green-2); cursor: pointer; text-decoration: underline; }
.link.tiny { font-size: .76rem; display: inline-block; }
.icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--border);
	background: var(--card); color: var(--text); cursor: pointer; font-size: 1.15rem; line-height: 1;
}
.icon-btn:hover { background: var(--soft); }
.only-mobile { display: none; }

.chip { border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: .32rem .7rem; font-size: .8rem; cursor: pointer; color: var(--text); }
.chip:hover { background: var(--soft); }
.chip-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }

.seg { display: inline-flex; background: var(--soft); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; font: inherit; font-size: .8rem; font-weight: 600; color: var(--muted); padding: .3rem .65rem; border-radius: 8px; cursor: pointer; }
.seg button.active { background: var(--card); color: var(--green-2); box-shadow: var(--shadow); }

/* ---------- Forms ---------- */
input, select, textarea {
	font: inherit; color: var(--text); background: var(--card);
	border: 1px solid var(--border); border-radius: 10px; padding: .5rem .65rem; width: 100%;
	transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 166, 81, .16); }
input[type="file"] { padding: .35rem; }
input:disabled { background: var(--soft); color: var(--muted); }
textarea { resize: vertical; }
label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); }
label input, label select, label textarea { margin-top: .28rem; font-weight: 400; color: var(--text); }

.grid-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.grid-form .span-2 { grid-column: 1 / -1; }
.grid-form .form-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: .5rem; }
.form-section { grid-column: 1 / -1; margin: .3rem 0 0; padding-top: .6rem; border-top: 1px solid var(--border); color: var(--text); }
.stack-form { display: grid; gap: .75rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.inline-form { display: inline-flex; gap: .3rem; align-items: center; flex-wrap: wrap; }
/* small visible input inside an inline form (e.g. set password when creating a member login) */
.inline-form .mini-input { width: 132px; padding: .3rem .45rem; font-size: .76rem; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); color: inherit; }
.inline-form .mini-input:focus { outline: none; border-color: var(--green); }
/* live password-match feedback in the create-login dialog */
.hint.match-ok { color: var(--green); font-weight: 600; }
.hint.match-bad { color: var(--danger); font-weight: 600; }
.reply-form { display: flex; gap: .5rem; align-items: flex-end; margin-top: .5rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; margin-bottom: 1rem; }
.filter-bar .field { min-width: 140px; }
.form-row-between { display: flex; justify-content: space-between; font-size: .82rem; }
.form-message { font-size: .84rem; min-height: 1.1rem; }
.form-message.bad { color: var(--danger); }
.form-message.ok { color: var(--green-2); }
.live-total { background: var(--soft); border-radius: var(--radius-sm); padding: .6rem .8rem; font-size: .95rem; }
.custom-range { display: none; }
.custom-range.show { display: block; }

/* ---------- Auth pages (frosted glass over an illustrated scene) ---------- */
.auth-body {
	min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.6rem 1.5rem; color: #fff;
	background-color: #04281a;
	background-image: url("../img/auth-scene.svg");
	background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed;
}
.auth-body::before {
	content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
	background: radial-gradient(900px 620px at 50% 18%, rgba(0, 166, 81, .18), transparent 70%), rgba(4, 30, 18, .28);
}
/* margin:auto keeps a tall card centred without ever clipping its top edge */
.auth-shell { position: relative; z-index: 1; width: min(432px, 100%); display: block; margin: auto; }
.auth-shell.is-wide { width: min(900px, 100%); }
.auth-hero { display: none; }
.auth-card {
	background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .3); border-radius: 26px;
	padding: 2.4rem 2.1rem; display: flex; flex-direction: column; gap: 1.05rem;
	-webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
	box-shadow: 0 30px 70px rgba(3, 22, 13, .45), inset 0 1px 0 rgba(255, 255, 255, .35);
}
/* Wide cards (Register, Complete profile) must never scroll inside themselves:
   the card shrinks to fit the viewport instead of growing a scrollbar. */
.auth-card.wide { padding: 1.6rem 1.9rem; gap: .55rem; }
.auth-card.wide .auth-brand { gap: .1rem; }
.auth-card.wide .brand-logo { width: 218px; }
.auth-card.wide .auth-brand h1 { font-size: 1.5rem; margin: .1rem 0 0; }
.auth-card.wide .auth-brand p { font-size: .74rem; }
.auth-card.wide .stack-form, .auth-card.wide .grid-form { gap: .55rem; }
.auth-card.wide label { font-size: .66rem; letter-spacing: .07em; gap: .1rem; }
.auth-card.wide input, .auth-card.wide select, .auth-card.wide textarea { padding: .32rem .15rem; font-size: .92rem; }
.auth-card.wide .btn.primary { padding: .68rem 1.1rem; }
.auth-card.wide .auth-foot { padding-top: .6rem; }
.auth-card.wide .form-message { min-height: 0; }
@media (min-height: 780px) {
	.auth-card.wide { padding: 2rem 2.1rem; gap: .85rem; }
	.auth-card.wide .stack-form, .auth-card.wide .grid-form { gap: .95rem; }
}
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; }
.brand-logo { width: 180px; }
.auth-brand h1 { font-size: 1.9rem; margin: .2rem 0 0; color: #fff; letter-spacing: .01em; }
.auth-brand p { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .72); }

/* form fields drawn as underlines, like the reference design */
.auth-card .stack-form, .auth-card .grid-form { gap: 1.05rem; }
.auth-card .two-col { gap: .9rem 1.5rem; }
/* every piece of text on the auth cards is bold */
.auth-card,
.auth-card h1,
.auth-card h2,
.auth-card h3,
.auth-card p,
.auth-card span,
.auth-card em,
.auth-card strong,
.auth-card label {
    font-weight: 900;
}
.auth-card input,
.auth-card select,
.auth-card textarea,
.auth-card option,
.auth-card a,
.auth-card button,
.auth-card .btn,
.auth-card .link,
.auth-card .hint {
    font-weight: 900;
}
.auth-card .alert,
.auth-card .form-message,
.auth-card .lede,
.auth-card .symbolic {
    font-weight: 900;
}
.auth-card .auth-brand h1 { font-weight: 800; }
.auth-card label { display: grid; gap: .3rem; font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.auth-card input, .auth-card select, .auth-card textarea {
	width: 100%; background: transparent; border: 0; border-bottom: 2px solid rgba(255, 255, 255, .42);
	border-radius: 0; color: #fff; padding: .5rem .15rem; font-size: 1rem; font-family: inherit; box-shadow: none;
}
.auth-card input:focus, .auth-card select:focus, .auth-card textarea:focus { outline: none; border-bottom-color: #fff; box-shadow: 0 1px 0 #fff; }
.auth-card input::placeholder { color: rgba(255, 255, 255, .5); letter-spacing: normal; }
.auth-card select { -webkit-appearance: none; appearance: none; }
.auth-card select option { color: #0b2d1c; background: #fff; }
.auth-card input[type="file"] { font-size: .84rem; color: rgba(255, 255, 255, .8); border-bottom: 0; }
.auth-card input:-webkit-autofill, .auth-card input:-webkit-autofill:focus {
	-webkit-text-fill-color: #fff; caret-color: #fff; -webkit-box-shadow: 0 0 0 1000px rgba(6, 45, 27, .72) inset;
}
.auth-remember { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.auth-card .auth-remember label.check {
	display: flex; flex-direction: row; align-items: center; gap: .45rem;
	font-size: .8rem; font-weight: 600; text-transform: none; letter-spacing: normal; color: rgba(255, 255, 255, .88);
}
.auth-card input[type="checkbox"] { width: 15px; height: 15px; border-bottom: 0; accent-color: #fff; cursor: pointer; }

/* white pill button */
.auth-card .btn.primary {
	background: #fff; color: var(--green-3); border: 0; border-radius: 999px;
	padding: .85rem 1.1rem; font-size: .97rem; font-weight: 700; letter-spacing: .01em;
	box-shadow: 0 14px 28px rgba(3, 22, 13, .3); transition: transform .15s ease, box-shadow .15s ease;
}
.auth-card .btn.primary:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(3, 22, 13, .38); background: #fff; }
.auth-card .btn.primary:disabled { opacity: .7; transform: none; }
.auth-card .btn.ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .38); border-radius: 999px; padding: .78rem 1.1rem; font-weight: 600; }
.auth-card .btn.ghost:hover { background: rgba(255, 255, 255, .22); }
.auth-card .link { color: #fff; font-size: .8rem; font-weight: 600; text-decoration: none; }
.auth-card .link:hover { text-decoration: underline; }
.auth-alt { text-align: center; font-size: .84rem; color: rgba(255, 255, 255, .78); margin: 0; }
.auth-card .form-row-between { font-size: .82rem; }
.auth-card .hint { color: rgba(255, 255, 255, .7); }
/* the status line reserves no space until it actually holds a message */
.auth-card .form-message:empty { display: none; min-height: 0; margin: 0; }
.auth-card .form-message.ok { color: #c6ffdd; }
.auth-card .form-message.bad { color: #ffd3d3; }
.auth-card .alert { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .32); color: #fff; }
.auth-card .alert.ok { background: rgba(126, 240, 171, .22); border-color: rgba(126, 240, 171, .45); }
.auth-card .alert.bad { background: rgba(255, 138, 138, .22); border-color: rgba(255, 138, 138, .45); }
.auth-card .alert.warn { background: rgba(255, 209, 102, .22); border-color: rgba(255, 209, 102, .5); }
.auth-foot { margin-top: .3rem; display: flex; align-items: center; justify-content: center; gap: .5rem; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: .9rem; font-size: .71rem; color: rgba(255, 255, 255, .7); text-align: center; }
.auth-foot .symbolic-logo { width: 80px; opacity: .9; }
.lede { font-size: .95rem; color: rgba(255, 255, 255, .82); }
.stack { display: grid; gap: .55rem; }
.home-grid { display: grid; gap: .6rem; margin-top: .4rem; }
.home-grid div { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-sm); padding: .7rem .85rem; display: grid; gap: .15rem; }
.home-grid strong { font-size: .88rem; color: #fff; }
.home-grid span { font-size: .8rem; color: rgba(255, 255, 255, .75); }
.symbolic { font-size: .72rem; color: rgba(255, 255, 255, .7); text-align: center; margin-top: auto; }
.alert { border-radius: var(--radius-sm); padding: .6rem .8rem; font-size: .85rem; border: 1px solid var(--border); }
.alert.ok { background: rgba(0, 166, 81, .1); border-color: rgba(0, 166, 81, .3); }
.alert.bad { background: rgba(214, 69, 69, .1); border-color: rgba(214, 69, 69, .3); }
.alert.warn { background: rgba(224, 140, 0, .12); border-color: rgba(224, 140, 0, .32); }
/* page-level notice banner (icon + text), e.g. members without a portal login */
.alert.notice { display: flex; gap: .55rem; align-items: flex-start; margin-bottom: 1.1rem; }
.alert.notice svg { flex: 0 0 auto; margin-top: .1rem; }

/* ---------- App shell ---------- */
.impersonation-banner {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	background: linear-gradient(90deg, #b3261e, #d64545); color: #fff;
	padding: .5rem 1rem; font-size: .84rem; position: sticky; top: 0; z-index: 60;
}
.impersonation-banner span { display: inline-flex; align-items: center; gap: .45rem; }

.shell { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; width: 100%; max-width: 100%; }

.sidebar {
	background: linear-gradient(180deg, var(--dark), #042516); color: #dff3e7;
	display: flex; flex-direction: column; position: sticky; top: 0; align-self: start; height: 100vh; max-height: 100vh; overflow: hidden;
}
.sidebar-brand { display: flex; align-items: center; gap: .6rem; padding: 1.05rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sidebar-brand img { width: 60px; }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-size: .95rem; color: #fff; }
.brand-text span { font-size: .7rem; opacity: .7; }
/* overscroll-behavior: contain stops the wheel from chaining through to the page
   once an inner panel reaches its top or bottom. */
.nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .7rem .6rem 1.2rem; }
.nav::-webkit-scrollbar { width: 6px; }
.nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .18); border-radius: 8px; }
.nav-group + .nav-group { margin-top: .85rem; }
.nav-label { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; opacity: .55; margin: 0 .55rem .35rem; }
.nav-item {
	display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 10px;
	color: #cfe9db; font-size: .87rem; font-weight: 500; position: relative;
}
.nav-item:hover { background: rgba(255, 255, 255, .08); color: #fff; text-decoration: none; }
.nav-item.active { background: rgba(0, 166, 81, .28); color: #fff; box-shadow: inset 3px 0 0 #4ce68f; }
.nav-item .pill { margin-left: auto; background: var(--danger); color: #fff; font-size: .68rem; font-style: normal; padding: 0 .35rem; border-radius: 999px; }
.autofill-decoy { position: fixed !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.auth-card input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1) brightness(2); opacity: 1; cursor: pointer; }
#registerMemberTypeWrap[hidden] { display: none !important; }
.sidebar-foot { padding: .8rem 1rem; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; align-items: center; gap: .5rem; font-size: .68rem; opacity: .7; }
.sidebar-foot .symbolic-logo { width: 30px; }

.main-col { display: flex; flex-direction: column; min-width: 0; max-width: 100%; }
.topbar {
	display: flex; align-items: center; gap: .8rem; padding: .7rem 1.2rem;
	background: color-mix(in srgb, var(--card) 88%, transparent);
	backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50;
}
.global-search { position: relative; flex: 1; max-width: 620px; display: flex; align-items: center; }
.global-search .ic { position: absolute; left: .65rem; color: var(--muted); }
.global-search input { padding-left: 2.2rem; border-radius: 999px; background: var(--soft); }
.search-results {
	position: absolute; top: calc(100% + .4rem); left: 0; right: 0; background: var(--card);
	border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); z-index: 70; max-height: 380px; overflow: auto; overscroll-behavior: contain;
}
.search-group { padding: .45rem .7rem; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--soft); }
.search-item { display: flex; gap: .55rem; align-items: center; padding: .5rem .7rem; color: var(--text); border-bottom: 1px solid var(--border); }
.search-item:hover, .search-item.active { background: var(--soft); text-decoration: none; }
.search-item em { font-style: normal; font-size: .76rem; color: var(--muted); }
.topbar-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.icon-btn .dot {
	position: absolute; top: -5px; right: -5px; background: var(--danger); color: #fff;
	font-size: .65rem; font-style: normal; min-width: 17px; height: 17px; border-radius: 999px;
	display: grid; place-items: center; padding: 0 3px;
}
.user-chip { display: flex; align-items: center; gap: .5rem; background: var(--card); border: 1px solid var(--border); border-radius: 999px; padding: .28rem .7rem .28rem .3rem; cursor: pointer; font: inherit; color: var(--text); }
.user-chip:hover { background: var(--soft); }
.user-meta { display: grid; text-align: left; line-height: 1.15; }
.user-meta strong { font-size: .82rem; }
.user-meta em { font-style: normal; font-size: .7rem; color: var(--muted); }

.avatar {
	width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
	background: linear-gradient(135deg, var(--green), var(--green-3)); color: #fff;
	display: inline-grid; place-items: center; font-size: .78rem; font-weight: 700;
}
.avatar.sm { width: 26px; height: 26px; font-size: .66rem; vertical-align: middle; }
.avatar.xl { width: 68px; height: 68px; font-size: 1.3rem; }

.dropdown { position: relative; }
.dropdown-panel {
	position: absolute; right: 0; top: calc(100% + .45rem); min-width: 260px; background: var(--card);
	border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	padding: .35rem; display: none; z-index: 80;
}
.dropdown.open .dropdown-panel { display: block; }
.dropdown-item { display: flex; align-items: center; gap: .5rem; padding: .5rem .6rem; border-radius: 9px; color: var(--text); font-size: .86rem; }
.dropdown-item:hover { background: var(--soft); text-decoration: none; }
.dropdown-item.danger { color: var(--danger); }
.dropdown-head { display: flex; align-items: center; justify-content: space-between; padding: .45rem .6rem; }
.dropdown-foot { display: block; text-align: center; padding: .5rem; border-top: 1px solid var(--border); font-size: .82rem; }
.notif-panel { width: 340px; max-height: 420px; overflow: auto; overscroll-behavior: contain; }
.pad { padding: .8rem; }
.notif { display: flex; gap: .55rem; padding: .55rem .6rem; border-radius: 9px; color: var(--text); }
.notif:hover { background: var(--soft); text-decoration: none; }
.notif.unread { background: rgba(0, 166, 81, .07); }
.notif span { display: grid; gap: .1rem; }
.notif strong { font-size: .83rem; }
.notif em { font-style: normal; font-size: .77rem; color: var(--muted); }
.notif small { font-size: .68rem; color: var(--muted); }
.notif-tone { width: 7px; height: 7px; border-radius: 50%; background: var(--info); margin-top: .45rem; flex: 0 0 auto; }
.notif-tone.success { background: var(--green); }
.notif-tone.warning { background: var(--warn); }
.notif-tone.danger { background: var(--danger); }
.notif-page { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.notif-page li { display: flex; gap: .6rem; align-items: center; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.notif-page li.unread { border-color: rgba(0, 166, 81, .4); background: rgba(0, 166, 81, .05); }
.notif-page strong { display: block; font-size: .88rem; }
.notif-page em { font-style: normal; font-size: .82rem; color: var(--muted); display: block; }
.notif-page small { font-size: .7rem; color: var(--muted); }

.content { padding: 1.2rem 1.6rem 2.4rem; max-width: none; width: 100%; min-width: 0; }
@media (min-width: 1800px) { .content { padding-left: 2.2rem; padding-right: 2.2rem; } }
.breadcrumb { display: flex; gap: .4rem; align-items: center; font-size: .78rem; color: var(--muted); margin-bottom: .7rem; }
.page-head { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-start; justify-content: space-between; margin-bottom: 1.1rem; }
.page-head p { margin: 0; font-size: .87rem; max-width: 78ch; }
.page-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.symbolic-inline { display: inline-flex; align-items: center; gap: .4rem; }
.symbolic-inline img { width: 20px; }

/* ---------- Cards, KPIs ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.1rem; overflow: hidden; }
.card-head { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; padding: .85rem 1rem; border-bottom: 1px solid var(--border); }
.card-head h2 { margin: 0; }
.card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .8rem; }
.card-body { padding: 1rem; }
/* stretch = side-by-side cards always match the tallest one in the row */
.col-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.1rem; align-items: stretch; margin-bottom: 1.1rem; }
.col-2:last-child { margin-bottom: 0; }
.col-2 > .card { margin-bottom: 0; height: 100%; display: flex; flex-direction: column; }
.col-2 > .card > .card-body { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
/* Chart cards: every chart box keeps a DEFINITE pixel height. Never give a chart
   box an auto height - the canvas then falls back to its own device-pixel height
   and balloons to several hundred px. */
.col-2 > .card > .card-body > .chart-box { flex: 0 0 auto; }
/* a card that also carries a legend/caption uses a shorter chart, so its total
   height lands level with the plain chart card beside it */
.col-2 > .card > .card-body:has(.chart-legend) > .chart-box,
.col-2 > .card > .card-body:has(> .hint) > .chart-box { height: 196px !important; }
/* guaranteed stacking order inside a chart card: chart, then legend, then caption */
.col-2 > .card > .card-body > .chart-box { order: 1; }
.col-2 > .card > .card-body > .chart-legend { order: 2; margin-top: .5rem; }
.col-2 > .card > .card-body > .hint { order: 3; margin: .2rem 0 0; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(178px, 1fr)); gap: .8rem; margin-bottom: 1.1rem; }
.kpi {
	background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
	padding: .85rem .95rem; display: grid; gap: .12rem; position: relative; box-shadow: var(--shadow);
	border-left: 4px solid var(--info);
}
.kpi-icon { position: absolute; top: .8rem; right: .85rem; color: var(--muted); opacity: .5; }
.kpi-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.kpi-value { font-size: 1.55rem; font-weight: 700; letter-spacing: -.02em; }
.kpi-sub { font-size: .76rem; color: var(--muted); }
.kpi.tone-ok { border-left-color: var(--green); }
.kpi.tone-warn { border-left-color: var(--warn); }
.kpi.tone-bad { border-left-color: var(--danger); }
.kpi.tone-info { border-left-color: var(--info); }
.kpi.tone-muted { border-left-color: var(--border); }

/* ---------- Badges, progress ---------- */
.badge { display: inline-block; font-size: .73rem; font-weight: 600; padding: .16rem .5rem; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.badge.ok { background: rgba(0, 166, 81, .14); color: #05713b; }
.badge.info { background: rgba(47, 128, 237, .14); color: #1c5fbd; }
.badge.warn { background: rgba(224, 140, 0, .16); color: #90590a; }
.badge.bad { background: rgba(214, 69, 69, .14); color: #a52b2b; }
html[data-theme="dark"] .badge.ok { color: #6ee7a5; }
html[data-theme="dark"] .badge.info { color: #8ebcf7; }
html[data-theme="dark"] .badge.warn { color: #f0c078; }
html[data-theme="dark"] .badge.bad { color: #f19b9b; }
.progress { height: 7px; border-radius: 999px; background: var(--soft); overflow: hidden; min-width: 80px; }
.progress .bar { display: block; height: 100%; border-radius: 999px; background: var(--info); transition: width .5s ease; }
.progress .bar.ok { background: linear-gradient(90deg, var(--green), var(--green-2)); }
.progress .bar.info { background: var(--info); }
.progress .bar.warn { background: var(--warn); }
.progress .bar.bad { background: var(--danger); }

/* ---------- Tables ---------- */
.table-wrap { display: grid; gap: .6rem; }
.table-tools { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: space-between; }
.table-tools .field.search { position: relative; min-width: 240px; flex: 1; max-width: 340px; }
.table-tools .field.search .ic { position: absolute; left: .6rem; top: .58rem; color: var(--muted); }
.table-tools .field.search input { padding-left: 2.1rem; }
.table-count { font-size: .78rem; }
.table-wrap, .table-scroll { max-width: 100%; min-width: 0; }
.table-scroll { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--border); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; font-size: .855rem; min-width: 620px; }
thead th {
	text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
	background: var(--soft); padding: .6rem .7rem; white-space: nowrap; cursor: pointer; position: sticky; top: 0; z-index: 2;
}
thead th:hover { color: var(--green-2); }
thead th.sorted-asc::after { content: " \2191"; }
thead th.sorted-desc::after { content: " \2193"; }
tbody td { padding: .6rem .7rem; border-top: 1px solid var(--border); vertical-align: middle; }
tbody tr:hover { background: var(--soft); }
.row-actions { display: flex; flex-wrap: wrap; gap: .3rem; }

.empty { text-align: center; padding: 2.2rem 1rem; color: var(--muted); display: grid; gap: .5rem; place-items: center; }
.empty p { margin: 0; font-size: .88rem; }

.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.link-list li { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; padding: .6rem .75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: .87rem; }
.detail-list { display: grid; gap: .1rem; margin: .8rem 0 0; }
.detail-list div { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--border); font-size: .85rem; }
.detail-list dt { color: var(--muted); margin: 0; }
.detail-list dd { margin: 0; font-weight: 600; text-align: right; }

/* five-row viewports: only 5 entries are visible, the rest scroll inside the card.
   Definite max-heights = (5 rows x row height) + 4 gaps. */
.rank-list.scroll-5 { max-height: 316px; overflow-y: auto; overscroll-behavior: contain; padding-right: .2rem; }
.attention-list.scroll-5 { max-height: 316px; overflow-y: auto; overscroll-behavior: contain; padding-right: .2rem; }
.scroll-rows-5 .table-scroll { max-height: 268px; overflow-y: auto; overscroll-behavior: contain; }
.scroll-rows-5 thead th { position: sticky; top: 0; z-index: 2; background: var(--soft); }
.rank-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; counter-reset: rank; }
.rank-row { display: flex; align-items: center; gap: .6rem; width: 100%; background: transparent; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .5rem .65rem; cursor: pointer; font: inherit; color: var(--text); text-align: left; }
.rank-row:hover { background: var(--soft); }
/* top-performer floor: fallback note + greyed-out "current best" context row */
.floor-note { display: flex; align-items: center; gap: .5rem; margin: .2rem 0 .7rem; padding: .55rem .7rem; background: var(--soft); border: 1px dashed var(--border); border-radius: var(--radius-sm); font-size: .82rem; color: var(--muted); }
.floor-note .ic, .floor-note svg { flex: none; opacity: .7; }
.rank-list.is-muted .rank-row { opacity: .55; filter: grayscale(1); }
.rank-list.is-muted .rank-row:hover { opacity: .8; filter: grayscale(.4); background: var(--soft); }
.rank-list.is-muted .rank-score { color: var(--muted); }
.rank-meta { display: grid; flex: 1; min-width: 0; }
.rank-meta strong { font-size: .87rem; }
.rank-meta em { font-style: normal; font-size: .74rem; color: var(--muted); }
.rank-score { font-weight: 700; font-size: .95rem; }
.rank-score.ok { color: var(--green-2); }
.rank-score.info { color: var(--info); }
.rank-score.warn { color: var(--warn); }
.rank-score.bad { color: var(--danger); }

.attention-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.attention-list li { display: flex; gap: .6rem; align-items: flex-start; padding: .65rem .75rem; border-radius: var(--radius-sm); border: 1px solid var(--border); }
.attention-list li span { display: grid; gap: .1rem; font-size: .82rem; color: var(--muted); }
.attention-list li strong { color: var(--text); font-size: .88rem; }
.attention-list li.ok { border-color: rgba(0, 166, 81, .35); background: rgba(0, 166, 81, .06); }
.attention-list li.warn { border-color: rgba(224, 140, 0, .35); background: rgba(224, 140, 0, .06); }
.attention-list li.bad { border-color: rgba(214, 69, 69, .35); background: rgba(214, 69, 69, .06); }

.task-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.task-list li { display: flex; gap: .6rem; align-items: center; justify-content: space-between; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.task-list li.overdue { border-color: rgba(214, 69, 69, .4); background: rgba(214, 69, 69, .05); }
.task-list span { display: grid; }
.task-list strong { font-size: .87rem; }
.task-list em { font-style: normal; font-size: .75rem; color: var(--muted); }

.note { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .8rem .9rem; margin-bottom: .7rem; }
.note-head { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .4rem; }
.note-head strong { flex: 1; min-width: 160px; }
.note p { font-size: .87rem; margin-bottom: .4rem; }
.note footer { font-size: .75rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.reply { background: var(--soft); border-radius: var(--radius-sm); padding: .55rem .7rem; margin-top: .5rem; font-size: .85rem; }
.reply strong { display: block; font-size: .76rem; color: var(--green-2); }

.attendance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: .5rem; max-height: 320px; overflow: auto; overscroll-behavior: contain; padding-right: .3rem; }
.att-row { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .4rem .55rem; }
.att-row span { display: grid; flex: 1; font-size: .83rem; }
.att-row em { font-style: normal; font-size: .72rem; color: var(--muted); }
.att-row select { width: 118px; }

.profile-card { display: flex; gap: .9rem; align-items: center; }
.profile-card strong { font-size: 1.02rem; }
.profile-card p { margin: 0; font-size: .82rem; }

.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; }
.cert-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem; display: grid; gap: .35rem; place-items: center; text-align: center; background: linear-gradient(160deg, rgba(0, 166, 81, .07), transparent); }
.cert-card strong { font-size: .92rem; }

.chart-box { position: relative; width: 100%; }
.chart-box canvas { display: block; width: 100% !important; height: 100% !important; max-height: 100%; }
.chart-legend { display: flex; flex-wrap: wrap; gap: .7rem; font-size: .77rem; color: var(--muted); margin-top: .5rem; }
.chart-legend span { display: inline-flex; align-items: center; gap: .35rem; }
.chart-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

.snapshot-body { display: grid; gap: .8rem; }
.snapshot-body .snap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .5rem; }
.snapshot-body .snap-tile { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .55rem .65rem; }
.snapshot-body .snap-tile span { font-size: .72rem; color: var(--muted); display: block; text-transform: uppercase; letter-spacing: .05em; }
.snapshot-body .snap-tile strong { font-size: 1.05rem; }

/* ---------- Modals ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 1rem; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4, 26, 16, .55); backdrop-filter: blur(2px); }
.modal-panel {
	position: relative; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-lg);
	width: min(620px, 100%); max-height: 90vh; display: flex; flex-direction: column; animation: pop .16s ease;
}
.modal-panel.wide { width: min(900px, 100%); }
@keyframes pop { from { transform: translateY(8px) scale(.99); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--border); }
.modal-head h2 { margin: 0; display: flex; align-items: center; gap: .45rem; }
.modal-body { padding: 1.1rem; overflow: auto; overscroll-behavior: contain; }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; right: 1rem; top: 1rem; z-index: 200; display: grid; gap: .5rem; max-width: 340px; }
.toast {
	background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--info);
	border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: .7rem .85rem; font-size: .85rem;
	animation: slide .2s ease;
}
.toast.ok { border-left-color: var(--green); }
.toast.bad { border-left-color: var(--danger); }
.toast.warn { border-left-color: var(--warn); }
@keyframes slide { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Assistant ---------- */
.assistant-fab {
	position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 110; width: 52px; height: 52px; border-radius: 50%;
	border: 0; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff;
	box-shadow: var(--shadow-lg); cursor: pointer; display: grid; place-items: center;
}
.assistant-fab .ic { width: 23px; height: 23px; }
.assistant-dock {
	position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 115; width: min(370px, calc(100vw - 2rem));
	background: var(--card); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg);
	display: flex; flex-direction: column; overflow: hidden; max-height: 74vh;
}
.assistant-dock[hidden] { display: none; }
.assistant-dock header { display: flex; align-items: center; justify-content: space-between; padding: .7rem .9rem; background: linear-gradient(135deg, var(--green-2), var(--dark)); color: #fff; }
.assistant-dock header .icon-btn { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; width: 30px; height: 30px; }
.assistant-log { padding: .8rem; display: grid; gap: .5rem; overflow-y: auto; overscroll-behavior: contain; flex: 1; min-height: 180px; }
.assistant-log.big { min-height: 320px; max-height: 420px; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.bubble { padding: .55rem .75rem; border-radius: 14px; font-size: .86rem; max-width: 88%; white-space: pre-wrap; }
.bubble.bot { background: var(--soft); border-bottom-left-radius: 4px; }
.bubble.me { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bubble.typing { opacity: .65; font-style: italic; }
.assistant-form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--border); }
.assistant-page { display: grid; gap: .7rem; }

/* ---------- Print documents (certificate, MOM, report) ---------- */
.cert-body, .doc-body { background: #e9efeb; padding: 1.2rem; }
.cert-toolbar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; max-width: 1000px; margin: 0 auto 1rem; }
.cert-toolbar div { display: flex; gap: .5rem; }
.certificate { max-width: 1000px; margin: 0 auto; background: #fff; padding: 14px; box-shadow: var(--shadow-lg); }
.cert-border { border: 3px double var(--green); padding: 2.4rem 2.6rem; text-align: center; background:
	radial-gradient(600px 300px at 50% 0%, rgba(0, 166, 81, .07), transparent 70%); }
.cert-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left; }
.cert-head h1 { font-size: 1.2rem; color: var(--green-3); }
.cert-head p { margin: 0; font-size: .8rem; color: var(--muted); }
.cert-logo { width: 82px; }
.cert-symbolic { width: 52px; opacity: .85; }
.cert-title { font-size: 1.9rem; color: var(--green-2); margin: 1.8rem 0 .4rem; letter-spacing: .02em; }
.cert-line { color: var(--muted); font-size: .9rem; }
.cert-name { font-size: 2.2rem; font-weight: 700; margin: .3rem 0 .2rem; border-bottom: 2px solid var(--green); display: inline-block; padding: 0 1.5rem .3rem; }
.cert-meta { font-size: .85rem; color: var(--muted); }
.cert-body-text { max-width: 62ch; margin: 1rem auto; font-size: .95rem; }
.cert-positions { display: flex; gap: 1.2rem; justify-content: center; font-size: .87rem; margin-bottom: 1rem; }
.cert-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-top: 2.4rem; }
.cert-sign { display: grid; gap: .1rem; min-width: 170px; }
.cert-sign strong { font-size: .9rem; }
.cert-sign em { font-style: normal; font-size: .75rem; color: var(--muted); }
.sign-line { display: block; border-top: 1px solid var(--text); margin-bottom: .35rem; }
.cert-seal { display: grid; place-items: center; gap: .2rem; }
.cert-seal img { width: 54px; opacity: .9; }
.cert-seal span { font-size: .72rem; color: var(--muted); }
.cert-symbolic-line { font-size: .7rem; color: var(--muted); margin-top: 1.4rem; }

.doc-sheet { max-width: 900px; margin: 0 auto; background: #fff; color: #14231b; padding: 2.2rem 2.4rem; box-shadow: var(--shadow-lg); }
.doc-sheet.wide { max-width: 1060px; }
.doc-head { display: flex; align-items: center; gap: 1rem; border-bottom: 2px solid var(--green); padding-bottom: .8rem; margin-bottom: 1.2rem; }
.doc-head img { width: 66px; }
.doc-head h1 { font-size: 1.15rem; color: var(--green-3); }
.doc-head p { margin: 0; font-size: .82rem; color: var(--muted); }
.doc-head .symbolic-logo { width: 40px; margin-left: auto; }
.doc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .3rem 1rem; margin: 0 0 1.2rem; }
.doc-meta div { display: flex; gap: .4rem; font-size: .85rem; }
.doc-meta dt { color: var(--muted); margin: 0; }
.doc-meta dd { margin: 0; font-weight: 600; }
.doc-sheet section { margin-bottom: 1.3rem; }
.doc-sheet h3 { color: var(--green-3); border-bottom: 1px solid var(--border); padding-bottom: .25rem; margin-bottom: .5rem; }
.doc-table { width: 100%; border-collapse: collapse; font-size: .82rem; min-width: 0; }
.doc-table th, .doc-table td { border: 1px solid var(--border); padding: .4rem .5rem; text-align: left; }
.doc-table thead th { background: var(--soft); position: static; cursor: default; }
.doc-list { margin: 0; padding-left: 1.1rem; font-size: .87rem; }
.doc-list li { margin-bottom: .3rem; }
.doc-foot { display: flex; gap: 2rem; justify-content: space-between; margin-top: 2rem; }
.doc-foot div { flex: 1; }
.doc-foot strong { font-size: .87rem; display: block; }
.doc-foot em { font-style: normal; font-size: .74rem; color: var(--muted); }
.report-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .6rem; margin-bottom: 1.3rem; }

@media print {
	.no-print, .cert-toolbar { display: none !important; }
	body { background: #fff; padding: 0; }
	.certificate, .doc-sheet { box-shadow: none; margin: 0; max-width: none; padding: 0; }
	.cert-border { border-color: #00a651; }
	@page { margin: 12mm; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.shell { grid-template-columns: 1fr; }
	.only-mobile { display: inline-flex; }
	.sidebar {
		position: fixed; inset: 0 auto 0 0; width: 272px; z-index: 130;
		transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow-lg);
	}
	body.sidebar-open .sidebar { transform: none; }
	body.sidebar-open::after { content: ""; position: fixed; inset: 0; background: rgba(4, 26, 16, .5); z-index: 125; }
}
@media (max-width: 860px) {
	.auth-shell { grid-template-columns: 1fr; }
	.auth-hero { display: none; }
	.grid-form, .two-col { grid-template-columns: 1fr; }
	.doc-sheet { padding: 1.2rem; }
	.cert-border { padding: 1.2rem; }
	.cert-foot { flex-direction: column; align-items: stretch; gap: 1.2rem; }
}
@media (max-width: 620px) {
	.content { padding: .9rem .9rem 2rem; }
	.topbar { padding: .6rem .8rem; gap: .5rem; }
	.global-search input { font-size: .82rem; }
	.user-meta { display: none; }
	.user-chip { padding: .2rem; border: 0; }
	.kpi-value { font-size: 1.3rem; }
	.page-head h1 { font-size: 1.22rem; }
	.notif-panel { width: min(320px, calc(100vw - 2rem)); }
	.cert-title { font-size: 1.4rem; }
	.cert-name { font-size: 1.5rem; padding: 0 .6rem .25rem; }
	.cert-head { flex-wrap: wrap; }
	.assistant-dock { right: .6rem; left: .6rem; width: auto; }
}
