:root {
    --green: #0b4e1f;
    --green-dark: #083817;
    --gold: #c8a23a;
    --gold-soft: #f4e8bf;
    --bg: #f5f7f3;
    --card: #ffffff;
    --text: #16301e;
    --muted: #607060;
    --line: rgba(11, 78, 31, 0.12);
    --shadow: 0 16px 40px rgba(11, 78, 31, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.icon { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 26px; height: 26px; }
.icon-xl { width: 32px; height: 32px; }

.lang-switcher { position: relative; }
.lang-current { display: flex; align-items: center; gap: .5rem; border: 1px solid var(--line); background: #fff; padding: .5rem .7rem .5rem .55rem; border-radius: 999px; font-weight: 800; font-size: .82rem; color: var(--text); cursor: pointer; letter-spacing: .03em; transition: border-color .15s ease, box-shadow .15s ease; }
.lang-current:hover { border-color: var(--green); color: var(--green); box-shadow: 0 6px 16px rgba(11, 78, 31, .1); }
.lang-current .icon:first-child { width: 22px; height: 22px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-caret { width: 12px; height: 12px; color: #9ca89f; transform: rotate(90deg); transition: transform .15s ease; }
.lang-switcher:hover .lang-caret, .lang-switcher:focus-within .lang-caret { transform: rotate(-90deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + .6rem); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: .4rem; display: grid; gap: .1rem; min-width: 160px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 60; }
.lang-switcher:hover .lang-menu, .lang-switcher:focus-within .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; align-items: center; gap: .65rem; padding: .55rem .7rem; border-radius: 10px; font-weight: 600; font-size: .88rem; color: var(--text); }
.lang-menu a .icon { width: 20px; height: 20px; border-radius: 999px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.lang-menu a:hover { background: rgba(11, 78, 31, .08); color: var(--green); }
.lang-menu a.is-active { color: var(--green); background: rgba(11, 78, 31, .07); font-weight: 800; }

.nav-cta { display: inline-flex; align-items: center; gap: .45rem; padding: .58rem 1.15rem; border-radius: 999px; background: linear-gradient(135deg, var(--green), #0f6730); color: #fff; font-weight: 800; font-size: .87rem; white-space: nowrap; box-shadow: 0 10px 22px rgba(11, 78, 31, .25); transition: transform .2s ease, box-shadow .2s ease; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(11, 78, 31, .32); color: #fff; }

[dir="rtl"] body { direction: rtl; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .home-link-more .icon, [dir="rtl"] .link-arrow .icon { transform: scaleX(-1); }
[dir="rtl"] .hero-arrow .icon { transform: scaleX(-1); }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(11, 78, 31, 0.08); box-shadow: 0 10px 28px rgba(10, 34, 16, .04); }
.site-header::before { content: ''; display: block; height: 3px; background: linear-gradient(90deg, var(--green), var(--gold), var(--green)); }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.brand { display: flex; gap: .85rem; align-items: center; flex: 0 0 auto; }
.brand span { display: block; }
.brand strong, .footer-brand strong { display: block; font-weight: 800; color: #194f2e; white-space: nowrap; font-size: 1.05rem; }
.brand small, .footer-brand p { color: #5d7060; }
.brand small { display: block; white-space: nowrap; font-size: .82rem; margin-top: .1rem; }
.brand-mark { width: 3.4rem; height: 3.4rem; border-radius: 999px; background: linear-gradient(135deg, #146c31, #0b4e1f); color: #fff; display: grid; place-items: center; font-weight: 800; overflow: hidden; flex: 0 0 auto; box-shadow: 0 12px 24px rgba(10, 34, 16, .12); border: 2px solid #fff; outline: 1px solid rgba(11, 78, 31, .12); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-mark-footer { width: 3.25rem; height: 3.25rem; }

.site-nav { display: flex; align-items: center; gap: 1rem; flex-wrap: nowrap; }
.site-nav-links { display: flex; align-items: center; gap: .1rem; }
.site-nav-links a { padding: .5rem .58rem; border-radius: 999px; color: #2f4337; font-weight: 600; font-size: .88rem; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.site-nav-links a:hover { background: rgba(11, 78, 31, 0.08); color: var(--green); }

.nav-utility { display: flex; align-items: center; gap: .7rem; padding-left: .9rem; border-left: 1px solid var(--line); }
.menu-toggle { display: none; align-items: center; justify-content: center; border: 1px solid var(--line); background: #fff; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 12px; font-weight: 700; color: var(--green); }
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-menu { display: none; }
.menu-toggle.is-open .icon-close { display: inline-block; }

.hero { position: relative; isolation: isolate; min-height: 82vh; overflow: hidden; padding: 6rem 0 5rem; color: #fff; background: linear-gradient(180deg, rgba(8,56,23,.78), rgba(8,56,23,.68)); }
.hero-slider { display: grid; align-items: stretch; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0; transform: scale(1.03); transition: opacity 1s ease, transform 6s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1.08); }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,32,15,.35) 0%, rgba(4,26,12,.55) 55%, rgba(4,20,10,.88) 100%); }
.hero-overlay { position: relative; z-index: 1; min-height: 82vh; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
.eyebrow { display: inline-flex; background: rgba(255,255,255,.15); color: #fff; padding: .45rem .8rem; border-radius: 999px; font-size: .85rem; letter-spacing: .04em; }
.hero h1, .page-hero h1 { font-family: 'Playfair Display', serif; font-weight: 800; line-height: 1.05; margin: .9rem 0 .7rem; font-size: clamp(2.4rem, 6vw, 4.9rem); }
.hero-subtitle, .hero-tagline { font-size: 1.08rem; max-width: 40rem; }
.hero-tagline { color: var(--gold-soft); font-weight: 700; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero-dots { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 2; display: flex; gap: .55rem; }
.hero-dot { width: .75rem; height: .75rem; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; }
.hero-dot.is-active { width: 2rem; background: var(--gold); }

.hero-arrows { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 0 1.2rem; pointer-events: none; }
.hero-arrow { pointer-events: auto; width: 2.75rem; height: 2.75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(8,32,16,.35); backdrop-filter: blur(6px); color: #fff; font-size: 1.4rem; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.hero-arrow:hover { background: var(--gold); border-color: var(--gold); transform: scale(1.06); }
.hero-counter { position: absolute; right: 1.6rem; bottom: 1.6rem; z-index: 2; color: rgba(255,255,255,.9); font-weight: 700; letter-spacing: .08em; font-size: .82rem; background: rgba(6,32,15,.45); padding: .4rem .85rem; border-radius: 999px; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.15); }
.hero-card, .content-box, .info-card, .news-card, .teacher-card, .gallery-card, .sidebar-card, .stat-card, .admin-card, .table-wrap, .table-card, .form-card, .semester-block { background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 22px; }
.hero-card { padding: 1.5rem; color: var(--text); box-shadow: 0 24px 55px rgba(4, 20, 10, .35); }
.hero-card strong { display: block; font-size: 1.05rem; margin-bottom: .8rem; color: #123f24; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hero-card li { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .55rem .7rem; background: #f7faf6; border-radius: 12px; font-weight: 700; color: var(--green); }
.hero-card li span { color: var(--muted); font-weight: 600; font-size: .85rem; }

.section { padding: 4.5rem 0; }
.soft-bg { background: #eef3ec; }
.section-heading { text-align: center; margin-bottom: 2rem; }
.section-heading.left { text-align: left; }
.section-heading span, .page-hero .eyebrow { color: var(--green); font-weight: 800; }
.section-heading h2 { margin: .5rem 0 0; font-size: clamp(1.7rem, 3vw, 2.5rem); }

.card-grid { display: grid; gap: 1rem; }
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.four-up { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.info-card, .news-card, .teacher-card, .gallery-card { overflow: hidden; }
.info-card { padding: 1.25rem; }
.info-card-badge, .pill { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 999px; background: var(--gold-soft); color: #846700; font-size: .8rem; font-weight: 700; }
.content-box { padding: 1.4rem; line-height: 1.8; }
.list-box { display: grid; gap: .8rem; }
.list-box div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; box-shadow: var(--shadow); }

.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat-card { padding: 1.5rem; text-align: center; }
.stat-card strong { display: block; font-size: 2rem; color: var(--green); }
.stat-card span { color: var(--muted); }

.news-card img, .teacher-card img, .gallery-card img, .article-image { width: 100%; object-fit: cover; }
.news-card img { aspect-ratio: 16 / 10; }
.teacher-card img { aspect-ratio: 1 / 1; }
.gallery-card img { aspect-ratio: 4 / 3; }
.news-card-body, .teacher-card { padding: 1.1rem; }
.news-card h3, .teacher-card h3 { margin: .9rem 0 .4rem; }
.news-card p, .teacher-card p, .teacher-card small, .sidebar-card p { color: var(--muted); }
.news-card small { display: block; margin-bottom: .6rem; color: #7c8a79; }
.teacher-card { text-align: center; }
.teacher-card img { border-radius: 18px; margin-bottom: .9rem; }

.teacher-sinta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; padding: .4rem .85rem; border-radius: 999px; background: rgba(11, 78, 31, .08); color: var(--green); font-weight: 800; font-size: .78rem; letter-spacing: .03em; }
.teacher-sinta:hover { background: var(--green); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-card figcaption { padding: 1rem; display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.gallery-card figcaption span { color: var(--muted); font-size: .9rem; }

.page-hero { background: linear-gradient(135deg, #f3f7f1, #e5efe3); padding: 4rem 0 2rem; }
.page-hero .container p { color: var(--muted); max-width: 48rem; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, .7fr); gap: 1.5rem; }
.article-image { border-radius: 18px; margin-bottom: 1rem; max-height: 420px; }
.sidebar-card { padding: 1.3rem; height: fit-content; }
.related-link { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--green); font-weight: 600; }

.table-wrap { overflow: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { padding: .9rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: #f3f7f1; }

.contact-grid, .form-grid { display: grid; gap: 1rem; }
.contact-grid { grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); }
.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.full-width { grid-column: 1 / -1; }
label { display: block; font-weight: 700; margin-bottom: .35rem; }
input, textarea, select { width: 100%; border: 1px solid #cfd9cc; background: #fff; border-radius: 14px; padding: .9rem 1rem; font: inherit; }
textarea { resize: vertical; }
.form-error { color: #b42318; }
.alert-success { background: #ecfdf3; color: #027a48; border: 1px solid #abefc6; padding: .9rem 1rem; border-radius: 14px; margin-bottom: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; padding: .85rem 1.25rem; border: 1px solid transparent; font-weight: 700; }
.btn-sm { padding: .65rem 1rem; }
.btn-primary { background: linear-gradient(135deg, var(--green), #0f6730); color: #fff; }
.btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-danger, .admin-logout { background: #b42318; color: #fff; border: none; }

.site-footer { background: #072a12; color: #edf5ec; padding: 3rem 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.footer-bottom { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }

.admin-body { background: #eef3ec; }
.admin-shell { display: grid; grid-template-columns: 290px minmax(0, 1fr); min-height: 100vh; }
.admin-sidebar { background: linear-gradient(180deg, var(--green), #062a11); color: #fff; padding: 1.4rem; }
.admin-brand { display: flex; align-items: center; gap: .85rem; margin-bottom: 1.5rem; }
.admin-brand p, .admin-topbar p, .admin-menu a { color: rgba(255,255,255,.78); }
.admin-menu { display: grid; gap: .35rem; }
.admin-menu a, .admin-logout { display: flex; align-items: center; gap: .75rem; width: 100%; padding: .85rem 1rem; border-radius: 14px; text-align: left; }
.admin-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.menu-icon { width: 1.35rem; height: 1.35rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.admin-main { display: grid; grid-template-rows: auto 1fr; }
.admin-topbar { background: #fff; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-topbar h1 { margin: 0; font-size: 1.5rem; }
.admin-content { padding: 1.4rem; }
.admin-card, .table-card { padding: 1rem; }
.grid-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-bottom: 1.2rem; }
.grid-stats .stat-card { background: #fff; }
.table-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.admin-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.login-body { min-height: 100vh; background: #f3f5f2; }
.login-shell { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; }
.login-brand-panel { position: relative; overflow: hidden; padding: 3rem 2.5rem; color: #fff; background: linear-gradient(135deg, #0b6b2b 0%, #0f7f2f 50%, #3cbb38 100%); }
.login-brand-panel::before,
.login-brand-panel::after { content: ''; position: absolute; border-radius: 999px; border: 10px solid rgba(255,255,255,.08); }
.login-brand-panel::before { width: 220px; height: 220px; top: -80px; right: 110px; }
.login-brand-panel::after { width: 150px; height: 150px; left: -60px; top: 150px; border-color: rgba(255,255,255,.06); }
.login-brand-top, .login-metrics, .login-hero-copy { position: relative; z-index: 1; }
.login-brand-top { display: flex; align-items: center; gap: 1rem; }
.login-logo-wrap { width: 3.2rem; height: 3.2rem; border-radius: 999px; background: rgba(255,255,255,.95); display: grid; place-items: center; overflow: hidden; flex: 0 0 auto; }
.login-logo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.login-logo-wrap span { color: var(--green); font-weight: 800; }
.login-brand-top h1 { margin: 0; font-size: 1.1rem; line-height: 1.2; }
.login-brand-top p { margin: .25rem 0 0; color: rgba(255,255,255,.82); }
.login-hero-copy { margin-top: 5.5rem; max-width: 34rem; }
.login-kicker { display: inline-block; margin-bottom: .4rem; font-size: 1rem; color: #f2ff56; }
.login-hero-copy h2 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; }
.login-hero-copy p { margin-top: 1rem; font-size: 1.1rem; line-height: 1.6; color: rgba(255,255,255,.92); }
.login-metrics { margin-top: 4rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 28rem; }
.login-metrics div { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 1rem; backdrop-filter: blur(8px); }
.login-metrics strong { display: block; font-size: 1.2rem; }
.login-metrics span { color: rgba(255,255,255,.8); font-size: .9rem; }
.login-footer-note { position: absolute; left: 2.5rem; bottom: 1.75rem; margin: 0; color: rgba(255,255,255,.85); font-size: .9rem; }
.login-form-panel { display: grid; place-items: center; padding: 2rem; background: #f5f6f2; }
.login-card { width: min(100%, 470px); background: #fff; border-radius: 28px; padding: 2.5rem; box-shadow: 0 18px 60px rgba(8, 30, 12, .12); }
.login-form-wrap { display: grid; gap: 1.35rem; }
.login-form-head h2 { margin: 0; font-size: 2rem; color: #0f172a; }
.login-form-head p { margin: .5rem 0 0; color: #64748b; line-height: 1.6; }
.login-form { display: grid; gap: 1rem; }
.field label { display: block; margin-bottom: .55rem; font-size: .95rem; font-weight: 700; color: #1f2937; }
.field input { width: 100%; height: 3.2rem; border-radius: 12px; border: 1px solid #e5e7eb; padding: 0 1rem; font-size: .98rem; background: #fff; }
.field input:focus { outline: none; border-color: rgba(11, 78, 31, .4); box-shadow: 0 0 0 4px rgba(11, 78, 31, .08); }
.field-error { margin-top: .35rem; color: #b42318; }
.login-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.remember-wrap { display: flex; align-items: center; gap: .55rem; color: #475569; font-size: .95rem; }
.remember-wrap input { width: 16px; height: 16px; accent-color: var(--green); }
.login-link { color: var(--green); font-weight: 700; }
.login-submit { width: 100%; height: 3.4rem; border: 0; border-radius: 12px; background: linear-gradient(90deg, #39b54a 0%, #0d6b2b 100%); color: #fff; font-size: 1rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; cursor: pointer; }
.login-hint { padding: 1rem 1.1rem; border-radius: 16px; background: #eefaf0; color: #0f5132; border: 1px solid #d8f3df; }
.login-hint strong { display: block; margin-bottom: .35rem; }
.login-hint p { margin: 0; line-height: 1.6; }

.admin-sidebar { display: flex; flex-direction: column; gap: 1.4rem; }
.admin-sidebar-top { padding-bottom: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.admin-sidebar .admin-brand { margin-bottom: 0; }
.admin-menu-group { display: grid; gap: .6rem; }
.admin-menu-label { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.admin-sidebar-bottom { margin-top: auto; display: grid; gap: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); }
.admin-profile-mini { display: flex; align-items: center; gap: .8rem; }
.profile-badge { width: 2.4rem; height: 2.4rem; border-radius: 999px; background: #d8e91c; color: #16301e; display: grid; place-items: center; font-weight: 800; }
.admin-profile-mini p { margin: .15rem 0 0; color: rgba(255,255,255,.72); }
.admin-topbar { gap: 1rem; }
.admin-topbar-toggle { width: 2.5rem; height: 2.5rem; border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; color: #334155; font-size: 1rem; display: none; }
.admin-search { flex: 1; max-width: 390px; height: 2.8rem; display: flex; align-items: center; gap: .7rem; border: 1px solid #e5e7eb; border-radius: 14px; padding: 0 1rem; background: #fff; color: #94a3b8; }
.admin-search input { width: 100%; border: 0; outline: 0; background: transparent; font: inherit; }
.admin-topbar-right { display: flex; align-items: center; gap: 1rem; }
.admin-website-link { color: #0f172a; font-weight: 600; }
.admin-user { width: 2.7rem; height: 2.7rem; border-radius: 999px; display: grid; place-items: center; background: #0b4e1f; color: #fff; font-weight: 800; padding: 0 1rem; min-width: 2.7rem; }
.admin-hero { position: relative; overflow: hidden; padding: 2rem; border-radius: 24px; background: linear-gradient(90deg, #126f31 0%, #0c5e27 55%, #2ba640 100%); color: #fff; box-shadow: var(--shadow); }
.admin-hero::before, .admin-hero::after { content: ''; position: absolute; border-radius: 999px; border: 10px solid rgba(255,255,255,.08); }
.admin-hero::before { width: 130px; height: 130px; right: 2rem; top: -1rem; }
.admin-hero::after { width: 180px; height: 180px; right: -1rem; top: 3rem; }
.admin-kicker { color: #d6f76b; display: inline-block; margin-bottom: .35rem; }
.admin-hero h2 { margin: 0; font-size: clamp(2rem, 3vw, 3rem); }
.admin-hero p { max-width: 46rem; line-height: 1.6; color: rgba(255,255,255,.92); }
.btn-light { background: #fff; color: #0b4e1f; border: 0; }
.admin-split { display: grid; grid-template-columns: 1.35fr .95fr; gap: 1rem; margin-top: 1rem; }
.stat-card { text-align: left; position: relative; overflow: hidden; }
.stat-card::after { content: ''; position: absolute; right: -1rem; top: -1rem; width: 4rem; height: 4rem; border-radius: 999px; background: rgba(255,255,255,.25); }
.stat-card strong { font-size: 2.2rem; }
.stat-card-green { background: linear-gradient(135deg, #0f6730, #146f31); color: #fff; }
.stat-card-emerald { background: linear-gradient(135deg, #0b7d4a, #21a366); color: #fff; }
.stat-card-lime { background: linear-gradient(135deg, #48b93e, #76c91e); color: #fff; }
.stat-card-gold { background: linear-gradient(135deg, #b0ca12, #c8a23a); color: #fff; }
.admin-chart-card { min-height: 320px; }
.admin-chart-card p { color: var(--muted); }
.admin-card-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.admin-card-head h3 { margin: 0; }
.chart-pill { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 999px; background: rgba(47, 182, 74, .12); color: #0b4e1f; font-weight: 800; }
.chart-wrap { margin-top: 1rem; border-radius: 20px; background: linear-gradient(180deg, #f8fcf7 0%, #eef7ef 100%); padding: 1rem; border: 1px solid rgba(11, 78, 31, .08); }
.admin-chart-svg { width: 100%; height: auto; display: block; }
.chart-mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; margin-top: 1rem; }
.chart-mini-stats div { background: #fff; border: 1px solid rgba(11, 78, 31, .08); border-radius: 16px; padding: .85rem; }
.chart-mini-stats strong { display: block; color: #0b4e1f; margin-bottom: .15rem; }
.chart-mini-stats span { color: var(--muted); font-size: .92rem; }
.quick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.quick-card { min-height: 104px; padding: 1rem; border-radius: 18px; border: 1px solid #e5e7eb; background: #fff; color: #0f172a; font-weight: 700; display: grid; align-content: end; gap: .5rem; box-shadow: 0 8px 20px rgba(2, 6, 23, .05); }
.quick-icon { width: 2.5rem; height: 2.5rem; border-radius: 14px; display: grid; place-items: center; background: rgba(11, 78, 31, .08); color: var(--green); font-size: 1.1rem; }
.admin-card h3 { margin-top: 0; }

.home-hero { background: linear-gradient(180deg, #fff 0%, #f5f8f3 100%); padding: .6rem 0 0; }

.home-hero-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 1rem; align-items: stretch; }

.home-hero-copy { padding: 2.7rem 1rem 2rem 0; }

.home-badge { display: inline-flex; background: linear-gradient(135deg, #e5bf53, #c99714); color: #fff; padding: .36rem .92rem; border-radius: 999px; font-weight: 800; font-size: .9rem; margin-bottom: .95rem; box-shadow: 0 8px 18px rgba(201, 162, 58, .22); }

.home-hero-copy h1 { margin: 0; font-family: 'Playfair Display', serif; font-size: clamp(2.05rem, 3.2vw, 3rem); line-height: 1.05; color: #184c2b; letter-spacing: -0.02em; }

.home-hero-copy h2 { margin: .55rem 0 0; font-size: clamp(2.55rem, 4.6vw, 4.75rem); line-height: .98; color: #184c2b; font-family: 'Playfair Display', serif; letter-spacing: -0.03em; }

.home-hero-copy p { max-width: 30rem; margin-top: 1.1rem; font-size: 1.02rem; line-height: 1.68; color: #334f40; }

.home-hero-actions { display: flex; gap: .75rem; margin-top: 1.35rem; flex-wrap: wrap; }

.home-btn-gold {
    background: linear-gradient(135deg, #c8a23a, #b98718);
    color: #fff;
}

.home-hero-visual { position: relative; min-height: 545px; border-radius: 0 0 0 42px; overflow: hidden; box-shadow: 0 24px 50px rgba(10, 34, 16, .12); }

.home-hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-visual::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 118px; background: linear-gradient(180deg, rgba(255,255,255,0), rgba(11,78,31,.95)); }

.home-section-grid,
.home-highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-panel {
    background: #fff;
    border: 1px solid rgba(11, 78, 31, .08);
    border-radius: 20px;
    padding: 1.25rem 1.35rem 1.35rem;
    box-shadow: 0 14px 28px rgba(10, 34, 16, .06);
}

.compact-heading {
    margin-bottom: 1rem;
}

.compact-heading h2 { font-size: 1.38rem; }

.home-about-panel p,
.home-visi-block p,
.home-highlight-card p,
.home-news-body p,
.home-teacher-card span,
.home-stat-card span {
    color: #607060;
}

.home-mini-cards,
.home-highlight-cards {
    margin-top: 1.25rem;
}

.home-mini-card,
.home-highlight-card { background: #fff; border: 1px solid rgba(11, 78, 31, .08); border-radius: 16px; padding: .95rem; box-shadow: 0 10px 22px rgba(10, 34, 16, .05); }

.mini-icon, .highlight-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(11, 78, 31, .08);
    color: var(--green);
    margin-bottom: .7rem;
}

.highlight-icon {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(11, 78, 31, .12), rgba(200, 162, 58, .2));
}

.home-highlight-card { display: flex; flex-direction: column; align-items: flex-start; }

.home-mini-card strong {
    display: block;
    line-height: 1.35;
    font-size: .95rem;
}

.home-highlights {
    padding-top: .8rem;
}

.home-stat-panel {
    display: grid;
    align-content: start;
}

.home-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .9rem;
}

.home-stat-card { background: #f7fbf5; border-radius: 16px; padding: 1rem; border: 1px solid rgba(11, 78, 31, .08); }

.stat-icon { width: 2.4rem; height: 2.4rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--green); margin-bottom: .6rem; box-shadow: 0 8px 16px rgba(11, 78, 31, .1); }

.home-stat-card strong { display: block; font-size: 1.7rem; color: var(--green); }

.link-arrow { display: inline-flex; align-items: center; gap: .35rem; }
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

.footer-contact { display: grid; gap: .7rem; margin-top: .6rem; }
.footer-contact a, .footer-contact span { display: flex; align-items: center; gap: .65rem; color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-contact .icon { color: var(--gold-soft); flex-shrink: 0; }

.social-row { display: flex; gap: .6rem; margin-top: .5rem; }
.social-icon { width: 2.4rem; height: 2.4rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .2s ease, transform .2s ease; }
.social-icon:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

.contact-info-list { display: grid; gap: .9rem; margin-top: .5rem; }
.contact-info-list a, .contact-info-list span { display: flex; align-items: center; gap: .7rem; color: var(--text); }
.contact-info-list a:hover { color: var(--green); }
.contact-info-list .icon { color: var(--green); background: rgba(11, 78, 31, .08); border-radius: 999px; padding: .45rem; width: 2.2rem; height: 2.2rem; flex-shrink: 0; }

.home-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.home-link-more {
    color: var(--green);
    font-weight: 800;
}

.home-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1.25rem; }

.home-news-card { background: #fff; border: 1px solid rgba(11, 78, 31, .08); border-radius: 20px; overflow: hidden; box-shadow: 0 12px 30px rgba(10, 34, 16, .06); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.home-news-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10, 34, 16, .12); }
.home-news-card.is-featured { grid-column: span 2; grid-row: span 2; }

.home-news-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; }
.home-news-card.is-featured .home-news-media { aspect-ratio: 16 / 11; }
.home-news-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.home-news-card:hover .home-news-media img { transform: scale(1.06); }

.news-badge { position: absolute; left: 1rem; top: 1rem; background: rgba(11, 78, 31, .85); backdrop-filter: blur(4px); color: #fff; padding: .4rem .85rem; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }

.home-news-body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }

.news-date { display: inline-flex; align-items: center; gap: .4rem; color: #7c8a79; font-size: .82rem; font-weight: 600; }
.news-date .icon { color: var(--gold); }

.home-news-body h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
}
.home-news-card.is-featured .home-news-body h3 { font-size: 1.45rem; }
.home-news-body h3 a { color: #123f24; }
.home-news-body h3 a:hover { color: var(--green); }

.home-news-body p { color: var(--muted); font-size: .92rem; line-height: 1.6; margin: 0; flex: 1; }

.news-readmore { color: var(--green); font-weight: 800; font-size: .88rem; margin-top: .3rem; }

.home-dosen-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }

.home-teacher-card { background: #fff; border: 1px solid rgba(11, 78, 31, .08); border-radius: 18px; padding: 1rem; text-align: center; box-shadow: 0 12px 30px rgba(10, 34, 16, .06); }

.home-teacher-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: .9rem;
}

.home-teacher-card strong {
    display: block;
    color: #123f24;
    margin-bottom: .2rem;
}

.home-gallery-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .8rem; }

.home-gallery-card { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(10, 34, 16, .08); }

.home-gallery-card img { width: 100%; height: 132px; object-fit: cover; }

.site-footer {
    background: linear-gradient(135deg, #0d5a27 0%, #0a4a20 100%);
}

.footer-grid {
    gap: 1.25rem;
}

.footer-grid > div {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
}

.home-intro .home-panel,
.home-highlights .home-panel {
    position: relative;
}

.home-intro .home-panel::after,
.home-highlights .home-panel::after {
    content: '';
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 110px;
    height: 110px;
    opacity: .12;
    background: radial-gradient(circle at center, var(--green), transparent 70%);
    pointer-events: none;
}

@media (max-width: 1024px) {
    .home-hero-grid,
    .home-section-grid,
    .home-highlights-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-visual { min-height: 420px; border-radius: 24px; }

    .home-dosen-strip,
    .home-gallery-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-hero-copy {
        padding: 1rem 0 0;
    }

    .home-hero-copy h2 { font-size: 2.4rem; }

    .home-hero-visual { min-height: 280px; }

    .home-hero-grid { gap: .8rem; }

    .home-section-grid,
    .home-highlights-grid,
    .home-dosen-strip,
    .home-gallery-strip,
    .home-stat-grid,
    .home-mini-cards,
    .home-highlight-cards {
        grid-template-columns: 1fr;
    }

    .home-heading-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-hero-actions { flex-direction: column; align-items: stretch; }

    .home-panel { padding: 1.1rem; }

    .home-highlights .home-panel { margin-top: .25rem; }
}

@media (max-width: 1024px) {
    .hero-grid, .split-grid, .article-layout, .contact-grid, .footer-grid, .admin-shell, .four-up, .three-up, .stat-grid, .grid-stats { grid-template-columns: 1fr 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .login-shell { grid-template-columns: 1fr; }
    .login-brand-panel { min-height: 46vh; }
    .admin-split { grid-template-columns: 1fr; }
}

@media (max-width: 1200px) {
    .menu-toggle { display: inline-flex; }
    .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 5.4rem; flex-direction: column; align-items: stretch; gap: .6rem; background: #fff; padding: 1rem; border-radius: 20px; box-shadow: var(--shadow); border: 1px solid var(--line); }
    .site-nav.is-open { display: flex; }
    .site-nav-links { flex-direction: column; align-items: stretch; gap: .15rem; width: 100%; }
    .site-nav-links a { font-size: .96rem; padding: .65rem .8rem; }
    .nav-utility { flex-direction: column; align-items: stretch; gap: .6rem; width: 100%; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: .3rem; padding-top: .8rem; }
    .nav-cta { width: 100%; justify-content: center; padding: .7rem 1.3rem; font-size: .92rem; }
    .brand small { display: none; }
}

@media (max-width: 768px) {
    .hero, .section { padding-left: 0; padding-right: 0; }
    .hero { min-height: 72vh; }
    .hero-overlay { min-height: 72vh; }
    .hero-grid, .split-grid, .article-layout, .contact-grid, .footer-grid, .admin-shell, .four-up, .three-up, .stat-grid, .grid-stats, .form-grid, .admin-form-grid { grid-template-columns: 1fr; }
    .login-brand-panel { padding: 2rem 1.25rem; }
    .login-hero-copy { margin-top: 3rem; }
    .login-metrics { margin-top: 2rem; grid-template-columns: 1fr; max-width: 100%; }
    .login-card { padding: 1.5rem; }
    .login-row { flex-direction: column; align-items: flex-start; }
    .admin-topbar { flex-wrap: wrap; }
    .admin-topbar-toggle { display: inline-grid; place-items: center; }
    .admin-search { order: 3; max-width: 100%; width: 100%; }
    .admin-topbar-right { margin-left: auto; }
    .admin-shell { display: block; }
    .admin-sidebar { position: static; }
    .gallery-grid { grid-template-columns: 1fr; }
    .nav-shell { position: relative; }
    .lang-switcher { width: 100%; }
    .lang-current { width: 100%; justify-content: center; }
    .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; margin-top: .3rem; display: none; }
    .lang-switcher:focus-within .lang-menu { display: grid; }

    .home-news-grid { grid-template-columns: 1fr; }
    .home-news-card.is-featured { grid-column: span 1; grid-row: span 1; }
    .home-news-card.is-featured .home-news-media { aspect-ratio: 16 / 10; }
    .home-news-card.is-featured .home-news-body h3 { font-size: 1.05rem; }

    .chart-mini-stats,
    .quick-grid { grid-template-columns: 1fr; }
}

/* Kelola Kurikulum - enhanced table, form & pagination */
.table-card { padding: 0; overflow: hidden; }
.table-card-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 1.5rem 0; }
.table-card-head h2 { margin: 0; font-size: 1.3rem; color: #123f24; }
.table-card-head p { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; }
.table-toolbar { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; padding: 1.1rem 1.5rem 0; }
.table-search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: .6rem; border: 1px solid #d7e3d4; border-radius: 14px; padding: .7rem 1rem; background: #f7faf6; color: #7c8a79; }
.table-search input { border: 0; background: transparent; padding: 0; width: 100%; color: var(--text); }
.table-toolbar select { width: auto; min-width: 160px; padding: .7rem .9rem; border-radius: 14px; }
.table-scroll { overflow: auto; margin-top: 1rem; padding-bottom: 1.4rem; }
.table-card table { width: 100%; }
.table-card th { background: #f7faf6; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; border-bottom: 2px solid var(--line); }
.table-card th:first-child, .table-card td:first-child { padding-left: 1.5rem; }
.table-card th:last-child, .table-card td:last-child { padding-right: 1.5rem; }
.table-card tbody tr { transition: background .15s ease; }
.table-card tbody tr:hover { background: #f7faf6; }
.table-card tbody tr:last-child td { border-bottom: 0; }

.badge-semester { display: inline-flex; align-items: center; justify-content: center; width: 2.15rem; height: 2.15rem; border-radius: 999px; background: linear-gradient(135deg, var(--green), #0f6730); color: #fff; font-weight: 800; font-size: .85rem; box-shadow: 0 6px 14px rgba(11, 78, 31, .18); }
.mk-code-chip { display: inline-flex; padding: .3rem .6rem; border-radius: 8px; background: #eef3ec; color: #375a3f; font-weight: 700; font-size: .8rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; }
.mk-name { font-weight: 700; color: #123f24; }
.badge-sks { display: inline-flex; padding: .32rem .7rem; border-radius: 999px; background: #eef3ec; color: var(--green); font-weight: 800; font-size: .8rem; }

.pill-status { display: inline-flex; align-items: center; padding: .35rem .75rem; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .02em; }
.pill-status-wajib { background: #e7f6ec; color: #0b7a37; }
.pill-status-pilihan { background: #fff4d6; color: #8a6d1d; }
.pill-status-praktik { background: #e7edfb; color: #2451c9; }
.pill-status-default { background: #f1f2f4; color: #5b6472; }

.table-empty { padding: 3.5rem 1.5rem; text-align: center; color: var(--muted); }
.table-empty strong { display: block; color: var(--text); font-size: 1.05rem; margin-bottom: .35rem; }

.pagination-nav { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem; padding: 1.1rem 1.5rem; border-top: 1px solid var(--line); }
.pagination-info { color: var(--muted); font-size: .86rem; }
.pagination-links { display: flex; gap: .35rem; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: 0; }
.pagination-links a, .pagination-links span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.3rem; height: 2.3rem; padding: 0 .55rem; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: .86rem; background: #fff; }
.pagination-links a:hover { background: #eef3ec; border-color: var(--green); color: var(--green); }
.pagination-links .active { background: var(--green); color: #fff; border-color: var(--green); }
.pagination-links .disabled { color: #b7c2b5; border-color: var(--line); background: #fbfcfa; }

.form-card { padding: 0; overflow: hidden; }
.form-card-head { padding: 1.5rem 1.5rem 0; }
.form-card-head h2 { margin: 0; font-size: 1.3rem; color: #123f24; }
.form-card-head p { margin: .35rem 0 0; color: var(--muted); }
.form-card-body { padding: 1.4rem 1.5rem 1.5rem; margin-top: .6rem; }
.field-hint { display: block; margin-top: .35rem; color: var(--muted); font-size: .8rem; }

.form-section-title { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; font-size: 1.02rem; font-weight: 800; color: #123f24; padding-top: 1.4rem; margin-top: .4rem; border-top: 1px solid var(--line); }
.form-section-title:first-child { padding-top: 0; margin-top: 0; border-top: 0; }
.form-section-title .field-hint { margin-top: 0; font-weight: 500; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(11, 78, 31, .1); }
.form-actions { display: flex; justify-content: flex-end; gap: .75rem; padding-top: .5rem; }
.btn-outline-muted { background: #fff; border: 1px solid #d7e3d4; color: var(--text); }
.btn-outline-muted:hover { border-color: var(--green); color: var(--green); }

@media (max-width: 640px) {
    .table-card-head { flex-direction: column; align-items: stretch; }
    .table-card-head .btn { justify-content: center; }
    .table-toolbar { flex-direction: column; align-items: stretch; }
    .table-toolbar select, .table-toolbar .btn { width: 100%; }
    .pagination-nav { flex-direction: column; align-items: stretch; text-align: center; }
    .pagination-links { justify-content: center; }
    .form-actions { flex-direction: column-reverse; }
    .form-actions .btn { width: 100%; }
}

/* Shared admin table helpers (thumbnails, chips, status pills, name cells) */
.table-thumb, .thumb-placeholder { width: 2.6rem; height: 2.6rem; border-radius: 10px; object-fit: cover; background: #eef3ec; flex: 0 0 auto; }
.table-avatar, .avatar-placeholder { width: 2.6rem; height: 2.6rem; border-radius: 999px; object-fit: cover; background: #eef3ec; flex: 0 0 auto; }
.thumb-placeholder, .avatar-placeholder { display: inline-flex; align-items: center; justify-content: center; color: var(--green); font-weight: 800; font-size: .8rem; }

.name-cell { display: flex; align-items: center; gap: .75rem; }
.name-cell .meta { display: flex; flex-direction: column; gap: .1rem; }
.name-cell strong { font-weight: 700; color: #123f24; }
.name-cell small { color: var(--muted); font-size: .8rem; }

.chip { display: inline-flex; padding: .3rem .6rem; border-radius: 8px; background: #eef3ec; color: #375a3f; font-weight: 700; font-size: .8rem; }

.pill-status-aktif, .pill-status-publish { background: #e7f6ec; color: #0b7a37; }
.pill-status-nonaktif, .pill-status-dibaca { background: #f1f2f4; color: #5b6472; }
.pill-status-draft, .pill-status-baru { background: #fff4d6; color: #8a6d1d; }
.pill-status-arsip { background: #fbe7e7; color: #a13232; }

.text-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .88rem; max-width: 320px; }

.image-preview { display: flex; align-items: center; gap: 1rem; margin-top: .6rem; }
.image-preview img { width: 4.5rem; height: 4.5rem; border-radius: 14px; object-fit: cover; border: 1px solid var(--line); }
.image-preview span { color: var(--muted); font-size: .82rem; }

.status-inline-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.status-inline-form select { width: auto; min-width: 120px; padding: .55rem .8rem; }

@media (max-width: 640px) {
    .name-cell { flex-direction: column; align-items: flex-start; }
}