/* kAPPel.ru V5.9.5: ONE responsive container for all root-site pages.
   Scoped to .k594-site-shell: app cards/subdomains, ad markup and app CSS unchanged. */
body.k594-site-shell .wrap,
body.k594-site-shell .k4-global-header .wrap,
body.k594-site-shell .k4-footer .wrap {
  box-sizing:border-box;
  width:min(1460px,calc(100% - 56px));
  max-width:1460px;
  margin-left:auto;
  margin-right:auto;
}
body.k594-site-shell .k4-header-inner {max-width:1460px}
body.k594-site-shell #main-content {min-width:0}
body.k594-site-shell .k595-hero *,
body.k594-site-shell .k595-hero-search * {box-sizing:border-box}
body.k594-site-shell .k595-hero {
  display:grid;grid-template-columns:minmax(0,1.63fr) minmax(275px,.72fr);
  align-items:stretch;gap:24px;margin-top:25px;padding:clamp(25px,3.5vw,51px);
  overflow:hidden;border:1px solid #dce7f5;border-radius:26px;
  background:radial-gradient(circle at 76% 6%,rgba(180,226,247,.58),transparent 44%),
             radial-gradient(circle at 6% 99%,rgba(210,219,255,.73),transparent 46%),
             linear-gradient(125deg,#edf3ff 0%,#f8fbff 61%,#ecf9f9 100%);
  box-shadow:0 12px 38px rgba(31,63,103,.035);
}
body.k594-site-shell .k595-hero-main{min-width:0;align-self:center}
body.k594-site-shell .k595-eyebrow{
  display:inline-flex;align-items:center;gap:9px;margin-bottom:17px;color:#315bc8;
  font-weight:750;font-size:12px;letter-spacing:.035em;text-transform:uppercase;
}
body.k594-site-shell .k595-eyebrow-dot{width:8px;height:8px;border-radius:50%;background:#2673ff;box-shadow:0 0 0 4px #2673ff1d}
body.k594-site-shell .k595-hero h1{
  margin:0;max-width:740px;color:#142748;line-height:1.07;letter-spacing:-.046em;
  font-size:clamp(37px,3.75vw,59px);font-weight:800;
}
body.k594-site-shell .k595-hero h1 span{color:#3264dc}
body.k594-site-shell .k595-hero-description {
  max-width:630px;margin:18px 0 23px;color:#51647e;font-size:16px;line-height:1.65;
}
body.k594-site-shell .k595-hero-search {
  display:flex;align-items:center;gap:12px;width:min(100%,690px);min-height:61px;
  padding:7px 8px 7px 19px;background:#fff;border:1px solid #dbe5f4;
  border-radius:15px;box-shadow:0 10px 27px #284e8a14;
}
body.k594-site-shell .k595-hero-search svg {flex-shrink:0;color:#72829b}
body.k594-site-shell .k595-hero-search input[type=search] {
  flex:1;min-width:0;width:100%;border:0!important;outline:0!important;
  padding:10px 0!important;background:transparent!important;box-shadow:none!important;
  color:#23354e;font-family:inherit;font-size:15px;
}
body.k594-site-shell .k595-hero-search input::placeholder{color:#98a3b5}
body.k594-site-shell .k595-hero-search button{
  flex:0 0 auto;min-height:45px;padding:11px 25px;margin:0;border:0;border-radius:11px;
  background:#116af5;color:#fff;font-size:14px;font-weight:700;cursor:pointer;
}
body.k594-site-shell .k595-hero-search button:hover{background:#075bd6}
body.k594-site-shell .k595-hero-search:focus-within{border-color:#5791e8;box-shadow:0 0 0 3px #3778ee22,0 10px 27px #284e8a14}
body.k594-site-shell .k595-hero-advantages{display:flex;flex-wrap:wrap;gap:11px 19px;margin-top:19px;color:#5c7291;font-size:12px}
body.k594-site-shell .k595-hero-advantages span{white-space:nowrap}
body.k594-site-shell .k595-hero-sidebar{
  min-width:0;align-self:stretch;padding:22px;border:1px solid #e6ebf4;border-radius:18px;
  background:#fff;box-shadow:0 11px 28px #264c7810;
}
body.k594-site-shell .k595-sidebar-head{display:flex;gap:10px;align-items:center;margin-bottom:12px;color:#1e304e;font-size:16px}
body.k594-site-shell .k595-sidebar-icon{display:grid;place-items:center;background:#eef4ff;color:#3267d4;border-radius:10px;width:36px;height:36px;font-size:24px;line-height:1}
body.k594-site-shell .k595-sidebar-link{
  display:flex;gap:12px;justify-content:space-between;align-items:center;
  border-bottom:1px solid #f0f3f8;padding:10px 2px;color:#344862;font-size:14px;
}
body.k594-site-shell .k595-sidebar-link:hover{color:#0d6af5}
body.k594-site-shell .k595-sidebar-link span:last-child{color:#93a5c4;font-size:17px}
body.k594-site-shell .k595-sidebar-all{display:inline-flex;gap:9px;align-items:center;margin:13px 0 5px;font-size:13px;font-weight:700;color:#2865d7}
body.k594-site-shell .k595-sidebar-stat{margin-top:16px;border-top:1px solid #eef2f8;padding-top:14px;color:#7486a0;font-size:12px}
body.k594-site-shell .k595-sidebar-stat strong{color:#2e5fc4;font-size:16px}
body.k594-site-shell .k595-sidebar-empty{color:#73849e;font-size:13px;line-height:1.5}
body.k594-site-shell .k595-visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
body.k594-site-shell .k595-hero :is(button,input,a):focus-visible{outline:3px solid #87b7ff;outline-offset:3px}
body.k594-site-shell .k595-categories{margin-top:31px;scroll-margin-top:24px}
body.k594-site-shell .k595-categories .section-title{margin-bottom:14px}
body.k594-site-shell .k595-categories .chip{display:inline-flex;align-items:center;gap:10px;font-size:13px}
body.k594-site-shell .k595-categories .chip span{color:#9caece}
body.k594-site-shell .k595-apps-section{margin-top:33px}
body.k594-site-shell .app-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
body.k594-site-shell .app-card{min-width:0;padding:15px;gap:13px}
body.k594-site-shell .app-content{min-width:0}
body.k594-site-shell .app-content strong{font-size:14px}
body.k594-site-shell .card-facts{display:block;white-space:normal;line-height:1.5;font-variant-numeric:tabular-nums}
body.k594-site-shell .k593-layout{grid-template-columns:minmax(0,1fr) 285px;gap:23px}
body.k594-site-shell .kplus-legal{max-width:100%}
@media(max-width:1200px){
  body.k594-site-shell .app-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.k594-site-shell .k595-hero{grid-template-columns:minmax(0,1.5fr) minmax(245px,.7fr);gap:18px;padding:32px}
  body.k594-site-shell .k595-hero-advantages{gap:9px}
}
@media(max-width:900px){
  body.k594-site-shell .wrap,
  body.k594-site-shell .k4-global-header .wrap,
  body.k594-site-shell .k4-footer .wrap{width:calc(100% - 36px)}
  body.k594-site-shell .k595-hero{grid-template-columns:1fr;padding:31px;gap:21px}
  body.k594-site-shell .k595-hero-sidebar{padding:19px}
  body.k594-site-shell .k595-hero-sidebar .k595-sidebar-link{display:inline-flex;width:49%;gap:8px;padding-right:16px}
  body.k594-site-shell .app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.k594-site-shell .k593-layout{grid-template-columns:1fr}
}
@media(max-width:620px){
  body.k594-site-shell .wrap,
  body.k594-site-shell .k4-global-header .wrap,
  body.k594-site-shell .k4-footer .wrap{width:calc(100% - 28px)}
  body.k594-site-shell .k595-hero{margin-top:14px;padding:24px 19px;border-radius:20px;gap:19px}
  body.k594-site-shell .k595-hero h1{font-size:clamp(32px,9vw,43px)}
  body.k594-site-shell .k595-hero-description{font-size:14px;margin:14px 0 18px}
  body.k594-site-shell .k595-hero-search{gap:8px;padding:6px 6px 6px 12px;min-height:56px}
  body.k594-site-shell .k595-hero-search input[type=search]{font-size:13px}
  body.k594-site-shell .k595-hero-search button{padding:10px 14px;min-height:42px}
  body.k594-site-shell .k595-hero-advantages{margin-top:13px;gap:8px 12px;font-size:11px}
  body.k594-site-shell .k595-sidebar-link{font-size:13px}
  body.k594-site-shell .k595-hero-sidebar .k595-sidebar-link{display:flex;width:100%;padding-right:0}
  body.k594-site-shell .app-grid{grid-template-columns:1fr;gap:10px}
  body.k594-site-shell .k595-categories{margin-top:25px}
  body.k594-site-shell .k595-apps-section{margin-top:30px}
  body.k594-site-shell .app-content strong{font-size:14px}
}
