.ck-root { --ck-teal: #06938B; --ck-teal-h: #057A73; --ck-accent: #06938B; --ck-card: #FFFFFF; --ck-soft: #F1F5F9; --ck-text: #0F172A; --ck-muted: #64748B; --ck-border: rgba(15, 23, 42, .1); --ck-dim: rgba(6, 147, 139, .1); --ck-shadow: 0 30px 70px -28px rgba(15, 23, 42, .4); --ck-spring: cubic-bezier(.34, 1.56, .64, 1); font-family: 'Poppins', system-ui, sans-serif; }
html:not(.cf-light) .ck-root { --ck-accent: #2DD4BF; --ck-card: #0b0c0e; --ck-soft: rgba(255, 255, 255, .06); --ck-text: #F1F5F9; --ck-muted: #94A3B8; --ck-border: rgba(255, 255, 255, .1); --ck-dim: rgba(45, 212, 191, .12); --ck-shadow: 0 30px 70px -24px rgba(0, 0, 0, .9); }
.ck-root *, .ck-root *::before, .ck-root *::after { box-sizing: border-box; }
.ck-root [hidden] { display: none !important; }
.ck-root h2, .ck-root p, .ck-root ul { margin: 0; }
.ck-root a { color: var(--ck-accent); font-weight: 600; text-decoration: none; }
.ck-root a:hover { text-decoration: underline; }
.ck-root button { font-family: inherit; }

.ck-ico { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 13px; background: var(--ck-teal); color: #fff; font-size: 19px; }

.ck-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-size: .84rem; font-weight: 600; white-space: nowrap; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .3s var(--ck-spring); -webkit-tap-highlight-color: transparent; }
.ck-btn i { font-size: 12px; }
.ck-btn:hover { transform: translateY(-1px); }
.ck-btn:focus-visible, .ck-close:focus-visible, .ck-fab:focus-visible, .ck-switch input:focus-visible + .ck-track { outline: 2px solid var(--ck-accent); outline-offset: 2px; }
.ck-btn-primary { background: var(--ck-teal); color: #fff; }
.ck-btn-primary:hover { background: var(--ck-teal-h); }
.ck-btn-ghost { background: var(--ck-soft); border-color: var(--ck-border); color: var(--ck-text); }
.ck-btn-ghost:hover { border-color: rgba(6, 147, 139, .45); color: var(--ck-accent); }
.ck-btn-ghost i { color: var(--ck-accent); }
.ck-actions-main { display: flex; gap: 8px; }

.ck-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10040; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid var(--ck-border); box-shadow: 0 -18px 50px -24px rgba(15, 23, 42, .35); color: var(--ck-text); opacity: 0; transform: translateY(100%); transition: opacity .35s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }
html:not(.cf-light) .ck-banner { background: rgba(11, 12, 14, .94); box-shadow: 0 -18px 50px -20px rgba(0, 0, 0, .9); }
.ck-banner.is-in { opacity: 1; transform: translateY(0); }
.ck-bar { width: 100%; max-width: 1240px; margin: 0 auto; padding: 11px 24px calc(11px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.ck-bar-left { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; }
.ck-banner .ck-ico { width: 38px; height: 38px; border-radius: 11px; background: var(--ck-dim); color: var(--ck-accent); font-size: 17px; }
.ck-copy { min-width: 0; }
.ck-title { margin-bottom: 1px !important; font-size: .92rem; font-weight: 700; letter-spacing: -.01em; color: var(--ck-text); }
.ck-text { font-size: .8rem; line-height: 1.55; color: var(--ck-muted); }
.ck-actions { flex-shrink: 0; display: flex; align-items: center; gap: 8px; }
.ck-banner .ck-btn { height: 40px; padding: 0 18px; border-radius: 11px; font-size: .82rem; }
.ck-banner .ck-btn-custom { padding: 0 16px; }

.ck-modal { position: fixed; inset: 0; z-index: 10045; display: flex; align-items: center; justify-content: center; padding: 20px; }
.ck-scrim { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.ck-panel { position: relative; width: 560px; max-width: 100%; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); display: flex; flex-direction: column; border-radius: 24px; background: var(--ck-card); border: 1px solid var(--ck-border); box-shadow: var(--ck-shadow); color: var(--ck-text); overflow: hidden; outline: none; opacity: 0; transform: translateY(18px) scale(.98); transition: opacity .3s ease, transform .4s var(--ck-spring); }
.ck-modal.is-in .ck-scrim { opacity: 1; }
.ck-modal.is-in .ck-panel { opacity: 1; transform: none; }
.ck-panel-head { display: flex; align-items: center; gap: 14px; padding: 22px 24px 18px; border-bottom: 1px solid var(--ck-border); }
.ck-panel-title { flex: 1; min-width: 0; }
.ck-kicker { display: block; margin-bottom: 2px; font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ck-accent); }
.ck-panel-head h2 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em; color: var(--ck-text); }
.ck-close { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--ck-border); background: var(--ck-soft); color: var(--ck-text); font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ck-close:hover { background: var(--ck-teal); border-color: var(--ck-teal); color: #fff; }
.ck-panel-body { flex: 1; min-height: 0; overflow-y: auto; padding: 20px 24px; overscroll-behavior: contain; }
.ck-intro { margin-bottom: 16px !important; font-size: .86rem; line-height: 1.7; color: var(--ck-muted); }
.ck-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.ck-item { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: 16px; background: var(--ck-card); border: 1px solid var(--ck-border); transition: border-color .25s; }
.ck-item:hover { border-color: rgba(6, 147, 139, .35); }
.ck-item-ico { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 11px; background: var(--ck-dim); color: var(--ck-accent); font-size: 14px; }
.ck-item-text { flex: 1; min-width: 0; }
.ck-item-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; font-size: .92rem; font-weight: 600; color: var(--ck-text); cursor: pointer; }
.ck-item-text p { font-size: .8rem; line-height: 1.6; color: var(--ck-muted); }
.ck-badge { padding: 2px 9px; border-radius: 999px; background: var(--ck-dim); color: var(--ck-accent); font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ck-switch { position: relative; flex-shrink: 0; width: 44px; height: 26px; margin-top: 4px; }
.ck-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.ck-switch input:disabled { cursor: not-allowed; }
.ck-track { position: absolute; inset: 0; border-radius: 999px; background: rgba(100, 116, 139, .35); transition: background .25s; }
.ck-thumb { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(15, 23, 42, .25); transition: transform .3s var(--ck-spring); }
.ck-switch input:checked + .ck-track { background: var(--ck-teal); }
.ck-switch input:checked + .ck-track .ck-thumb { transform: translateX(18px); }
.ck-switch input:disabled + .ck-track { opacity: .55; }
.ck-panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 24px; border-top: 1px solid var(--ck-border); background: var(--ck-card); }

.ck-fab { position: fixed; left: 24px; bottom: 24px; z-index: 995; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; border: 1px solid var(--ck-border); background: var(--ck-card); color: var(--ck-accent); font-size: 19px; box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .45); cursor: pointer; opacity: 0; transform: scale(.7); transition: opacity .3s ease, transform .4s var(--ck-spring), border-color .25s, background .25s, color .25s, bottom .35s ease; }
.ck-fab.is-in { opacity: 1; transform: scale(1); }
.ck-fab:hover { background: var(--ck-teal); border-color: var(--ck-teal); color: #fff; }
.ck-fab:hover i { transform: rotate(-18deg); }
.ck-fab i { transition: transform .4s var(--ck-spring); }
.ck-fab-tip { position: absolute; left: calc(100% + 10px); top: 50%; padding: 6px 12px; border-radius: 9px; background: #0F172A; color: #fff; font-size: .74rem; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-6px, -50%); transition: opacity .2s, transform .25s; }
html:not(.cf-light) .ck-fab-tip { background: #F1F5F9; color: #0F172A; }
.ck-fab:hover .ck-fab-tip, .ck-fab:focus-visible .ck-fab-tip { opacity: 1; transform: translate(0, -50%); }
body:has(.cfe-sticky.active) .ck-fab { bottom: 94px; }

.ck-toast { position: fixed; left: 24px; bottom: 84px; z-index: 10050; width: 340px; max-width: calc(100vw - 32px); display: flex; align-items: center; gap: 12px; padding: 14px 14px 16px; border-radius: 18px; background: var(--ck-card); border: 1px solid var(--ck-border); box-shadow: var(--ck-shadow); color: var(--ck-text); overflow: hidden; opacity: 0; transform: translateY(12px) scale(.97); transition: opacity .3s ease, transform .45s var(--ck-spring); }
.ck-toast.is-in { opacity: 1; transform: none; }
.ck-toast-ico { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ck-teal); color: #fff; font-size: 15px; transform: scale(.4); transition: transform .5s var(--ck-spring) .1s; }
.ck-toast.is-in .ck-toast-ico { transform: scale(1); }
.ck-toast-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ck-toast-text b { font-size: .88rem; font-weight: 700; letter-spacing: -.01em; color: var(--ck-text); }
.ck-toast-text small { font-size: .76rem; line-height: 1.45; color: var(--ck-muted); }
.ck-toast-x { width: 30px; height: 30px; flex-shrink: 0; align-self: flex-start; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%; border: 0; background: transparent; color: var(--ck-muted); font-size: 13px; cursor: pointer; transition: background .2s, color .2s; }
.ck-toast-x:hover { background: var(--ck-soft); color: var(--ck-text); }
.ck-toast-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ck-teal); transform-origin: left; transform: scaleX(1); }
.ck-toast.is-in .ck-toast-bar { animation: ckBar var(--ck-toast-time, 3.2s) linear forwards; }
@keyframes ckBar { from { transform: scaleX(1); } to { transform: scaleX(0); } }

@media (max-width: 1023px) {
    .ck-fab { display: none !important; }
    .ck-toast { bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 861px) {
    .ck-bar { padding-top: 17px; padding-bottom: calc(17px + env(safe-area-inset-bottom, 0px)); }
    .ck-banner .ck-ico { width: 44px; height: 44px; border-radius: 13px; font-size: 19px; }
    .ck-title { font-size: .96rem; margin-bottom: 2px !important; }
    .ck-text { font-size: .82rem; }
    .ck-banner .ck-btn { height: 44px; }
    .ck-actions { gap: 10px; }
}
@media (max-width: 1100px) {
    .ck-bar { gap: 20px; }
    .ck-text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .ck-banner .ck-btn-custom { width: 44px; padding: 0; font-size: 0; gap: 0; }
    .ck-btn-custom i { font-size: 14px; }
}
@media (max-width: 860px) {
    .ck-banner { border-radius: 20px 20px 0 0; }
    .ck-bar { flex-direction: column; align-items: stretch; gap: 12px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
    .ck-bar-left { align-items: flex-start; gap: 12px; }
    .ck-text { display: block; -webkit-line-clamp: none; }
    .ck-actions { display: grid; grid-template-columns: 40px 1fr 1fr; gap: 8px; }
    .ck-banner .ck-btn { width: 100%; padding: 0 10px; }
    .ck-banner .ck-btn-custom { width: 40px; padding: 0; font-size: 0; gap: 0; }
    .ck-banner .ck-btn-custom i { font-size: 14px; }
}
@media (max-width: 600px) {
    .ck-banner .ck-ico { width: 36px; height: 36px; font-size: 16px; border-radius: 10px; }
    .ck-ico { width: 40px; height: 40px; font-size: 17px; border-radius: 12px; }
    .ck-title { font-size: .9rem; }
    .ck-text { font-size: .78rem; }
    .ck-banner .ck-btn { font-size: .8rem; }
    .ck-banner .ck-btn-custom { font-size: 0; }
    .ck-toast { left: 16px; right: 16px; width: auto; max-width: none; }
    .ck-modal { align-items: flex-end; padding: 0; }
    .ck-panel { width: 100%; max-height: 88vh; max-height: 88dvh; border-radius: 24px 24px 0 0; border-left: 0; border-right: 0; border-bottom: 0; transform: translateY(100%); }
    .ck-modal.is-in .ck-panel { transform: none; }
    .ck-panel-head { padding: 18px 16px 14px; }
    .ck-panel-body { padding: 16px; }
    .ck-item { padding: 14px; gap: 12px; }
    .ck-item-ico { display: none; }
    .ck-panel-foot { flex-direction: column-reverse; align-items: stretch; gap: 8px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
    .ck-panel-foot .ck-actions-main { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .ck-panel-foot .ck-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ck-banner, .ck-panel, .ck-scrim, .ck-fab, .ck-toast, .ck-toast-ico, .ck-thumb { transition: none; }
}
@media print {
    .ck-root { display: none !important; }
}