@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #0c0c0e;
    --sidebar: #101013;
    --card: #17171c;
    --line: #2a2a32;
    --text: #f4f4f6;
    --muted: #9b9ba6;
    --orange: #ff6b2c;
    --orange-2: #ff8a3d;
    --green: #3dd68c;
    --danger: #ff5a4a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
    font-family: Inter, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar {
    background: var(--sidebar);
    border-right: 1px solid #1d1d24;
    padding: 26px 16px 18px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}
.brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--orange);
    letter-spacing: -0.03em;
    padding: 0 10px;
}
.side-label {
    margin: 8px 10px 18px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #ff6b2c;
    color: #fff;
    font-size: 0.62rem;
    letter-spacing: 0.04em;
}
.nav { display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: #c8c8d0;
    font-size: 0.92rem;
    font-weight: 500;
    border: 1px solid transparent;
}
.nav-item svg { color: #8d8d98; }
.nav-item:hover { background: rgba(255,255,255,0.04); }
.nav-item.active {
    color: #ffb088;
    border-color: rgba(255,107,44,0.85);
    background: rgba(255,107,44,0.08);
}
.nav-item.active svg { color: var(--orange); }
.side-foot {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: auto;
    padding: 16px 8px 10px;
    border-top: 1px solid var(--line);
}
.site-logo { height: 36px; width: auto; display: block; }
.main-logo { height: 46px; }
.site-body { background: #f4f7f6; color: #16324a; }
.site-body a { color: inherit; }
.site-body .brand { color: #111827; font-size: 1.15rem; letter-spacing: -0.03em; padding: 0; }
.site-body .brand span { color: #ea580c; }
.site-flash { background: #14956a; color: #fff; text-align: center; padding: 10px 16px; font-weight: 700; }
.user-dash { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px; border-radius: 22px; background: linear-gradient(135deg, #123246, #14956a); color: #fff; margin-bottom: 16px; }
.user-dash h2 { margin: 10px 0 6px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.04em; }
.user-dash p { color: rgba(255,255,255,.82); }
.user-dash .home-pill { background: rgba(255,255,255,.16); color: #fff; }
.user-balance { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 16px 20px; min-width: 160px; }
.user-balance span { display: block; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.user-balance strong { font-size: 1.8rem; }
.user-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px; }
.user-metrics article, .user-links a { background: #fff; border: 1px solid #e6eee9; border-radius: 16px; padding: 18px; }
.user-metrics strong { display: block; font-size: 1.6rem; color: #14956a; }
.user-metrics span, .user-links span { color: #6b7280; }
.user-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.user-links b { display: block; margin-bottom: 4px; }
.user-links a:hover { border-color: #14956a; }
@media (max-width: 800px) { .user-dash, .user-metrics, .user-links { display: grid; grid-template-columns: 1fr; } }
.site-nav {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e6e8ee;
}
.site-bar, .site-main, .site-foot { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; }
.site-links { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-links a { color: #4b5563; padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; }
.site-links a.active, .site-links a:hover { color: #14956a; background: #e8f6f0; }
.site-login { color: #fff !important; background: #14956a !important; border-radius: 8px !important; padding: 9px 16px !important; }
.site-login:hover { background: #f47b20 !important; }
.site-links a.site-telegram { display: inline-flex; align-items: center; gap: 6px; color: #229ed9; background: #e9f6fc; border: 1px solid #cdeaf7; padding: 7px 13px; }
.site-links a.site-telegram:hover { color: #fff; background: #229ed9; border-color: #229ed9; }
.site-telegram svg { width: 16px; height: 16px; fill: currentColor; stroke: none; flex: none; }
.site-menu-btn { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.psvc { margin: 34px 0 10px; }
.sr-only + .psvc { margin-top: 0; }
.psvc h2 { margin-bottom: 22px; text-align: center; color: #16324a; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 500; letter-spacing: -.01em; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pcard { display: flex; flex-direction: column; padding: 22px 16px 20px; background: #fff; border: 1px solid #e6e8ee; border-radius: 6px; box-shadow: 0 8px 22px rgba(22, 50, 74, .12); transition: transform .2s ease, box-shadow .2s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(22, 50, 74, .18); }
.pcard h3 { margin: 18px 0 12px; text-align: center; color: #16324a; font-size: 1.45rem; font-weight: 800; }
.pspec { margin: 0 0 16px; padding: 4px 12px; list-style: none; border-radius: 12px; background: #f6f8f9; border: 1px solid #edf0f3; }
.pspec li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; font-size: .88rem; }
.pspec li + li { border-top: 1px dashed #dde3e8; }
.pspec span { display: inline-flex; align-items: center; gap: 8px; color: #5b6b7c; font-weight: 600; }
.pspec svg { width: 16px; height: 16px; flex: none; color: #14956a; stroke-width: 2.2; }
.pspec b { color: #16324a; font-weight: 800; }
.pspec .pspec-pkg { padding: 3px 10px; border-radius: 999px; background: #16324a; color: #fff; font-size: .78rem; letter-spacing: .02em; }
.pspec .pspec-price { color: #14956a; font-size: 1.05rem; }
.pcard-buy { display: inline-flex; align-items: center; gap: 6px; align-self: center; margin-top: 2px; padding: 7px 14px; border-radius: 4px; background: #ffc107; color: #1f2937; font-size: .88rem; font-weight: 600; transition: background .15s ease, color .15s ease; }
.pcard-buy:hover { background: #f47b20; color: #fff; }
.pcard-buy svg { width: 16px; height: 16px; stroke-width: 2.2; }
.pnote { margin: 34px 0 6px; text-align: center; color: #4b5563; font-size: .86rem; }
.pbox { --tone: #f47b20; --tone-2: #ffb347; position: relative; width: 148px; height: 188px; margin: 0 auto; transform: perspective(700px) rotateY(24deg); transform-style: preserve-3d; transition: transform .35s ease; }
.pcard:hover .pbox { transform: perspective(700px) rotateY(12deg); }
.pbox-green { --tone: #14956a; --tone-2: #3fd69d; }
.pbox-front { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 12px 8px 10px; overflow: hidden; border-radius: 3px; background: linear-gradient(160deg, #24313d 0%, #10171e 55%, #070b0f 100%); box-shadow: 12px 16px 24px rgba(0, 0, 0, .28); }
.pbox-front:before { content: ""; position: absolute; left: 0; top: 54%; width: 10px; height: 34%; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--tone-2), var(--tone)); }
.pbox-front:after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .14), transparent 38%); pointer-events: none; }
.pbox-title { position: relative; z-index: 1; color: var(--tone-2); font-size: .82rem; font-weight: 800; letter-spacing: .06em; line-height: 1.15; text-align: center; text-transform: uppercase; text-shadow: 0 0 10px color-mix(in srgb, var(--tone) 55%, transparent); }
.pbox-ring { position: relative; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(from 0deg, var(--tone), var(--tone-2), transparent 30%, var(--tone) 45%, var(--tone-2) 60%, transparent 75%, var(--tone)); animation: pbox-spin 6s linear infinite; box-shadow: 0 0 22px color-mix(in srgb, var(--tone) 55%, transparent); }
.pbox-ring span { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 50%; background: #fff; border: 3px solid #10171e; animation: pbox-spin 6s linear infinite reverse; }
.pbox-ring img { width: 46px; height: 46px; object-fit: contain; }
.pbox-brand { position: relative; z-index: 1; color: rgba(255, 255, 255, .7); font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pbox-side { position: absolute; top: 0; left: 0; width: 26px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 10px 0 8px; transform-origin: left center; transform: rotateY(90deg); background: linear-gradient(180deg, #151e27, #05080b); }
.pbox-side span { writing-mode: vertical-rl; transform: rotate(180deg); color: var(--tone-2); font-size: .5rem; font-weight: 800; letter-spacing: .18em; }
.pbox-side i { width: 14px; height: 26px; background: repeating-linear-gradient(180deg, #fff 0 2px, transparent 2px 3px, #fff 3px 4px, transparent 4px 6px); opacity: .8; }
@keyframes pbox-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .pbox-ring, .pbox-ring span { animation: none; } }
@media (max-width: 800px) {
    .psvc { margin-top: 26px; }
    .psvc h2 { margin-bottom: 16px; }
    .pgrid { grid-template-columns: 1fr; gap: 18px; max-width: 340px; margin: 0 auto; }
}
.lic-stats { margin-top: 28px; padding: 26px; border-radius: 28px; background: #fff; border: 1px solid #e6ece9; box-shadow: 0 18px 44px rgba(22, 50, 74, .07); }
.lic-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.lic-live { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: #e8f6f0; color: #0f7a56; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lic-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: lic-ping 1.6s ease-in-out infinite; }
.lic-head h2 { margin: 10px 0 4px; color: #16324a; font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.lic-sub { color: #5b6b7c; font-size: .95rem; }
.lic-total { flex: none; text-align: right; padding: 12px 18px; border-radius: 18px; background: linear-gradient(135deg, #16324a, #1f4a6b); color: #fff; box-shadow: 0 12px 26px rgba(22, 50, 74, .22); }
.lic-total small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.lic-total b { display: block; font-size: 1.9rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.lic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lic-card { --tone: #14956a; --tone-2: #22c08a; --soft: #e8f6f0; position: relative; overflow: hidden; padding: 18px 16px 16px; border-radius: 20px; background: linear-gradient(180deg, var(--soft), #fff 70%) padding-box, linear-gradient(135deg, var(--tone), var(--tone-2), #e6ece9 70%) border-box; border: 1.5px solid transparent; opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease, box-shadow .2s ease; }
.lic-card:after { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); animation: lic-shine 4.5s ease-in-out infinite; pointer-events: none; }
.lic-card:hover { box-shadow: 0 16px 32px rgba(22, 50, 74, .12); transform: translateY(-3px); }
.lic-stats.is-in .lic-card { opacity: 1; transform: none; }
.lic-stats.is-in .lic-card:nth-child(2) { transition-delay: .08s; }
.lic-stats.is-in .lic-card:nth-child(3) { transition-delay: .16s; }
.lic-stats.is-in .lic-card:nth-child(4) { transition-delay: .24s; }
.lic-stats.is-in .lic-card:hover { transition-delay: 0s; transform: translateY(-3px); }
.lic-trial { --tone: #f47b20; --tone-2: #ffa14f; --soft: #fff3e8; }
.lic-m6 { --tone: #229ed9; --tone-2: #2aabee; --soft: #eaf6fc; }
.lic-m12 { --tone: #16324a; --tone-2: #2f6a96; --soft: #edf2f7; }
.lic-top { display: flex; align-items: center; gap: 10px; }
.lic-top em { color: #16324a; font-style: normal; font-weight: 800; font-size: .98rem; }
.lic-card .lic-num { display: block; margin: 14px 0 2px; color: var(--tone); font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lic-cap { display: block; color: #5b6b7c; font-size: .82rem; }
.lic-bar { height: 6px; margin-top: 14px; border-radius: 999px; background: rgba(22, 50, 74, .08); overflow: hidden; }
.lic-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--tone), var(--tone-2)); transition: width 1.6s cubic-bezier(.2, .7, .2, 1) .2s; }
.lic-stats.is-in .lic-bar i { width: var(--share); }
@keyframes lic-ping { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); } 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } }
@keyframes lic-shine { 0%, 60% { left: -70%; } 100% { left: 140%; } }
@media (prefers-reduced-motion: reduce) { .lic-live i, .lic-card:after { animation: none; } .lic-card, .lic-bar i { transition: none; } }
@media (max-width: 800px) {
    .lic-stats { margin-top: 18px; padding: 18px 14px; border-radius: 24px; }
    .lic-head { flex-direction: column; align-items: stretch; gap: 14px; margin-bottom: 16px; }
    .lic-total { display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 12px 16px; }
    .lic-total b { font-size: 1.6rem; }
    .lic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .lic-card { padding: 14px 12px 13px; border-radius: 18px; }
    .lic-top em { font-size: .88rem; }
    .lic-card .lic-num { font-size: 1.85rem; margin-top: 12px; }
    .lic-cap { font-size: .74rem; }
}
.site-main { padding: 48px 0 72px; }
.site-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 22px 0 32px; border-top: 1px solid #e6e8ee; color: #6b7280; font-size: 0.88rem; }
.site-foot-copy { min-width: 0; }
.site-foot-copy img { max-width: 100%; height: auto; }
.home-pop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 28px 16px; background: rgba(22, 50, 74, 0.48); backdrop-filter: blur(5px); }
.home-pop-card { width: min(460px, 100%); max-height: min(84vh, 760px); overflow: auto; background: #fff; color: #16324a; border: 1px solid #e4eee9; border-radius: 22px; box-shadow: 0 30px 80px rgba(22, 50, 74, 0.28); animation: home-pop-in .22s ease; }
@keyframes home-pop-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.home-pop-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px; background: linear-gradient(180deg, #f7fbf9, #fff); }
.home-pop-head:after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, #14956a, #f47b20); }
.home-pop-head img { height: 38px; width: auto; display: block; }
.home-pop-x { width: 36px; height: 36px; border: 1px solid #e4eee9; border-radius: 50%; background: #fff; color: #16324a; cursor: pointer; display: grid; place-items: center; padding: 0; flex: 0 0 36px; }
.home-pop-x svg { width: 16px; height: 16px; }
.home-pop-x:hover { background: #14956a; border-color: #14956a; color: #fff; }
.home-pop-body { padding: 22px 24px 26px; font-size: 1.05rem; line-height: 1.7; color: #16324a; }
.home-pop-body > :first-child { margin-top: 0; }
.home-pop-body > :last-child { margin-bottom: 0; }
.home-pop-body p { margin: 0 0 12px; }
.home-pop-body h1, .home-pop-body h2, .home-pop-body h3 { margin: 0 0 10px; line-height: 1.25; color: #16324a; }
.home-pop-body a { color: #14956a; font-weight: 700; }
.home-pop-body img { max-width: 100%; height: auto; border-radius: 12px; }
.home-pop[hidden] { display: none; }
@media (max-width: 520px) {
    .home-pop { padding: 16px 12px; align-items: center; }
    .home-pop-card { border-radius: 18px; max-height: 90vh; }
    .home-pop-head { padding: 12px 12px 12px 14px; }
    .home-pop-head img { height: 32px; }
    .home-pop-body { padding: 18px 16px 20px; font-size: 1rem; }
}
.site-body .btn-ghost { color: #111827; border: 1px solid #d7dbe3; background: #fff; border-radius: 8px; }
.site-body .btn-orange { background: #f47b20; border-radius: 8px; }
.site-body .btn-orange:hover { background: #14956a; }
.hero { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 28px; align-items: stretch; padding: 12px 0 8px; }
.hero-copy { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; text-align: left; background: #fff; border: 1px solid #e6eef3; border-radius: 32px; padding: 32px 30px 26px; box-shadow: 0 30px 70px rgba(22, 50, 74, 0.08); }
.hero-copy h1 { font-size: clamp(2.5rem, 3.8vw, 3.45rem); line-height: 0.98; letter-spacing: -0.05em; margin: 16px 0 14px; font-weight: 800; white-space: normal; color: #16324a; }
.hero-copy .desk-lead { margin: 0; max-width: 36ch; color: #5b6b7c; font-size: 1.05rem; line-height: 1.65; }
.hero-notes { display: grid; gap: 12px; }
.hero-notes article { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 14px; border-radius: 18px; background: #f7faf8; border: 1px solid #e7eef2; }
.hero-notes i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #e8f6f0; }
.hero-notes i:before { content: ""; width: 18px; height: 13px; border-radius: 3px; background: #16324a; box-shadow: 0 4px 0 #14956a; }
.hero-notes .note-usb { background: #fff4ec; }
.hero-notes .note-usb:before { width: 11px; height: 18px; border-radius: 4px; background: #fff; border: 2px solid #f47b20; box-shadow: inset 0 4px 0 #f47b20; }
.hero-notes b { display: block; color: #16324a; font-size: 0.98rem; letter-spacing: -0.02em; }
.hero-notes span { display: block; margin-top: 3px; color: #5b6b7c; font-size: 0.88rem; line-height: 1.45; }
.stage { min-width: 0; background: #fff; border: 1px solid #e6eef3; border-radius: 32px; padding: 22px 22px 20px; box-shadow: 0 30px 70px rgba(22, 50, 74, 0.08), 0 2px 0 rgba(255,255,255,.8) inset; }
.stage-top, .stage-brand { display: flex; align-items: center; }
.stage-top { justify-content: space-between; gap: 12px; }
.stage-brand { gap: 10px; min-width: 0; }
.stage-brand span { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #16324a; color: #fff; font-weight: 800; flex: 0 0 40px; }
.stage-brand b { display: block; color: #16324a; font-size: 1rem; line-height: 1.15; letter-spacing: -0.02em; }
.stage-brand small { display: block; color: #8b9aab; font-size: 0.75rem; margin-top: 2px; }
.board-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: #16324a; color: #fff; font-style: normal; font-size: 0.75rem; font-weight: 800; padding: 8px 12px; white-space: nowrap; }
.board-pill:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3dd68c; animation: live-pulse 1.6s ease infinite; }
.scene { margin-top: 18px; }
.scene + .scene { margin-top: 20px; padding-top: 20px; border-top: 1px solid #f0f4f7; }
.scene-h { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.scene-h b { color: #16324a; font-size: 1.05rem; letter-spacing: -0.03em; white-space: nowrap; }
.scene-h span { color: #6b7c8d; font-size: 0.82rem; text-align: right; line-height: 1.4; }
.screen { border-radius: 18px; overflow: hidden; background: #102433; border: 1px solid #1a3c54; box-shadow: 0 18px 36px rgba(16, 36, 51, 0.16); }
.screen-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #16324a; }
.screen-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); }
.screen-bar i:first-child { background: #f47b20; }
.screen-bar i:nth-child(2) { background: #14956a; }
.screen-bar em { margin-left: auto; color: rgba(255,255,255,.78); font-style: normal; font-size: 0.72rem; font-weight: 700; }
.screen-face { position: relative; height: 128px; display: grid; grid-template-columns: 1.2fr .8fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 12px; background: linear-gradient(165deg, #1c4664, #102433); }
.screen-face > span { border-radius: 10px; background: rgba(255,255,255,.12); }
.screen-face > span:first-child { background: #14956a; }
.screen-face > span:nth-child(2) { background: #f47b20; grid-row: span 2; }
.screen-veil { position: absolute; inset: 0; display: grid; place-items: center; background: #07141f; color: #fff; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.03em; transform: translateY(-102%); animation: veil 6.4s cubic-bezier(.4,0,.2,1) infinite; }
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.path div { min-width: 0; text-align: center; }
.path div:before { content: ""; display: block; width: 7px; height: 7px; margin: 0 auto 7px; border-radius: 50%; background: #14956a; }
.path div:nth-child(2):before { background: #16324a; }
.path div:nth-child(3):before { background: #102433; }
.path b { display: block; color: #16324a; font-size: 0.84rem; }
.path span { display: block; margin-top: 2px; color: #6b7c8d; font-size: 0.74rem; line-height: 1.35; }
.lane { display: grid; grid-template-columns: 116px minmax(0, 1fr) 128px; align-items: start; gap: 12px; }
.port { min-width: 0; text-align: center; }
.port-face { height: 78px; border-radius: 18px; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 8px; background: #fff7f1; border: 1px solid #ffe3d0; }
.port b { display: block; color: #16324a; font-size: 0.86rem; }
.port > span { display: block; margin-top: 2px; color: #6b7c8d; font-size: 0.74rem; line-height: 1.35; }
.hand { width: 16px; height: 28px; border-radius: 5px; border: 2px solid #16324a; background: #fff; box-shadow: inset 0 5px 0 #f47b20; display: block; }
.rail { position: relative; height: 78px; }
.rail:before { content: ""; position: absolute; left: 0; right: 0; top: 38px; height: 2px; background: repeating-linear-gradient(90deg, #f3c7a4 0 7px, transparent 7px 13px); }
.rail .fly { position: absolute; z-index: 1; top: 24px; left: 0; animation: fly 6.4s cubic-bezier(.4,0,.2,1) infinite; box-shadow: inset 0 5px 0 #f47b20, 0 10px 18px rgba(22,50,74,.16); }
.port-go .port-face { background: #f3fbf7; border-color: #d7f3e6; }
.hand.in { border-color: #14956a; box-shadow: inset 0 5px 0 #14956a; opacity: 0; animation: ok 6.4s ease infinite; }
.port-go em { font-style: normal; color: #14956a; font-size: 0.78rem; font-weight: 800; opacity: 0; animation: ok 6.4s ease infinite; }
@keyframes live-pulse { 50% { transform: scale(0.75); opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) {
    .screen-veil, .rail .fly, .hand.in, .port-go em, .board-pill:before { animation: none; }
    .screen-veil { transform: none; }
    .rail .fly { left: calc(100% - 16px); opacity: 1; }
    .hand.in, .port-go em { opacity: 1; }
}
.lab { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: min(100%, 920px); margin: 32px auto 0; text-align: left; }
.lab-card { position: relative; min-width: 0; overflow: hidden; background: #fff; border: 1px solid #e6eee9; border-radius: 24px; padding: 18px 16px 16px; box-shadow: 0 18px 40px rgba(22, 50, 74, 0.07); }
.lab-card:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #14956a, #f47b20); }
.lab-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lab-card header b { color: #16324a; font-size: 1.08rem; }
.lab-card > p { margin: 6px 0 14px; color: #5b6b7c; font-size: 0.9rem; line-height: 1.45; }
.live-dot { display: inline-flex; align-items: center; gap: 6px; color: #14956a; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; flex: 0 0 auto; }
.live-dot:before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #14956a; animation: live-pulse 1.6s ease infinite; }
.mon { border-radius: 16px; overflow: hidden; border: 1px solid #102433; background: #102433; }
.mon-bar { display: flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; background: #16324a; }
.mon-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }
.mon-bar i:first-child { background: #f47b20; }
.mon-bar i:nth-child(2) { background: #14956a; }
.mon-bar em { margin-left: auto; color: rgba(255, 255, 255, 0.76); font-style: normal; font-size: 0.72rem; font-weight: 700; }
.mon-face { position: relative; height: 150px; display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-rows: 1fr 1fr; gap: 8px; padding: 12px; background: linear-gradient(160deg, #1b425c, #102433); }
.app { border-radius: 12px; }
.a1 { background: #14956a; }
.a2 { background: #f47b20; grid-row: span 2; }
.a3 { background: rgba(255, 255, 255, 0.18); }
.a4 { background: rgba(255, 255, 255, 0.08); }
.veil { position: absolute; inset: 0; display: grid; place-items: center; background: #07141f; color: #fff; transform: translateY(-102%); animation: veil 6s cubic-bezier(.4, 0, .2, 1) infinite; }
.veil b { font-size: 1.05rem; letter-spacing: 0.01em; }
.swrow { display: flex; align-items: center; gap: 10px; margin-top: 12px; color: #16324a; font-size: 0.88rem; font-weight: 800; }
.sw { width: 44px; height: 26px; border-radius: 99px; background: #d7e3dc; position: relative; flex: 0 0 44px; animation: swbg 6s ease infinite; }
.sw:before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; border-radius: 50%; background: #fff; animation: swknob 6s ease infinite; }
.linkup { display: grid; grid-template-columns: 86px minmax(0, 1fr) 86px; align-items: center; gap: 8px; min-height: 168px; }
.end { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.pcmark { width: 62px; height: 46px; border-radius: 10px; border: 2px solid #16324a; background: #f7fbf9; position: relative; }
.pcmark:after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -7px; height: 5px; border-radius: 0 0 6px 6px; background: #16324a; }
.pcmark:before { content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 8px; border-radius: 4px; background: #d7e6df; }
.end-tech .pcmark:before { background: #14956a; animation: screenon 6s ease infinite; }
.end em { font-style: normal; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; color: #5b6b7c; line-height: 1.2; }
.end-tech b { color: #14956a; font-size: 0.75rem; opacity: 0; animation: ok 6s ease infinite; }
.cable { position: relative; height: 6px; border-radius: 99px; background: #e7eeea; }
.cable:before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #14956a, #f47b20); transform: scaleX(0); transform-origin: left center; animation: cable 6s ease infinite; }
.set { position: absolute; z-index: 1; top: 50%; left: 0; width: 26px; height: 42px; margin-top: -21px; border-radius: 8px; border: 2px solid #16324a; background: #fff; box-shadow: 0 10px 18px rgba(22, 50, 74, 0.16); animation: fly 6s cubic-bezier(.4, 0, .2, 1) infinite; }
.set:before { content: ""; position: absolute; top: 5px; left: 8px; width: 6px; height: 6px; border-radius: 50%; background: #14956a; }
.set:after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 5px; height: 3px; border-radius: 99px; background: #d7e6df; }
@keyframes live-pulse { 50% { transform: scale(0.75); opacity: 0.45; } }
@keyframes veil { 0%, 18% { transform: translateY(-102%); } 34%, 70% { transform: translateY(0); } 86%, 100% { transform: translateY(-102%); } }
@keyframes swbg { 0%, 22% { background: #d7e3dc; } 36%, 70% { background: #14956a; } 86%, 100% { background: #d7e3dc; } }
@keyframes swknob { 0%, 22% { transform: translateX(0); } 36%, 70% { transform: translateX(18px); } 86%, 100% { transform: translateX(0); } }
@keyframes fly { 0%, 12% { left: 0; opacity: 0; } 20% { left: 0; opacity: 1; } 48%, 78% { left: calc(100% - 26px); opacity: 1; } 90%, 100% { opacity: 0; } }
@keyframes cable { 0%, 16% { transform: scaleX(0); } 48%, 78% { transform: scaleX(1); } 92%, 100% { transform: scaleX(0); } }
@keyframes ok { 0%, 46% { opacity: 0; } 56%, 80% { opacity: 1; } 92%, 100% { opacity: 0; } }
@keyframes screenon { 0%, 46% { background: #d7e6df; } 56%, 80% { background: #14956a; } 92%, 100% { background: #d7e6df; } }
@media (prefers-reduced-motion: reduce) {
    .live-dot:before, .veil, .sw, .sw:before, .set, .cable:before, .end-tech b, .end-tech .pcmark:before { animation: none; }
    .veil { transform: none; }
    .sw { background: #14956a; }
    .sw:before { transform: translateX(18px); }
    .set { left: calc(100% - 26px); opacity: 1; }
    .cable:before { transform: scaleX(1); }
    .end-tech b { opacity: 1; }
    .end-tech .pcmark:before { background: #14956a; }
}
.desk { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding: 18px 0 8px; }
.desk-copy h1 { font-size: clamp(2.8rem, 4.6vw, 4.15rem); line-height: 1.02; letter-spacing: -0.045em; margin: 14px 0 14px; font-weight: 800; max-width: 11ch; }
.desk-lead { color: #4b5563; font-size: 1.08rem; max-width: 420px; line-height: 1.6; }
.desk-panel { background: #fff; border: 1px solid #e6eee9; border-radius: 22px; overflow: hidden; box-shadow: 0 18px 40px rgba(22, 50, 74, 0.06); }
.tool-frame { margin: 0; min-width: 0; background: #fff; border: 1px solid #e6eee9; border-radius: 22px; padding: 12px 12px 8px; box-shadow: 0 24px 48px rgba(22, 50, 74, 0.08); }
.tool-frame img { width: 100%; max-width: 100%; height: auto; display: block; border-radius: 14px; }
.tool-frame figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 6px 4px; font-size: 0.82rem; color: #5b6b7c; line-height: 1.35; }
.tool-frame figcaption b { color: #14956a; font-size: 0.84rem; }
.shot-box { display: flex; flex-direction: column; width: min(100%, 360px); margin-left: auto; position: relative; isolation: isolate; border-radius: 28px; padding: 10px 10px 4px; background: #fff; box-shadow: 0 18px 40px rgba(22, 50, 74, 0.1); }
.shot-box:before { content: ""; position: absolute; z-index: 0; right: -12px; bottom: -12px; width: 100%; height: 100%; border-radius: 28px; background: linear-gradient(145deg, #14956a 0%, #16324a 58%, #f47b20 130%); }
.shot-stage, .shot-box figcaption, .shot-dots { position: relative; z-index: 1; background: #fff; }
.shot-stage { aspect-ratio: 660 / 563; border-radius: 18px; background: #f7fbf9; overflow: hidden; cursor: pointer; }
.shot-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.shot-stage img.is-on { opacity: 1; }
.shot-dots { display: flex; justify-content: center; gap: 4px; padding: 2px 0 4px; }
.shot-dots button { width: 32px; height: 32px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; padding: 0; display: grid; place-items: center; }
.shot-dots button:before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: #d5e3dc; }
.shot-dots button.is-on:before { width: 22px; background: #14956a; }
.term-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; min-width: min(100%, 280px); }
.term-prices i { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; background: #e8f6f0; border-radius: 12px; padding: 8px 6px; font-style: normal; text-align: center; }
.term-prices small { color: #5b6b7c; font-size: 0.68rem; font-weight: 700; line-height: 1.2; }
.term-prices b { color: #14956a; font-size: 0.95rem; line-height: 1.2; overflow-wrap: anywhere; }
.desk-row > span:first-child { min-width: 0; }
.desk-row small { overflow-wrap: anywhere; }
.svc-menu .term-prices { width: min(100%, 340px); }
.home-live { margin-top: 28px; }
.desk-panel:before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #14956a, #f47b20); }
.desk-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px 8px; }
.desk-head h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.seo-h2 { margin: 28px 0 0; font-size: 1.15rem; color: #16324a; }
.seo-h2 + .desk-grid, .seo-h2 + .svc-menu, .seo-h2 + .tool-grid { margin-top: 12px; }
.seo-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.seo-links a { color: #14956a; font-weight: 700; }
.dir-note { max-width: 640px; margin: 0 auto 18px; text-align: center; color: #4b5563; line-height: 1.6; }
.dir-note a { color: #14956a; font-weight: 700; }
.desk-head span { color: #14956a; font-size: 0.78rem; font-weight: 800; }
.desk-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 18px; border-top: 1px solid #f0f3f2; }
.desk-row:hover { background: #f7fbf9; }
.desk-row b { display: block; font-size: 0.98rem; }
.desk-row small { display: block; color: #6b7280; font-size: 0.82rem; margin-top: 2px; }
.desk-row em { font-style: normal; color: #14956a; font-weight: 800; background: #e8f6f0; border-radius: 999px; padding: 6px 10px; }
.desk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 28px; }
.desk-grid a { display: block; background: #fff; border: 1px solid #e7eeea; border-radius: 16px; padding: 18px 16px; min-height: 112px; }
.desk-grid a:hover { border-color: #14956a; }
.desk-grid b { display: block; margin-bottom: 6px; font-size: 1.02rem; }
.desk-grid span { color: #6b7280; font-size: 0.88rem; }
.home-stage h1 { font-size: clamp(3.1rem, 6vw, 5.1rem); line-height: 0.96; letter-spacing: -0.055em; margin: 16px auto 14px; max-width: 14ch; }
.home-stage p { color: #4b5563; font-size: 1.12rem; max-width: 460px; margin: 0 auto; }
.home-stage .home-actions { justify-content: center; }
.home-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.home-chip { display: flex; flex-direction: column; gap: 4px; min-width: 160px; text-align: left; background: #fff; border: 1px solid #e6eee9; border-radius: 18px; padding: 14px 16px; box-shadow: 0 10px 24px rgba(22,50,74,.05); }
.home-chip span { color: #f47b20; font-weight: 800; }
.home-bento { display: grid; grid-template-columns: 1.4fr .8fr; gap: 14px; margin-top: 16px; }
.home-stack { display: grid; gap: 14px; }
.home-tile { display: block; background: #fff; border: 1px solid #e7eeea; border-radius: 24px; padding: 26px; min-height: 150px; }
.home-tile-wide { background: linear-gradient(160deg, #123246, #14956a); color: #fff; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.home-tile-wide p, .home-tile-wide em { color: rgba(255,255,255,.82); }
.home-tile em { font-style: normal; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: #14956a; }
.home-tile h2, .home-tile h3 { margin: 8px 0; letter-spacing: -0.03em; }
.home-tile p { color: #6b7280; }
.home-tile-wide p, .home-tile-wide em { color: rgba(255,255,255,.86); }
.home-tile-wide h2 { color: #fff; }
.home-tile:hover { transform: translateY(-3px); }
.home-telegram { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-radius: 20px; background: #fff; border: 1px solid #e6eee9; }
.home-telegram strong { color: #14956a; }
.home-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #e8f6f0; color: #14956a; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.home-copy h1 { font-size: clamp(3rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.05em; margin: 16px 0 14px; font-weight: 800; max-width: 12ch; }
.home-copy p { color: #4b5563; font-size: 1.08rem; max-width: 460px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.home-go { background: #14956a; color: #fff; border-radius: 12px; }
.home-go:hover { background: #0f7a56; }
.home-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.home-pills span { background: #fff; border: 1px solid #e6eee9; border-radius: 999px; padding: 7px 12px; font-size: 0.82rem; color: #16324a; font-weight: 600; }
.home-board { background: #fff; border: 1px solid #e6eee9; border-radius: 28px; padding: 18px 18px 14px; box-shadow: 0 30px 60px rgba(22, 50, 74, 0.08); }
.home-board-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.home-board-top span { color: #14956a; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.home-line { display: grid; grid-template-columns: 10px 1fr auto; gap: 12px; align-items: center; padding: 13px 4px; border-top: 1px solid #eef2f0; }
.home-line i { width: 8px; height: 8px; border-radius: 50%; background: #14956a; }
.home-line span { color: #f47b20; font-weight: 800; }
.home-board-link { display: inline-block; margin-top: 8px; color: #14956a; font-weight: 700; font-size: 0.9rem; }
.home-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.home-card { display: block; background: #fff; border: 1px solid #e7eeea; border-radius: 22px; padding: 22px; box-shadow: 0 12px 30px rgba(22, 50, 74, 0.04); transition: transform 0.18s ease, border-color 0.18s ease; }
.home-card:hover { border-color: #14956a; transform: translateY(-4px); }
.home-card em { font-style: normal; color: #14956a; font-weight: 800; letter-spacing: 0.08em; font-size: 0.78rem; }
.home-card h3 { margin: 12px 0 6px; font-size: 1.2rem; }
.home-card p { color: #6b7280; }
.home-band { margin-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 28px 30px; border-radius: 28px; background: linear-gradient(135deg, #102536 0%, #14956a 70%, #1aaf7c 100%); color: #fff; }
.home-band h2 { font-size: 1.7rem; letter-spacing: -0.03em; }
.home-band p { color: rgba(255,255,255,0.82); margin-top: 6px; }
.home-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.45); background: transparent; }
.hero-copy h1 { font-size: clamp(2.5rem, 3.8vw, 3.45rem); line-height: 0.98; letter-spacing: -0.05em; margin: 16px 0 14px; font-weight: 800; white-space: normal; }
.kicker { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #14956a; }
.hero-copy p, .page-lead { color: #4b5563; font-size: 1.05rem; max-width: 480px; line-height: 1.6; }
.hero-panel { background: #fff; border: 1px solid #e6e8ee; border-radius: 16px; padding: 8px; box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06); }
.metric { display: flex; justify-content: space-between; gap: 16px; padding: 18px 18px; border-bottom: 1px solid #f1f3f6; }
.metric:last-child { border-bottom: 0; }
.metric b { display: block; font-size: 0.95rem; }
.metric span { color: #6b7280; font-size: 0.85rem; }
.metric strong { color: #14956a; font-size: 1.15rem; }
.section-label { margin: 42px 0 14px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280; }
.step-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { display: block; background: #fff; border-radius: 14px; padding: 22px; border: 1px solid #e6e8ee; color: inherit; }
.step:hover { border-color: #14956a; }
.step b { display: block; color: #f47b20; font-size: 0.78rem; letter-spacing: 0.08em; margin-bottom: 10px; }
.step h3 { margin-bottom: 6px; font-size: 1.05rem; }
.step p { color: #6b7280; font-size: 0.92rem; }
.page-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin: 8px 0 28px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.4vw, 3.5rem); line-height: 1.02; letter-spacing: -0.045em; margin: 12px 0 10px; font-weight: 800; max-width: 12ch; }
.dl-hero { display: block; }
.dl-hero h1 { max-width: none; white-space: nowrap; }
.dl-hero .dl-lead { max-width: none; margin: 12px 0 0; color: #4d5d6c; font-size: 1.05rem; line-height: 1.55; }
.dl-hero .dl-lead span { display: block; white-space: nowrap; }
.tool-open.is-unavailable,
.tool-open:disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }
.tool-open.is-unavailable:hover,
.tool-open:disabled:hover { background: linear-gradient(90deg, #14956a, #0f7a56); }
.page-stat { background: #fff; border: 1px solid #e6eee9; border-radius: 20px; padding: 18px 22px; min-width: 148px; box-shadow: 0 16px 36px rgba(22, 50, 74, 0.06); }
.page-stat strong { display: block; font-size: 2rem; line-height: 1; color: #14956a; }
.page-stat span { display: block; margin-top: 6px; color: #6b7280; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.svc-intro { max-width: 560px; margin: 6px 0 26px; }
.svc-intro h1 { font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 0.98; letter-spacing: -0.05em; margin: 14px 0 12px; font-weight: 800; }
.svc-menu { background: #fff; border: 1px solid #e6eee9; border-radius: 28px; overflow: hidden; box-shadow: 0 28px 60px rgba(22, 50, 74, 0.07); }
.svc-menu:before { content: ""; display: block; height: 4px; background: linear-gradient(90deg, #14956a, #f47b20); }
.svc-menu article { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 32px; border-top: 1px solid #eef3f0; }
.svc-menu article:first-of-type { border-top: 0; }
.svc-menu article:hover { background: #f7fbf9; }
.svc-menu h3 { font-size: 1.45rem; letter-spacing: -0.03em; font-weight: 700; }
.svc-menu p { color: #6b7280; margin-top: 6px; max-width: 58ch; line-height: 1.5; }
.svc-menu strong { font-size: 1.85rem; line-height: 1; letter-spacing: -0.04em; color: #14956a; font-weight: 800; }
.tool-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tool-tile { position: relative; width: calc(50% - 8px); flex: 0 0 calc(50% - 8px); background: #fff; border: 1px solid #e7eeea; border-radius: 22px; padding: 22px; box-shadow: 0 16px 40px rgba(22, 50, 74, 0.06); }
.tool-head { display: flex; gap: 20px; align-items: center; min-height: 118px; padding-right: 96px; }
.tool-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.tool-head img, .tool-mark { width: 72px; height: 72px; border-radius: 18px; flex: 0 0 72px; }
.tool-head img { object-fit: cover; background: #fff; border: 1px solid #e6eee9; }
.tool-mark { display: grid; place-items: center; font-size: 1.7rem; font-weight: 800; }
.tool-logo-preview { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; margin-bottom: 8px; }
.tool-tile h3 { font-size: 1.2rem; letter-spacing: -0.03em; margin: 0; line-height: 1.3; }
.tool-lock { color: #6b7280; font-size: 0.82rem; font-weight: 700; }
.tool-meta { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 0; margin: 0; white-space: nowrap; line-height: 1.35; color: #5b6b7c; font-size: 0.88rem; }
.tool-k { margin-right: 6px; }
.tool-size-k { margin-left: 22px; }
.tool-ver { color: #f47b20; font-weight: 800; }
.tool-size { color: #14956a; font-weight: 800; }
.tool-status { position: absolute; top: 16px; right: 16px; display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 14px; background: #e8f6f0; color: #14956a; font-size: 0.92rem; font-weight: 800; letter-spacing: 0.01em; }
.tool-status.is-off { background: #fde8e8; color: #d9272e; }
.tool-updated { margin: 0; color: #6b7280; font-size: 0.82rem; line-height: 1.35; }
.tool-open { position: relative; overflow: hidden; width: 100%; margin-top: 18px; height: 48px; border: 0; border-radius: 12px; background: linear-gradient(90deg, #14956a, #0f7a56); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
body.site-body a.tool-open { display: grid; place-items: center; text-decoration: none; color: #fff; }
.tool-open-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: rgba(255, 255, 255, 0.28); }
.tool-open-label { position: relative; z-index: 1; }
.tool-open:hover { background: #0c6849; }
.tool-open.is-busy { cursor: progress; }
.tool-open.is-done .tool-open-fill { width: 100%; }
@media (max-width: 800px) {
    .tool-tile { width: 100%; flex-basis: 100%; }
}
.dl-pop { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 24px; background: rgba(22, 50, 74, 0.45); }
.dl-pop[hidden] { display: none; }
.dl-pop-card { width: min(460px, 100%); background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 24px 60px rgba(22, 50, 74, 0.18); }
.dl-pop-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.dl-pop-card header strong { font-size: 1.05rem; }
.dl-pop-card header button { border: 0; background: transparent; font-size: 1.4rem; line-height: 1; color: #16324a; cursor: pointer; }
.dl-pop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-pop-actions.is-single { grid-template-columns: 1fr; }
.dl-pop-mega[hidden] { display: none; }
body.site-body .dl-pop-direct, body.site-body .dl-pop-mega { min-height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; color: #fff; }
body.site-body .dl-pop-direct { background: #14956a; }
body.site-body .dl-pop-direct:hover { background: #0f7a56; }
body.site-body .dl-pop-mega { background: #d9272e; }
body.site-body .dl-pop-mega:hover { background: #b81f25; }
.dl-pop-direct svg { width: 18px; height: 18px; }
.dl-pop-mega span { width: 22px; height: 22px; border-radius: 50%; background: #fff; color: #d9272e; display: grid; place-items: center; font-size: 0.75rem; }
.dl-pop-direct.is-off, .dl-pop-mega.is-off { opacity: 0.4; pointer-events: none; cursor: not-allowed; }
.row-actions { white-space: nowrap; }
.row-actions form { display: inline; }
.create-dialog small { display: block; margin-top: 6px; color: #6b7280; font-size: 0.78rem; }
.zip-picks { margin-top: 14px; }
.zip-picks > span { display: block; color: #6b7280; font-size: 0.8rem; margin-bottom: 6px; }
.zip-picks-list { max-height: 168px; overflow: auto; border: 1px solid #e6eee9; border-radius: 12px; background: #f7fbf9; }
.zip-pick { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; border-top: 1px solid #eef3f0; cursor: pointer; color: #16324a; font-size: 0.86rem; }
.zip-pick:first-child { border-top: 0; }
.zip-pick:hover { background: #fff; }
body.admin-body .zip-pick input { width: auto; min-width: 16px; height: 16px; margin: 0; padding: 0; border: 0; background: transparent; flex: 0 0 auto; }
.zip-pick span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.zip-pick small { margin: 0; color: #14956a; font-weight: 700; }
.zip-delete { width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #d9272e; cursor: pointer; display: grid; place-items: center; flex: 0 0 auto; }
.zip-delete svg { width: 16px; height: 16px; }
.zip-delete:hover { background: #fde8e8; }
.zip-upload { display: flex; align-items: center; gap: 8px; }
.zip-upload input { flex: 1; min-width: 0; }
.zip-upload .btn { flex: 0 0 auto; height: 42px; }
.tool-edit-dialog { width: min(560px, 100%); }
.tool-edit { align-items: start; gap: 14px 14px; }
.tool-edit label { margin-top: 0; }
.tool-edit .form-actions { margin-top: 0; }
.tool-edit-foot { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.tool-logo-row { display: flex; align-items: center; gap: 10px; }
.tool-logo-row .tool-logo-preview { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex: 0 0 42px; border: 1px solid #e6eee9; }
.tool-logo-row input { min-width: 0; }
.tool-edit .zip-picks { margin-top: 0; }
.zip-meter { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.zip-meter[hidden] { display: none; }
.zip-meter i { flex: 1; display: block; height: 6px; border-radius: 99px; background: #e6eee9; overflow: hidden; }
.zip-meter i span { display: block; height: 100%; width: 0; border-radius: 99px; background: #14956a; }
.zip-meter b { flex: 0 0 36px; color: #14956a; font-size: 0.75rem; font-weight: 800; text-align: right; }
#zip-confirm { z-index: 40; }
.user-dialog.zip-confirm-card { width: min(340px, calc(100vw - 48px)); max-height: none; border-radius: 18px; padding: 18px 18px 16px; overflow: visible; }
.user-dialog.zip-confirm-card header { padding: 0 0 6px; border-bottom: 0; }
.user-dialog.zip-confirm-card header strong { font-size: 1rem; }
.zip-confirm-card p { margin: 0 0 16px; color: #5b6b7c; font-size: 0.9rem; line-height: 1.45; }
.zip-confirm-card .form-actions { display: flex; justify-content: flex-end; gap: 8px; margin: 0; }
.zip-empty { margin: 0; padding: 12px; color: #6b7280; font-size: 0.82rem; }
.svc-hero { max-width: 720px; margin: 8px auto 32px; text-align: center; }
.svc-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.045em; margin: 8px 0 10px; }
.svc-hero p { color: #6b7280; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.svc-card { position: relative; overflow: hidden; display: flex; flex-direction: column; background: #fff; border: 1px solid #e7eeea; border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 16px 40px rgba(22, 50, 74, 0.06); transition: transform 0.18s ease, box-shadow 0.18s ease; }
.svc-card:before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #14956a, #f47b20); }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(22, 50, 74, 0.1); }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.svc-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #e8f6f0; color: #14956a; font-weight: 800; }
.svc-tag { color: #14956a; background: #e8f6f0; border-radius: 999px; padding: 5px 10px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.svc-card p { color: #6b7280; min-height: 44px; line-height: 1.5; }
.price-list { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; }
.price-list div { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #f7fbf9; border-radius: 12px; padding: 10px 12px; }
.price-list span { color: #5b6b7c; font-size: 0.86rem; font-weight: 600; }
.price-list b { display: block; margin: 0; padding: 0; background: transparent; border-radius: 0; color: #f47b20; font-size: 1rem; }
.svc-prices { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 0.78rem; }
.svc-prices th, .svc-prices td { padding: 6px 4px; text-align: center; }
.svc-prices th { color: #6b7280; font-weight: 700; }
.svc-prices td { border-top: 1px solid #eef2f0; color: #16324a; font-weight: 700; }
.svc-prices td:first-child { text-align: left; color: #6b7280; font-weight: 600; }
.svc-prices td:last-child { text-align: right; color: #f47b20; }
.svc-card b { display: inline-flex; margin-top: 8px; padding: 8px 14px; border-radius: 999px; background: #fff4ec; color: #f47b20; font-size: 1.05rem; }
.nav-count { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #f47b20; color: #fff; font-style: normal; font-size: 0.7rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.gate .alert { color: #0f7a56; background: #e8f6f0; }
.gate-note { margin-top: 14px; text-align: center; }
.gate-note a { color: #14956a; font-weight: 700; }
.dl-card .dl-actions { flex-direction: column; }
.dl-card .dl-btn, .dl-card .dl-mega { width: 100%; min-height: 44px; border-radius: 12px; }
.dl-actions { display: flex; gap: 8px; margin-top: 14px; }
.dl-btn, .dl-mega { flex: 1 1 0; justify-content: center; min-height: 42px; display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 0 10px; font-weight: 700; font-size: 0.86rem; white-space: nowrap; }
body.site-body .dl-btn { background: #14956a; color: #fff; border: 1px solid #14956a; }
body.site-body .dl-btn:hover { background: #0f7a56; }
.dl-btn svg { width: 16px; height: 16px; }
.dl-mega { background: #fff; color: #d9272e; border: 1px solid #d7dbe3; }
.dl-mega:hover { border-color: #d9272e; }
.dl-mega img { width: 18px; height: 18px; object-fit: cover; object-position: center; border-radius: 50%; }
.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid #e6e8ee; }
.service-item em { font-style: normal; font-weight: 700; color: #14956a; font-size: 0.95rem; }
.service-item h3 { margin-bottom: 2px; font-size: 1rem; }
.service-item p { color: #6b7280; font-size: 0.9rem; }
.dir { text-align: center; }
.dir-title { display: table; margin: 0 auto 16px; background: #f3f4f6; border: 1px solid #e5e7eb; border-radius: 999px; padding: 10px 22px; font-size: 1.15rem; }
.dir-search { display: block; width: min(520px, 100%); margin: 0 auto 14px; border-radius: 999px; padding: 12px 16px; border: 1px solid #e5e7eb; background: #fff; color: #16324a; }
.dir-search::placeholder { color: #9ca3af; }
.dir-filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.dir-filters button { border: 1px solid #e5e7eb; background: #fff; border-radius: 999px; padding: 6px 14px; font: inherit; font-weight: 700; cursor: pointer; }
.dir-filters button.is-on { background: #4f46e5; color: #fff; border-color: #4f46e5; }
.dir-stats { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.dir-stats span { background: #f3f4f6; border-radius: 999px; padding: 8px 14px; font-size: 0.75rem; color: #6b7280; letter-spacing: 0.04em; }
.dir-stats b { display: block; color: #111827; font-size: 1rem; }
.dir-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.dir-btn { display: inline-flex; align-items: center; border-radius: 999px; padding: 10px 16px; font-weight: 700; color: #fff; }
.dir-btn-orange { background: #f47b20; }
.dir-btn-green { background: #16a34a; }
.dir-feature { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; column-gap: 24px; margin-bottom: 28px; width: 100%; }
.dir-feature .dir-card.is-main { width: min(100%, 360px); max-width: 360px; padding-top: 16px; padding-bottom: 12px; }
.dir-feature .dir-card.is-main:first-child { justify-self: start; }
.dir-feature .dir-card.is-main:last-child { justify-self: end; }
.dir-center { display: flex; flex-direction: column; align-items: center; }
.dir-center img, .dir-shield { width: 156px; height: 156px; object-fit: contain; margin: 0 auto; }
.dir-word { margin: 8px 0 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; color: #16324a; line-height: 1; }
.dir-word b { color: #14956a; }
.dir-shield { display: grid; place-items: center; border-radius: 50%; background: #ecfdf5; color: #16a34a; font-weight: 800; border: 6px solid #86efac; }
.dir-section { margin: 8px 0 16px; font-size: 1.05rem; }
.dir-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; text-align: center; }
.dir-grid .dir-card { width: calc((100% - 42px) / 4); flex: 0 0 calc((100% - 42px) / 4); }
.dir-card { position: relative; background: #fff; border: 1px solid #eceff3; border-radius: 18px; padding: 28px 14px 16px; box-shadow: 0 8px 24px rgba(17,24,39,0.04); }
.dir-badge { position: absolute; top: 10px; left: 10px; font-size: 0.68rem; font-weight: 700; color: #fff; background: #6d28d9; border-radius: 999px; padding: 3px 8px; }
.dir-badge.reseller { background: #be123c; }
.dir-logo { position: relative; width: 74px; height: 74px; margin: 8px auto 10px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #f8fafc; border: 1px solid #e5e7eb; font-weight: 800; }
.dir-logo span { font-size: 1.7rem; line-height: 1; }
.dir-logo:has(img) { border-radius: 16px; }
.dir-logo img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; object-position: center; }
.dir-grid .dir-logo { width: 96px; height: 96px; margin: 2px auto 8px; }
.dir-grid .dir-logo span { font-size: 2rem; }
.dir-grid .dir-card { padding-top: 20px; padding-bottom: 14px; }
.dir-feature .dir-card.is-main .dir-logo { width: 124px; height: 124px; margin: 0 auto 6px; }
.dir-feature .dir-card.is-main .dir-logo:has(img) { border-radius: 20px; }
.dir-feature .dir-card.is-main .dir-logo span { font-size: 2.6rem; }
.dir-card h3 { font-size: 0.98rem; margin-bottom: 4px; }
.dir-check { color: #16a34a; font-style: normal; }
.dir-card p { color: #6b7280; font-size: 0.8rem; margin-bottom: 10px; }
.dir-social { display: flex; justify-content: center; gap: 6px; }
.dir-social a, .dir-social span { width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff; transition: transform .15s ease; }
.dir-social a:hover { transform: scale(1.16); }
.dir-social .is-off { opacity: 0.35; }
.dir-social .soc-web { background: #1a73e8; }
.dir-social .soc-fb { background: #1877f2; }
.dir-social .soc-yt { background: #ff0000; }
.dir-social .soc-tg { background: #229ed9; }
.dir-social .soc-wa { background: #25d366; }
.dir-social svg { width: 16px; height: 16px; fill: currentColor; }
.dir-social .soc-web svg { fill: none; stroke: currentColor; }
.dir-empty { color: #6b7280; }
.price { font-size: 1.8rem; margin: 8px 0; color: #f47b20; }
.dir-center img { width: 156px; height: 156px; object-fit: contain; }
.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    background: linear-gradient(135deg, #6d5cff, #8b7cff);
    flex-shrink: 0;
}
.avatar.user-avatar { background: linear-gradient(135deg, #ff6b2c, #ff9a6c); }
.user-name { font-size: 0.88rem; font-weight: 600; }
.user-email { font-size: 0.72rem; color: var(--muted); word-break: break-all; }
.logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
    padding: 10px;
    border: 1px solid #34343c;
    border-radius: 12px;
    color: #ddd;
    font-size: 0.9rem;
}
.logout svg { color: var(--danger); }
.logout:hover { border-color: var(--danger); color: #fff; }

.main {
    position: relative;
    padding: 28px 32px 48px;
    overflow: auto;
}
.main::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 220px;
    background: radial-gradient(ellipse at 72% 0%, rgba(255,107,44,0.28), transparent 62%);
    pointer-events: none;
}
.topbar, .welcome, .stats, .quick, .panel-card, .alert { position: relative; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.topbar h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    padding: 12px 16px;
    font: inherit;
    font-weight: 700;
}
.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #3a3a44;
}
.btn-ghost:hover { border-color: #666; }
.btn-orange { background: #ff7a32; color: #fff; }
.btn-orange:hover { background: var(--orange-2); }
.btn-block { width: 100%; justify-content: center; }

.side-find { position: relative; margin: 0 0 14px; z-index: 5; }
.side-find-box { display: flex; align-items: center; gap: 8px; height: 40px; background: #f4f7f6; border: 1px solid #e4ebe7; border-radius: 12px; padding: 0 4px 0 12px; }
.side-find-box:focus-within { border-color: #14956a; background: #fff; }
.side-find-box > svg { width: 16px; height: 16px; color: #5b6b7c; flex: 0 0 auto; }
body.admin-body .side-find-box input { flex: 1; width: auto; min-width: 0; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; box-shadow: none; background: transparent; font-size: 0.86rem; color: #16324a; appearance: none; -webkit-appearance: none; }
body.admin-body .side-find-box input::-webkit-search-decoration,
body.admin-body .side-find-box input::-webkit-search-cancel-button,
body.admin-body .side-find-box input::-webkit-search-results-button,
body.admin-body .side-find-box input::-webkit-search-results-decoration { display: none; -webkit-appearance: none; }
.side-find-paste { width: 32px; height: 32px; border: 0; border-radius: 9px; background: transparent; color: #5b6b7c; cursor: pointer; display: grid; place-items: center; box-shadow: none; }
.side-find-paste svg { width: 16px; height: 16px; }
.side-find-paste:hover { background: #14956a; color: #fff; }
.side-find-results { position: absolute; left: 0; top: calc(100% + 8px); width: 340px; max-height: 360px; overflow: auto; background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; box-shadow: 0 18px 40px rgba(22, 50, 74, 0.14); }
.admin-find { margin-bottom: 18px; }
.admin-find-box { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; padding: 6px 6px 6px 14px; }
.admin-find-box input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 1rem; min-width: 0; }
.admin-find-paste { width: 40px; height: 40px; border: 0; border-radius: 10px; background: #f4f7f6; color: #16324a; cursor: pointer; display: grid; place-items: center; }
.admin-find-paste svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.admin-find-paste:hover { background: #e8f6f0; color: #14956a; }
.admin-find-results { margin-top: 8px; background: #fff; border: 1px solid #e6e8ee; border-radius: 14px; overflow: hidden; }
.admin-find-hit { display: flex; justify-content: space-between; gap: 16px; padding: 12px 14px; border-top: 1px solid #f0f3f2; }
.admin-find-hit:first-child { border-top: 0; }
.admin-find-hit:hover { background: #f7fbf9; }
.admin-find-hit b { color: #16324a; }
.admin-find-hit span, .admin-find-empty { color: #5b6b7c; font-size: 0.86rem; }
.admin-find-empty { margin: 0; padding: 12px 14px; }
.src-pill { display: inline-flex; align-items: center; margin-right: 8px; padding: 3px 8px; border-radius: 999px; background: #e8f6f0; color: #0f7a56; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; }
.src-pill.is-api { background: #fff4ec; color: #c45e10; }
.src-pill.is-admin { background: #e8eef5; color: #16324a; }
.buyer-link { font-weight: 700; color: #14956a; }
.buyer-cell { white-space: nowrap; }
.welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 28px 28px;
    border-radius: 18px;
    background: linear-gradient(100deg, #ff7a18 0%, #ff5a16 48%, #ff6b2c 100%);
    margin-bottom: 18px;
}
.welcome h2 { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.welcome p { color: rgba(255,255,255,0.92); margin-top: 4px; }
.welcome .btn { background: #ff8d45; box-shadow: 0 8px 18px rgba(0,0,0,0.12); }

.stats, .quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.stats { margin-bottom: 26px; }
.stat, .quick-card, .panel-card {
    background: var(--card);
    border: 1px solid #2c2c34;
    border-radius: 16px;
}
.stat { padding: 18px 16px; }
.stat-top { display: flex; align-items: center; gap: 10px; }
.stat svg { color: #d0d0d6; }
.stat strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.stat span, .quick-card p, .panel-card p { color: var(--muted); font-size: 0.82rem; }
.stat.is-green strong, .stat.is-green svg { color: var(--green); }
.quick h3 { font-size: 1.35rem; margin-bottom: 14px; font-weight: 800; }
.quick-card { display: block; padding: 16px; min-height: 118px; }
.quick-card:hover { border-color: rgba(255,107,44,0.45); }
.quick-card.is-hot { border-color: var(--orange); box-shadow: 0 0 0 1px rgba(255,107,44,0.35); }
.quick-card .row { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 8px; }
.quick-card p { line-height: 1.45; }
.panel-card { padding: 22px; }
.panel-card h2 { margin-bottom: 8px; }
.panel-card + .panel-card { margin-top: 14px; }
.alert {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(61,214,140,0.12);
    color: var(--green);
    border: 1px solid rgba(61,214,140,0.3);
}

.table-wrap { overflow: auto; margin-top: 14px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
th { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; }
label { display: block; color: var(--muted); font-size: 0.8rem; margin: 12px 0 6px; }
input, select, textarea {
    width: 100%;
    background: #101014;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
}
textarea { min-height: 90px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.form-actions { margin-top: 16px; }

.gate {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: #f4f7f6;
    color: #16324a;
}
.gate-card {
    width: min(440px, 100%);
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 16px 40px rgba(22, 50, 74, 0.06);
}
.gate-card .brand { display: inline-block; padding: 0; margin-bottom: 8px; }
.gate-card .domain { color: #6b7280; margin: 6px 0 18px; }
.gate h1 { font-size: 1.45rem; margin-bottom: 6px; color: #16324a; }
.gate label { color: #4b5563; }
.gate-card.gate-wide { width: min(560px, 100%); }
.gate input { background: #fff; color: #16324a; border: 1px solid #d7dbe3; }
.gate input[type="hidden"] { display: none; }
.gate-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) {
    .gate-pair { grid-template-columns: 1fr; }
}
.gate .btn-orange { background: #f47b20; color: #fff; border-radius: 8px; }
.gate .btn-orange:hover { background: #14956a; }
.home-actions { display: flex; gap: 10px; margin-top: 22px; }
.error {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(255,90,74,0.12);
    color: #ffb0a8;
    border: 1px solid rgba(255,90,74,0.35);
}

@media (max-width: 1100px) {
    .stats, .quick-grid { grid-template-columns: repeat(2, 1fr); }
    .shell { grid-template-columns: 1fr; }
    .sidebar { position: relative; height: auto; }
}
@media (max-width: 800px) {
    .site-bar { gap: 12px; min-height: 62px; padding: 10px 0; }
    .site-body .site-bar .brand { flex: 1; min-width: 0; }
    .site-menu-btn { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1px solid #e3e8e6; background: #f4f7f6; color: #16324a; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease; -webkit-tap-highlight-color: transparent; }
    .site-menu-btn:active { transform: scale(.94); }
    .site-menu-btn svg { grid-area: 1 / 1; width: 24px; height: 24px; transition: opacity .2s ease, transform .25s ease; }
    .site-menu-dots { stroke-width: 2.6; }
    .site-menu-x { stroke-width: 2.4; opacity: 0; transform: rotate(-90deg) scale(.6); }
    .site-nav.open .site-menu-btn { background: #14956a; border-color: #14956a; color: #fff; }
    .site-nav.open .site-menu-dots { opacity: 0; transform: rotate(90deg) scale(.6); }
    .site-nav.open .site-menu-x { opacity: 1; transform: none; }
    .site-links { position: absolute; top: calc(100% + 8px); left: 14px; right: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 10px; background: #fff; border: 1px solid #e6e8ee; border-radius: 18px; box-shadow: 0 20px 44px rgba(22, 50, 74, .18); opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top right; pointer-events: none; transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s; }
    .site-nav.open .site-links { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .22s ease, transform .22s ease, visibility 0s; }
    .site-links a { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; padding: 13px 14px; border-radius: 12px; font-size: 1rem; color: #16324a; }
    .site-links a:not(.site-telegram):not(.site-login):after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .35; }
    .site-links a.active { color: #14956a; background: #e8f6f0; }
    .site-links a.active:after { opacity: .8; }
    .site-links a.site-telegram, .site-links .site-login { grid-column: auto; justify-content: center; margin-top: 6px; padding: 12px 10px !important; border-radius: 12px !important; font-size: .95rem; font-weight: 700; text-align: center; }
    .site-links a:not(.site-telegram) + .site-login { grid-column: 1 / -1; }
    .site-main { padding: 28px 0 48px; }
    .hero { grid-template-columns: 1fr; gap: 16px; }
    .hero-copy { padding: 22px 18px 16px; border-radius: 24px; gap: 18px; }
    .hero-copy h1 { font-size: clamp(1.85rem, 8.2vw, 2.7rem); }
    .hero-notes article { padding: 12px; gap: 10px; }
    .hero-notes i { width: 40px; height: 40px; }
    .stage { padding: 16px; border-radius: 24px; }
    .scene-h { flex-direction: column; align-items: flex-start; gap: 2px; }
    .scene-h span { text-align: left; }
    .screen-face { height: 108px; }
    .screen-veil { font-size: 1rem; }
    .path b, .port b { font-size: 0.74rem; }
    .path span, .port > span { font-size: 0.66rem; }
    .lane { grid-template-columns: 92px minmax(0, 1fr) 104px; gap: 8px; }
    .port-face, .rail { height: 64px; }
    .rail:before { top: 31px; }
    .rail .fly { top: 17px; }
    .port-go em { font-size: 0.66rem; }
    .desk { gap: 22px; padding-top: 8px; }
    .desk-copy h1 { font-size: 2.15rem; max-width: none; }
    .desk-lead { max-width: none; }
    .home-actions { width: 100%; }
    .home-actions .btn { flex: 1 1 140px; text-align: center; }
    .desk-row { flex-direction: column; align-items: stretch; }
    .term-prices, .svc-menu .term-prices { width: 100%; min-width: 0; }
    .site-body .brand { max-width: 100%; }
    .site-body .main-logo { height: auto; max-height: 40px; max-width: 100%; }
    .desk-head { gap: 8px; }
    .shot-box { width: min(100%, 300px); margin: 6px auto 22px; }
    .shot-box:before { right: -8px; bottom: -8px; width: 100%; height: 100%; }
    .shot-stage { aspect-ratio: 660 / 563; }
    .site-foot { flex-direction: column; }
    .hero-split, .home-hero, .home-cards, .home-bento, .desk, .desk-grid, .step-row, .dir-feature, .dir-grid, .svc-grid, .tool-grid { grid-template-columns: 1fr; }
    .dir-grid .dir-card { width: 100%; flex-basis: 100%; }
    .dir-feature { grid-template-columns: minmax(0, 1fr) 68px minmax(0, 1fr); column-gap: 8px; }
    .dir-feature .dir-card.is-main { width: 100%; max-width: none; padding: 22px 6px 10px; }
    .dir-feature .dir-card.is-main:first-child, .dir-feature .dir-card.is-main:last-child { justify-self: stretch; }
    .dir-feature .dir-card.is-main .dir-logo,
    .dir-feature .dir-card.is-main .dir-logo:has(img) { width: 56px; height: 56px; margin: 2px auto 4px; padding: 0; }
    .dir-feature .dir-card.is-main .dir-logo span { font-size: 1.35rem; }
    .dir-grid .dir-logo { width: 84px; height: 84px; }
    .dir-feature .dir-card h3 { font-size: 0.68rem; }
    .dir-feature .dir-card p { font-size: 0.62rem; }
    .dir-feature .dir-badge { font-size: 0.52rem; padding: 2px 5px; }
    .dir-feature .dir-social { gap: 3px; }
    .dir-feature .dir-social a, .dir-feature .dir-social span { width: 18px; height: 18px; }
    .dir-feature .dir-social svg { width: 10px; height: 10px; }
    .dir-center img, .dir-feature .dir-shield { width: 56px; height: 56px; }
    .dir-word { font-size: 0.62rem; }
    .home-band, .page-hero { flex-direction: column; align-items: flex-start; }
    .svc-menu article { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; gap: 14px; }
    .svc-menu h3 { font-size: 1.2rem; }
    .svc-menu strong { font-size: 1.45rem; }
}
@media (max-width: 420px) {
    .term-prices { gap: 6px; }
    .term-prices i { padding: 8px 4px; }
    .term-prices small { font-size: 0.62rem; }
    .term-prices b { font-size: 0.82rem; }
}
@media (max-width: 640px) {
    .stats, .quick-grid, .form-grid, .home-grid, .price-line { grid-template-columns: 1fr; }
    .welcome, .topbar { flex-direction: column; align-items: flex-start; }
    .main { padding: 20px 16px 36px; }
}

body.admin-body { background: #f4f7f6; color: #16324a; }
body.admin-body::before { display: none; }
body.admin-body .sidebar { background: #fff; border-right: 1px solid #e6e8ee; z-index: 20; }
body.admin-body .brand { display: block; padding: 2px 8px 14px 0; margin-left: -4px; }
body.admin-body .main-logo { height: 34px; width: auto; max-width: calc(100% - 8px); }
body.admin-body .side-label, body.admin-body .user-email { color: #6b7280; }
body.admin-body .badge { background: #14956a; }
body.admin-body .nav-item { color: #374151; }
body.admin-body .nav-item svg { color: #6b7280; }
body.admin-body .nav-item:hover { background: #f3f4f6; color: #16324a; }
body.admin-body .nav-item.active { color: #14956a; background: #e8f6f0; border-color: #b7e4d0; }
body.admin-body .nav-item.active svg { color: #14956a; }
body.admin-body .side-foot { border-top-color: #e6e8ee; }
body.admin-body .avatar, body.admin-body .avatar.user-avatar { background: #14956a; color: #fff; }
body.admin-body .logout { color: #374151; border-color: #e6e8ee; }
body.admin-body .logout svg { color: #f47b20; }
body.admin-body .logout:hover { border-color: #f47b20; color: #f47b20; }
body.admin-body .main::before { display: none; }
body.admin-body .user-page-title, body.admin-body .topbar h1 { color: #16324a; }
body.admin-body .btn-ghost { color: #16324a; border-color: #d7dbe3; background: #fff; }
body.admin-body .welcome { background: #fff; border: 1px solid #e6e8ee; color: #16324a; }
body.admin-body .welcome p { color: #6b7280; }
body.admin-body .welcome .btn { background: #f47b20; color: #fff; }
body.admin-body .stat, body.admin-body .quick-card, body.admin-body .panel-card { background: #fff; border-color: #e6e8ee; color: #16324a; }
body.admin-body .stat span, body.admin-body .quick-card p, body.admin-body .panel-card p, body.admin-body .muted { color: #6b7280; }
body.admin-body .stat.is-green strong { color: #14956a; }
body.admin-body input, body.admin-body select, body.admin-body textarea { background: #fff; color: #16324a; border-color: #d7dbe3; }
body.admin-body th { color: #6b7280; }
body.admin-body td { border-bottom-color: #eef0f3; }
body.admin-body .btn-orange { background: #f47b20; color: #fff; }
body.admin-body .btn-orange:hover { background: #14956a; }
body.admin-body .btn-dark { background: #16324a; color: #fff; border: 0; border-radius: 8px; padding: 10px 18px; }
.list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.notify-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pos-form { display: inline-flex; margin: 0; }
td .pos-select { width: 72px; min-width: 72px; height: 34px; padding: 0 8px; border-radius: 8px; }
.plan-picks { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 14px; }
.plan-pick { border: 1px solid #d7e3dc; background: #fff; color: #16324a; border-radius: 10px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; text-decoration: none; }
.plan-pick.is-on { background: #14956a; color: #fff; border-color: #14956a; }
.act-fields { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; }
.act-fields > div { min-width: 180px; }
.act-fields .btn, .act-actions .btn { margin: 0; }
.act-toolbar { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.act-toolbar > .act-fields { margin: 0; }
.act-bulk { display: flex; gap: 8px; margin: 0 0 1px; }
.act-bulk[hidden] { display: none; }
.act-bulk-remove { color: #c24141; border-color: #f3d4d4; }
.license-price { margin: 0; padding: 12px 14px; border-radius: 12px; background: #e8f6f0; color: #14956a; font-weight: 800; }
.license-actions { display: flex; align-items: center; gap: 14px; grid-column: 1 / -1; }
.row-open { cursor: pointer; }
.row-open:hover td { background: #f4fbf8; }
.license-error { flex: 1; margin: 0; padding: 10px 12px; border-radius: 10px; background: #fde8e8; color: #c24141; font-weight: 800; }
.license-error[hidden] { display: none; }
.act-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.act-actions form { display: flex; margin: 0; }
.act-switch { position: relative; width: 44px; height: 26px; flex: 0 0 44px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.act-switch span { position: absolute; inset: 0; background: #e4e7ec; border-radius: 999px; transition: background .15s ease; }
.act-switch span:before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s ease; }
.act-switch.is-on span { background: #14956a; }
.act-switch.is-on span:before { transform: translateX(18px); }
.act-switch:disabled { opacity: 0.45; cursor: default; }
.act-icon { width: 34px; height: 34px; border: 1px solid #e6ece8; background: #fff; border-radius: 10px; display: grid; place-items: center; cursor: pointer; padding: 0; color: #16324a; }
.act-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.act-pc { color: #b45309; border-color: #f3e0c8; }
.act-pc:hover { background: #f47b20; color: #fff; border-color: #f47b20; }
.act-reset { color: #14956a; border-color: #cfe8df; }
.act-reset:hover { background: #14956a; color: #fff; border-color: #14956a; }
.act-icon:hover { border-color: #14956a; color: #14956a; }
.act-remove { color: #c24141; border-color: #f3d4d4; }
.act-remove:hover { background: #c24141; color: #fff; border-color: #c24141; }
.act-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; font-size: 0.75rem; font-weight: 800; background: #e8f6f0; color: #14956a; }
.act-badge.blocked, .act-badge.expired, .act-badge.revoked { background: #fdecec; color: #c24141; }
.user-dialog.act-dialog { width: min(560px, calc(100vw - 48px)); }
.act-sheet { display: grid; gap: 0; padding: 6px 22px 18px; }
.act-key { font-family: Consolas, ui-monospace, monospace; font-weight: 800; color: #14956a; font-size: 1.05rem; padding: 8px 0 12px; overflow-wrap: anywhere; }
.act-line { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-top: 1px solid #eef2f0; }
.act-line span { color: #6b7280; flex: 0 0 88px; }
.act-line b { flex: 1; min-width: 0; text-align: right; font-weight: 700; white-space: normal; overflow-wrap: anywhere; }
.key-copy { font-family: Consolas, ui-monospace, monospace; color: #14956a; font-weight: 700; background: none; border: 0; cursor: pointer; padding: 0; }
.trial-hwid { display: inline-block; max-width: 220px; font-size: 11px; font-weight: 600; line-height: 1.35; text-align: left; word-break: break-all; }
.use-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 3px 9px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.01em; }
.use-badge.unused { background: #eef2f5; color: #5b6b7c; }
.use-badge.used { background: #fff4ec; color: #c45e10; }
.use-badge.live { background: #e8f6f0; color: #14956a; }
.use-meta { margin-top: 6px; color: #16324a; font-size: 12px; line-height: 1.45; }
.use-meta span { color: #5b6b7c; margin-right: 4px; }
.made-keys { background: #fff; border: 1px solid #d7e3dc; border-radius: 16px; padding: 16px; margin-bottom: 16px; }
.made-keys pre { white-space: pre-wrap; font-family: Consolas, ui-monospace, monospace; }
.muted { color: #6b7280; font-size: 0.86rem; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: #f3f4f6; color: #6b7280; font-size: 0.78rem; }
.pill.is-on { background: #e8f6f0; color: #14956a; }
.user-modal { position: fixed; inset: 0; background: rgba(22, 50, 74, 0.45); display: grid; place-items: center; z-index: 30; padding: 24px; }
.user-modal[hidden] { display: none; }
.user-dialog { position: relative; width: min(920px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(22, 50, 74, 0.18); }
.save-note { position: absolute; right: 22px; bottom: 18px; margin: 0; z-index: 2; }
.create-dialog { width: min(640px, 100%); padding-bottom: 8px; }
.service-dialog { width: min(760px, 100%); }
.price-line { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.price-line h4 { grid-column: 1 / -1; margin: 6px 0 0; color: #16324a; font-size: 0.92rem; }
.span-2, .service-dialog .form-actions { grid-column: 1 / -1; }
.user-dialog header { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid #e6e8ee; }
.user-dialog header a, .user-dialog header button { border: 0; background: transparent; font-size: 1.4rem; line-height: 1; color: #16324a; cursor: pointer; }
.user-layout { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; }
.user-layout nav { border-right: 1px solid #e6e8ee; padding: 8px; }
.user-tab { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: #16324a; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.user-tab.active { background: #f4f7f6; font-weight: 700; }
.user-body { padding: 8px 22px 22px; }
.user-pane { display: none; }
.user-pane.active { display: flex; flex-direction: column; min-height: 440px; }
.fund-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.fund-tab { border: 1px solid #e6e8ee; background: #fff; color: #16324a; border-radius: 999px; padding: 8px 14px; cursor: pointer; font-weight: 700; }
.fund-tab.active { background: #16324a; border-color: #16324a; color: #fff; }
.fund-pane { display: none; }
.fund-pane.active { display: flex; flex-direction: column; flex: 1; }
.user-body h3 { margin: 16px 0 8px; }
.usd-field { display: flex; border: 1px solid #d7dbe3; border-radius: 8px; overflow: hidden; max-width: 100%; }
.usd-field input { border: 0; border-radius: 0; }
.usd-field span { display: grid; place-items: center; min-width: 54px; border-left: 1px solid #d7dbe3; color: #6b7280; background: #fff; }
.money-row, .switch-row, .copy-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #eef0f3; }
.copy-row input { flex: 1; }
.api-panel .copy-row > span, .user-pane .copy-row > span { width: 150px; flex: 0 0 150px; color: #374151; }
.icon-btn { position: relative; width: 42px; height: 42px; border: 1px solid #d7dbe3; background: #fff; border-radius: 8px; cursor: pointer; color: #6b7280; display: grid; place-items: center; padding: 0; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-btn.is-copied { background: #14956a; border-color: #14956a; color: #fff; }
.icon-btn.is-copied:after { content: "Copied"; position: absolute; right: 0; bottom: calc(100% + 6px); background: #16324a; color: #fff; font-size: 11px; font-weight: 800; line-height: 1; padding: 6px 8px; border-radius: 6px; white-space: nowrap; }
.allow-row { align-items: flex-start; }
.allow-row textarea { flex: 1; min-height: 74px; resize: vertical; }
.api-save { height: 42px; }
.switch { position: relative; width: 42px; height: 24px; cursor: pointer; flex: 0 0 42px; }
.switch input { position: absolute; opacity: 0; width: 42px; height: 24px; margin: 0; cursor: pointer; z-index: 2; }
.switch span { position: absolute; inset: 0; background: #d7dbe3; border-radius: 999px; }
.switch span:before { content: ""; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px; background: #fff; border-radius: 50%; }
.switch input:checked + span { background: #16324a; }
.switch input:checked + span:before { transform: translateX(18px); }
.act-switch.is-on span { background: #14956a; }
.limit-row small { display: block; color: #9ca3af; font-size: 0.75rem; }
.pane-foot { margin-top: auto; padding-top: 18px; }
.user-pane[data-pane="manage"] { position: relative; }
.statement-scroll { max-height: 376px; overflow: auto; margin-top: 12px; border: 1px solid #e6eee9; border-radius: 12px; }
.statement-scroll th { position: sticky; top: 0; background: #f7fbf9; z-index: 1; }
.stmt-kind { display: inline-flex; align-items: center; min-width: 58px; justify-content: center; padding: 3px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; }
.stmt-kind.is-order { background: #e8f6f0; color: #0f7a56; }
.stmt-kind.is-add { background: #e8eef5; color: #16324a; }
.stmt-kind.is-debit { background: #fff4ec; color: #c45e10; }
.delete-form { position: absolute; right: 0; bottom: 0; }
.btn-danger { background: #e11d2e; color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; cursor: pointer; }
.admin-check { margin-top: 14px; }
.settings-shell { display: grid; grid-template-columns: 200px 1fr; background: #fff; border: 1px solid #e6e8ee; border-radius: 16px; min-height: 560px; }
.settings-nav { border-right: 1px solid #eef0f3; padding: 10px; }
.settings-nav a { display: block; padding: 12px 14px; border-radius: 8px; color: #16324a; }
.settings-nav a.active { background: #f4f7f6; font-weight: 700; }
.set-body { padding: 8px 28px 24px; }
.set-body form { min-height: 520px; display: flex; flex-direction: column; }
.set-row { display: flex; justify-content: flex-start; align-items: flex-start; gap: 24px; padding: 16px 0; border-bottom: 1px solid #eef0f3; }
.set-row > span { width: 220px; flex: 0 0 220px; padding-top: 10px; color: #374151; }
.set-field { flex: 1 1 420px; min-width: 280px; max-width: 640px; }
.set-row input, .set-row textarea, .set-row select, .set-field textarea, .set-field input { flex: 1 1 420px; width: 100%; min-width: 280px; max-width: 640px; box-sizing: border-box; }
.set-code { min-height: 240px; font-family: Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.55; }
.set-row .switch { flex: 0 0 42px; width: 42px; min-width: 42px; max-width: 42px; margin-top: 8px; }
.set-row .switch input { position: absolute; flex: none; width: 42px; min-width: 42px; max-width: 42px; height: 24px; padding: 0; border: 0; background: transparent; }
.set-row .switch input:checked + span { background: #14956a; }
.set-switch-label { margin-top: 8px; color: #16324a; font-weight: 700; font-style: normal; }
.pass-field { position: relative; flex: 1; width: 100%; max-width: 560px; }
.pass-field input { width: 100%; max-width: none; padding-right: 44px; }
.pass-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border: 0; background: transparent; color: #5b6b7c; cursor: pointer; display: grid; place-items: center; padding: 0; }
.pass-eye:hover, .pass-eye.is-on { color: #14956a; }
.pass-eye .eye-shut { display: none; }
.pass-eye.is-on .eye-open { display: none; }
.pass-eye.is-on .eye-shut { display: block; }
.set-logo { height: 42px; width: auto; }
.set-note { color: #6b7280; margin-top: 12px; }
.set-demo { margin: 0 0 14px; padding: 14px 16px; background: #f4f7f6; color: #16324a; border: 1px solid #e4eee9; border-radius: 14px; white-space: pre-wrap; font-family: Consolas, "Courier New", monospace; font-size: 12.5px; line-height: 1.55; }
.set-foot { margin-top: auto; padding-top: 28px; }
@media (max-width: 800px) { .settings-shell { grid-template-columns: 1fr; } .set-row { flex-direction: column; } }
.user-dialog input[type="checkbox"] { width: auto; margin-right: 8px; }
.price-form { padding: 8px 18px 18px; }
.price-note { margin: 4px 0 14px; color: #6b7280; font-size: 0.84rem; line-height: 1.5; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eef0f3; vertical-align: middle; }
.price-table th { color: #6b7280; font-size: 0.78rem; font-weight: 700; }
.price-service { font-weight: 700; color: #16324a; }
.price-table input { width: 120px; min-width: 120px; max-width: 120px; }
.create-dialog form { padding: 8px 18px 18px; }
#activation-form .form-actions { margin-top: 0; align-self: end; }
@media (max-width: 800px) { .user-layout { grid-template-columns: 1fr; } }
.dl-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-items: stretch; }
body.site-body .dl-actions .dl-btn,
body.site-body .dl-actions .dl-mega {
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 8px;
    border-radius: 10px;
    justify-content: center;
    font-size: 0.84rem;
    box-sizing: border-box;
}
body.site-body .dl-actions .dl-mega {
    background: #fff;
    color: #d9272e;
    border: 2px solid #d9272e;
}
.ver-line { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.ver-col { display: flex; flex-direction: column; align-items: flex-start; border: 1px solid #e6eee9; border-radius: 16px; padding: 16px 18px 18px; background: #fbfdfc; }
.ver-col label { min-height: 0; margin: 0 0 10px; color: #16324a; font-weight: 800; font-size: 0.95rem; }
.ver-box { width: 120px; text-align: center; font-weight: 800; padding: 10px 8px; }
.ver-col .btn { margin-top: 12px; width: auto; min-width: 140px; justify-content: center; padding: 10px 16px; font-size: 0.9rem; }
.upd-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.upd-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    min-height: 78px;
    padding: 16px 18px;
    border: 1px solid #e6e8ee;
    border-radius: 16px;
    background: #fff;
    color: #16324a;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.upd-tab b { font-size: 1rem; }
.upd-tab small { color: #6b7280; font-size: 0.8rem; font-weight: 500; }
.upd-tab.is-on { border-color: #14956a; background: #e8f6f0; }
.upd-tab.is-on small { color: #0f7a56; }
.upd-tab.is-local.is-on { border-color: #f47b20; background: #fff4ec; }
.upd-tab.is-local.is-on small { color: #c2580d; }
.upd-pane { display: none; }
.upd-pane.is-on { display: block; }
.upd-live { margin-top: 16px; }
.upd-status { margin: 0 0 8px; font-weight: 700; color: #16324a; }
.upd-progress { height: 10px; background: #e6ece8; border-radius: 999px; overflow: hidden; }
.upd-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #14956a, #f47b20); border-radius: 999px; transition: width .2s ease; }
.upd-log {
    margin-top: 12px;
    max-height: 320px;
    overflow: auto;
    background: #f7faf8;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: Consolas, ui-monospace, monospace;
    font-size: 12px;
    line-height: 1.65;
    color: #16324a;
    white-space: pre-wrap;
}
.upd-log:empty::before { content: "The process log will appear here."; color: #9ca3af; }
@media (max-width: 800px) { .upd-tabs, .ver-line { grid-template-columns: 1fr; } .dl-hero h1 { white-space: normal; } .dl-hero .dl-lead span { white-space: normal; } }
body.site-body .dl-card .dl-actions { grid-template-columns: 1fr; margin-top: auto; padding-top: 16px; }
body.site-body .dl-actions .dl-mega img {
    width: auto;
    height: 22px;
    max-width: 92%;
    object-fit: contain;
    transform: none;
    border-radius: 0;
}
