
:root{--ink:#131f39;--muted:#4e5e75;--blue:#254fc5;--blue2:#183eaa;--ice:#eaf0ff;--paper:#f4f6fb;--white:#fff;--line:#dce4ef;--gold:#ffda8b;--green:#146856;--mint:#e5f5ee;--shadow:0 12px 30px #2139570d}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8a5700;outline-offset:3px}.shell{max-width:1220px;margin:auto;padding:0 26px}.bar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.mast{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:72px}.brand{display:flex;gap:11px;align-items:center;min-width:0}.logo{height:42px;width:42px;border-radius:10px;background:#fff;border:1px solid #d5deed;display:grid;place-items:center;flex:none}.logo img{display:block;width:30px;height:36px;border-radius:4px}.brand strong,.brand small{display:block}.brand strong{font-size:15px;line-height:1.15}.brand small{font-size:10px;color:var(--muted);letter-spacing:.065em;margin-top:3px}.demo{background:#ffefd0;color:#6b4500;border:1px solid #ead3a5;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;white-space:nowrap}.tabs{display:flex;gap:3px;flex-wrap:wrap}.tab{border:0;background:transparent;color:var(--muted);padding:9px 13px;border-radius:10px;font-weight:700}.tab[aria-current=page]{background:var(--ice);color:var(--blue2)}.tab:disabled{opacity:1}.layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(265px,.77fr);gap:22px;margin-top:27px;margin-bottom:32px}.hero{position:relative;overflow:hidden;padding:32px 35px 36px;background:#14284f;border-radius:24px;color:#fff;box-shadow:var(--shadow);isolation:isolate}.hero:after,.hero:before{content:"";position:absolute;z-index:-1;border:1px solid #7899eb5f;border-radius:50%;width:310px;height:310px;right:-80px;top:-150px;background:#2c55ab35}.hero:before{right:-16px;top:-151px;background:none}.over{font-size:11px;font-weight:850;letter-spacing:.15em;text-transform:uppercase;color:#9eb9fe}.hero h1{font-size:clamp(34px,5vw,59px);line-height:1.0;letter-spacing:-.075em;margin:12px 0 14px;max-width:570px}.hero p{max-width:510px;margin:0;color:#dbe6ff;font-size:16px}.hero .chips{margin-top:22px}.chip{display:inline-flex;align-items:center;border-radius:30px;background:var(--ice);color:#284889;padding:4px 9px;font-size:12px;font-weight:750}.hero .chip{background:#ffffff1a;color:#fff;border:1px solid #ffffff27}.chips{display:flex;flex-wrap:wrap;gap:6px}.content{margin-top:21px}.panel,.card{background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.panel{padding:21px;margin-bottom:16px}.aside .panel{margin:0 0 15px}.aside{min-width:0}.panel h2,.panel h3{margin:0 0 7px;line-height:1.2;letter-spacing:-.028em}.panel p{margin:6px 0 13px}.muted{color:var(--muted)}.mini{font-size:13px}.eyebrow{display:block;color:var(--blue2);font-weight:850;font-size:10px;letter-spacing:.13em;text-transform:uppercase;margin-bottom:8px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:6px;border:1px solid transparent;border-radius:10px;padding:9px 13px;min-height:42px;font-weight:770;background:var(--blue);color:#fff;text-decoration:none}.btn:hover{background:var(--blue2)}.btn.secondary{background:#fff;border-color:#cdd9ee;color:var(--blue2)}.btn.secondary:hover{background:var(--ice)}.btn.quiet{padding:8px 0;background:transparent;color:var(--blue2);text-decoration:underline;min-height:34px}.btn.gold{background:var(--gold);color:#382600}.btn.gold:hover{background:#f9c665}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.hint{background:#edf3ff;border-radius:11px;padding:11px 13px;color:#254776;font-size:13px}.card{padding:19px;margin:0 0 12px}.cardhead{display:flex;align-items:center;gap:12px}.avatar{flex:none;width:47px;height:47px;border-radius:14px;display:grid;place-items:center;font-weight:900;color:#19356d;background:#dce7fe;font-size:16px}.a1{background:#def1e7;color:#154e3c}.a2{background:#f7e7cd;color:#653e0c}.title{font-weight:850;font-size:18px;line-height:1.15;margin:0 0 3px}.trust{margin-left:auto;background:var(--mint);color:var(--green);font-size:11px;border-radius:20px;padding:4px 8px;white-space:nowrap;font-weight:760}.points{margin:14px 0;display:grid;gap:7px}.points div{display:grid;grid-template-columns:104px 1fr;gap:8px}.points strong{color:var(--blue2);font-size:13px}.filter{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:11px 0 13px}.filter input{grid-column:1/-1}.field{width:100%;border:1px solid #bdcbe2;border-radius:9px;background:#fff;color:var(--ink);padding:9px 10px;min-height:42px}textarea.field{min-height:77px;resize:vertical}.label{display:block;margin:10px 0;font-weight:700}.label span{display:block;margin-bottom:4px}.headline{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:15px 0 8px}.headline h2{margin:0;font-size:23px;letter-spacing:-.04em}.meter{height:6px;background:#edf0f7;border-radius:9px;overflow:hidden;margin:11px 0}.meter div{height:100%;background:var(--blue);border-radius:9px}.step{display:flex;gap:10px;align-items:flex-start;margin:11px 0}.step>i{flex:none;display:grid;place-items:center;font-style:normal;font-weight:850;width:25px;height:25px;border-radius:50%;background:var(--ice);color:var(--blue2);font-size:12px}.step b{display:block;color:var(--ink)}.badge{background:#eef1f7;border-radius:8px;padding:4px 8px;font-size:12px;color:#304669}.vip{background:#162b53;color:#fff;border-color:#162b53}.vip .muted{color:#d5e0f8}.vip .eyebrow{color:#ffda8b}.foot{padding:9px 0 23px;color:var(--muted);font-size:12px}.state{display:inline-block;font-size:12px;color:#384a68;background:#eff3fa;padding:5px 8px;border-radius:8px;margin-right:5px}.ok{background:var(--mint);color:var(--green)}.msg{background:#eff3fa;border-radius:13px;padding:9px 12px;margin:8px 0;max-width:86%;white-space:pre-wrap;overflow-wrap:anywhere}.msg.me{margin-left:auto;background:var(--ice);color:#1c3c82}.chatlog{padding:8px;border:1px solid var(--line);border-radius:13px;min-height:90px;max-height:300px;overflow:auto}.chatForm{display:flex;gap:8px;margin:10px 0}.chatForm input{flex:1;min-width:0}.payload{overflow-wrap:anywhere}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}#toast{position:fixed;bottom:15px;right:17px;background:#162b53;color:#fff;padding:10px 14px;border-radius:10px;z-index:12;max-width:calc(100vw - 34px);box-shadow:var(--shadow)}#toast:empty{display:none}.split{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.entry{display:flex;gap:8px;flex-wrap:wrap}.entry .btn{min-width:111px}.route{max-width:42ch}
@media (max-width:760px){.shell{padding:0 14px}.mast{min-height:59px;flex-wrap:wrap;padding:9px 0;gap:7px}.tabs{width:100%;justify-content:space-between}.tab{font-size:13px;padding:7px 8px}.layout{grid-template-columns:1fr;margin-top:13px;gap:0}.hero{padding:24px 20px;border-radius:17px}.hero h1{font-size:39px;margin:8px 0 11px}.hero p{font-size:14px}.panel,.card{padding:15px}.trust{font-size:10px;max-width:106px;white-space:normal;text-align:center}.points div{grid-template-columns:88px 1fr}.split{grid-template-columns:1fr}.aside{margin-top:8px}.filter{gap:7px}.foot{padding-bottom:22px}}@media(max-width:350px){.brand small{display:none}.tab{padding:7px 4px}.avatar{width:39px;height:39px}.title{font-size:16px}}

/* Дополнения к исходной визуальной системе, 02.12.2026 */
.field{min-width:0;max-width:100%}.panel,.card,.content,.layout>div,.cardhead>div{min-width:0;overflow-wrap:anywhere}.mast{flex-wrap:wrap}.tab{max-width:100%}.help{font-weight:400;line-height:1.45;color:var(--muted);font-size:13px;margin:6px 0}.choice{display:flex;align-items:flex-start;gap:8px;font-weight:400;margin:12px 0}.choice input{margin-top:5px;flex:none}.status-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}.status-row select{max-width:100%}.swipe-card{touch-action:pan-y}.swipe-card .cardhead{align-items:flex-start;flex-wrap:wrap}.swipe-card .trust{margin-left:0}.tagline{font-size:12px;color:var(--muted)}.mini-photo{width:48px;height:48px;border-radius:12px;object-fit:cover}.note-error{color:#8e290c}.stage-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}.panel h2:focus{outline:none}.control-group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.control-group>*{min-width:0}.field:focus{outline:2px solid #8a5700;outline-offset:1px}.field::placeholder{color:#68758a}.filter input,.filter select{min-width:0}.reportbox{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit}.demo-status{font-size:12px;color:var(--muted)}.preview-copy{white-space:pre-wrap;overflow-wrap:anywhere}.panel h2{scroll-margin-top:135px}.hero h1{overflow-wrap:normal}.avatar img{max-width:100%;max-height:100%} @media(max-width:400px){.hero h1{font-size:34px}.points div{grid-template-columns:1fr;gap:2px}.btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}.filter{grid-template-columns:1fr}.filter input{grid-column:auto}.mast .demo{white-space:normal}.tabs{justify-content:flex-start}.cardhead{flex-wrap:wrap}.cardhead .trust{margin-left:0}.hero{padding:20px 16px}.shell{padding:0 12px}.tab{padding:7px}.actions{gap:7px}.status-row{align-items:flex-start;flex-direction:column}.status-row select{width:100%}}
.storage-notice{position:fixed;z-index:30;bottom:12px;left:12px;right:12px;max-width:680px;margin:auto;padding:14px;background:#fff8e6;border:2px solid #9a6200;border-radius:12px;box-shadow:0 6px 24px #17294b33;overflow-wrap:anywhere}.storage-notice p{margin:0 0 8px}.storage-notice[hidden]{display:none}

/* Финальная визуальная полировка: существующая фирменная палитра, без внешних ресурсов. */
.brand strong{font-size:19px;letter-spacing:-.03em}.brand small{line-height:1.35;letter-spacing:.035em;white-space:normal}
.brand>div:last-child{min-width:0}.hero h1{letter-spacing:-.045em}.panel h2,.panel h3{line-height:1.27}
.btn,.tab,.field{min-height:44px}.tab{border-radius:11px}.actions{gap:9px}.cardhead{align-items:flex-start}
.chatlog{padding:14px;min-height:160px;background-color:#f1f5fb;background-image:radial-gradient(circle,#9eb9fe40 1px,transparent 1px);background-size:18px 18px}.msg{background:#fff;border:1px solid #dce4ef;box-shadow:0 2px 6px #2139570b}.msg.me{background:#e2ebff;border-color:#cddcff;color:#19356d}.chatForm{align-items:stretch}
.swipe-card{border-color:#b9c9e6;box-shadow:0 12px 28px #21395714}.swipe-card .actions{margin-top:12px}.choice input{width:18px;height:18px}
@media(max-width:760px){.brand small{font-size:10px}.brand strong{font-size:18px}.tab{padding:7px 8px}.chatForm{flex-wrap:wrap}.chatForm input{flex:1 1 150px}.chatForm button{flex:0 0 auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.pd-assist{display:flex;align-items:center;gap:12px;padding:12px 14px;margin:16px 0;background:#f0f4ff;border:1px solid #cfdbfc;border-radius:14px;color:#183369}
.pd-assist strong,.pd-assist small{display:block}.pd-assist small{color:#405679;line-height:1.35;margin-top:3px}.pd-assist button{margin-left:auto}
.pd-mark{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:12px;background:#1a376c;color:white;font-weight:800;font-size:18px}
.pd-section{margin:18px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:18px}
.pd-mobile{display:none}.pd-quick{display:none}.pd-mobile button,.pd-quick{border:0;background:transparent;color:var(--blue2);font-weight:700;min-height:44px}
.pd-dialog{box-sizing:border-box;width:min(480px,calc(100% - 24px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid #c5d2ed;border-radius:18px;padding:22px;color:var(--ink);box-shadow:0 12px 50px #12244533}
.pd-dialog::backdrop{background:#10254575}.pd-dialog h2{margin:0}.pd-dialog label{display:block;font-weight:650;margin-top:10px}.pd-dialog textarea,.pd-dialog select{width:100%;margin-top:5px}.pd-dialog textarea{min-height:100px}.pd-dialog .actions{margin-top:16px}
.pd-progress{font-size:13px;font-weight:600;color:#304e76}.pd-dialog button,.pd-assist button{min-height:44px}
@media(max-width:760px){.bar .mast{display:flex;flex-flow:row nowrap;justify-content:space-between;align-items:center;min-height:58px}.mast #nav{display:none}.brand,.brand>div{min-width:0}.brand small{font-size:9px;white-space:normal}.brand strong{font-size:17px}.bar .demo{font-size:10px;max-width:95px;flex-shrink:0}.layout{margin-top:12px}.pd-quick{display:inline-flex;align-items:center;padding:0 4px}.pd-mobile{position:fixed;bottom:0;left:0;right:0;z-index:6;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border-top:1px solid #ced8e8;padding:3px 4px max(3px,env(safe-area-inset-bottom))}.pd-mobile button{min-width:0;background:white;line-height:1.1;border-radius:9px;font-size:13px;overflow-wrap:anywhere}.pd-mobile button[aria-current=page]{background:#e8efff;color:#163eaa}.foot{padding-bottom:calc(75px + env(safe-area-inset-bottom))}html{scroll-padding-bottom:72px;scroll-padding-top:68px}.pd-assist{flex-wrap:wrap;gap:8px}.pd-assist>div{flex:1;min-width:110px}.pd-assist button{margin:0}.storage-notice,#toast{bottom:calc(62px + env(safe-area-inset-bottom))}.pd-dialog{padding:16px}.actions{align-items:stretch}.content{margin-top:0}}
@media(max-width:360px){.brand small{max-width:122px}.pd-quick{font-size:13px}.pd-assist .btn{width:100%}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:0s!important;transition-duration:0s!important;scroll-behavior:auto!important}}
.card .actions .btn,.foot .btn,.panel .btn.quiet{min-height:44px;min-width:44px}
.choice{min-height:44px;align-items:center}.choice input{margin-top:0}
.hero .pd-primary{position:relative;display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0}.hero .pd-primary .btn{min-height:44px;background:white;color:#183eaa;border:1px solid white}.hero .pd-primary .secondary{background:transparent;color:white;border:1px solid #c5d5ff}
@media(max-width:760px){.hero .over,.hero:has(.pd-primary) .chips{display:none}.hero:has(.pd-primary) h1{font-size:clamp(28px,6.6vw,36px);line-height:1.04}.hero:has(.pd-primary) h1 br{display:none}.hero:has(.pd-primary){padding:17px 16px}.hero:has(.pd-primary) p{margin:8px 0}.hero:has(.pd-primary) .actions .btn{font-size:14px}}

.pd-surface .layout{align-items:start}.pd-surface .pd-nav{display:flex;flex-wrap:wrap;gap:4px}.pd-surface .btn{overflow-wrap:anywhere;white-space:normal}.pd-surface .field{font-weight:500}.pd-surface .hero{margin:0 0 16px}.pd-surface .layout{margin-top:24px}.pd-surface h1,.pd-surface h2{scroll-margin:72px}.pd-surface pre{white-space:pre-wrap;overflow-wrap:anywhere}.pd-surface .state{max-width:100%}.pd-surface [hidden]{display:none!important}.pd-surface #notice{color:#234575}.pd-surface #notice:not(:empty){border-radius:8px;background:#edf2fd;padding:8px 12px}.pd-surface #view{margin:0}.pd-surface #view h2:first-child{margin-top:0}.pd-surface .pd-blank{font-size:14px;color:var(--muted)}.pd-surface .card p{white-space:pre-wrap}.pd-surface .actions a{text-decoration:none;display:inline-flex;align-items:center}.pd-surface .msg{white-space:pre-wrap}.pd-surface .stamp{font-size:12px;color:#425675}.pd-surface .pd-skippable{touch-action:pan-y}.pd-surface .pd-section{margin:16px 0}.pd-surface .preview-copy{white-space:pre-wrap}
@media(max-width:760px){.pd-surface .pd-nav{display:none}.pd-surface .layout{margin-top:12px}.pd-surface aside{margin-bottom:16px}.pd-surface .pd-mobile .tab{padding:5px 2px}.pd-surface .hero h1{font-size:32px}.pd-surface .bar .mast{min-height:56px}}
