.hn-stack {
    position: fixed; top: 18px; right: 18px; z-index: 4000; display: flex; flex-direction: column; gap: 12px;
    width: min(380px, calc(100vw - 24px)); pointer-events: none;
}
.hn-card {
    position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px 14px 16px 14px; overflow: hidden;
    background: var(--bg-card, #fff); color: var(--text, #1d3248); border: 1px solid var(--border, #d4e5f4);
    border-radius: 16px; box-shadow: var(--shadow-lg, 0 24px 60px -20px rgba(40, 90, 140, .35));
    pointer-events: auto; cursor: default; transform-origin: top right;
    animation: hnIn .32s cubic-bezier(.2, .9, .3, 1.15) both; --hn: var(--primary, #4a9bd4);
}
.hn-card.hn-out { animation: hnOut .22s ease-in forwards; }
.hn-card.hn-mail { --hn: var(--primary, #4a9bd4); }
.hn-card.hn-system { --hn: #6f8fd8; }
.hn-card.hn-balance { --hn: var(--warning, #c98a1b); }
.hn-card.hn-success { --hn: var(--success, #2f9e74); }
.hn-card.hn-error { --hn: var(--danger, #d9526c); }
.hn-card.hn-info { --hn: var(--primary, #4a9bd4); }
.hn-card.hn-link { cursor: pointer; }
.hn-card.hn-link:hover { border-color: var(--hn); }
.hn-ico {
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    color: var(--hn); background: color-mix(in srgb, var(--hn) 16%, transparent);
}
.hn-ico svg { width: 20px; height: 20px; }
.hn-main { flex: 1; min-width: 0; }
.hn-title { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--text, #1d3248); padding-right: calc(var(--tools, 1) * 28px); }
.hn-text { margin-top: 3px; font-size: 13px; line-height: 1.45; color: var(--text-muted, #546e86); word-break: break-word; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hn-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.hn-btn {
    border: 0; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
    background: var(--btn, #a4d3f3); color: var(--on-btn, #12304a); transition: var(--transition, all .18s ease);
}
.hn-btn:hover { background: var(--btn-hover, #8cc6ee); }
.hn-btn.ghost { background: var(--bg-elev, #e8f2fb); color: var(--text-muted, #546e86); }
.hn-btn.ghost:hover { background: var(--bg-hover, #dcebf8); color: var(--text, #1d3248); }
.hn-tools { position: absolute; top: 6px; right: 6px; display: flex; gap: 2px; }
.hn-x {
    width: 28px; height: 28px; border: 0; background: transparent; border-radius: 8px;
    color: var(--text-dim, #8399ae); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.hn-x:hover { background: var(--bg-hover, #dcebf8); color: var(--text, #1d3248); }
.hn-x svg { width: 15px; height: 15px; }
.hn-x[data-t="more"] svg { transition: transform .18s ease; }
.hn-x[aria-expanded="true"] svg { transform: rotate(180deg); }
.hn-card.open .hn-text { display: block; -webkit-line-clamp: unset; }
.hn-card.open .hn-bar { display: none; }
.hn-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--hn); opacity: .45; transform-origin: left; animation: hnBar linear forwards; }
.hn-card:hover .hn-bar { animation-play-state: paused; }
@keyframes hnIn { from { opacity: 0; transform: translateX(26px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hnOut { to { opacity: 0; transform: translateX(26px) scale(.96); } }
@keyframes hnBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.hn-bell {
    position: relative; width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--border, #d4e5f4); background: var(--bg-card, #fff);
    color: var(--text-muted, #546e86); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; flex: 0 0 auto;
    transition: var(--transition, all .18s ease);
}
.hn-bell:hover, .hn-bell.open { background: var(--primary-soft, #d3e9f9); color: var(--primary, #4a9bd4); border-color: var(--border-light, #b9d3ea); }
.hn-bell svg { width: 18px; height: 18px; }
.hn-bell.ring svg { animation: hnRing .8s ease; transform-origin: 50% 10%; }
.hn-badge {
    position: absolute; top: -5px; right: -5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; font-weight: 700;
    background: var(--primary, #4a9bd4); color: #fff; display: none; align-items: center; justify-content: center; border: 2px solid var(--bg, #f2f8fd); line-height: 1;
}
.hn-bell.has .hn-badge { display: flex; }
@keyframes hnRing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-14deg); } 45% { transform: rotate(10deg); } 60% { transform: rotate(-8deg); } 75% { transform: rotate(4deg); } }

.hn-panel {
    position: fixed; z-index: 3500; width: 380px; max-width: calc(100vw - 20px); max-height: min(620px, calc(100vh - 90px)); display: none; flex-direction: column;
    background: var(--bg-card, #fff); border: 1px solid var(--border, #d4e5f4); border-radius: 18px; box-shadow: var(--shadow-lg, 0 24px 60px -20px rgba(40, 90, 140, .35)); overflow: hidden;
}
.hn-panel.open { display: flex; animation: hsPop .16s ease-out; }
.hn-p-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 12px 6px 16px; flex-wrap: wrap; }
.hn-p-head h4 { font-size: 15px; color: var(--text, #1d3248); display: flex; align-items: center; gap: 8px; margin: 0; }
.hn-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--primary, #4a9bd4); color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.hn-p-bulk { display: flex; gap: 2px; }
.hn-p-clear { border: 0; background: transparent; color: var(--primary, #4a9bd4); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; padding: 6px 8px; border-radius: 8px; }
.hn-p-clear:hover:not(:disabled) { background: var(--primary-soft, #d3e9f9); }
.hn-p-clear:disabled { opacity: .4; cursor: default; }
.hn-tabs { display: flex; gap: 6px; padding: 4px 16px 8px; }
.hn-tab { border: 1px solid var(--border, #d4e5f4); background: transparent; color: var(--text-muted, #546e86); font: inherit; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.hn-tab.on { background: var(--primary-soft, #d3e9f9); color: var(--primary, #4a9bd4); border-color: transparent; }
.hn-p-list { overflow-y: auto; padding: 4px 8px 8px; min-height: 90px; flex: 1; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.hn-p-empty { padding: 28px 16px; text-align: center; color: var(--text-dim, #8399ae); font-size: 13px; }
.hn-p-item { position: relative; display: flex; gap: 10px; padding: 10px 6px 10px 10px; border-radius: 12px; align-items: flex-start; color: inherit; --hn: var(--primary, #4a9bd4); }
.hn-p-item:hover { background: var(--bg-elev, #e8f2fb); }
.hn-p-item.hn-mail { --hn: var(--primary, #4a9bd4); }
.hn-p-item.hn-system { --hn: #6f8fd8; }
.hn-p-item.hn-balance { --hn: var(--warning, #c98a1b); }
.hn-p-item.hn-success { --hn: var(--success, #2f9e74); }
.hn-p-item.hn-error { --hn: var(--danger, #d9526c); }
.hn-p-item .hn-ico { flex-basis: 32px; width: 32px; height: 32px; border-radius: 10px; }
.hn-p-item .hn-ico svg { width: 17px; height: 17px; }
.hn-p-item.unread { background: color-mix(in srgb, var(--primary, #4a9bd4) 8%, transparent); }
.hn-p-item.unread::before { content: ''; position: absolute; left: 2px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--primary, #4a9bd4); }
.hn-p-body { flex: 1; min-width: 0; cursor: pointer; }
.hn-p-t { font-size: 13px; font-weight: 700; color: var(--text, #1d3248); line-height: 1.3; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hn-p-item:not(.unread) .hn-p-t { font-weight: 600; }
.hn-p-d { font-size: 12.5px; color: var(--text-muted, #546e86); margin-top: 2px; line-height: 1.4; word-break: break-word; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hn-p-item.open .hn-p-t, .hn-p-item.open .hn-p-d { display: block; -webkit-line-clamp: unset; overflow: visible; }
.hn-p-time { font-size: 11.5px; color: var(--text-dim, #8399ae); margin-top: 3px; }
.hn-p-link { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: var(--primary, #4a9bd4); text-decoration: none; padding: 4px 0; }
.hn-p-link:hover { text-decoration: underline; }
.hn-p-tools { display: flex; flex-direction: column; gap: 2px; flex: 0 0 auto; }
.hn-ib { width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--text-dim, #8399ae); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; transition: var(--transition, all .18s ease); }
.hn-ib svg { width: 16px; height: 16px; }
.hn-ib:hover { background: var(--bg-hover, #dcebf8); color: var(--primary, #4a9bd4); }
.hn-ib.danger:hover { background: color-mix(in srgb, var(--danger, #d9526c) 14%, transparent); color: var(--danger, #d9526c); }
.hn-ib[data-act="more"] svg { transition: transform .18s ease; }
.hn-ib[aria-expanded="true"] svg { transform: rotate(180deg); }
.hn-undo { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 8px 6px 16px; font-size: 12.5px; color: var(--text-muted, #546e86); background: var(--bg-elev, #e8f2fb); border-top: 1px solid var(--border, #d4e5f4); }
.hn-set { border-top: 1px solid var(--border, #d4e5f4); background: var(--bg-elev, #e8f2fb); }
.hn-set > summary { list-style: none; cursor: pointer; padding: 11px 16px; font-size: 13px; font-weight: 600; color: var(--text-muted, #546e86); display: flex; align-items: center; justify-content: space-between; }
.hn-set > summary::-webkit-details-marker { display: none; }
.hn-set > summary::after { content: ''; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -3px; transition: transform .18s ease; }
.hn-set[open] > summary::after { transform: rotate(225deg); margin-top: 3px; }
.hn-p-set { padding: 4px 16px 14px; display: flex; flex-direction: column; gap: 10px; }
.hn-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--text, #1d3248); font-weight: 600; }
.hn-row small { display: block; font-weight: 400; color: var(--text-muted, #546e86); font-size: 12px; }
.hn-sw { position: relative; width: 42px; height: 24px; flex: 0 0 42px; border-radius: 999px; background: var(--border-light, #b9d3ea); border: 0; cursor: pointer; padding: 0; transition: var(--transition, all .18s ease); }
.hn-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(20, 50, 80, .25); transition: var(--transition, all .18s ease); }
.hn-sw.on { background: var(--primary, #4a9bd4); }
.hn-sw.on::after { left: 21px; }
.hn-test { align-self: flex-start; }
.hn-vol { width: 100%; accent-color: var(--primary, #4a9bd4); padding: 0; height: 18px; border: 0; background: transparent; box-shadow: none; }

.hs { position: relative; display: block; width: 100%; min-width: 0; }
.hs.adm-select { width: auto; min-width: 150px; }
.hs-native { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; pointer-events: none; z-index: -1; }
.hs-btn {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; cursor: pointer;
    padding: 10px 12px 10px 14px; background: var(--bg-card, #fff); border: 1px solid var(--border, #d4e5f4); border-radius: var(--radius-sm, 10px);
    color: var(--text, #1d3248); font: inherit; font-size: 14px; min-height: 42px; transition: var(--transition, all .18s ease);
}
.hs-btn:hover { border-color: var(--border-light, #b9d3ea); background: var(--bg-elev, #e8f2fb); }
.hs.open .hs-btn, .hs-btn:focus-visible { border-color: var(--primary, #4a9bd4); outline: none; box-shadow: 0 0 0 3px var(--glow, rgba(74, 155, 212, .22)); background: var(--bg-card, #fff); }
.hs-btn:disabled { opacity: .6; cursor: not-allowed; }
.hs-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs.ph .hs-label { color: var(--text-dim, #8399ae); }
.hs-chev { flex: 0 0 auto; width: 16px; height: 16px; color: var(--text-dim, #8399ae); transition: transform .18s ease; }
.hs.open .hs-chev { transform: rotate(180deg); color: var(--primary, #4a9bd4); }
.add-dns-form .form-row .hs { flex: 1; min-width: 120px; }
.add-dns-form .form-row .hs .hs-btn { background: var(--bg, #f2f8fd); }
.hs-panel {
    position: fixed; z-index: 5000; display: flex; flex-direction: column; background: var(--bg-card, #fff); border: 1px solid var(--border-light, #b9d3ea);
    border-radius: 14px; box-shadow: var(--shadow-lg, 0 24px 60px -20px rgba(40, 90, 140, .35)); overflow: hidden; animation: hsPop .14s ease-out;
}
.hs-panel.up { transform-origin: bottom; }
.hs-search { padding: 8px 8px 4px; }
.hs-search input { width: 100%; padding: 8px 12px; font-size: 13.5px; border-radius: 10px; background: var(--bg-elev, #e8f2fb); }
.hs-list { overflow-y: auto; padding: 6px; display: flex; flex-direction: column; gap: 2px; overscroll-behavior: contain; }
.hs-opt {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: 14px;
    color: var(--text, #1d3248); line-height: 1.3;
}
.hs-opt.act { background: var(--bg-hover, #dcebf8); }
.hs-opt.sel { background: var(--primary-soft, #d3e9f9); font-weight: 600; }
.hs-opt.dis { opacity: .45; cursor: not-allowed; }
.hs-opt svg { width: 16px; height: 16px; color: var(--primary, #4a9bd4); flex: 0 0 auto; }
.hs-grp { padding: 8px 12px 4px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--text-dim, #8399ae); }
.hs-empty { padding: 14px; text-align: center; color: var(--text-dim, #8399ae); font-size: 13px; }
@keyframes hsPop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

.hu-ov {
    position: fixed; inset: 0; z-index: 4500; display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(24, 48, 72, .45); backdrop-filter: blur(6px); animation: huFade .16s ease-out;
}
[data-theme="dark"] .hu-ov { background: rgba(4, 10, 18, .65); }
.hu-ov.out { animation: huFadeOut .16s ease-in forwards; }
.hu-dlg {
    width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--bg-card, #fff); color: var(--text, #1d3248);
    border: 1px solid var(--border, #d4e5f4); border-radius: 22px; box-shadow: var(--shadow-lg, 0 24px 60px -20px rgba(40, 90, 140, .35));
    animation: huPop .24s cubic-bezier(.2, .9, .3, 1.15);
}
@keyframes huFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes huFadeOut { to { opacity: 0; } }
@keyframes huPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
.hu-head { display: flex; align-items: center; gap: 14px; padding: 20px 22px 6px; position: relative; }
.hu-ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--primary-soft, #d3e9f9); color: var(--primary, #4a9bd4); }
.hu-ico svg { width: 24px; height: 24px; }
.hu-ico.danger { background: color-mix(in srgb, var(--danger, #d9526c) 16%, transparent); color: var(--danger, #d9526c); }
.hu-head h3 { font-size: 18px; line-height: 1.25; color: var(--text, #1d3248); }
.hu-head p { font-size: 13px; color: var(--text-muted, #546e86); margin-top: 2px; line-height: 1.4; }
.hu-x { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border: 0; background: transparent; border-radius: 9px; color: var(--text-dim, #8399ae); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.hu-x:hover { background: var(--bg-hover, #dcebf8); color: var(--text, #1d3248); }
.hu-x svg { width: 16px; height: 16px; }
.hu-head h3, .hu-head p { padding-right: 26px; }
.hu-body { padding: 16px 22px 6px; }
.hu-box { display: flex; align-items: stretch; gap: 10px; }
.hu-step {
    flex: 0 0 52px; width: 52px; border: 1px solid var(--border, #d4e5f4); background: var(--bg-elev, #e8f2fb); color: var(--primary, #4a9bd4); border-radius: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 0; transition: var(--transition, all .18s ease);
}
.hu-step:hover { background: var(--primary-soft, #d3e9f9); border-color: var(--primary, #4a9bd4); }
.hu-step:active { transform: scale(.94); }
.hu-step svg { width: 20px; height: 20px; }
.hu-field {
    flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 6px 14px; border-radius: 16px;
    background: var(--bg-elev, #e8f2fb); border: 2px solid var(--border, #d4e5f4); transition: var(--transition, all .18s ease);
}
.hu-field:focus-within { border-color: var(--primary, #4a9bd4); box-shadow: 0 0 0 4px var(--glow, rgba(74, 155, 212, .22)); background: var(--bg-card, #fff); }
.hu-field.bad { border-color: var(--danger, #d9526c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger, #d9526c) 18%, transparent); }
.hu-field input {
    width: 100%; min-width: 0; text-align: center; font-size: 32px; font-weight: 800; letter-spacing: -.5px; padding: 8px 0 !important; border: 0 !important; background: transparent !important;
    color: var(--text, #1d3248); box-shadow: none !important; border-radius: 0 !important; -moz-appearance: textfield; appearance: textfield; margin: 0;
}
.hu-field input:focus { box-shadow: none !important; border: 0 !important; }
.hu-field input::-webkit-outer-spin-button, .hu-field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.hu-cur { font-size: 24px; font-weight: 700; color: var(--text-dim, #8399ae); }
.hu-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hu-chip {
    border: 1px solid var(--border, #d4e5f4); background: var(--bg-card, #fff); color: var(--text-muted, #546e86); font: inherit; font-size: 13px; font-weight: 600;
    padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: var(--transition, all .18s ease);
}
.hu-chip:hover { border-color: var(--primary, #4a9bd4); color: var(--primary, #4a9bd4); }
.hu-chip.on { background: var(--btn, #a4d3f3); color: var(--on-btn, #12304a); border-color: var(--btn, #a4d3f3); }
.hu-hint { margin-top: 12px; font-size: 12.5px; color: var(--text-muted, #546e86); min-height: 18px; line-height: 1.4; }
.hu-hint.bad { color: var(--danger, #d9526c); }
.hu-sum { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--bg-elev, #e8f2fb); display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted, #546e86); }
.hu-sum b { color: var(--text, #1d3248); }
.hu-foot { display: flex; gap: 10px; padding: 16px 22px 22px; }
.hu-foot button { flex: 1; font: inherit; font-size: 14.5px; font-weight: 700; padding: 12px 16px; border-radius: 14px; cursor: pointer; border: 0; transition: var(--transition, all .18s ease); }
.hu-go { background: var(--btn, #a4d3f3); color: var(--on-btn, #12304a); }
.hu-go:hover:not(:disabled) { background: var(--btn-hover, #8cc6ee); transform: translateY(-1px); box-shadow: 0 10px 22px -10px var(--glow, rgba(74, 155, 212, .22)); }
.hu-go:disabled { opacity: .5; cursor: not-allowed; }
.hu-go.danger { background: var(--danger, #d9526c); color: #fff; }
.hu-no { background: var(--bg-elev, #e8f2fb); color: var(--text-muted, #546e86); }
.hu-no:hover { background: var(--bg-hover, #dcebf8); color: var(--text, #1d3248); }
.hu-text { display: block; width: 100%; padding: 13px 16px; font-size: 15px; border-radius: 14px; border: 2px solid var(--border, #d4e5f4); background: var(--bg-elev, #e8f2fb); }
.hu-text:focus { border-color: var(--primary, #4a9bd4); background: var(--bg-card, #fff); }
.hu-lbl { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted, #546e86); margin-bottom: 8px; }
.hu-msg { font-size: 14px; line-height: 1.5; color: var(--text-muted, #546e86); }

.hu-inline { display: flex; align-items: stretch; gap: 8px; width: 100%; }
.hu-inline .hu-step { flex-basis: 42px; width: 42px; border-radius: 12px; }
.hu-inline .hu-step svg { width: 16px; height: 16px; }
.hu-inline .hu-field { padding: 2px 12px; border-radius: 12px; border-width: 1px; justify-content: flex-start; }
.hu-inline .hu-field input { text-align: left; font-size: 18px; font-weight: 700; padding: 8px 0; letter-spacing: 0; }
.hu-inline .hu-cur { font-size: 16px; }

@media (max-width: 640px) {
    .hn-stack { top: 10px; right: 12px; left: 12px; width: auto; }
    .hn-panel { left: 8px !important; right: 8px !important; top: auto !important; bottom: 8px; width: auto; max-width: none; max-height: 82vh; border-radius: 20px; padding-bottom: env(safe-area-inset-bottom); }
    .hn-ib { width: 38px; height: 38px; }
    .hn-x { width: 32px; height: 32px; }
    .hn-bell { width: 38px; height: 38px; }
    .hn-tab { padding: 7px 14px; }
    .hn-p-clear { padding: 8px 10px; }
    .hs-panel.sheet { left: 10px !important; right: 10px !important; width: auto !important; top: auto !important; bottom: 10px !important; max-height: 60vh !important; border-radius: 18px; }
    .hs-sheet-bg { position: fixed; inset: 0; z-index: 4999; background: rgba(24, 48, 72, .35); }
    .hu-ov { align-items: flex-end; padding: 10px; }
    .hu-dlg { border-radius: 22px; }
    .hu-field input { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .hn-card, .hu-dlg, .hs-panel, .hn-panel.open { animation: none; }
}
html.htc-lite *, html.htc-lite *::before, html.htc-lite *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; text-shadow: none !important; will-change: auto !important;
}
html.htc-lite .spinner, html.htc-lite .tool-spinner { animation: spin .8s linear infinite !important; }
html.htc-lite .lp-bg, html.htc-lite .lp-blob, html.htc-lite .shape, html.htc-lite .lp-chip, html.htc-lite .hn-bar { display: none !important; }
html.htc-lite .lp-reveal, html.htc-lite .js .lp-reveal, html.htc-lite .lp-rec { opacity: 1 !important; transform: none !important; }
html.htc-lite .lp-panel { transform: none !important; }
html.htc-lite .lp-nav.scrolled { background: var(--bg) !important; }
html.htc-lite .hu-ov, html.htc-lite .modal { backdrop-filter: none !important; }
html.htc-lite .hn-card, html.htc-lite .hn-panel, html.htc-lite .hu-dlg, html.htc-lite .hs-panel { border: 1px solid var(--border-light, #b9d3ea); }
.hn-sw:focus-visible, .hn-ib:focus-visible, .hn-x:focus-visible, .hn-tab:focus-visible, .hn-p-clear:focus-visible, .hn-btn:focus-visible { outline: 2px solid var(--primary, #4a9bd4); outline-offset: 2px; }
.lite-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: 0 0 auto; height: 36px; min-width: 36px; padding: 0; border-radius: 12px; cursor: pointer;
    border: 1px solid var(--lp-line, var(--border, #d4e5f4)); background: var(--lp-surface, var(--bg-card, #fff)); color: var(--text-muted, #546e86); font: inherit; font-size: 13px; font-weight: 600;
    transition: color .2s, background .2s, border-color .2s;
}
.lite-btn svg { width: 17px; height: 17px; }
.lite-btn:hover { color: var(--primary, #4a9bd4); border-color: var(--border-light, #b9d3ea); }
.lite-btn.on { background: var(--primary-soft, #d3e9f9); color: var(--primary, #4a9bd4); border-color: transparent; }
.lite-btn:focus-visible { outline: 2px solid var(--primary, #4a9bd4); outline-offset: 2px; }
.lite-btn [data-lite-label] { display: none; }
.lite-btn.wide { width: 100%; height: 44px; justify-content: flex-start; padding: 0 14px; }
.lite-btn.wide [data-lite-label] { display: inline; }
.adm-form-row .hu-inline { flex: 1; min-width: 200px; width: auto; }
