:root{
  --red:#FA4034; --red-d:#D42A1F; --red-t:#A3241A; --red-bg:#FFF1EE; --red-bd:#F6C4BD;
  --navy:#0B2F8F; --navy-d:#082370; --navy-bg:#EAF0FD;
  --ink:#1B2A4A; --ink-2:#3A4A6B; --muted:#5A6785;
  --line:#DCE1EA; --line-2:#E7EBF2; --paper:#FFF6F4; --grid:#FBE1DC;
  --ok:#155C34; --ok-bg:#E6F3EC;
  --radius:14px;
}
*{box-sizing:border-box}
[hidden]{display:none !important}
html,body{margin:0}
body{
  font-family:Inter,system-ui,sans-serif;color:var(--ink);font-size:16px;line-height:1.55;
  background-color:var(--paper);
  background-image:linear-gradient(var(--grid) 1px,transparent 1px),linear-gradient(90deg,var(--grid) 1px,transparent 1px);
  background-size:24px 24px;border-top:4px solid var(--red);min-height:100vh;display:flex;flex-direction:column
}
main{flex:1 0 auto}
a{color:var(--navy)}a:hover{color:var(--navy-d)}
h1,h2,h3{font-family:Manrope,sans-serif;font-weight:800;letter-spacing:-.01em;line-height:1.2}
h1{font-size:34px;margin:0 0 12px}h2{font-size:26px;margin:28px 0 14px}h3{font-size:21px;margin:0}
.wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.wrap-wide{max-width:1500px;margin:0 auto;padding:0 20px}
.section{padding-top:24px;padding-bottom:48px}
.spacer{flex:1 1 auto}
.muted{color:var(--muted)}.small{font-size:13px}.center{text-align:center}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.row-gap{display:flex;flex-wrap:wrap;gap:12px;align-items:center}.row-gap.tight{gap:6px;flex-wrap:nowrap}
.stack{display:flex;flex-direction:column;gap:6px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
input[type=text],input[type=email],input[type=password],input[type=search],input[type=date],input:not([type]),select,textarea{
  font:inherit;color:var(--ink);background:#fff;border:1px solid #C7CFDD;border-radius:10px;padding:10px 12px;min-height:44px;width:100%
}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #9DB4F0;outline-offset:1px}
label{font-weight:600;font-size:14px}
.check{display:flex;gap:8px;align-items:flex-start;font-weight:500;font-size:14px;min-height:30px}
.check input{width:18px;height:18px;margin-top:2px;accent-color:var(--red-d)}

/* Бутони */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:10px;border:1px solid transparent;font:inherit;font-weight:600;text-decoration:none;cursor:pointer;white-space:nowrap}
.btn-lg{min-height:52px;padding:0 24px;font-size:17px}
.btn-block{width:100%}
.btn-primary{background:var(--navy);color:#fff}.btn-primary:hover{background:var(--navy-d);color:#fff}
.btn-accent{background:var(--red-d);color:#fff}.btn-accent:hover{background:#B8231A;color:#fff}
.btn-outline{background:#fff;border-color:#C7CFDD;color:var(--ink)}.btn-outline:hover{border-color:var(--navy);color:var(--navy)}
.btn-ghost{background:transparent;color:var(--ink)}
.btn-warm{background:var(--red-bg);border-color:var(--red-bd);color:var(--red-t)}
.btn-disabled{background:#F1F3F7;color:var(--muted);cursor:not-allowed}
.btn:disabled{opacity:.6;cursor:wait}

/* Горна лента */
.topbar{background:#fff;border-bottom:1px solid #F3D3CD}
.topbar-in{max-width:1500px;margin:0 auto;padding:10px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-family:Manrope,sans-serif;font-weight:800;font-size:20px}
.brand-mark{width:36px;height:36px;border-radius:50%;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center}
.topnav{display:flex;gap:4px 18px;flex-wrap:wrap}
.topnav a{color:var(--ink);text-decoration:none;font-weight:500;min-height:44px;display:inline-flex;align-items:center}
.quota-chip{padding:6px 12px;border-radius:999px;background:var(--paper);border:1px solid var(--red-bd);font-size:13px;font-weight:600;color:var(--red-t)}
.foot{background:#fff;border-top:1px solid #F3D3CD;margin-top:24px}
.foot-in{max-width:1240px;margin:0 auto;padding:20px 24px;display:flex;flex-wrap:wrap;gap:10px 24px;font-size:14px;color:var(--ink-2)}

/* Начална страница */
.hero{display:flex;flex-wrap:wrap;align-items:center;gap:40px;padding-top:56px;padding-bottom:40px}
.hero-text{flex:1 1 480px;display:flex;flex-direction:column;gap:18px}
.hero h1{font-size:46px;line-height:1.1;margin:0}
.lead{font-size:19px;color:var(--ink-2);margin:0;max-width:580px}
.pill{align-self:flex-start;padding:6px 12px;border-radius:999px;background:#fff;border:1px solid var(--red-bd);color:var(--red-t);font-size:14px;font-weight:600}
.hero-art{flex:1 1 400px;position:relative;height:360px}
.hero-board{position:absolute;inset:24px 16px 8px 16px;border-radius:28px;background:#fff;border:2px solid var(--navy)}
.hero-art .m{position:absolute}.m1{left:36px;top:110px}.m2{left:210px;top:40px;transform:rotate(-6deg)}.m3{left:230px;top:190px}.m4{right:30px;top:90px}
.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tutor-card{padding:20px;display:flex;flex-direction:column;gap:12px}
.tutor-card.is-active{border:2px solid var(--navy)}
.tutor-card p{margin:0;font-size:15px;color:var(--ink-2);flex:1 1 auto}
.tutor-card-top{display:flex;justify-content:space-between;align-items:flex-start}
.badge{padding:4px 10px;border-radius:999px;font-size:13px;font-weight:700}
.badge-ok{background:var(--ok-bg);color:var(--ok)}.badge-soon{background:#F1F3F7;color:var(--ink-2)}.badge-accent{background:var(--red-bg);color:var(--red-t)}
.steps{list-style:none;margin:0;padding:0}
.steps li{padding:20px;display:flex;flex-direction:column;gap:6px}
.steps .num{width:40px;height:40px;border-radius:12px;background:var(--red);color:#fff;display:flex;align-items:center;justify-content:center;font-family:Manrope,sans-serif;font-weight:800}
.steps span:last-child{color:var(--ink-2);font-size:15px}

/* Вход и регистрация */
.auth{display:flex;justify-content:center;padding-top:40px;padding-bottom:40px}
.auth-card{width:100%;max-width:440px;padding:32px;display:flex;flex-direction:column;gap:10px}
.auth-card h1{margin:0}
.flash{padding:12px 14px;border-radius:10px;font-weight:500}
.flash-error{background:var(--red-bg);border:1px solid var(--red-bd);color:var(--red-t)}
.flash-ok{background:var(--ok-bg);border:1px solid #B5DBC4;color:var(--ok);margin-bottom:12px}

/* Профил, абонаменти, админ */
.account-box{padding:18px;display:flex;flex-direction:column;gap:6px;max-width:560px}
.plan{padding:20px;display:flex;flex-direction:column;gap:10px}
.plan.is-highlight{border:2px solid var(--red-d)}
.plan-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.price{font-family:Manrope,sans-serif;font-weight:800;font-size:26px}
.stat{padding:16px;display:flex;flex-direction:column;gap:4px}.stat strong{font-size:20px}
.table-box{overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.table{border-collapse:collapse;width:100%;font-size:14px}
.table th,.table td{padding:10px 12px;border-bottom:1px solid var(--line-2);text-align:left;vertical-align:middle}
.table th{color:var(--muted);font-weight:600}
.table input,.table select{min-height:36px;padding:6px 8px;width:auto}

/* Страница на тютора */
.tutor-layout{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start;padding-top:20px;padding-bottom:20px}
.col-left{flex:1 1 260px;max-width:100%;display:flex;flex-direction:column;gap:16px}
.col-chat{flex:999 1 560px;min-width:0;display:flex;flex-direction:column;min-height:72vh}
.col-right{flex:1 1 280px;max-width:100%;display:flex;flex-direction:column;gap:16px}
@media (min-width:1180px){.col-left{max-width:300px}.col-right{max-width:320px}}
@media (max-width:900px){.col-chat{order:-1}}
.panel{padding:16px}
.panel-warm{background:var(--red-bg);border-color:var(--red-bd)}
.panel-title{font-size:17px;margin:2px 0 10px}.panel-title.warm{color:var(--red-t)}
.eyebrow{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.topics{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.topic-btn{width:100%;text-align:left;background:transparent;border:0;border-radius:8px;padding:8px;font:inherit;font-size:14px;color:var(--ink);cursor:pointer;min-height:40px}
.topic-btn:hover{background:var(--navy-bg)}
.checks{border:0;margin:6px 0;padding:0}.checks legend{font-weight:600;font-size:14px;margin-bottom:4px;padding:0}
.chat-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px 18px;border-bottom:1px solid var(--line-2)}
.chat-title{font-family:Manrope,sans-serif;font-weight:700;font-size:17px}
.conv-pick{width:auto;min-height:44px}
.chat-log{flex:1 1 auto;padding:18px;display:flex;flex-direction:column;gap:14px;overflow-y:auto;max-height:68vh}
.msg{display:flex;gap:10px;max-width:780px}
.msg-user{align-self:flex-end;justify-content:flex-end}
.avatar{flex:0 0 34px;height:34px;border-radius:10px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-family:Manrope,sans-serif;font-weight:800}
.bubble{padding:11px 14px;border-radius:4px 14px 14px 14px;background:#F3F5FA;min-width:0;overflow-wrap:anywhere}
.msg-user .bubble{background:var(--navy-bg);border-radius:14px 4px 14px 14px;white-space:pre-wrap}
.msg-error .bubble{background:var(--red-bg);color:var(--red-t)}
.bubble p{margin:0 0 8px}.bubble p:last-child{margin-bottom:0}
.bubble ul,.bubble ol{margin:4px 0 8px;padding-left:22px}
.bubble .md-h{font-weight:700;font-family:Manrope,sans-serif}
.bubble code{font-family:'JetBrains Mono',monospace;font-size:.92em;background:#fff;border:1px solid var(--line-2);border-radius:5px;padding:0 4px}
.bubble pre{background:#fff;border:1px solid var(--line);border-radius:10px;padding:10px;overflow-x:auto;margin:6px 0}
.bubble pre code{border:0;padding:0}
.bubble blockquote{margin:6px 0;padding:6px 10px;border-left:3px solid var(--red);background:#fff;border-radius:6px}
.md-table{overflow-x:auto;margin:6px 0;background:#fff;border:1px solid var(--line);border-radius:10px}
.md-table table{border-collapse:collapse;width:100%;font-family:'JetBrains Mono',monospace;font-size:14px}
.md-table th,.md-table td{padding:7px 10px;border-bottom:1px solid var(--line-2);text-align:left}
.md-table th{color:var(--muted);font-family:Inter,sans-serif;font-weight:600}
.typing{display:flex;gap:5px;align-items:center;min-height:42px}
.typing span:not(.sr-only){width:8px;height:8px;border-radius:50%;background:#9AA6BF;animation:blink 1.2s infinite}
.typing span:nth-child(2){animation-delay:.2s}.typing span:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,80%,100%{opacity:.3}40%{opacity:1}}
@media (prefers-reduced-motion:reduce){.typing span{animation:none}}
.composer{border-top:1px solid var(--line-2);padding:12px 18px 16px;display:flex;flex-direction:column;gap:10px}
.quick{display:flex;flex-wrap:wrap;gap:8px}
.quick .btn{font-size:14px}
.composer-row{display:flex;gap:10px;align-items:flex-end}
.composer-row textarea{flex:1 1 auto;min-width:0}
.send{flex:0 0 48px;height:48px;padding:0}
.profile-form{padding:22px 22px 26px;display:flex;flex-direction:column;gap:14px;border-top:1px solid var(--line-2)}
.profile-form h2{margin:0;font-size:24px}
.choice{border:0;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.choice legend{font-weight:600;margin-bottom:8px;padding:0;grid-column:1/-1}
.choice-opt{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border:1px solid #C7CFDD;border-radius:12px;background:#fff;cursor:pointer;font-weight:500}
.choice-opt input{margin-top:4px;accent-color:var(--navy)}
.choice-opt span{display:flex;flex-direction:column}.choice-opt small{color:var(--muted);font-size:13px}
.choice-opt:has(input:checked){border:2px solid var(--navy);background:var(--navy-bg)}
.limit-box{margin:0 18px 12px;padding:14px;border-radius:12px;background:var(--red-bg);border:1px solid var(--red-bd);display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;color:var(--red-t)}
.steps-list{margin:0;padding-left:20px;display:flex;flex-direction:column;gap:6px;font-size:14px}
.acc-list{list-style:none;margin:10px 0 0;padding:0;font-size:14px;max-height:320px;overflow-y:auto}
.acc-list li{display:flex;gap:10px;padding:7px 2px;border-bottom:1px solid #EEF1F6}
.acc-n{font-family:'JetBrains Mono',monospace;font-weight:600;color:var(--navy);flex:0 0 34px}

@media (max-width:1000px){.grid4{grid-template-columns:repeat(2,minmax(0,1fr))}.grid3{grid-template-columns:1fr}.hero-art{display:none}.hero h1{font-size:36px}}
@media (max-width:600px){.grid4,.grid2,.choice{grid-template-columns:1fr}.topnav{display:none}.auth-card{padding:22px}}
.md-table td{white-space:nowrap}
@media (max-width:600px){.topbar-in{gap:6px 8px;padding:8px 12px}.topbar .btn{padding:0 10px;min-height:40px}.quota-chip{font-size:12px;padding:4px 8px}.brand{font-size:18px}}

/* Прикачени файлове */
.attach{flex:0 0 48px;height:48px;padding:0}
.pending-files{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.pending-files li{display:flex;align-items:center;gap:4px;background:#F3F5FA;border:1px solid var(--line);border-radius:10px;padding:4px 4px 4px 6px}
.file-rm{width:32px;height:32px;border:0;border-radius:8px;background:transparent;font-size:20px;line-height:1;color:var(--ink-2);cursor:pointer}
.file-rm:hover{background:#fff;color:var(--red-t)}
.msg-files{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.file-chip{display:inline-flex;align-items:center;gap:8px;max-width:240px;color:var(--ink);text-decoration:none;font-size:14px}
.file-chip span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.file-chip.is-image img{display:block;max-width:220px;max-height:160px;border-radius:8px;border:1px solid var(--line)}
.pending-files .file-chip.is-image img{max-width:72px;max-height:56px}
.file-ic{flex:0 0 auto;padding:3px 6px;border-radius:6px;background:var(--navy);color:#fff;font-size:11px;font-weight:700;letter-spacing:.04em}
.msg-failed{opacity:.6}
.col-chat.is-drop{outline:3px dashed var(--navy);outline-offset:-6px}

/* Моят напредък */
.progress-panel .eyebrow{margin-bottom:4px}
.pg-resume{background:var(--paper);border:1px solid var(--red-bd);border-radius:10px;padding:10px 12px;margin-bottom:12px}
.pg-task{margin:2px 0 10px;font-size:14px;color:var(--ink)}
.pg-focus{margin-bottom:12px}
.pg-focus ul{margin:4px 0 0;padding-left:18px;font-size:14px;display:flex;flex-direction:column;gap:4px}
.pg-topics{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.pg-topic details summary{cursor:pointer;display:grid;grid-template-columns:1fr 64px auto;align-items:center;gap:8px;font-size:14px;list-style:none;padding:4px 0}
.pg-topic details summary::-webkit-details-marker{display:none}
.pg-topic-new .pg-topic-title{color:var(--muted)}
.pg-bar{height:8px;border-radius:999px;background:var(--line-2);overflow:hidden}
.pg-fill{display:block;height:100%;background:var(--navy);border-radius:999px}
.pg-test{color:var(--red-t);font-weight:600}
.pg-skills{list-style:none;margin:4px 0 8px;padding:0 0 0 4px;display:flex;flex-direction:column;gap:4px;font-size:13px;color:var(--ink-2)}
.pg-skills li{display:flex;gap:8px;align-items:flex-start}
.dot{flex:none;width:10px;height:10px;border-radius:50%;margin-top:4px;background:#D5DAE3;display:inline-block}
.st-struggling{background:var(--red)}
.st-practicing{background:#F2A623}
.st-almost{background:#8CC5A0}
.st-mastered{background:#1E8E4E}
.pg-legend{list-style:none;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 12px}
.pg-legend li{display:flex;align-items:center;gap:6px}
.pg-legend .dot{margin-top:0}
.steps-list li.is-current{font-weight:700;color:var(--navy)}
.steps-list li.is-current::marker{color:var(--red)}
.msg-progress{display:flex;flex-wrap:wrap;gap:6px;margin:-4px 0 12px 52px}
.pg-chip{font-size:13px;padding:4px 10px;border-radius:999px;background:var(--navy-bg);color:var(--navy);border:1px solid #C9D6F5}
.pg-chip-active{background:var(--red-bg);color:var(--red-t);border-color:var(--red-bd)}
.pg-chip-mastered,.pg-chip-resolved{background:#E8F6EE;color:#17663A;border-color:#B9E2C8}

/* Илюстрации: Т-сметки, Пачиоли, символи */
.chat-log{background-color:#fff;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyODAiIGhlaWdodD0iMjgwIiB2aWV3Qm94PSIwIDAgMjgwIDI4MCI+PGcgZm9udC1mYW1pbHk9Ik1hbnJvcGUsIEFyaWFsLCBzYW5zLXNlcmlmIiBmb250LXdlaWdodD0iODAwIiBmaWxsPSIjMEIyRjhGIiBmaWxsLW9wYWNpdHk9IjAuMDQ1Ij48dGV4dCB4PSIxOCIgeT0iNDIiIGZvbnQtc2l6ZT0iMjYiPtCU0YI8L3RleHQ+PHRleHQgeD0iMjAwIiB5PSI3MCIgZm9udC1zaXplPSIyNiI+0JrRgjwvdGV4dD48dGV4dCB4PSIxMjAiIHk9IjEzMCIgZm9udC1zaXplPSIzMCI+4oKsPC90ZXh0Pjx0ZXh0IHg9IjMwIiB5PSIyMDAiIGZvbnQtc2l6ZT0iMzAiPs6jPC90ZXh0Pjx0ZXh0IHg9IjIxMCIgeT0iMjIwIiBmb250LXNpemU9IjMwIj49PC90ZXh0Pjx0ZXh0IHg9IjEyMCIgeT0iMjYyIiBmb250LXNpemU9IjIyIj4lPC90ZXh0PjwvZz48ZyBzdHJva2U9IiMwQjJGOEYiIHN0cm9rZS1vcGFjaXR5PSIwLjA1IiBzdHJva2Utd2lkdGg9IjMiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCI+PHBhdGggZD0iTTcwIDE1MGg2ME0xMDAgMTUwdjQwIi8+PHBhdGggZD0iTTE5MCAxNDBoNTZNMjE4IDE0MHYzNiIvPjwvZz48L3N2Zz4=");background-size:280px 280px}
.pf-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:18px;align-items:center}
.pf-hero-text{display:flex;flex-direction:column;gap:8px}
.pf-art{background:var(--paper);border:1px solid var(--red-bd);border-radius:16px;padding:10px 12px}
.art{display:block;width:100%;height:auto}
.fact-card{align-items:stretch}
.fact-art{background:var(--paper);border:1px solid var(--red-bd);border-radius:14px;padding:8px 18px;margin-bottom:10px}
.fact-art .art{max-width:190px;margin:0 auto}
.fact-text{font-size:14px;line-height:1.55;color:var(--ink);min-height:6.2em;transition:opacity .25s}
.fact-text.is-fading{opacity:0}
.typing-quill{width:20px;height:20px;margin-right:4px}
.hero-art .sym{position:absolute;font-family:Manrope,sans-serif;font-weight:800;color:var(--navy);opacity:.18;font-size:30px;pointer-events:none}
.hero-art .s1{left:60px;top:44px}.hero-art .s2{right:60px;top:40px}.hero-art .s3{left:170px;top:300px;color:var(--red);opacity:.3}
.hero-art .s4{right:150px;top:300px}.hero-art .s5{left:46px;top:300px}.hero-art .s6{right:44px;top:250px;color:var(--red);opacity:.3}
@media (max-width:760px){.pf-hero{grid-template-columns:1fr}.pf-art{max-width:340px}}
@media (prefers-reduced-motion:no-preference){
  .art-de .de-line{stroke-dasharray:1;stroke-dashoffset:1;animation:de-draw 9s ease-in-out infinite}
  .art-de .de-in{opacity:0;animation:de-in 9s ease-out infinite}
  .art-de .de-a{animation-delay:.9s}.art-de .de-b{animation-delay:1.5s}.art-de .de-c{animation-delay:2.7s}
  .art-de .de-arrow{stroke-dashoffset:1;animation:de-draw 9s ease-in-out infinite;animation-delay:1.9s}
  .art-de .de-pop{opacity:0;transform-box:fill-box;transform-origin:center;animation:de-pop 9s ease-out infinite;animation-delay:3.3s}
  .art-pac .pac-poly{transform-box:fill-box;transform-origin:center;animation:pac-float 6s ease-in-out infinite}
  .art-pac .pac-quill{transform-box:fill-box;transform-origin:0% 100%;animation:pac-write 3.2s ease-in-out infinite}
  .art-pac .pac-ink{stroke-dasharray:1;stroke-dashoffset:1;animation:pac-ink 3.2s ease-in-out infinite}
  .typing-quill{animation:quill 1s ease-in-out infinite;transform-origin:20% 85%}
  .hero-art .sym{animation:sym-float 7s ease-in-out infinite}
  .hero-art .s2{animation-delay:-2s}.hero-art .s3{animation-delay:-4s}.hero-art .s4{animation-delay:-1s}.hero-art .s5{animation-delay:-3s}.hero-art .s6{animation-delay:-5s}
}
@keyframes de-draw{0%{stroke-dashoffset:1}10%,80%{stroke-dashoffset:0}90%,100%{stroke-dashoffset:1}}
@keyframes de-in{0%{opacity:0;transform:translateY(8px)}6%,78%{opacity:1;transform:none}88%,100%{opacity:0}}
@keyframes de-pop{0%{opacity:0;transform:scale(.6)}5%{opacity:1;transform:scale(1.08)}8%,74%{opacity:1;transform:scale(1)}84%,100%{opacity:0}}
@keyframes pac-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-6px) rotate(14deg)}}
@keyframes pac-write{0%{transform:translate(-48px,0) rotate(-4deg)}18%{transform:translate(-36px,-3px) rotate(-1deg)}36%{transform:translate(-24px,0) rotate(-3deg)}54%{transform:translate(-12px,-3px) rotate(0)}70%,86%{transform:translate(0,0) rotate(2deg)}100%{transform:translate(-48px,0) rotate(-4deg)}}
@keyframes pac-ink{0%{stroke-dashoffset:1}70%,86%{stroke-dashoffset:0}100%{stroke-dashoffset:1}}
@keyframes quill{0%,100%{transform:rotate(0) translateX(0)}50%{transform:rotate(-8deg) translateX(3px)}}
@keyframes sym-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}

.chat-log:empty{display:none}
@media (max-width:1100px){.pf-hero{grid-template-columns:1fr}.pf-art{max-width:460px}}

/* Приложение и напомняния */
.app-card .small{margin:0 0 10px}
.app-ios{background:var(--navy-bg);border-radius:10px;padding:8px 10px;margin-bottom:10px}
.app-ios p{margin:0}
.ios-share{width:14px;height:17px;vertical-align:-3px;color:var(--navy)}
