body.is-documents-page { background: #0b0b0b; }
.documents-page { min-height: 100vh; overflow-x: clip; background: #0b0b0b; color: #eee; color-scheme: dark; }
.documents-page .site-header { background: #101010; border-bottom: 1px solid #ffffff14; }
.documents-page .header-inner { width: min(1720px,calc(100% - 80px)); min-height: 76px; padding: 12px 0; gap: 32px; }
.documents-page .brand { width: auto; flex-direction: row; gap: 10px; margin-right: auto; }
.documents-page .brand-elephant { width: 48px; height: 36px; margin: 0; }
.documents-page .brand span { font: 700 14px/1.2 Arial,Helvetica,sans-serif; letter-spacing: -.3px; color: #fff; }
.documents-page .site-header nav { flex: none; gap: 30px; }
.documents-page .site-header nav a { font-size: 14px; font-weight: 600; }
.documents-page .languages { padding: 3px; border: 1px solid #ffffff20; border-radius: 7px; font-size: 11px; }
.documents-page .languages a { padding: 6px; color: #aaa; }
.documents-page .languages a[aria-current] { background: #ffffff12; color: #fff; }
.library-container { --library-top-space: 36px; width: min(1720px,calc(100% - 80px)); margin: auto; padding: var(--library-top-space) 0 74px; }
.library-intro { position: relative; isolation: isolate; padding-bottom: 20px; }
.library-intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  top: calc(-1 * var(--library-top-space));
  bottom: 0;
  left: calc(50% - 50vw);
  right: calc(50% - 50vw);
  background: linear-gradient(180deg, rgba(11,11,11,.14) 0%, rgba(11,11,11,.08) 40%, #0b0b0b 100%), linear-gradient(90deg, rgba(11,11,11,.94) 0%, rgba(11,11,11,.82) 40%, rgba(11,11,11,.55) 100%), url('assets/site/11062b_cca29298dbe547f4983e127aba1c1966f000.jpg') center 46% / cover no-repeat;
}
.library-heading { max-width: 800px; margin-bottom: 34px; }
.library-heading h1 { color: #fafafa; font: 600 clamp(36px,4vw,64px)/1.1 Arial,Helvetica,sans-serif; letter-spacing: -.045em; }
.library-heading>p:last-child { color: #aaa; font-size: 17px; line-height: 1.65; margin-top: 20px; max-width: 640px; }
.library-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.library-chips button { background: #ffffff04; border: 1px solid #ffffff26; color: #ccc; border-radius: 9px; padding: 10px 17px; font-size: 13px; line-height: 1.3; }
.library-chips button[aria-pressed=true] { background: #ffffff16; border-color: #ffffff80; color: #fff; }
.library-chips button[data-document-kind=exchange][aria-pressed=true] { border-color: #e23b45; background: #e23b4518; }
.library-chips button[data-document-kind=repair][aria-pressed=true] { border-color: #09bc77; background: #09bc7718; }
.library-filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr .7fr; gap: 15px; padding: 22px 0; border-top: 1px solid #ffffff16; }
.library-filters label { min-width: 0; display: flex; flex-direction: column; gap: 8px; color: #aaa; font-size: 12px; }
.library-filters input,.library-filters select { width: 100%; min-width: 0; background: #171717; color: #eee; border: 1px solid #ffffff24; border-radius: 8px; min-height: 46px; padding: 12px; font-size: 13px; }
.library-search>span { position: relative; display: block; }
.library-search input { padding-left: 40px; }
.library-search svg { position: absolute; left: 13px; top: 15px; width: 16px; height: 16px; fill: none; stroke: #999; stroke-width: 1.5; pointer-events: none; }
.library-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 19px; }
.library-card { --card-accent: #09bc77; --card-rgb: 9,188,119; --card-border: #09bc7766; display: flex; flex-direction: column; border: 1px solid var(--card-border); border-radius: 18px; overflow: hidden; background: #151515; transition: border-color .2s,background .2s; }
.library-card[data-kind=exchange] { --card-accent: #ed4a52; --card-rgb: 237,74,82; --card-border: #ed4a5266; }
.library-card[data-kind=setup] { --card-accent: #eee; --card-rgb: 238,238,238; --card-border: #eeeeee66; }
.library-card:hover { background: #1a1a1a; border-color: var(--card-accent); }
.library-card-meta { display: flex; justify-content: space-between; gap: 11px; border-bottom: 1px solid #ffffff0e; padding: 13px 17px; color: var(--card-accent); font-size: 11px; line-height: 1.3; }
.library-card-meta>span:last-child { color: #999; letter-spacing: .1em; font-size: 10px; }
.library-card-art { display: flex; align-items: center; justify-content: space-between; gap: 17px; padding: 24px 20px; min-height: 148px; background: rgba(var(--card-rgb),.035); border-bottom: 1px solid #ffffff08; }
.library-icon-frame { position: relative; flex: 0 0 88px; height: 96px; display: flex; align-items: center; justify-content: center; border: 1px solid rgba(var(--card-rgb),.19); border-radius: 18px; background: rgba(var(--card-rgb),.035); }
.library-card-icon { display: block; width: 62px; height: 76px; background: var(--card-accent); -webkit-mask: var(--document-icon) center/contain no-repeat; mask: var(--document-icon) center/contain no-repeat; }
.library-program-mark { position: absolute; right: -6px; bottom: -7px; padding: 4px 7px; border: 1px solid rgba(var(--card-rgb),.5); border-radius: 6px; background: #151515; color: var(--card-accent); font-size: 10px; font-weight: 700; line-height: 1.2; }
.library-card[data-service=vip] .library-icon-frame { border-radius: 50%; outline: 1px solid rgba(var(--card-rgb),.13); outline-offset: 4px; }
.library-card[data-service=iphone] .library-icon-frame { border-radius: 24px; border-width: 2px; }
.library-card[data-service=repair] .library-icon-frame { border-radius: 12px 26px 12px 26px; }
.library-card[data-service=care] .library-icon-frame { border-radius: 50%; }
.library-card[data-service=universal] .library-icon-frame { border-style: dashed; }
.library-card[data-service=setup] .library-icon-frame { border-radius: 10px; }
.library-card[data-service=transport] .library-icon-frame { flex-basis: 96px; height: 80px; border-radius: 24px; }
.library-card[data-service=transport] .library-card-icon { width: 76px; height: 60px; }
.library-card-art>span { font-size: clamp(17px,1.3vw,24px); font-weight: 600; letter-spacing: -.045em; color: #eee; text-align: right; overflow-wrap: anywhere; }
.library-card-copy { display: flex; flex-direction: column; flex: 1; padding: 19px; }
.library-card-partner { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #999; font-size: 11px; margin-bottom: 12px; }
.library-partner-brand { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.library-partner-brand>span:last-child { overflow-wrap: anywhere; }
.library-partner-logo-wrap { display: flex; align-items: center; justify-content: center; flex: 0 0 76px; width: 76px; height: 32px; padding: 4px 6px; border-radius: 6px; background: #f4f4f2; }
.library-partner-logo { width: 100%; height: 100%; object-fit: contain; filter: none; }
.library-partner-brand[data-partner="ассоль"] .library-partner-logo-wrap { background: #292929; border: 1px solid #ffffff20; }
.library-card-partner>span:last-child { flex-shrink: 0; white-space: nowrap; }
.library-card h2 { color: var(--card-accent); font-size: 16px; font-weight: 500; letter-spacing: -.02em; line-height: 1.5; margin: 0 0 22px; overflow-wrap: anywhere; }
.library-card-actions { display: flex; align-items: center; gap: 9px; margin-top: auto; }
.library-card-actions>a { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--card-accent); padding: 11px 14px; border-radius: 9px; font-size: 12px; flex: 1; background: rgba(var(--card-rgb),.04); color: var(--card-accent); }
.library-card-actions>a:hover { background: rgba(var(--card-rgb),.1); border-color: var(--card-accent); }
.library-note { margin: 30px 0 0; max-width: 720px; color: #888; font-size: 12px; line-height: 1.7; }
.library-empty { padding: 65px 19px; text-align: center; border: 1px dashed #ffffff30; border-radius: 16px; }
.library-empty h2 { font-size: 26px; font-weight: 500; margin-bottom: 14px; }
.library-empty p { color: #aaa; font-size: 14px; }
.library-empty button { border: 1px solid #ffffff50; border-radius: 8px; background: #ffffff10; padding: 12px 20px; margin-top: 26px; }
.documents-page .site-footer { background: #101010; color: #bbb; border-top: 1px solid #ffffff16; }
@media(max-width:1250px) { .library-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } .documents-page .site-header nav { gap: 20px; } }
@media(max-width:1000px) { .library-filters { grid-template-columns: 1fr 1fr; } .documents-page .header-inner,.library-container { width: calc(100% - 48px); } .documents-page .site-header nav { display: none; } .documents-page .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 34px; height: 36px; padding: 7px; background: transparent; border: 1px solid #ffffff30; border-radius: 6px; } .documents-page .menu-toggle span { width: 100%; height: 1px; background: #eee; } .documents-page .languages { order: 2; } .documents-page .menu-toggle { order: 3; } .documents-page .menu-open nav { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #141414; padding: 20px 24px; flex-direction: column; align-items: flex-start; border-bottom: 1px solid #ffffff20; } .library-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .documents-page .header-inner { min-height: 64px; gap: 10px; } .documents-page .brand span { font-size: 11px; } .documents-page .brand-elephant { width: 36px; height: 30px; } .documents-page .brand { gap: 5px; } .documents-page .languages { gap: 0; padding: 1px; font-size: 9px; } .documents-page .languages a { padding: 5px 4px; } .documents-page .header-inner,.library-container { width: calc(100% - 36px); } .library-container { --library-top-space: 22px; } .library-heading { margin-bottom: 26px; } .library-heading>p:last-child { font-size: 15px; } .library-chips { gap: 8px; } .library-chips button { padding: 9px 12px; font-size: 12px; } .library-filters { gap: 15px 11px; } .library-search { grid-column: 1 / -1; } .library-filters label:last-child { grid-column: 1 / -1; } .library-grid { grid-template-columns: 1fr; gap: 15px; } .library-card-art { padding: 22px; min-height: 120px; } .library-card-art>span { font-size: 25px; } .library-card h2 { font-size: 17px; } }
