/**
 * SetG — EDO Community Portal
 * Front-end styles. Style direction: "Rustig" (light).
 */

:root {
	--edo-green: #1b5e3b;
	--edo-green-2: #15532f;
	--edo-green-hover: #17502f;
	--edo-red: #c81e2c;
	--edo-tint: #eaf2ec;
	--edo-tint-2: #e9f1eb;
	--edo-bg: #f4f7f4;
	--edo-card: #ffffff;
	--edo-card-bd: #edf1ee;
	--edo-radius: 18px;
	--edo-shadow: 0 6px 22px -12px rgba(27, 94, 59, 0.22);
	--edo-title: #1b5e3b;
	--edo-text: #1a2b22;
	--edo-soft: #5b6b60;
	--edo-soft-2: #7c8b80;
	--edo-muted: #9aa89e;
	--edo-divider: #eef2ef;
	--edo-sidebar: #ffffff;
	--edo-sidebar-bd: #e7ede8;
	--edo-topbar-bd: #eaefeb;
	--edo-search: #f1f5f2;
	--edo-search-bd: #e5ebe6;
	--edo-field-bd: #dce4de;
}

/* ---------- Reset (scoped to the portal body) ---------- */
.edo-body {
	margin: 0;
	font-family:
		"Plus Jakarta Sans",
		system-ui,
		-apple-system,
		sans-serif;
	-webkit-font-smoothing: antialiased;
	background: var(--edo-bg);
	color: var(--edo-text);
}
.edo-body * {
	box-sizing: border-box;
}
/* Base element resets are wrapped in :where() so they carry ZERO specificity —
   component classes (.edo-btn, .edo-iconbtn, .edo-link…) then always win. */

:where(.edo-body button) {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    border-radius: 6px;
    padding: 0;
    color: var(--edo-green);
}
:where(.edo-body button[type="submit"]) { 
    padding: 16px; 
}
.edo-body input,
.edo-body textarea {
	font-family: inherit;
}
:where(.edo-body a) {
	color: inherit;
	text-decoration: none;
}
.edo-body img {
	max-width: 100%;
	display: block;
}
.edo-body h1,
.edo-body h2,
.edo-body h3,
.edo-body p {
	margin: 0;
}

.scrollarea {
	scrollbar-width: thin;
	scrollbar-color: rgba(27, 94, 59, 0.25) transparent;
}
.scrollarea::-webkit-scrollbar {
	width: 9px;
}
.scrollarea::-webkit-scrollbar-thumb {
	background: rgba(27, 94, 59, 0.2);
	border-radius: 8px;
	border: 2px solid transparent;
	background-clip: content-box;
}

/* ---------- Shared bits ---------- */
.edo-card {
	background: var(--edo-card);
	border: 1px solid var(--edo-card-bd);
	border-radius: var(--edo-radius);
	box-shadow: var(--edo-shadow);
}
.edo-avatar {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--edo-green);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 800;
}
.edo-avatar--sm {
	width: 36px;
	height: 36px;
	font-size: 12.5px;
}
.edo-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--edo-green);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	padding: 12px 16px;
	border-radius: 12px;
	box-shadow: 0 6px 16px -6px rgba(27, 94, 59, 0.6);
}
.edo-btn:hover {
	background: var(--edo-green-hover);
}
.edo-btn--block {
	width: 100%;
}

/* ---------- App shell ---------- */
.edo-portal {
	display: flex;
	min-height: 100vh;
}
.edo-main {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--edo-bg);
}
.edo-scroll {
	flex: 1;
	overflow: auto;
	min-height: 0;
}
.edo-content {
	padding: 28px 38px 46px;
	max-width: 1100px;
	margin: 0 auto;
	width: 100%;
}

/* ---------- Sidebar ---------- */
.edo-sidebar {
	flex: none;
	width: 258px;
	background: var(--edo-sidebar);
	border-right: 1px solid var(--edo-sidebar-bd);
	display: flex;
	flex-direction: column;
	padding: 20px 16px;
	position: sticky;
	top: 0;
	height: 100vh;
}
.edo-sidebar__brand {
	display: inline-flex;
	align-self: flex-start;
	margin: 4px 4px 22px;
	border-radius: 8px;
}
.edo-sidebar__brand:hover {
	opacity: 0.85;
}
.edo-sidebar__brand img {
	height: 30px;
	width: auto;
}
.edo-sidebar__label {
	font-size: 10.5px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--edo-muted);
	padding: 0 12px;
	margin-bottom: 8px;
}
.edo-nav {
	display: flex;
	flex-direction: column;
	gap: 3px;
}
.edo-nav__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 13px;
	border-radius: 11px;
	font-size: 14px;
	font-weight: 600;
	color: var(--edo-soft);
	transition: background 0.12s ease;
}
.edo-nav__item:hover {
	background: #f2f6f3;
}
.edo-nav__item.is-active {
	background: var(--edo-tint-2);
	color: var(--edo-green);
	font-weight: 700;
}
.edo-nav__icon {
	display: flex;
}

.edo-sidebar__user {
	margin-top: auto;
	border-top: 1px solid var(--edo-card-bd);
	padding-top: 14px;
}
.edo-userchip {
	display: flex;
	align-items: center;
	gap: 11px;
	padding: 6px;
	border-radius: 11px;
}
.edo-userchip:hover {
	background: #f2f6f3;
}
.edo-userchip__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
	min-width: 0;
}
.edo-userchip__text strong {
	font-size: 13px;
	color: var(--edo-text);
}
.edo-userchip__text span {
	font-size: 11.5px;
	color: var(--edo-soft-2);
}
.edo-logout {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: 6px;
	padding: 8px;
	font-size: 12.5px;
	font-weight: 600;
	color: var(--edo-soft-2);
}
.edo-logout:hover {
	color: var(--edo-green);
}

/* ---------- Top bar ---------- */
.edo-topbar--desktop {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 36px;
	background: #fff;
	border-bottom: 1px solid var(--edo-topbar-bd);
}
.edo-topbar__left {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 0;
}
.edo-back {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: none;
	padding: 9px 15px;
	border-radius: 11px;
	background: var(--edo-tint);
	color: var(--edo-green);
	font-size: 13.5px;
	font-weight: 700;
}
.edo-back:hover {
	background: #def0e3;
}
.edo-search {
	display: flex;
	align-items: center;
	gap: 9px;
	flex: none;
	width: 340px;
	max-width: 100%;
	padding: 9px 14px;
	border-radius: 11px;
	background: var(--edo-search);
	border: 1px solid var(--edo-search-bd);
	color: var(--edo-muted);
	white-space: nowrap;
	overflow: hidden;
}
.edo-search span {
	font-size: 13px;
}
.edo-topbar__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}
.edo-iconbtn {
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	background: var(--edo-search);
	border: 1px solid var(--edo-search-bd);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--edo-soft);
	padding: 0!important;
}
.edo-iconbtn--plain {
	background: none;
	border: none;
	color: var(--edo-title);
	width: 38px;
	height: 38px;
}
.edo-dot {
	position: absolute;
	top: 9px;
	right: 10px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--edo-red);
	border: 1.5px solid #fff;
}
.edo-dot--onbar {
	top: 8px;
	right: 9px;
	border-color: #fff;
}

.edo-topbar--mobile {
	display: none;
}
.edo-tabbar {
	display: none;
}

/* ---------- Page header ---------- */
.edo-pagehead {
	margin-bottom: 20px;
	padding: 2px 2px 0;
}
.edo-pagehead h1 {
	font-size: 23px;
	font-weight: 800;
	color: var(--edo-title);
	display: flex;
	gap: 16px;
}
.edo-pagehead h1 img{
	width: 24px;
}
.edo-pagehead p {
	margin-top: 7px;
	font-size: 14px;
	color: var(--edo-soft);
}

/* ---------- Dashboard ---------- */
.edo-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 22px;
}
.edo-stat {
	display: block;
	padding: 18px;
}
.edo-stat:hover {
	box-shadow: 0 12px 30px -14px rgba(27, 94, 59, 0.3);
}
.edo-stat__icon {
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--edo-tint);
	color: var(--edo-green);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}
.edo-stat__num {
	font-size: 28px;
	font-weight: 800;
	color: var(--edo-title);
	line-height: 1;
}
.edo-stat__label {
	font-size: 13px;
	font-weight: 700;
	color: #3c4a41;
	margin-top: 4px;
}
.edo-stat__sub {
	font-size: 11.5px;
	color: var(--edo-muted);
	margin-top: 2px;
}

.edo-dashgrid {
	display: grid;
	grid-template-columns: 1.7fr 1fr;
	gap: 18px;
}
.edo-sec-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}
.edo-sec-head h2 {
	font-size: 16px;
	font-weight: 800;
	color: var(--edo-title);
}
.edo-link {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--edo-green);
}
.edo-link:hover {
	text-decoration: underline;
}
.edo-stack {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.edo-stack--tight {
	gap: 10px;
}

.edo-arow {
	padding: 15px 16px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.edo-arow:hover {
	box-shadow: 0 10px 26px -12px rgba(27, 94, 59, 0.3);
}
.edo-datechip {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 13px;
	background: var(--edo-tint);
	color: var(--edo-green);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
.edo-datechip__day {
	font-size: 15px;
	font-weight: 800;
	color: var(--edo-green);
}
.edo-datechip__mon {
	font-size: 9.5px;
	font-weight: 700;
	color: var(--edo-green);
	text-transform: uppercase;
}
.edo-arow__body {
	flex: 1;
	min-width: 0;
}
.edo-arow__body h3 {
	font-size: 14px;
	font-weight: 700;
	color: var(--edo-title);
	line-height: 1.3;
}
.edo-arow__body p {
	margin-top: 4px;
	font-size: 12px;
	color: var(--edo-soft-2);
}
.edo-arow__chev {
	flex: none;
	color: #c7d2cb;
}

.edo-ann {
	display: block;
	padding: 14px 15px;
}
.edo-ann:hover {
	box-shadow: 0 10px 26px -12px rgba(27, 94, 59, 0.3);
}
.edo-ann__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 5px;
}
.edo-ann__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--edo-red);
	flex: none;
}
.edo-ann__date {
	font-size: 11px;
	color: var(--edo-muted);
	font-weight: 600;
}
.edo-ann h3 {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--edo-title);
	line-height: 1.35;
}

.edo-samplenote {
	margin-top: 22px;
	font-size: 12px;
	color: var(--edo-muted);
	background: #fff;
	border: 1px dashed #d8e2da;
	border-radius: 12px;
	padding: 12px 14px;
	display: flex;
	gap: 9px;
	align-items: center;
}
.edo-samplenote svg {
	flex: none;
	color: var(--edo-green);
}

/* ---------- Placeholder (unbuilt views) ---------- */
.edo-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 60px 24px;
	min-height: 52vh;
}
.edo-placeholder__icon {
	width: 64px;
	height: 64px;
	border-radius: 18px;
	background: var(--edo-tint);
	color: var(--edo-green);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}
.edo-placeholder h1 {
	font-size: 20px;
	font-weight: 800;
	color: var(--edo-title);
	margin-bottom: 6px;
}
.edo-placeholder p {
	font-size: 14px;
	color: var(--edo-soft);
	max-width: 360px;
}
.edo-badge-soon {
	margin-top: 14px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--edo-green);
	background: var(--edo-tint);
	padding: 6px 12px;
	border-radius: 999px;
}

/* ---------- Login ---------- */
.edo-body--login {
	background: radial-gradient(120% 90% at 30% 0%, #e6f1e9 0%, #f4f7f4 60%);
}
.edo-login {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.edo-login__card {
	width: 100%;
	max-width: 380px;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 24px 60px -22px rgba(16, 40, 28, 0.5);
	padding: 34px 30px 28px;
}
.edo-login__logo {
	display: flex;
	justify-content: center;
	margin-bottom: 18px;
}
.edo-login__logo img {
	height: 46px;
	width: auto;
}
.edo-login__title {
	text-align: center;
	font-size: 21px;
	font-weight: 800;
	color: var(--edo-green);
}
.edo-login__subtitle {
	margin: 7px 0 24px;
	text-align: center;
	font-size: 13px;
	color: var(--edo-soft-2);
	line-height: 1.5;
}
.edo-login__form label {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--edo-soft);
	margin-bottom: 6px;
	display: block;
}
.edo-login__form input {
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--edo-field-bd);
	background: #fbfcfb;
	font-size: 14px;
	margin-bottom: 14px;
	outline: none;
	color: var(--edo-text);
}
.edo-login__form input:focus {
	border-color: var(--edo-green);
}
.edo-login__forgot {
	text-align: right;
	margin: -4px 0 18px;
}
.edo-login__forgot a {
	font-size: 12px;
	color: var(--edo-green);
	font-weight: 600;
}
.edo-login__secure {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	margin-top: 18px;
	color: var(--edo-muted);
}
.edo-login__secure span {
	font-size: 11.5px;
	font-weight: 600;
}
.edo-login__error {
	background: #fbe7e8;
	color: var(--edo-red);
	font-size: 12.5px;
	font-weight: 600;
	padding: 10px 12px;
	border-radius: 10px;
	margin-bottom: 14px;
}
.edo-login__notice {
	background: var(--edo-tint);
	color: var(--edo-green);
	font-size: 13px;
	line-height: 1.5;
	padding: 14px;
	border-radius: 12px;
	margin-bottom: 16px;
}
.edo-login .edo-login__card .edo-login__notice--warn {
	background: #fef3c7;
	color: #92400e;
}
.edo-login__switch {
	margin: 16px 0 0;
	text-align: center;
	font-size: 13px;
	color: var(--edo-soft-2);
}
.edo-login__switch a {
	color: var(--edo-green);
	font-weight: 700;
}
.edo-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* ---------- Shared grids & info rows ---------- */
.edo-grid2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.edo-irow {
	display: flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	color: var(--edo-soft);
}
.edo-irow__ic {
	color: var(--edo-green);
	display: flex;
	flex: none;
}
.edo-tag {
	flex: none;
	font-size: 10.5px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 999px;
	white-space: nowrap;
	background: #eef1f4;
	color: var(--edo-soft);
}
.edo-tag--new {
	background: var(--edo-tint);
	color: var(--edo-green);
}
.edo-tag--urgent {
	background: #fbe7e8;
	color: var(--edo-red);
}

/* ---------- Assignments ---------- */
.edo-acard {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.edo-acard__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}
.edo-acard__head h3 {
	font-size: 15.5px;
	font-weight: 700;
	color: var(--edo-title);
	line-height: 1.35;
}
.edo-acard__rows {
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.edo-acard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-top: 13px;
	border-top: 1px solid var(--edo-divider);
}
.edo-comp__label {
	font-size: 10.5px;
	color: var(--edo-muted);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}
.edo-comp strong {
	display: block;
	font-size: 15px;
	color: var(--edo-title);
}
.edo-pillbtn {
	flex: none;
	font-size: 12.5px;
	font-weight: 700;
	padding: 10px 15px;
	border-radius: 999px;
	background: var(--edo-green);
	color: #fff;
}
.edo-pillbtn:hover {
	background: var(--edo-green-hover);
}

/* ---------- Trainings ---------- */
.edo-tcard {
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 13px;
}
.edo-tcard__top {
	display: flex;
	align-items: center;
	gap: 8px;
}
.edo-mode {
	font-size: 10.5px;
	font-weight: 700;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--edo-tint);
	color: var(--edo-green);
}
.edo-mode--online {
	background: #eaf0f5;
	color: #3b5b7a;
}
.edo-spots {
	font-size: 11.5px;
	color: var(--edo-muted);
	font-weight: 600;
}
.edo-tcard__title {
	font-size: 15.5px;
	font-weight: 700;
	color: var(--edo-title);
	line-height: 1.35;
}
.edo-tcard__subject {
	margin-top: 6px;
	font-size: 13px;
	color: var(--edo-soft-2);
	line-height: 1.45;
}
.edo-tcard__rows {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.edo-blockbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
	font-size: 13px;
	font-weight: 700;
	padding: 11px;
	border-radius: 11px;
	background: var(--edo-green);
	color: #fff;
	width: 100%;
}
.edo-blockbtn:hover {
	background: var(--edo-green-hover);
}
.edo-blockbtn--auto {
	width: auto;
	padding: 11px 20px;
}

/* ---------- Documents ---------- */
.edo-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}
.edo-chip {
	font-size: 12.5px;
	font-weight: 700;
	padding: 8px 15px;
	border-radius: 999px;
	background: #fff;
	color: var(--edo-soft);
	border: 1px solid #e2e7e3;
}
.edo-chip:hover {
	border-color: var(--edo-green);
	color: var(--edo-green);
}
.edo-chip.is-active {
	background: var(--edo-green);
	color: #fff;
	border-color: var(--edo-green);
}
.edo-doclist {
	display: flex;
	flex-direction: column;
	gap: 11px;
}
.edo-doc {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 15px;
}
.edo-doc__tile {
	flex: none;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.3px;
	background: var(--edo-tint);
	color: var(--edo-green);
}
.edo-doc__tile--artikel {
	background: #eaf0f5;
	color: #3b5b7a;
}
.edo-doc__tile--video {
	background: #f6ecee;
	color: var(--edo-red);
}
.edo-doc__tile--beleid {
	background: #f1eee6;
	color: #8a7636;
}
.edo-doc__body {
	flex: 1;
	min-width: 0;
}
.edo-doc__body h3 {
	font-size: 14px;
	font-weight: 700;
	color: var(--edo-title);
	line-height: 1.3;
}
.edo-doc__body p {
	margin-top: 3px;
	font-size: 12px;
	color: var(--edo-muted);
}
.edo-doc__dl {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--edo-tint);
	color: var(--edo-green);
	display: flex;
	align-items: center;
	justify-content: center;
}
.edo-doc__dl:hover {
	background: #def0e3;
}

/* ---------- Announcements (full) ---------- */
.edo-anclist {
	display: flex;
	flex-direction: column;
	gap: 13px;
}
.edo-anc {
	display: flex;
	gap: 15px;
	padding: 18px;
}
.edo-anc__icon {
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--edo-tint);
	color: var(--edo-green);
}
.edo-anc__icon--important {
	background: #fbe7e8;
	color: var(--edo-red);
}
.edo-anc__body {
	flex: 1;
	min-width: 0;
}
.edo-anc__head {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 5px;
}
.edo-badge-important {
	font-size: 10px;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 999px;
	background: #fbe7e8;
	color: var(--edo-red);
	text-transform: uppercase;
	letter-spacing: 0.4px;
}
.edo-anc__date {
	font-size: 11.5px;
	color: var(--edo-muted);
	font-weight: 600;
}
.edo-anc__body h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--edo-title);
	line-height: 1.35;
}
.edo-anc__body p {
	margin-top: 6px;
	font-size: 13px;
	color: var(--edo-soft-2);
	line-height: 1.5;
}

/* ---------- Members ---------- */
.edo-mem-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.edo-mem {
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.edo-avatar--lg {
	width: 74px;
	height: 74px;
	font-size: 22px;
	margin-bottom: 12px;
}
.edo-avatar--xl {
	width: 104px;
	height: 104px;
	font-size: 30px;
	margin-bottom: 14px;
}
.edo-mem h3 {
	font-size: 15px;
	font-weight: 700;
	color: var(--edo-title);
}
.edo-mem__role {
	font-size: 12.5px;
	color: var(--edo-green);
	font-weight: 600;
	margin-top: 2px;
}
.edo-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 12px;
}
.edo-mtag {
	font-size: 11px;
	font-weight: 600;
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--edo-tint);
	color: var(--edo-green);
}
.edo-mem__avail {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	font-size: 11.5px;
	color: var(--edo-muted);
	font-weight: 600;
}

/* ---------- Profile ---------- */
.edo-prof-grid {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 18px;
	align-items: start;
}
.edo-prof-card {
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.edo-prof-card h2 {
	font-size: 18px;
	font-weight: 800;
	color: var(--edo-title);
}
.edo-prof__role {
	font-size: 13px;
	color: var(--edo-green);
	font-weight: 600;
	margin-top: 3px;
}
.edo-prof__status {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 12.5px;
	color: var(--edo-soft);
	font-weight: 600;
	background: var(--edo-tint);
	padding: 7px 13px;
	border-radius: 999px;
}
.edo-prof__status span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--edo-green);
}
.edo-prof__col {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.edo-pcard {
	padding: 20px;
}
.edo-pcard h3 {
	font-size: 13px;
	font-weight: 800;
	color: var(--edo-title);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 10px;
}
.edo-pcard p {
	font-size: 14px;
	color: var(--edo-soft);
	line-height: 1.6;
}
.edo-xtags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.edo-xtag {
	font-size: 12.5px;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--edo-tint);
	color: var(--edo-green);
}

/* ---------- Contact ---------- */
.edo-cinfo {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.edo-cinfo h3 {
	font-size: 15px;
	font-weight: 800;
	color: var(--edo-title);
}
.edo-cinfo__row {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13.5px;
	color: var(--edo-soft);
}
.edo-cinfo__icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--edo-tint);
	color: var(--edo-green);
	display: flex;
	align-items: center;
	justify-content: center;
}
.edo-form {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.edo-form h3 {
	font-size: 15px;
	font-weight: 800;
	color: var(--edo-title);
}
.edo-input,
.edo-textarea {
	width: 100%;
	padding: 11px 13px;
	border-radius: 11px;
	border: 1px solid var(--edo-field-bd);
	background: #fbfcfb;
	font-size: 13.5px;
	outline: none;
	color: var(--edo-text);
}
.edo-textarea {
	resize: vertical;
	min-height: 110px;
}
.edo-input:focus,
.edo-textarea:focus {
	border-color: var(--edo-green);
}

/* ---------- Courses (TutorLMS) ---------- */
.edo-toolbar {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 16px;
}
.edo-linkbtn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 13px;
	font-weight: 700;
	color: var(--edo-green);
	background: #fff;
	border: 1px solid #e2e7e3;
	padding: 8px 14px;
	border-radius: 999px;
}
.edo-linkbtn:hover {
	border-color: var(--edo-green);
}

.edo-course-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.edo-course {
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.edo-course:hover {
	box-shadow: 0 12px 30px -14px rgba(27, 94, 59, 0.3);
}
.edo-course__thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--edo-tint) center / cover no-repeat;
	color: var(--edo-green);
	display: flex;
	align-items: center;
	justify-content: center;
}
.edo-course__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	background: #fff;
	color: var(--edo-green);
	box-shadow: 0 2px 8px rgba(16, 40, 28, 0.18);
}
.edo-course__body {
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	flex: 1;
}
.edo-course__body h3 {
	font-size: 15.5px;
	font-weight: 700;
	color: var(--edo-title);
	line-height: 1.35;
}
.edo-course__body p {
	font-size: 13px;
	color: var(--edo-soft-2);
	line-height: 1.45;
	flex: 1;
}
.edo-course__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 4px;
}
.edo-course__meta {
	font-size: 12px;
	color: var(--edo-muted);
	font-weight: 600;
}
.edo-course__cta {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--edo-green);
}

.edo-emptybox {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 12px;
	padding: 48px 24px;
}
.edo-emptybox svg {
	color: var(--edo-green);
}
.edo-emptybox p {
	font-size: 14px;
	color: var(--edo-soft);
	max-width: 420px;
}
.edo-emptybox a {
	color: var(--edo-green);
	font-weight: 700;
}

/* ---------- Document view affordance ---------- */
.edo-doc__view {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: var(--edo-tint);
	color: var(--edo-green);
	display: flex;
	align-items: center;
	justify-content: center;
}
.edo-doc__view--muted {
	background: #f1f5f2;
	color: var(--edo-muted);
}
.edo-doc--open {
	cursor: pointer;
}
.edo-doc--open:hover {
	box-shadow: 0 10px 26px -12px rgba(27, 94, 59, 0.3);
}
.edo-doc--open:hover .edo-doc__view {
	background: #def0e3;
}
.edo-doc--open:focus-visible {
	outline: 2px solid var(--edo-green);
	outline-offset: 2px;
}

/* ---------- Modal (document preview) ---------- */
.edo-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}
.edo-modal[hidden] {
	display: none;
}
.edo-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(16, 40, 28, 0.55);
}
.edo-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 900px;
	max-height: 90vh;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 30px 80px -20px rgba(16, 40, 28, 0.6);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.edo-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--edo-card-bd);
}
.edo-modal__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--edo-title);
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.edo-modal__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: none;
}
.edo-modal__foot {
	flex: none;
	padding: 14px 18px;
	border-top: 1px solid var(--edo-card-bd);
	background: #fff;
}
.edo-modal__open {
	gap: 8px;
	text-decoration: none;
}
.edo-modal__close {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	line-height: 1;
	color: #1a2b22;
	background: var(--edo-search);
}
.edo-modal__close:hover {
	color: #fff;
	background: var(--edo-red);
}
.edo-modal__body {
	flex: 1;
	min-height: 0;
	overflow: auto;
	background: #f4f7f4;
}
.edo-filewrap {
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: center;
	padding: 18px;
}
.edo-filewrap__btn {
	flex: none;
	max-width: 360px;
}
.edo-preview-frame {
	width: 100%;
	height: 68vh;
	border: 0;
	border-radius: 10px;
	background: #fff;
}
.edo-preview-img {
	max-width: 100%;
	max-height: 74vh;
	display: block;
	border-radius: 10px;
}
.edo-preview-video {
	max-width: 100%;
	max-height: 74vh;
	background: #000;
	border-radius: 10px;
}
.edo-preview-none {
	margin: 0;
	padding: 28px 12px 6px;
	text-align: center;
	color: var(--edo-soft);
	font-size: 14px;
	max-width: 440px;
	line-height: 1.5;
}

/* ---------- Announcement (clickable + detail modal) ---------- */
.edo-anc--open {
	cursor: pointer;
}
.edo-anc--open:hover {
	box-shadow: 0 10px 26px -12px rgba(27, 94, 59, 0.3);
}
.edo-anc--open:focus-visible {
	outline: 2px solid var(--edo-green);
	outline-offset: 2px;
}
.edo-anc__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.edo-anc__more {
	flex: none;
	align-self: center;
	color: #c7d2cb;
	display: flex;
}
.edo-anc--open:hover .edo-anc__more {
	color: var(--edo-green);
}

.edo-modal__dialog--text {
	max-width: 620px;
}
.edo-ancmodal__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 14px 24px 0;
}
.edo-modal__body--text {
	display: block;
	text-align: left;
	background: #fff;
	padding: 14px 24px 24px;
	overflow: auto;
}
.edo-modal__body--text p {
	font-size: 14px;
	line-height: 1.65;
	color: var(--edo-soft);
	margin: 0 0 12px;
}
.edo-modal__body--text p:last-child {
	margin-bottom: 0;
}
.edo-modal__body--text a {
	color: var(--edo-green);
	font-weight: 600;
}
.edo-modal__body--text ul,
.edo-modal__body--text ol {
	margin: 0 0 12px 20px;
	font-size: 14px;
	line-height: 1.65;
	color: var(--edo-soft);
}
.edo-modal__body--text h2,
.edo-modal__body--text h3,
.edo-modal__body--text h4 {
	color: var(--edo-title);
	margin: 4px 0 8px;
	font-size: 15px;
}
.edo-modal__body--text img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 6px 0;
}

/* ---------- Assignment interest button ---------- */
.edo-interest__on {
	display: none;
}
.edo-interest.is-on {
	background: var(--edo-tint);
	color: var(--edo-green);
}
.edo-interest.is-on:hover {
	background: #def0e3;
}
.edo-interest.is-on .edo-interest__off {
	display: none;
}
.edo-interest.is-on .edo-interest__on {
	display: inline;
}
.edo-pillbtn[disabled] {
	opacity: 0.65;
	cursor: default;
}

/* ---------- Comments / questions ---------- */
.edo-acard__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.edo-likecount {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 700;
	color: var(--edo-soft);
}
.edo-likecount svg {
	color: var(--edo-red);
}
.edo-cmtbtn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: none;
	border: none;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--edo-green);
}
.edo-cmtbtn:hover {
	color: var(--edo-green-hover);
	text-decoration: underline;
}
.edo-cmtbtn__count {
	color: var(--edo-muted);
	font-weight: 600;
}
.edo-avatar--xs {
	width: 32px;
	height: 32px;
	font-size: 11px;
}
.edo-cmt-list {
	padding: 16px 24px 0;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-height: 48vh;
}
.edo-cmt-empty {
	color: var(--edo-muted);
	font-size: 13.5px;
	padding: 6px 0 12px;
}
.edo-cmt {
	display: flex;
	gap: 11px;
}
.edo-cmt__body {
	flex: 1;
	min-width: 0;
}
.edo-cmt__meta {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}
.edo-cmt__meta strong {
	font-size: 13px;
	color: var(--edo-title);
}
.edo-cmt__meta span {
	font-size: 11px;
	color: var(--edo-muted);
}
.edo-cmt__body p {
	margin-top: 3px;
	font-size: 13.5px;
	color: var(--edo-soft);
	line-height: 1.5;
	white-space: pre-wrap;
	word-wrap: break-word;
}
.edo-cmt-form {
	padding: 16px 24px 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-top: 1px solid var(--edo-card-bd);
	margin-top: 14px;
}
.edo-cmt-form .edo-textarea {
	min-height: 64px;
}
.edo-cmt-form .edo-blockbtn {
	width: auto;
	align-self: flex-end;
}
.edo-cmt-reply {
	margin-top: 5px;
	background: none;
	border: none;
	padding: 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--edo-green);
}
.edo-cmt-reply:hover {
	text-decoration: underline;
}
.edo-cmt__children {
	margin-top: 12px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	border-left: 2px solid var(--edo-divider);
	padding-left: 13px;
}
.edo-cmt__children:empty {
	display: none;
	margin: 0;
	border: 0;
	padding: 0;
}
.edo-cmt-replyto {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: var(--edo-tint);
	color: var(--edo-green);
	font-size: 12.5px;
	padding: 8px 12px;
	border-radius: 9px;
}
.edo-cmt-replycancel {
	color: var(--edo-green);
	font-size: 17px;
	line-height: 1;
}

/* ---------- Profile edit ---------- */
.edo-profile-form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 640px;
}
.edo-profile-form label {
	display: block;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--edo-soft);
	margin-bottom: 6px;
}
.edo-form-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 6px;
}
.edo-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 18px;
	border-radius: 11px;
	font-weight: 700;
	font-size: 14px;
	color: var(--edo-soft);
	background: #fff;
	border: 1px solid var(--edo-field-bd);
}
.edo-btn-ghost:hover {
	border-color: var(--edo-green);
	color: var(--edo-green);
}
.edo-savednote {
	background: var(--edo-tint);
	color: var(--edo-green);
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 18px;
	font-size: 13.5px;
	font-weight: 600;
}
.edo-errnote {
	background: #fbe7e8;
	color: var(--edo-red);
	padding: 12px 16px;
	border-radius: 12px;
	margin-bottom: 18px;
	font-size: 13.5px;
	font-weight: 600;
}

/* ---------- Notifications (bell) ---------- */
.edo-notif {
	position: relative;
}
.edo-notif__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 60;
	width: 320px;
	max-width: 88vw;
	background: #fff;
	border: 1px solid var(--edo-card-bd);
	border-radius: 14px;
	box-shadow: 0 20px 50px -20px rgba(16, 40, 28, 0.4);
	overflow: hidden;
}
.edo-notif__head {
	padding: 13px 16px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--edo-title);
	border-bottom: 1px solid var(--edo-divider);
}
.edo-notif__list {
	max-height: 58vh;
	overflow: auto;
}
.edo-notif__item {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--edo-divider);
}
.edo-notif__item:last-child {
	border-bottom: none;
}
.edo-notif__item:hover {
	background: #f6f9f7;
}
.edo-notif__item.is-unread {
	background: var(--edo-tint-2);
}
.edo-notif__item.is-unread:hover {
	background: #e2eee6;
}
.edo-notif__text {
	font-size: 13px;
	font-weight: 600;
	color: var(--edo-text);
	line-height: 1.4;
}
.edo-notif__time {
	font-size: 11px;
	color: var(--edo-muted);
}
.edo-notif__empty {
	padding: 22px 16px;
	text-align: center;
	font-size: 13px;
	color: var(--edo-muted);
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
	.edo-sidebar {
		display: none;
	}
	.edo-topbar--desktop {
		display: none;
	}

	.edo-topbar--mobile {
		flex: none;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 14px 16px;
		background: #fff;
		border-bottom: 1px solid var(--edo-topbar-bd);
	}
	.edo-topbar__logo {
		display: inline-flex;
		background: #fff;
		padding: 4px 6px;
		border-radius: 8px;
	}
	.edo-topbar__logo img {
		height: 22px;
		width: auto;
	}
	.edo-topbar__title {
		flex: 1;
		font-size: 15px;
		color: var(--edo-title);
	}

	.edo-content {
		padding: 18px 15px 96px;
	}
	.edo-stats {
		grid-template-columns: 1fr;
	}
	.edo-dashgrid {
		grid-template-columns: 1fr;
	}
	.edo-grid2,
	.edo-mem-grid,
	.edo-prof-grid,
	.edo-course-grid {
		grid-template-columns: 1fr;
	}

	.edo-modal {
		padding: 0;
	}
	.edo-modal__dialog {
		max-width: 100%;
		max-height: 100vh;
		height: 100vh;
		max-height: 100dvh;
		height: 100dvh;
		border-radius: 0;
	}
	.edo-preview-frame {
		height: 72vh;
	}

	.edo-tabbar {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		background: #fff;
		border-top: 1px solid #eaefeb;
		padding: 8px 6px 14px;
		z-index: 10;
	}
	.edo-tabbar__item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		color: var(--edo-muted);
	}
	.edo-tabbar__item.is-active {
		color: var(--edo-green);
	}
	.edo-tabbar__item span {
		font-size: 10px;
		font-weight: 700;
	}
}

/* ---------- Assignment response buttons (v1.3) ---------- */
.edo-response-actions { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.edo-responsebtn .edo-response__on { display:none; }
.edo-responsebtn.is-on .edo-response__off { display:none; }
.edo-responsebtn.is-on .edo-response__on { display:inline; }
.edo-decline.is-on { background:#fbe9e8; color:#9b2c27; border-color:#e8b9b6; }
.edo-decline.is-on:hover { background:#f7dedd; }
@media (max-width: 640px) { .edo-response-actions { width:100%; justify-content:flex-start; } }
