/* Визуальные настройки второй версии — близко к согласованному макету. */
.auth-panel { max-width:460px; margin:24px auto; padding:28px; }
.auth-panel label { margin-bottom:18px; }
textarea#bulk-keys { min-height:190px; font-family:Consolas,monospace; }
.keys-panel { margin-top:20px; }
.key-actions { display:flex; gap:6px; }
.key-actions button { font-size:11px; padding:7px 9px; }
[hidden] { display:none !important; }
.mode-panel { display:flex; align-items:center; gap:20px; padding:14px 18px; background:#1b1527; border:1px solid #49315f; border-radius:10px; margin-bottom:18px; }
.mode-panel label { width:270px; flex-shrink:0; }
.key-notice { border-radius:8px; margin-bottom:16px; padding:14px; }
@media(max-width:750px) { .mode-panel { flex-direction:column; align-items:stretch; gap:5px; }.mode-panel label { width:100%; } }
/* Нативные меню Windows рисуют option отдельно от select. */
select { color-scheme:dark; color:#f5f3ff; background-color:#171320; }
select option, select optgroup { background-color:#171320; color:#f5f3ff; }
select option:disabled { color:#81758f; }
.profile-actions { display:flex; gap:5px; margin-right:3px; }
.profile-action { width:28px; height:28px; display:inline-flex; align-items:center; justify-content:center; padding:0; border:1px solid #49365e; border-radius:6px; background:#21172e; color:#cfadff; cursor:pointer; text-decoration:none; }
.profile-action:hover { background:#362247; border-color:#ab75ee; color:#fff; }
.profile-action:focus-visible { outline:2px solid #bd98ff; outline-offset:3px; }
.profile-action svg { width:15px; height:15px; }
.profile-action.copied { border-color:#58c398; color:#85eab9; }
.source-queue { margin-top:16px; }
.parallel-setting { width:230px; margin-top:12px; }
textarea#source-input { min-height:110px; line-height:1.7; }
.import-tools { display:flex; align-items:center; gap:14px; margin-top:10px; flex-wrap:wrap; }
input[hidden] { display:none; }
.result-tools { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px; }
.export-buttons { grid-column:1/-1; display:flex; gap:8px; flex-wrap:wrap; }
.export-help { grid-column:1/-1; }
.result-tools select,.result-tools input { height:35px; }
:root { --bg:#0e0c17; --panel:#171320; --border:#30293e; --muted:#b2a6c8; --text:#f5f3ff; --purple:#8b5cf6; }
body { font-family:Inter,Arial,sans-serif; font-size:14px; -webkit-font-smoothing:antialiased; }
button,input,select,textarea { font-family:inherit; }
aside { width:258px; padding:18px 16px; background:linear-gradient(125deg,#161222,#11101b); }
.brand { display:flex; align-items:center; gap:10px; font-size:24px; letter-spacing:-.6px; }
.eyebrow { margin:28px 12px 14px; font-size:9px; opacity:.65; }
nav { gap:8px; }
nav button { padding:12px 14px; display:flex; align-items:center; gap:12px; font-size:14px; }
nav button span { display:flex; width:22px; }
nav button.active { background:linear-gradient(100deg,#30204b,#281c3b); border-color:#483263; position:relative; }
nav button.active::before { content:""; position:absolute; width:2px; top:9px; bottom:9px; left:0; background:#a166ff; }
nav button[data-page="admin"] { margin-top:22px; border-top:1px solid #32293f; border-radius:0; padding-top:24px; }
.icon { width:22px; height:22px; flex-shrink:0; vertical-align:middle; }
main { margin-left:258px; }
header { height:54px; padding:0 24px; font-size:12px; }
.user { color:#ddd4eb; gap:12px; }
.user img { width:33px; height:33px; border-radius:50%; }
.user small { display:block; color:#9e92b3; font-size:10px; margin-top:4px; }
.header-bell { padding-right:18px; border-right:1px solid #30293e; margin-right:4px; }
.notice { background:#171020; color:#9f8bb8; font-size:10px; padding:7px 24px; }
#app { padding:20px 24px; max-width:1700px; }
.heading { margin-bottom:20px; }
h1 { font-size:31px; font-weight:750; letter-spacing:-.8px; margin-bottom:6px; }
.heading p { font-size:13px; }
button { border-radius:7px; padding:10px 14px; background:linear-gradient(#1b1627,#17121f); font-size:12px; }
button.primary { background:linear-gradient(120deg,#8438fc,#a04fff); border-color:#a35df7; box-shadow:0 3px 12px #6c28c21a; font-size:13px; }
button.primary:hover { background:linear-gradient(120deg,#934bfd,#ad68ff); }
.cards { gap:16px; margin-bottom:16px; }
.card { padding:21px 18px; min-height:94px; display:flex; align-items:center; gap:16px; }
.card small { font-size:12px; }
.card strong { font-size:27px; font-weight:650; margin-top:6px; letter-spacing:-.6px; }
.card>div { flex:1; }
.stat-icon { width:52px; height:52px; border-radius:10px; display:grid; place-items:center; background:#281c40; color:#b87aff; flex-shrink:0; }
.stat-icon .icon { width:30px; height:30px; stroke-width:1.7; }
.tone-1 { color:#63dd8f; background:#172a25; }
.tone-2 { color:#ffbd55; background:#30251e; }
.stat-progress { margin:9px 0 0; height:7px; }
.panel { padding:18px; border-radius:10px; margin-bottom:0; }
.panel-head { margin-bottom:16px; }
h2 { font-size:16px; font-weight:650; }
.tabs { border-radius:7px; padding:0; margin-bottom:14px; }
.tabs button { display:flex; justify-content:center; align-items:center; gap:9px; font-size:12px; border-radius:6px; padding:13px 6px; }
.tabs button .icon { width:17px; height:17px; }
.tabs button.active { background:linear-gradient(100deg,#9e48ff,#7c36ef); }
label { font-size:12px; color:#c0b4d3; }
input,select,textarea { padding:10px 12px; font-size:12px; margin-top:7px; background:linear-gradient(135deg,#191523,#14101c); border-color:#3c324c; height:39px; }
textarea { height:75px; }
.filters { gap:15px 18px; margin-top:16px; }
.help { font-size:10px; margin:7px 0; }
.toolbar { margin-top:16px; }
.toolbar button .icon { width:16px; height:16px; margin-right:5px; }
#save-template { background:transparent; border-color:transparent; color:#c38aff; }
.results { grid-template-columns:minmax(0,1fr) 310px; margin-top:14px; gap:16px; }
.results .panel { padding:16px; }
th { font-size:11px; padding:11px 8px; }
td { padding:10px 8px; font-size:12px; }
td b { font-size:13px; font-weight:550; }
td small { font-size:10px; color:#9a8bac; }
.pfp { width:39px; height:39px; border-radius:5px; border:1px solid #39284e; object-fit:cover; }
.profile { gap:11px; }
.flag { display:inline-block; width:21px; height:14px; border-radius:2px; vertical-align:middle; margin-right:6px; box-shadow:0 0 0 1px #ffffff16; }
.flag-DE { background:linear-gradient(#151515 33.3%,#dc3535 33.3% 66.6%,#f7c644 66.6%); }
.flag-FR { background:linear-gradient(90deg,#2e5dbb 33.3%,#eee 33.3% 66.6%,#df4554 66.6%); }
.flag-PL { background:linear-gradient(#eee 50%,#e54a65 50%); }
.badge { font-size:10px; padding:5px 8px; }
.badge.green::before { content:""; width:6px; height:6px; border-radius:50%; display:inline-block; background:#7bf1a4; margin-right:5px; }
#export { color:#c88dff; border-color:#6b438e; background:transparent; }
#task .line { margin:16px 0; }
#task .progress { height:11px; }
#task .toolbar button { flex:1; }
.danger { border-color:#8f343d; color:#ff8d99; }
.plan { padding:18px 14px; border-radius:9px; background:linear-gradient(120deg,#1a1529,#151020); }
.plan-title { display:flex; align-items:center; gap:11px; }
.plan-title .icon { width:30px; height:30px; color:#b873ff; }
.plan h3 { font-size:13px; margin:0; }
.plan p { padding-left:41px; margin-top:7px; font-size:11px; line-height:1.5; }
.plan small { display:block; text-align:center; font-size:9px; margin-top:10px; color:#81728e; }
.plan button { border-color:#7b49ac; font-size:11px; }
.grid2,.pricing { margin-top:18px; }
@media(min-width:1500px) { #app { padding:24px; } .card { padding:23px 18px; } }
@media(max-width:1200px) { aside{width:222px}.brand{font-size:21px}main{margin-left:222px}.card{gap:10px;padding:18px 12px}.stat-icon{width:40px;height:45px}.card strong{font-size:23px}.results{grid-template-columns:minmax(0,1fr) 270px} }
@media(max-width:1050px) { .results{grid-template-columns:1fr}.filters{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)} }
@media(max-width:750px) { aside{width:auto;padding:12px}.brand{font-size:22px}.eyebrow{display:none}nav{display:flex;margin-top:14px}nav button{padding:9px;gap:0}nav button span{display:none}nav button[data-page="admin"]{margin-top:0;border-top:none;padding-top:9px;border-radius:7px}main{margin-left:0}header{padding:0 16px}.header-bell{display:none}#app{padding:20px 16px}h1{font-size:25px}.card{padding:14px;min-height:85px}.stat-icon{width:36px;height:40px}.stat-icon .icon{width:24px;height:24px}.card small{font-size:10px}.card strong{font-size:22px}.filters{grid-template-columns:1fr 1fr}.notice{padding:7px 16px}.tabs button{flex-basis:40%}.heading .primary{font-size:11px}.user small{font-size:9px} }
@media(max-width:430px) { .filters{grid-template-columns:1fr}.stat-icon{display:none}.heading{flex-direction:column}.user img{display:none}.grid2,.pricing{grid-template-columns:1fr} }
