/* KSSE premium tenant skin
   Public customization file. Edit colors, spacing, banners, buttons, and page-specific styles here. */
:root {
    --primary-color:#1f5eff;
    --primary-dark:#0b2f72;
    --secondary-color:#111827;
    --text-color:#111827;
    --text-muted:#667085;
    --bg-body:#f6f8fb;
    --bg-color:#f6f8fb;
    --border-color:#e5e7eb;
    --radius-md:8px;
    --radius-sm:6px;
}
* { letter-spacing:0; }
body.ksse-themed-page {
    font-family:Pretendard, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background:#f6f8fb;
    color:#111827;
}
.ksse-header {
    position:fixed;
    inset:0 0 auto;
    z-index:1000;
    height:76px;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
    backdrop-filter:blur(14px);
}
.ksse-nav {
    max-width:1240px;
    height:100%;
    margin:0 auto;
    padding:0 28px;
    display:flex;
    align-items:center;
    gap:32px;
}
.ksse-logo { display:flex; align-items:center; min-width:150px; color:#071a33; }
.ksse-logo strong { font-size:25px; line-height:1; font-weight:900; }
.ksse-menu { display:flex; align-items:center; gap:4px; flex:1; justify-content:center; }
.ksse-menu > a,
.ksse-menu-button {
    height:42px;
    display:inline-flex;
    align-items:center;
    padding:0 14px;
    border-radius:6px;
    color:#1f2937;
    font-size:15px;
    font-weight:800;
    white-space:nowrap;
    border:0;
    background:transparent;
    cursor:pointer;
}
.ksse-menu > a:hover,
.ksse-menu-button:hover { background:#eef4ff; color:#1f5eff; }
.ksse-dropdown { position:relative; }
.ksse-dropdown-panel {
    position:absolute;
    top:48px;
    left:50%;
    transform:translateX(-50%) translateY(10px);
    width:240px;
    padding:10px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    box-shadow:0 24px 60px rgba(15,23,42,.18);
    opacity:0;
    pointer-events:none;
    transition:.18s;
}
.ksse-dropdown:hover .ksse-dropdown-panel { opacity:1; pointer-events:auto; transform:translateX(-50%) translateY(0); }
.ksse-dropdown-panel a {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:11px 12px;
    border-radius:6px;
    color:#27364a;
    font-size:14px;
    font-weight:800;
}
.ksse-dropdown-panel a:hover { background:#f1f6ff; color:#1f5eff; }
.ksse-actions { display:flex; align-items:center; gap:8px; }
.ksse-user { max-width:120px; color:#334155; font-size:13px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ksse-btn {
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0 15px;
    border-radius:6px;
    border:1px solid #d6deea;
    color:#1f2937;
    background:#fff;
    font-weight:900;
    font-size:14px;
    white-space:nowrap;
}
.ksse-btn.primary { color:#fff; background:#1f5eff; border-color:#1f5eff; }
.ksse-page-content { padding-top:76px; min-height:calc(100vh - 76px); background:#f6f8fb; }
.ksse-page-content > .container {
    max-width:1240px;
    margin-top:0 !important;
    padding:54px 28px 80px;
    background:transparent !important;
}
.path,
.path_list { color:#667085; font-size:13px; }
.path { margin-bottom:18px; }
.content_title,
.page-title,
.section-title {
    color:#071a33;
    font-weight:900;
    letter-spacing:0;
}
.content_title,
.page-title { font-size:34px; margin:0 0 28px; }
.section-header {
    margin:0 auto 34px;
    padding:54px 24px 18px;
    text-align:center;
}
.section-tag {
    display:inline-flex;
    align-items:center;
    height:30px;
    padding:0 12px;
    border-radius:999px;
    background:#eaf1ff;
    color:#1f5eff;
    font-weight:900;
    font-size:12px;
}
.section-title { font-size:42px !important; line-height:1.18; margin:16px 0 10px; }
.section-subtitle { color:#667085; font-size:17px; }
.content_body,
.admin-card,
.empty-state {
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    box-shadow:0 20px 50px rgba(15,23,42,.07);
}
.content_body { padding:34px; }
.page-search-form {
    display:flex;
    gap:10px;
    max-width:620px;
    margin:34px auto 20px;
    padding:8px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    box-shadow:0 16px 40px rgba(15,23,42,.06);
}
.page-search-form .form-control { border:0; height:46px; box-shadow:none; }
.form-control,
.input,
.textarea,
select {
    border-radius:7px !important;
    border-color:#d7e0ea !important;
}
.btn,
.cat-tab,
.badge { border-radius:7px !important; }
.btn-primary,
.btn.btn-primary,
.cat-tab.active {
    background:#1f5eff !important;
    border-color:#1f5eff !important;
    color:#fff !important;
    box-shadow:0 10px 22px rgba(31,94,255,.2);
}
.btn-secondary,
.btn.btn-secondary,
.btn-gray {
    background:#fff !important;
    border-color:#d6deea !important;
    color:#1f2937 !important;
}
.category-tabs { gap:8px; margin-bottom:36px; }
.cat-tab {
    height:42px;
    min-width:74px;
    padding:0 18px;
    background:#fff;
    border:1px solid #d7e0ea;
    color:#334155;
    font-weight:800;
}
.course-grid { gap:20px; }
.course-card {
    border:1px solid #e5e7eb !important;
    border-radius:8px !important;
    overflow:hidden;
    background:#fff;
    box-shadow:0 18px 44px rgba(15,23,42,.08) !important;
    transition:transform .18s, box-shadow .18s, border-color .18s;
}
.course-card:hover { transform:translateY(-4px); border-color:#bad0ff !important; box-shadow:0 28px 64px rgba(15,23,42,.13) !important; }
.card-img-wrap { background:#dbe7f5; }
.card-img-wrap img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; }
.card-body { padding:22px !important; }
.card-title { font-size:19px !important; line-height:1.45; color:#071a33; }
.card-category { color:#1f5eff !important; font-weight:900 !important; }
.card-footer { border-top:1px solid #edf1f6; padding-top:16px; }
.card-price { color:#071a33; font-weight:900; }
.board-list,
.board-view,
.table-wrap,
.admin-table,
.certs-gallery,
.greeting {
    border-radius:8px;
}
.board-list,
.board-view,
.table-wrap {
    background:#fff;
    border:1px solid #e5e7eb;
    box-shadow:0 18px 44px rgba(15,23,42,.07);
    overflow:hidden;
}
.greeting { display:grid; grid-template-columns:minmax(260px,380px) 1fr; gap:34px; align-items:start; }
.greeting .scont_img img { width:100%; border-radius:8px; box-shadow:0 18px 44px rgba(15,23,42,.12); }
.greeting .scont { color:#334155; line-height:1.85; }
.certs-gallery img { border-radius:8px; box-shadow:0 15px 34px rgba(15,23,42,.12); }

.ksse-site-footer {
    position:relative;
    overflow:hidden;
    background:#061529 !important;
    color:#d7e3f5 !important;
    padding:0 !important;
    margin-top:0;
    border-top:1px solid rgba(255,255,255,.08);
}
.ksse-footer-bg {
    position:absolute;
    inset:0;
    background:
        linear-gradient(135deg, rgba(31,94,255,.28), rgba(25,182,210,.08) 42%, rgba(6,21,41,0) 72%),
        radial-gradient(circle at 82% 18%, rgba(25,182,210,.22), transparent 32%),
        radial-gradient(circle at 14% 86%, rgba(31,94,255,.18), transparent 34%);
    pointer-events:none;
}
.ksse-footer-inner {
    position:relative;
    max-width:1240px;
    margin:0 auto;
    padding:54px 28px 34px;
}
.ksse-footer-main {
    display:grid;
    grid-template-columns:minmax(260px,.95fr) minmax(280px,1.4fr);
    gap:36px;
    align-items:end;
    padding-bottom:28px;
    border-bottom:1px solid rgba(255,255,255,.12);
}
.ksse-footer-brand { display:flex; flex-direction:column; gap:9px; }
.ksse-footer-brand strong {
    color:#fff;
    font-size:30px;
    line-height:1;
    font-weight:900;
}
.ksse-footer-brand span {
    color:#8fb3ff;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
}
.ksse-footer-main p {
    margin:0;
    max-width:680px;
    color:#b9c7da;
    font-size:15px;
    line-height:1.8;
    font-weight:600;
}
.ksse-footer-nav {
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    padding:22px 0;
    border-bottom:1px solid rgba(255,255,255,.1);
}
.ksse-footer-nav a {
    display:inline-flex;
    align-items:center;
    height:38px;
    padding:0 13px;
    border-radius:7px;
    color:#dbeafe;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    font-size:13px;
    font-weight:800;
}
.ksse-footer-nav a:hover {
    background:rgba(31,94,255,.26);
    border-color:rgba(143,179,255,.35);
    color:#fff;
}
.ksse-footer-info-grid {
    display:grid;
    grid-template-columns:220px 260px minmax(0,1fr);
    gap:12px;
    margin-top:24px;
}
.ksse-footer-info-card {
    min-height:86px;
    padding:18px;
    border-radius:8px;
    background:rgba(255,255,255,.07);
    border:1px solid rgba(255,255,255,.1);
    backdrop-filter:blur(10px);
}
.ksse-footer-info-card span {
    display:block;
    color:#8fa6c4;
    font-size:12px;
    font-weight:900;
    margin-bottom:8px;
}
.ksse-footer-info-card strong {
    display:block;
    color:#fff;
    font-size:16px;
    line-height:1.5;
    word-break:keep-all;
}
.ksse-footer-info-card:not(.wide) strong { font-size:20px; }
.ksse-footer-meta {
    display:flex;
    justify-content:space-between;
    gap:18px;
    align-items:flex-end;
    margin-top:26px;
    color:#91a3bd;
    font-size:12px;
    line-height:1.8;
}
.ksse-footer-meta div {
    display:flex;
    gap:14px;
    flex-wrap:wrap;
}
.ksse-footer-meta p { margin:0; white-space:nowrap; }
.ksse-footer-meta b { color:#fff; }

@media (max-width:1040px) {
    .ksse-menu { display:none; }
    .ksse-nav { justify-content:space-between; }
}
@media (max-width:720px) {
    .ksse-header { height:auto; min-height:68px; }
    .ksse-nav { padding:14px 18px; gap:12px; }
    .ksse-logo strong { font-size:21px; }
    .ksse-actions .ksse-btn:not(.primary):not(.ksse-login-btn), .ksse-user { display:none; }
    .ksse-page-content { padding-top:68px; }
    .ksse-page-content > .container { padding:36px 18px 60px; }
    .section-title { font-size:31px !important; }
    .content_title, .page-title { font-size:28px; }
    .content_body { padding:22px; }
    .page-search-form { flex-direction:column; }
    .greeting { grid-template-columns:1fr; }
    .ksse-footer-main { grid-template-columns:1fr; align-items:start; }
    .ksse-footer-info-grid { grid-template-columns:1fr; }
    .ksse-footer-meta { display:block; }
    .ksse-footer-meta p { margin-top:14px; white-space:normal; }
}
/* Refined image flag language dropdown */
.uedu-lang-switch {
    position:relative;
    display:inline-flex;
    align-items:center;
    min-width:0;
    isolation:isolate;
}
.uedu-lang-switch summary {
    list-style:none;
    height:42px;
    min-width:126px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:0 12px;
    border:1px solid rgba(148,163,184,.34);
    border-radius:999px;
    background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);
    color:#0f172a;
    font-size:13px;
    font-weight:900;
    line-height:1;
    cursor:pointer;
    white-space:nowrap;
    box-shadow:0 10px 24px rgba(15,23,42,.06);
    transition:background .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.uedu-lang-switch summary::-webkit-details-marker { display:none; }
.ksse-header:not(.is-solid) .uedu-lang-switch summary {
    color:#fff;
    border-color:rgba(255,255,255,.28);
    background:rgba(255,255,255,.12);
    box-shadow:none;
    backdrop-filter:blur(10px);
}
.uedu-lang-switch summary:hover,
.uedu-lang-switch[open] summary {
    border-color:rgba(31,94,255,.42);
    box-shadow:0 14px 30px rgba(31,94,255,.13);
    transform:translateY(-1px);
}
.ksse-header:not(.is-solid) .uedu-lang-switch summary:hover,
.ksse-header:not(.is-solid) .uedu-lang-switch[open] summary {
    border-color:rgba(255,255,255,.55);
    background:rgba(255,255,255,.18);
    box-shadow:0 14px 34px rgba(0,0,0,.16);
}
.uedu-lang-flag-img {
    width:24px;
    height:18px;
    display:inline-block;
    flex:0 0 auto;
    object-fit:cover;
    border-radius:4px;
    box-shadow:0 0 0 1px rgba(15,23,42,.12), 0 3px 8px rgba(15,23,42,.10);
}
.uedu-lang-current {
    display:inline-block;
    max-width:86px;
    overflow:hidden;
    text-overflow:ellipsis;
}
.uedu-lang-caret {
    font-size:10px;
    color:#64748b;
    transition:transform .18s, color .18s;
}
.ksse-header:not(.is-solid) .uedu-lang-caret { color:rgba(255,255,255,.82); }
.uedu-lang-switch[open] .uedu-lang-caret {
    transform:rotate(180deg);
    color:#1f5eff;
}
.ksse-header:not(.is-solid) .uedu-lang-switch[open] .uedu-lang-caret { color:#fff; }
.uedu-lang-menu {
    position:absolute;
    top:calc(100% + 10px);
    right:0;
    z-index:9000;
    width:224px;
    max-height:360px;
    overflow:auto;
    padding:8px;
    background:rgba(255,255,255,.98);
    border:1px solid rgba(214,222,234,.9);
    border-radius:14px;
    box-shadow:0 26px 70px rgba(15,23,42,.20);
    backdrop-filter:blur(14px);
}
.uedu-lang-menu::before {
    content:"";
    position:absolute;
    top:-6px;
    right:22px;
    width:12px;
    height:12px;
    background:#fff;
    border-left:1px solid rgba(214,222,234,.9);
    border-top:1px solid rgba(214,222,234,.9);
    transform:rotate(45deg);
}
.uedu-lang-menu-head {
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
    padding:9px 10px 8px;
    color:#64748b;
    font-size:12px;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.02em;
}
.uedu-lang-menu-head i { color:#1f5eff; }
.uedu-lang-option {
    position:relative;
    display:grid;
    grid-template-columns:24px minmax(0,1fr) 18px;
    align-items:center;
    gap:10px;
    min-height:42px;
    padding:9px 10px;
    border-radius:10px;
    color:#1f2937;
    font-size:13px;
    font-weight:900;
    transition:background .16s, color .16s, transform .16s;
}
.uedu-lang-option:hover {
    background:#f3f7ff;
    color:#1f5eff;
    transform:translateX(2px);
}
.uedu-lang-option.is-active {
    background:linear-gradient(135deg,#eef4ff,#f8fbff);
    color:#1f5eff;
}
.uedu-lang-option-check {
    width:18px;
    height:18px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#1f5eff;
    color:#fff;
    font-size:10px;
    opacity:0;
    transform:scale(.82);
}
.uedu-lang-option.is-active .uedu-lang-option-check {
    opacity:1;
    transform:scale(1);
}
.uedu-lang-globe {
    width:30px;
    height:30px;
    display:inline-grid;
    place-items:center;
    border-radius:999px;
    background:linear-gradient(135deg,#eef4ff,#e0f2fe);
    color:#1f5eff;
    box-shadow:inset 0 0 0 1px rgba(31,94,255,.08);
}
.ksse-entry-option-branch {
    position:relative;
    padding:0 !important;
    overflow:visible;
}
.ksse-entry-option-main {
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    gap:16px;
    min-height:150px;
    padding:22px;
    padding-right:132px;
    color:inherit;
}
.ksse-entry-card-lang {
    position:absolute;
    top:18px;
    right:18px;
    z-index:4;
}
.ksse-entry-card-lang .uedu-lang-switch--gate summary {
    min-width:0;
    width:106px;
    height:40px;
    padding:0 8px;
    border-radius:999px;
    background:#fff;
    box-shadow:0 12px 28px rgba(15,23,42,.10);
}
.ksse-entry-card-lang .uedu-lang-switch--gate summary:hover,
.ksse-entry-card-lang .uedu-lang-switch--gate[open] summary {
    transform:none;
}
.ksse-entry-card-lang .uedu-lang-current { display:none; }
.ksse-entry-card-lang .uedu-lang-menu {
    right:0;
    width:218px;
}
@media (max-width:720px) {
    .ksse-actions .uedu-lang-switch summary {
        min-width:76px;
        height:38px;
        padding:0 10px;
    }
    .ksse-actions .uedu-lang-current { display:none; }
    .ksse-entry-options .ksse-entry-option-branch .ksse-entry-option-main {
        min-height:150px;
        gap:8px;
        padding:16px;
    }
    .ksse-entry-options .ksse-entry-option-branch .ksse-entry-option-main > strong {
        font-size:20px;
        line-height:1.3;
        white-space:nowrap;
    }
    .ksse-entry-options .ksse-entry-option-branch .ksse-entry-foreign-label {
        margin-top:0;
        font-size:12px;
        line-height:1.4;
        white-space:nowrap;
    }
    .ksse-entry-options .ksse-entry-option-branch .ksse-entry-option-main > small:not(.ksse-entry-foreign-label) {
        margin-top:0;
        font-size:12px;
        line-height:1.4;
        white-space:nowrap;
    }
    .ksse-entry-card-lang {
        top:14px;
        right:14px;
    }
    .ksse-entry-card-lang .uedu-lang-switch--gate summary {
        width:96px;
    }
    .uedu-lang-menu {
        width:210px;
    }
}
/* Gate language globe polish */
.ksse-entry-card-lang .uedu-lang-globe,
.entry-gate-language .uedu-lang-globe {
    width:auto;
    height:auto;
    display:inline-flex;
    place-items:initial;
    border-radius:0;
    background:transparent;
    color:#94a3b8;
    box-shadow:none;
}
.ksse-entry-card-lang .uedu-lang-globe i,
.entry-gate-language .uedu-lang-globe i {
    font-size:15px;
    color:#94a3b8;
}
.ksse-entry-card-lang .uedu-lang-switch--gate summary {
    gap:8px;
    background:#fff;
}
/* Compact language menu */
.uedu-lang-menu {
    width:184px;
    max-height:286px;
    padding:6px;
    border-radius:12px;
}
.uedu-lang-menu-head {
    min-height:30px;
    padding:6px 8px 5px;
    gap:6px;
    color:#94a3b8;
    font-size:11px;
    letter-spacing:0;
    text-transform:none;
}
.uedu-lang-menu-head span,
.uedu-lang-option span {
    background:transparent !important;
    box-shadow:none !important;
    border-radius:0 !important;
    padding:0 !important;
}
.uedu-lang-menu-head i {
    color:#94a3b8 !important;
    font-size:12px;
}
.uedu-lang-option {
    grid-template-columns:24px minmax(0,1fr) 16px;
    min-height:34px;
    gap:8px;
    padding:6px 8px;
    border-radius:8px;
    font-size:12px;
    line-height:1.2;
}
.uedu-lang-option:hover {
    transform:none;
}
.uedu-lang-option.is-active {
    background:#f4f7fb;
}
.uedu-lang-option-check {
    width:16px;
    height:16px;
    background:transparent;
    color:#2563eb;
    font-size:10px;
}
.ksse-entry-card-lang .uedu-lang-menu {
    width:174px;
}
/* Language menu spacing correction */
.uedu-lang-menu {
    width:220px !important;
    max-height:304px !important;
    padding:6px !important;
    border-radius:12px !important;
}
.ksse-entry-card-lang .uedu-lang-menu {
    width:214px !important;
}
.uedu-lang-menu-head {
    min-height:26px !important;
    padding:5px 8px 4px !important;
    margin:0 0 2px !important;
    gap:6px !important;
    font-size:11px !important;
    line-height:1 !important;
}
.uedu-lang-option {
    display:grid !important;
    grid-template-columns:24px minmax(0,1fr) 14px !important;
    align-items:center !important;
    min-height:32px !important;
    padding:5px 8px !important;
    gap:8px !important;
    border-radius:8px !important;
    font-size:12px !important;
    line-height:1 !important;
}
.uedu-lang-option .uedu-lang-flag-img {
    align-self:center !important;
}
.uedu-lang-option > span:not(.uedu-lang-option-check) {
    display:block !important;
    min-width:0 !important;
    max-width:100% !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    line-height:1.1 !important;
    background:transparent !important;
    padding:0 !important;
    margin:0 !important;
}
.uedu-lang-option-check {
    width:14px !important;
    height:14px !important;
    justify-self:end !important;
    align-self:center !important;
    font-size:9px !important;
}
.uedu-lang-menu::-webkit-scrollbar {
    width:6px;
}
.uedu-lang-menu::-webkit-scrollbar-track {
    background:transparent;
}
.uedu-lang-menu::-webkit-scrollbar-thumb {
    background:#cbd5e1;
    border-radius:999px;
}
@media (max-width:720px) {
    .uedu-lang-menu,
    .ksse-entry-card-lang .uedu-lang-menu {
        width:206px !important;
    }
}
/* Language menu no-ellipsis alignment */
.uedu-lang-menu {
    width:250px !important;
    max-height:320px !important;
}
.ksse-entry-card-lang .uedu-lang-menu {
    width:250px !important;
}
.uedu-lang-option {
    grid-template-columns:24px 1fr 16px !important;
    min-height:34px !important;
    height:34px !important;
    align-items:center !important;
    justify-items:start !important;
    padding:5px 8px !important;
}
.uedu-lang-option .uedu-lang-flag-img {
    align-self:center !important;
    justify-self:center !important;
}
.uedu-lang-option > span:not(.uedu-lang-option-check) {
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100% !important;
    height:100% !important;
    white-space:nowrap !important;
    overflow:visible !important;
    text-overflow:clip !important;
    line-height:1 !important;
}
.uedu-lang-option-check {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    justify-self:center !important;
}
@media (max-width:720px) {
    .uedu-lang-menu,
    .ksse-entry-card-lang .uedu-lang-menu {
        width:240px !important;
    }
}
/* Language menu header overlap fix */
.uedu-lang-menu-head {
    display:grid !important;
    grid-template-columns:18px minmax(0,1fr) !important;
    align-items:center !important;
    column-gap:7px !important;
    width:100% !important;
    min-height:28px !important;
    padding:6px 8px 5px !important;
    margin:0 0 3px !important;
    line-height:1 !important;
}
.uedu-lang-menu-head i {
    position:static !important;
    display:block !important;
    width:18px !important;
    height:18px !important;
    line-height:18px !important;
    text-align:center !important;
    margin:0 !important;
    flex:none !important;
}
.uedu-lang-menu-head span {
    display:block !important;
    min-width:0 !important;
    width:100% !important;
    height:auto !important;
    line-height:1 !important;
    white-space:nowrap !important;
    overflow:visible !important;
    text-overflow:clip !important;
    margin:0 !important;
    padding:0 !important;
    background:transparent !important;
}

/* Mobile compact U logo */
@media (max-width:720px) {
    .ksse-nav {
        padding:12px 14px;
        gap:8px;
    }
    .ksse-logo {
        position:relative;
        min-width:42px;
        width:42px;
        height:42px;
        flex:0 0 42px;
        justify-content:center;
        text-decoration:none;
    }
    .ksse-logo::before {
        content:"U";
        width:42px;
        height:42px;
        display:inline-grid;
        place-items:center;
        border-radius:12px;
        background:linear-gradient(135deg,#1f5eff 0%,#19b6d2 100%);
        color:#fff;
        font-size:23px;
        line-height:1;
        font-weight:950;
        letter-spacing:0;
        box-shadow:0 12px 26px rgba(31,94,255,.22);
    }
    .ksse-logo strong {
        position:absolute;
        width:1px;
        height:1px;
        margin:-1px;
        padding:0;
        overflow:hidden;
        clip:rect(0 0 0 0);
        white-space:nowrap;
        border:0;
    }
    .ksse-actions {
        flex:1 1 auto;
        min-width:0;
        justify-content:flex-end;
        gap:6px;
    }
    .ksse-actions .ksse-btn.primary {
        height:38px;
        padding:0 12px;
        font-size:13px;
    }
    .ksse-actions .uedu-lang-switch summary {
        height:38px;
        min-width:66px;
        padding:0 8px;
    }
}

@media (max-width:420px) {
    .ksse-nav {
        padding-left:12px;
        padding-right:12px;
    }
    .ksse-logo,
    .ksse-logo::before {
        width:40px;
        height:40px;
        flex-basis:40px;
    }
    .ksse-logo::before {
        border-radius:11px;
        font-size:22px;
    }
    .ksse-actions .ksse-btn.primary {
        max-width:76px;
        padding:0 10px;
    }
    .ksse-actions {
        gap:4px;
    }
    .ksse-actions .ksse-btn,
    .ksse-actions .ksse-btn.primary {
        height:38px;
        padding:0 8px;
        font-size:12px;
    }
}
