:root {
    --emtq-ink: #17231d;
    --emtq-muted: #67756d;
    --emtq-line: #dfe9e3;
    --emtq-canvas: #f2f7f4;
    --emtq-surface: #ffffff;
    --emtq-surface-soft: #f8fbf9;
    --emtq-primary: #087f5b;
    --emtq-primary-dark: #065f46;
    --emtq-primary-soft: #dff7ee;
    --emtq-gold: #c58a1f;
    --emtq-gold-soft: #fff5d9;
    --emtq-danger: #b42318;
    --emtq-danger-soft: #feeceb;
    --emtq-info: #1769aa;
    --emtq-info-soft: #e8f3fc;
    --emtq-sidebar: #102d24;
    --emtq-sidebar-deep: #081d17;
    --emtq-sidebar-text: #d8e7df;
    --emtq-radius-sm: 10px;
    --emtq-radius: 16px;
    --emtq-radius-lg: 24px;
    --emtq-shadow-sm: 0 5px 16px rgba(24, 57, 43, .06);
    --emtq-shadow: 0 14px 40px rgba(24, 57, 43, .09);
    --emtq-sidebar-width: 292px;
    --emtq-sidebar-collapsed: 88px;
    --bs-success: var(--emtq-primary);
    --bs-success-rgb: 8, 127, 91;
    --bs-body-font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --bs-body-color: var(--emtq-ink);
    --bs-body-bg: var(--emtq-canvas);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #a9c5b8 transparent;
}

html {
    min-height: 100%;
    background: var(--emtq-canvas);
}

body.emtq-app {
    min-height: 100vh;
    margin: 0;
    color: var(--emtq-ink);
    background:
        radial-gradient(circle at 95% 4%, rgba(197, 138, 31, .09), transparent 25rem),
        radial-gradient(circle at 45% 105%, rgba(8, 127, 91, .08), transparent 34rem),
        var(--emtq-canvas);
    font-size: .925rem;
    letter-spacing: -.005em;
}

body.emtq-app::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .34;
    background-image:
        linear-gradient(rgba(24, 57, 43, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(24, 57, 43, .025) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

::selection {
    color: #fff;
    background: var(--emtq-primary);
}

a {
    color: var(--emtq-primary);
}

a:hover {
    color: var(--emtq-primary-dark);
}

.emtq-shell {
    min-height: 100vh;
}

.emtq-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1035;
    width: var(--emtq-sidebar-width);
    overflow: hidden;
    color: var(--emtq-sidebar-text);
    background:
        radial-gradient(circle at 20% 0%, rgba(255, 255, 255, .09), transparent 18rem),
        linear-gradient(165deg, var(--emtq-sidebar) 0%, var(--emtq-sidebar-deep) 100%);
    border-right: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 16px 0 40px rgba(4, 27, 20, .12);
    transition: width .24s ease, transform .24s ease;
}

.emtq-sidebar::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -120px;
    bottom: 40px;
    border: 1px solid rgba(197, 138, 31, .18);
    border-radius: 38px;
    transform: rotate(45deg);
    pointer-events: none;
}

.emtq-sidebar-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.emtq-brand {
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 19px 20px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.emtq-brand:hover {
    color: #fff;
}

.emtq-brand-mark {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 17px;
    color: #0a3326;
    background: linear-gradient(145deg, #ffe8a3, #c9942f);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 10px 28px rgba(0,0,0,.2);
}

.emtq-brand-mark::before,
.emtq-brand-mark::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(7, 82, 59, .85);
    transform: rotate(45deg);
}

.emtq-brand-mark::before {
    width: 22px;
    height: 22px;
    border-radius: 5px;
}

.emtq-brand-mark::after {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background: rgba(255,255,255,.2);
}

.emtq-brand-copy {
    min-width: 0;
}

.emtq-brand-title {
    display: block;
    font-weight: 800;
    font-size: 1.03rem;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.emtq-brand-subtitle {
    display: block;
    margin-top: 4px;
    color: rgba(226, 241, 233, .64);
    font-size: .75rem;
    line-height: 1.3;
}

.emtq-nav-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    padding: 12px 11px 24px;
    scrollbar-width: thin;
    scrollbar-color: rgba(218, 234, 226, .24) transparent;
}

.emtq-nav-scroll::-webkit-scrollbar {
    width: 7px;
}

.emtq-nav-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.emtq-nav-scroll::-webkit-scrollbar-thumb {
    background: rgba(218, 234, 226, .2);
    border: 2px solid transparent;
    border-radius: 999px;
    background-clip: padding-box;
}

.emtq-nav-scroll:hover::-webkit-scrollbar-thumb {
    background: rgba(218, 234, 226, .34);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.emtq-nav-section {
    margin-top: 12px;
}

.emtq-nav-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px 6px;
    color: rgba(215, 234, 224, .47);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.emtq-nav-label::after {
    content: "";
    height: 1px;
    flex: 1;
    background: rgba(255, 255, 255, .07);
}

.emtq-nav-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 11px;
    margin: 3px 0;
    border-radius: 13px;
    color: rgba(225, 239, 232, .77);
    text-decoration: none;
    font-weight: 590;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.emtq-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .075);
    transform: translateX(2px);
}

.emtq-nav-link.active {
    color: #fff;
    background: linear-gradient(100deg, rgba(23, 152, 111, .38), rgba(255,255,255,.07));
    box-shadow: inset 3px 0 0 #e8b24b;
}

.emtq-nav-icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #aad3c1;
    background: rgba(255, 255, 255, .06);
    font-size: .98rem;
}

.emtq-nav-link.active .emtq-nav-icon {
    color: #ffe2a1;
    background: rgba(255, 255, 255, .1);
}

.emtq-nav-copy {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.emtq-nav-badge {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 999px;
    color: #493108;
    background: #f7d891;
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: .05em;
}

.emtq-nav-link.is-secret {
    color: #ffedc8;
    background: linear-gradient(100deg, rgba(197, 138, 31, .19), rgba(255,255,255,.035));
    border: 1px solid rgba(231, 181, 85, .18);
}

.emtq-nav-link.is-secret .emtq-nav-icon {
    color: #ffd576;
    background: rgba(197, 138, 31, .14);
}

.emtq-sidebar-foot {
    margin-top: auto;
    padding: 14px 16px 18px;
    color: rgba(215, 234, 224, .5);
    font-size: .68rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

.emtq-sidebar-foot strong {
    color: rgba(255,255,255,.8);
}

.emtq-workspace {
    min-height: 100vh;
    margin-left: var(--emtq-sidebar-width);
    transition: margin-left .24s ease;
}

.emtq-topbar {
    position: sticky;
    top: 0;
    z-index: 1025;
    min-height: 82px;
    display: flex;
    align-items: center;
    padding: 13px 24px;
    background: rgba(247, 251, 248, .88);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(185, 205, 194, .65);
}

.emtq-topbar-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.emtq-page-heading {
    min-width: 0;
}

.emtq-eyebrow {
    color: var(--emtq-primary);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.emtq-page-title {
    margin: 2px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.32rem);
    font-weight: 780;
    letter-spacing: -.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.emtq-topbar-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.emtq-icon-button {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--emtq-line);
    border-radius: 13px;
    color: var(--emtq-ink);
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--emtq-shadow-sm);
}

.emtq-icon-button:hover {
    color: var(--emtq-primary);
    border-color: #b8d7c8;
}

.emtq-secret-shortcut {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 13px;
    border-radius: 13px;
    color: #fff8e8;
    background: linear-gradient(135deg, #4a3411, #8d6319);
    text-decoration: none;
    box-shadow: 0 9px 25px rgba(89, 58, 9, .18);
}

.emtq-secret-shortcut:hover {
    color: #fff;
    transform: translateY(-1px);
}

.emtq-user-button {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 5px 8px 5px 5px;
    border: 1px solid var(--emtq-line);
    border-radius: 14px;
    color: var(--emtq-ink);
    background: rgba(255,255,255,.92);
    box-shadow: var(--emtq-shadow-sm);
}

.emtq-user-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(145deg, var(--emtq-primary), var(--emtq-primary-dark));
    font-size: .74rem;
    font-weight: 850;
    text-transform: uppercase;
}

.emtq-user-copy {
    min-width: 0;
    text-align: left;
    line-height: 1.15;
}

.emtq-user-name {
    display: block;
    max-width: 150px;
    overflow: hidden;
    color: var(--emtq-ink);
    font-size: .82rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.emtq-user-role {
    display: block;
    margin-top: 3px;
    color: var(--emtq-muted);
    font-size: .65rem;
}

.emtq-content {
    padding: 24px;
}

.emtq-content-inner {
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
}

.emtq-footer {
    padding: 15px 24px 23px;
    color: #7b8b82;
    font-size: .72rem;
    text-align: center;
}

.card {
    overflow: hidden;
    border: 1px solid rgba(203, 220, 211, .72);
    border-radius: var(--emtq-radius);
    background: rgba(255,255,255,.94);
    box-shadow: var(--emtq-shadow-sm);
}

.card-header {
    border-bottom-color: var(--emtq-line);
    background: rgba(255,255,255,.82);
}

.card:hover.emtq-hover-card {
    transform: translateY(-2px);
    box-shadow: var(--emtq-shadow);
}

.emtq-hero {
    position: relative;
    overflow: hidden;
    min-height: 182px;
    display: flex;
    align-items: center;
    padding: clamp(24px, 4vw, 42px);
    border-radius: var(--emtq-radius-lg);
    color: #fff;
    background:
        linear-gradient(115deg, rgba(6,95,70,.98), rgba(10,112,82,.94) 55%, rgba(28,86,69,.96)),
        var(--emtq-primary-dark);
    box-shadow: 0 20px 45px rgba(4, 72, 52, .17);
}

.emtq-hero::before,
.emtq-hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 220, 145, .22);
    transform: rotate(45deg);
}

.emtq-hero::before {
    width: 270px;
    height: 270px;
    top: -155px;
    right: 50px;
    border-radius: 46px;
}

.emtq-hero::after {
    width: 150px;
    height: 150px;
    right: -45px;
    bottom: -75px;
    border-radius: 30px;
}

.emtq-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.emtq-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 10px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #ffedbd;
    background: rgba(0,0,0,.12);
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.emtq-hero-title {
    max-width: 780px;
    margin: 12px 0 5px;
    font-size: clamp(1.55rem, 3.5vw, 2.45rem);
    font-weight: 820;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.emtq-hero-copy {
    max-width: 720px;
    color: rgba(239, 251, 245, .78);
    font-size: .92rem;
}

.emtq-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 20px;
}

.emtq-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 10px;
    color: #eefaf4;
    background: rgba(255,255,255,.105);
    font-size: .74rem;
}

.emtq-stat-card {
    height: 100%;
    padding: 18px;
    position: relative;
    overflow: hidden;
}

.emtq-stat-card::after {
    content: "";
    position: absolute;
    width: 78px;
    height: 78px;
    right: -30px;
    bottom: -35px;
    border-radius: 24px;
    background: var(--emtq-primary-soft);
    transform: rotate(35deg);
}

.emtq-stat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.emtq-stat-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--emtq-primary);
    background: var(--emtq-primary-soft);
    font-size: 1.08rem;
}

.emtq-stat-value {
    margin-top: 16px;
    font-size: 1.75rem;
    font-weight: 820;
    letter-spacing: -.04em;
}

.emtq-stat-label {
    color: var(--emtq-muted);
    font-size: .78rem;
    font-weight: 620;
}

.emtq-panel-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 770;
    letter-spacing: -.02em;
}

.emtq-panel-subtitle {
    margin-top: 3px;
    color: var(--emtq-muted);
    font-size: .74rem;
}

.emtq-quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

.emtq-quick-action {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 14px;
    border: 1px solid var(--emtq-line);
    border-radius: 15px;
    color: var(--emtq-ink);
    background: var(--emtq-surface);
    text-decoration: none;
    transition: transform .17s ease, box-shadow .17s ease, border-color .17s ease;
}

.emtq-quick-action:hover {
    color: var(--emtq-ink);
    border-color: #aed0bf;
    transform: translateY(-2px);
    box-shadow: var(--emtq-shadow-sm);
}

.emtq-quick-action.is-secret {
    color: #fff5df;
    border-color: rgba(197,138,31,.32);
    background: linear-gradient(135deg, #31230c, #715019);
}

.emtq-quick-action.is-secret:hover {
    color: #fff;
    border-color: #d9a43f;
}

.emtq-quick-icon {
    flex: 0 0 auto;
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: var(--emtq-primary);
    background: var(--emtq-primary-soft);
}

.is-secret .emtq-quick-icon {
    color: #ffe29d;
    background: rgba(255,255,255,.1);
}

.emtq-quick-title {
    display: block;
    font-weight: 750;
}

.emtq-quick-copy {
    display: block;
    margin-top: 3px;
    color: var(--emtq-muted);
    font-size: .7rem;
    line-height: 1.35;
}

.is-secret .emtq-quick-copy {
    color: rgba(255,247,224,.67);
}

.emtq-empty {
    padding: 38px 20px;
    text-align: center;
    color: var(--emtq-muted);
}

.emtq-empty-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border-radius: 17px;
    color: var(--emtq-primary);
    background: var(--emtq-primary-soft);
    font-size: 1.25rem;
}

.emtq-confidential-banner {
    position: relative;
    overflow: hidden;
    padding: 18px;
    border: 1px solid #ead39d;
    border-radius: var(--emtq-radius);
    color: #4e370d;
    background: linear-gradient(135deg, #fff8e9, #fff0ca);
}

.emtq-confidential-banner::after {
    content: "RAHASIA";
    position: absolute;
    right: -8px;
    top: 14px;
    color: rgba(116, 77, 10, .07);
    font-size: 2.6rem;
    font-weight: 900;
    transform: rotate(-8deg);
}

.emtq-status-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 50%;
    background: var(--emtq-primary);
    box-shadow: 0 0 0 4px rgba(8,127,91,.12);
}

.table-responsive {
    border-radius: inherit;
}

.table {
    --bs-table-bg: transparent;
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: .86rem .9rem;
    border-bottom-color: #e8efeb;
    vertical-align: middle;
}

.table thead th {
    color: #748279;
    background: #f8fbf9;
    font-size: .67rem;
    font-weight: 820;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
}

.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: #f7fbf8;
}

.form-label {
    margin-bottom: .42rem;
    color: #36443c;
    font-size: .75rem;
    font-weight: 720;
}

.form-control,
.form-select {
    min-height: 43px;
    border-color: #cfddd5;
    border-radius: 11px;
    background-color: #fff;
    box-shadow: none;
}

textarea.form-control {
    min-height: auto;
}

.form-control:focus,
.form-select:focus {
    border-color: #55a98a;
    box-shadow: 0 0 0 .22rem rgba(8,127,91,.12);
}

.input-group-text {
    border-color: #cfddd5;
    border-radius: 11px;
    background: #f6faf7;
}

.btn {
    min-height: 40px;
    border-radius: 11px;
    font-weight: 680;
}

.btn-sm {
    min-height: 32px;
    border-radius: 9px;
}

.btn-success,
.btn-primary {
    border-color: var(--emtq-primary);
    background: var(--emtq-primary);
}

.btn-success:hover,
.btn-primary:hover {
    border-color: var(--emtq-primary-dark);
    background: var(--emtq-primary-dark);
}

.btn-dark {
    border-color: #19362b;
    background: #19362b;
}

.badge {
    padding: .42em .65em;
    border-radius: 999px;
    font-weight: 700;
}

.badge-soft,
.emtq-badge-success {
    color: #086345;
    background: var(--emtq-primary-soft);
}

.alert {
    border: 0;
    border-left: 4px solid currentColor;
    border-radius: 13px;
    box-shadow: var(--emtq-shadow-sm);
}

.alert-success {
    color: #086345;
    background: #e7f8f1;
}

.alert-info {
    color: #185c8a;
    background: var(--emtq-info-soft);
}

.alert-warning {
    color: #76510c;
    background: #fff4d5;
}

.alert-danger {
    color: #912018;
    background: var(--emtq-danger-soft);
}

.pagination {
    --bs-pagination-color: var(--emtq-primary);
    --bs-pagination-active-bg: var(--emtq-primary);
    --bs-pagination-active-border-color: var(--emtq-primary);
    --bs-pagination-border-radius: 10px;
}

.dropdown-menu {
    padding: 8px;
    border-color: var(--emtq-line);
    border-radius: 14px;
    box-shadow: var(--emtq-shadow);
}

.dropdown-item {
    border-radius: 9px;
    font-size: .84rem;
}

.code-number {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-weight: 850;
    letter-spacing: .015em;
}

.emtq-mobile-header {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 17px;
    color: #fff;
    background: linear-gradient(145deg, var(--emtq-sidebar), var(--emtq-sidebar-deep));
}

.emtq-mobile-menu .offcanvas-body {
    padding: 8px 10px 20px;
    background: linear-gradient(165deg, var(--emtq-sidebar), var(--emtq-sidebar-deep));
}

body.sidebar-collapsed .emtq-sidebar {
    width: var(--emtq-sidebar-collapsed);
}

body.sidebar-collapsed .emtq-workspace {
    margin-left: var(--emtq-sidebar-collapsed);
}

body.sidebar-collapsed .emtq-brand-copy,
body.sidebar-collapsed .emtq-nav-label,
body.sidebar-collapsed .emtq-nav-copy,
body.sidebar-collapsed .emtq-nav-badge,
body.sidebar-collapsed .emtq-sidebar-foot {
    display: none;
}

body.sidebar-collapsed .emtq-brand {
    justify-content: center;
    padding-inline: 10px;
}

body.sidebar-collapsed .emtq-nav-link {
    justify-content: center;
    padding-inline: 8px;
}

body.sidebar-collapsed .emtq-nav-icon {
    width: 38px;
    height: 38px;
}

@media (max-width: 1199.98px) {
    :root {
        --emtq-sidebar-width: 270px;
    }
}

@media (max-width: 991.98px) {
    .emtq-sidebar {
        display: none;
    }

    .emtq-workspace {
        margin-left: 0;
    }

    .emtq-topbar {
        min-height: 72px;
        padding: 10px 15px;
    }

    .emtq-content {
        padding: 16px;
    }

    .emtq-secret-shortcut span,
    .emtq-user-copy {
        display: none;
    }

    .emtq-user-button {
        padding-right: 5px;
    }
}

@media (max-width: 575.98px) {
    body.emtq-app {
        font-size: .9rem;
    }

    .emtq-content {
        padding: 12px;
    }

    .emtq-topbar-actions {
        gap: 6px;
    }

    .emtq-icon-button,
    .emtq-user-button,
    .emtq-secret-shortcut {
        min-height: 40px;
    }

    .emtq-hero {
        min-height: 165px;
        padding: 23px 19px;
        border-radius: 19px;
    }

    .emtq-hero-title {
        font-size: 1.52rem;
    }

    .emtq-page-title {
        max-width: 185px;
    }

    .card {
        border-radius: 13px;
    }

    .table > :not(caption) > * > * {
        padding: .72rem .7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}


/* Restricted-area privacy shield */
.emtq-restricted-card { overflow: hidden; }
.emtq-restricted-mark { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(8,127,91,.12); color: var(--emtq-primary); font-size: 1.45rem; }
.emtq-sensitive-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid rgba(8,127,91,.16); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 10px 30px rgba(15,44,38,.07); }
.emtq-sensitive-region { position: relative; min-height: 300px; }
.emtq-sensitive-content { transition: filter .16s ease, opacity .16s ease; }
.emtq-sensitive-overlay { display: none; position: absolute; inset: 0; z-index: 20; align-items: center; justify-content: center; padding: 24px; border-radius: 18px; background: linear-gradient(145deg, rgba(238,247,243,.97), rgba(248,245,235,.97)); border: 1px solid rgba(8,127,91,.14); }
.emtq-sensitive-overlay-card { max-width: 420px; text-align: center; display: grid; justify-items: center; gap: 9px; color: #29463e; }
.emtq-sensitive-overlay-card i { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; background: rgba(8,127,91,.13); color: var(--emtq-primary); font-size: 1.45rem; }
.emtq-sensitive-overlay-card strong { font-size: 1.05rem; }
.emtq-sensitive-overlay-card span { color: #6b7e77; font-size: .88rem; }
.emtq-sensitive-region.is-shielded .emtq-sensitive-overlay { display: flex; }
.emtq-sensitive-region.is-shielded .emtq-sensitive-content { filter: blur(15px); opacity: .16; pointer-events: none; user-select: none; }
@media (max-width: 767.98px) { .emtq-sensitive-toolbar { align-items: stretch; flex-direction: column; } .emtq-sensitive-toolbar .d-flex { width: 100%; } .emtq-sensitive-toolbar .btn, .emtq-sensitive-toolbar form { flex: 1 1 auto; } .emtq-sensitive-toolbar form .btn { width: 100%; } }
@media print { .emtq-sensitive-region, .emtq-sensitive-toolbar { display: none !important; } }

/* v1.4.1 — restore sidebar state before the first visible paint. */
html.emtq-js .emtq-nav-scroll.is-scroll-pending {
    visibility: hidden;
}

html.emtq-js .emtq-nav-scroll[data-emtq-scroll-ready="1"] {
    visibility: visible;
}

html.emtq-sidebar-collapsed-preload .emtq-sidebar {
    width: var(--emtq-sidebar-collapsed);
    transition: none !important;
}

html.emtq-sidebar-collapsed-preload .emtq-workspace {
    margin-left: var(--emtq-sidebar-collapsed);
    transition: none !important;
}

html.emtq-sidebar-collapsed-preload .emtq-brand-copy,
html.emtq-sidebar-collapsed-preload .emtq-nav-copy,
html.emtq-sidebar-collapsed-preload .emtq-nav-label,
html.emtq-sidebar-collapsed-preload .emtq-nav-badge,
html.emtq-sidebar-collapsed-preload .emtq-sidebar-foot {
    display: none !important;
}

html.emtq-sidebar-collapsed-preload .emtq-brand {
    justify-content: center;
    padding-inline: 10px;
}

html.emtq-sidebar-collapsed-preload .emtq-nav-link {
    justify-content: center;
    padding-inline: 8px;
}

html.emtq-sidebar-collapsed-preload .emtq-nav-icon {
    width: 38px;
    height: 38px;
}

/* Branding upload — v1.4.2 */
.emtq-brand-logo {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 5px;
    border-radius: 17px;
    background: rgba(255,255,255,.96);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.75), 0 10px 28px rgba(0,0,0,.18);
}

.emtq-branding-preview {
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 7px;
    border: 1px solid var(--emtq-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--emtq-shadow-sm);
}

.emtq-favicon-preview {
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 7px;
    border: 1px solid var(--emtq-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--emtq-shadow-sm);
}

.emtq-step-number {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    color: var(--emtq-primary-dark);
    font-size: .75rem;
    font-weight: 850;
    background: var(--emtq-primary-soft);
}

body.sidebar-collapsed .emtq-brand-logo {
    width: 46px;
    height: 46px;
}

html.emtq-sidebar-collapsed-preload .emtq-brand-logo {
    width: 46px;
    height: 46px;
}

/* v1.4.9 — sidebar mobile dapat digulir pada layar pendek dan perangkat sentuh. */
@media (max-width: 991.98px) {
    .emtq-mobile-menu {
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
    }

    .emtq-mobile-menu .emtq-mobile-header {
        flex: 0 0 auto;
    }

    .emtq-mobile-menu .offcanvas-body {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
        overflow: hidden;
        padding: 8px 10px 0;
    }

    .emtq-mobile-menu .emtq-nav-scroll {
        width: 100%;
        height: 100%;
        min-height: 0;
        flex: 1 1 auto;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        padding-bottom: max(32px, calc(20px + env(safe-area-inset-bottom)));
    }
}
