/* Q.Re Paris – portail partenaires. Aucune ressource externe (compatible Chine). */
:root {
  --bg: #f6f4f1;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #6f6a64;
  --line: #e6e1da;
  --soft: #faf8f5;
  --accent: #1a1a1a;
  --gold: #a88a5b;
  --ok: #3d7a4f;
  --warn: #a8661b;
  --danger: #a33a32;
  --radius: 2px;
  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.6 var(--font); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }

/* ---------- en-tête ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar-inner { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 24px; }
.brand { font-weight: 600; letter-spacing: 4px; font-size: 18px; text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-sub { color: var(--muted); font-size: 13px; letter-spacing: .5px; border-left: 1px solid var(--line); padding-left: 20px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; font-size: 14px; }
.who { color: var(--muted); text-align: right; line-height: 1.3; }
.who strong { color: var(--ink); font-weight: 500; display: block; }

.lang-switch { display: inline-flex; border: 1px solid var(--line); }
.lang-switch button { background: none; border: 0; padding: 4px 10px; cursor: pointer; font-size: 13px; color: var(--muted); }
.lang-switch button.on { background: var(--ink); color: #fff; }

.tabs { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; gap: 28px; }
.tabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 12px 0; cursor: pointer; color: var(--muted); font-size: 14px; letter-spacing: .3px; }
.tabs button.on { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- mise en page ---------- */
main { max-width: 1180px; margin: 0 auto; padding: 32px 24px 64px; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 28px; margin-bottom: 28px; }
.card h2 { margin: 0 0 4px; font-size: 18px; font-weight: 600; letter-spacing: .2px; }
.card .lead { margin: 0 0 20px; color: var(--muted); font-size: 14px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2 { margin: 0; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 2fr 1fr 1fr; }
@media (max-width: 760px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .topbar-inner { flex-wrap: wrap; gap: 10px 16px; padding: 14px 16px; }
  .brand-sub { display: none; }
  main { padding: 20px 12px 48px; }
  .card { padding: 20px 16px; }
  .tabs { padding: 0 16px; gap: 20px; overflow-x: auto; }
}

/* ---------- formulaires ---------- */
label.field { display: block; }
label.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=search], select, textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px; outline: none; transition: border-color .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
textarea { resize: vertical; min-height: 72px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 10px 20px; cursor: pointer; font-size: 14px; letter-spacing: .3px; text-decoration: none; white-space: nowrap; }
.btn:hover { opacity: .88; }
.btn:disabled { opacity: .4; cursor: default; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--ink); opacity: 1; }
.btn.small { padding: 5px 12px; font-size: 13px; }
.btn.danger { background: transparent; color: var(--danger); border-color: #e7cbc8; }
.btn.block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--muted); cursor: pointer; text-decoration: underline; font-size: 13px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 7px 12px; cursor: pointer; user-select: none; font-size: 14px; background: var(--surface); }
.check input { margin: 0; accent-color: var(--ink); }
.check.on { border-color: var(--ink); background: var(--soft); }
.check.locked { opacity: .7; cursor: default; }
.inline-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.inline-check input { accent-color: var(--ink); }

/* ---------- zone de dépôt ---------- */
.dropzone { border: 1px dashed #c9c1b6; background: var(--soft); padding: 32px 20px; text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dropzone:hover, .dropzone.over { border-color: var(--ink); background: #f3efe9; }
.dropzone .dz-title { font-weight: 500; }
.dropzone .dz-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.filelist { list-style: none; margin: 12px 0 0; padding: 0; }
.filelist li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.filelist li .fname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pwrap { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.pct { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; min-height: 1em; }
.progress { width: 140px; height: 4px; background: var(--line); flex-shrink: 0; }
.progress > div { height: 100%; background: var(--ink); width: 0; transition: width .2s; }
.fstatus { width: 90px; text-align: right; font-size: 12px; color: var(--muted); flex-shrink: 0; }
.fstatus.ok { color: var(--ok); }
.fstatus.err { color: var(--danger); }

/* ---------- tableaux ---------- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .5px; text-transform: uppercase; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td .doc-title { font-weight: 500; }
td .doc-file { color: var(--muted); font-size: 12px; word-break: break-all; }
td .doc-desc { color: var(--muted); font-size: 13px; margin-top: 4px; white-space: pre-line; }
.empty { text-align: center; color: var(--muted); padding: 40px 12px; font-size: 14px; }

.badge { display: inline-block; font-size: 12px; padding: 1px 8px; border: 1px solid var(--line); margin: 0 4px 4px 0; white-space: nowrap; background: var(--surface); }
.badge.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge.gold { border-color: var(--gold); color: var(--gold); }
.badge.ok { color: var(--ok); border-color: #bcd6c3; }
.badge.warn { color: var(--warn); border-color: #e6cfb2; }
.badge.off { color: var(--danger); border-color: #e7cbc8; }

.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters > * { width: auto; min-width: 160px; }
.filters input[type=search] { min-width: 220px; }

/* ---------- partenaires ---------- */
.partner-card { border: 1px solid var(--line); padding: 20px; margin-bottom: 16px; background: var(--surface); }
.partner-card.inactive { opacity: .6; }
.partner-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.partner-head h3 { margin: 0; font-size: 16px; font-weight: 600; }
.partner-head .actions { margin-left: auto; }
.add-user { display: grid; grid-template-columns: 1fr 1.4fr 110px auto; gap: 8px; margin-top: 12px; align-items: center; }
@media (max-width: 760px) { .add-user { grid-template-columns: 1fr; } }

.linkbox { margin-top: 12px; background: var(--soft); border: 1px solid var(--line); padding: 12px; font-size: 13px; }
.linkbox code { display: block; word-break: break-all; margin: 6px 0 10px; font-size: 12px; }

/* ---------- connexion ---------- */
.auth-page { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); padding: 40px 36px 32px; }
.auth-card .brand { display: flex; justify-content: center; font-size: 22px; margin-bottom: 10px; }
.auth-card .brand-logo { height: 72px; }
.auth-card .auth-sub { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 28px; letter-spacing: .5px; }
.auth-card form { display: grid; gap: 16px; }
.auth-foot { margin-top: 20px; text-align: center; }
.auth-lang { margin-top: 20px; display: flex; justify-content: center; }
.msg { font-size: 13px; padding: 10px 12px; border: 1px solid; }
.msg.err { color: var(--danger); border-color: #e7cbc8; background: #fbf3f2; }
.msg.ok { color: var(--ok); border-color: #bcd6c3; background: #f2f8f4; }
.legal { margin-top: 24px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- modale & notifications ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(26, 26, 26, .45); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 50; overflow-y: auto; }
.modal { background: var(--surface); width: 100%; max-width: 560px; padding: 28px; border: 1px solid var(--line); }
.modal h3 { margin: 0 0 18px; font-size: 17px; font-weight: 600; }
.modal .grid { margin-bottom: 20px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 20px; font-size: 14px; z-index: 60; max-width: 90vw; }
.toast.err { background: var(--danger); }

/* ---------- WeChat ---------- */
.wechat-banner { background: #fff8e6; border-bottom: 1px solid #ecd9a8; padding: 10px 48px 10px 16px; font-size: 13px; line-height: 1.5; position: relative; }
.wechat-banner .arrow { position: absolute; right: 14px; top: 4px; font-size: 26px; line-height: 1; }
.wechat-banner .close { position: absolute; right: 12px; bottom: 6px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; }
.wechat-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .82); color: #fff; z-index: 100; padding: 24px; text-align: right; }
.wechat-overlay .arrow { font-size: 64px; line-height: 1; margin-right: 6px; }
.wechat-overlay p { text-align: left; font-size: 17px; line-height: 1.7; max-width: 420px; margin: 16px 0 0 auto; }
.wechat-overlay .dots { display: inline-block; background: #fff; color: #000; padding: 0 8px; font-weight: 700; letter-spacing: 2px; }
.wechat-overlay button { margin-top: 28px; background: none; border: 1px solid #fff; color: #fff; padding: 8px 18px; cursor: pointer; }

footer.site { text-align: center; color: var(--muted); font-size: 12px; padding: 0 16px 32px; }
.search-input { max-width: 300px; }
@media (max-width: 760px) { .search-input { max-width: none; } }
.modal-foot [data-del] { margin-right: auto; }
.filters input, .filters select { width: auto; }
.lang-switch button { white-space: nowrap; }
.linkbtn { white-space: nowrap; }

/* ---------- mobile : tableaux en cartes, en-tête compact ---------- */
@media (max-width: 760px) {
  .topbar-right { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 10px 14px; }
  .who { text-align: left; flex: 1 1 100%; }
  .filters > * { width: 100%; min-width: 0; }
  .table-wrap { overflow: visible; }
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { border-bottom: 1px solid var(--line); padding: 14px 0; }
  tr:last-child { border-bottom: 0; }
  td { border: 0; padding: 2px 0; }
  td:empty { display: none; }
  td.actions, td .actions { justify-content: flex-start; margin-top: 8px; }
  td .btn.small { padding: 8px 16px; }
  td.empty { padding: 24px 0; }
}

/* ---------- stockage ---------- */
.storage { padding-bottom: 22px; }
.diskbar { display: flex; height: 8px; background: #eae5de; margin: 4px 0 14px; overflow: hidden; }
.diskbar .seg-portal { background: var(--ink); }
.diskbar .seg-other { background: #b9b0a4; }
.storage-legend { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; }
.storage-legend .dot { display: inline-block; width: 10px; height: 10px; margin-right: 8px; vertical-align: -1px; }
.dot.portal { background: var(--ink); } .dot.other { background: #b9b0a4; } .dot.free { background: #eae5de; border: 1px solid var(--line); }

/* ---------- explorateur de dossiers ---------- */
.drive-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 17px; font-weight: 600; }
.crumbs button { background: none; border: 0; padding: 2px 4px; cursor: pointer; font: inherit; color: var(--muted); }
.crumbs button:last-child { color: var(--ink); }
.crumbs button:hover { text-decoration: underline; }
.crumbs .sep { color: #c9c1b6; }
.drive-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.folder-access { margin-bottom: 14px; min-height: 22px; }
tr.folder-row { cursor: pointer; }
tr.folder-row:hover td { background: var(--soft); }
.acc-editor { display: grid; gap: 12px; margin-top: 8px; max-height: 320px; overflow-y: auto; }
.acc-partner { border: 1px solid var(--line); padding: 10px 12px; }
.acc-users { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; padding-left: 24px; }
.acc-users .check { padding: 4px 10px; font-size: 13px; }
.modal { max-width: 640px; }
@media (max-width: 760px) { .drive-actions, .drive-actions > * { width: 100%; } }
.drive-actions .search-input { width: 280px; }
@media (max-width: 760px) { .drive-actions .search-input { width: 100%; } }
.dest-field { margin-bottom: 16px; max-width: 480px; }
.dest-field select { font-weight: 500; }

/* ---------- aperçu ---------- */
body.noscroll { overflow: hidden; }
.doc-title.clickable { cursor: pointer; }
.doc-title.clickable:hover { text-decoration: underline; }
.viewer { position: fixed; inset: 0; z-index: 80; background: rgba(20, 20, 20, .92); display: flex; flex-direction: column; }
.viewer-bar { display: flex; align-items: center; gap: 16px; padding: 12px 20px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); }
.viewer-title { flex: 1; min-width: 0; line-height: 1.35; }
.viewer-title strong { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.viewer-title span { font-size: 12px; color: rgba(255,255,255,.6); }
.viewer-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn.ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn.ghost-light:hover { border-color: #fff; opacity: 1; }
.viewer-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.viewer-body iframe { width: 100%; height: 100%; border: 0; background: #fff; max-width: 1100px; }
.viewer-body img, .viewer-body video { max-width: 100%; max-height: 100%; object-fit: contain; background: #fff; }
.viewer-text { width: 100%; max-width: 1000px; height: 100%; overflow: auto; margin: 0; background: #fff; color: var(--ink); padding: 20px; font-size: 13px; white-space: pre-wrap; word-break: break-word; }
.viewer-none { background: #fff; padding: 32px; text-align: center; max-width: 420px; }
@media (max-width: 760px) { .viewer-bar { padding: 10px 12px; } .viewer-body { padding: 0; } .viewer-actions .btn { padding: 6px 10px; } }

/* ---------- miniatures ---------- */
.doc-cell { display: flex; gap: 14px; align-items: flex-start; }
.doc-text { min-width: 0; flex: 1; }
.thumb { position: relative; flex-shrink: 0; width: 48px; height: 48px; border: 1px solid var(--line); background: var(--soft);
  display: flex; align-items: center; justify-content: center; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .2s; }
.thumb.has-img img { opacity: 1; }
.thumb.has-img .thumb-label { visibility: hidden; }
.thumb.clickable { cursor: zoom-in; }
.thumb-label { font-size: 10px; font-weight: 700; letter-spacing: .5px; color: #fff; padding: 2px 5px; background: #8a837b; }
.ft-pdf .thumb-label { background: #b4483e; }
.ft-doc .thumb-label { background: #2f5d9e; }
.ft-xls .thumb-label { background: #2f7a4f; }
.ft-ppt .thumb-label { background: #c0632b; }
.ft-zip .thumb-label { background: #6b5b95; }
.ft-img .thumb-label, .ft-vid .thumb-label { background: #5b6b78; }
.thumb.ft-folder { background: #f3eee6; border-color: #e3d9c8; }
.thumb.ft-folder::before { content: ''; width: 26px; height: 19px; background: #c9b38f; border-radius: 2px; position: relative; top: 2px;
  box-shadow: inset 0 3px 0 rgba(255,255,255,.25); }
.thumb.ft-folder::after { content: ''; position: absolute; width: 11px; height: 4px; background: #c9b38f; top: 13px; left: 11px; border-radius: 2px 2px 0 0; }
@media (max-width: 760px) { .thumb { width: 44px; height: 44px; } }
@media (max-width: 760px) { #rows td:not(:first-child), #docRows td:not(:first-child) { padding-left: 58px; } }

/* ---------- téléchargement parallèle ---------- */
.dlpanel { position: fixed; right: 20px; bottom: 20px; z-index: 60; background: #fff; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.12); padding: 14px 16px; width: min(420px, calc(100vw - 40px)); font-size: 14px; }
.dlpanel .dl-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 10px; }
.dlpanel .dl-row { display: flex; align-items: center; gap: 12px; }
.dlpanel .progress { flex: 1; width: auto; }

.storage-backup { margin: 14px 0 0; }
.storage-backup .badge { margin-right: 6px; }

.check-line { display: block; font-size: 14px; line-height: 1.5; cursor: pointer; }
.check-line input { margin: 0 6px 0 0; vertical-align: -1px; }
#newFolderBtn { margin-left: auto; }
.actions-cell { text-align: right; white-space: nowrap; }

/* ---------- Page de connexion ---------- */
@font-face { font-family: 'QRe Serif'; src: url('/fonts/eb-garamond-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'QRe Serif'; src: url('/fonts/eb-garamond-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
.login-body { background: #f8f4ee; }
.lx { --lx-ink: #2e2420; --lx-soft: #6b5d53; --lx-line: #c4b5a2; --lx-serif: 'QRe Serif', 'Songti SC', 'STSong', 'SimSun', Georgia, serif;
  display: grid; grid-template-columns: 54% 46%; min-height: 100vh; color: var(--lx-ink); }
.lx-photo { position: relative; background: #d9c3b1 url('/login-photo.jpg') center 30% / cover no-repeat; }
.lx-photo::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(20,14,10,.55) 0%, rgba(20,14,10,.18) 32%, rgba(20,14,10,0) 55%); }
.lx-photo-text { position: absolute; top: 6vh; left: 6%; color: #fff; }
.lx-logo-white { height: 64px; width: auto; display: block; }
.lx-rule { display: block; width: 84px; height: 2px; background: rgba(255,255,255,.85); margin: 22px 0 20px; }
.lx-photo-text p { font-family: var(--lx-serif); font-size: clamp(19px, 1.7vw, 26px); line-height: 1.55; margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.lx-panel { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 7% 28px; background: #f8f4ee; }
.lx-lang { position: absolute; top: 20px; right: 24px; border-color: var(--lx-line); }
.lx-lang button { color: var(--lx-soft); }
.lx-lang button.on { background: var(--lx-ink); }
.lx-inner { width: 100%; max-width: 440px; text-align: center; }
.lx-logo { height: 84px; width: auto; display: block; margin: 0 auto; }
.lx-space { margin-top: 16px; font-size: 13px; letter-spacing: 6px; text-transform: uppercase; color: var(--lx-ink); }
.lx-title { font-family: var(--lx-serif); font-weight: 500; font-size: clamp(38px, 3.6vw, 54px); line-height: 1.1; margin: 34px 0 10px; letter-spacing: -.5px; }
.lx-sub { font-family: var(--lx-serif); font-size: 19px; color: var(--lx-ink); margin: 0 0 34px; }
.lx-form { display: grid; gap: 18px; text-align: left; }
.lx-field { display: grid; gap: 8px; font-family: var(--lx-serif); font-size: 18px; }
.lx-field input { font: 16px/1.3 system-ui, -apple-system, 'PingFang SC', sans-serif; padding: 13px 14px; background: #fbf8f3; border: 1px solid var(--lx-line); border-radius: 2px; color: var(--lx-ink); }
.lx-field input:focus { outline: none; border-color: var(--lx-ink); background: #fff; }
.lx-forgot { text-align: right; margin-top: -6px; }
.lx-forgot button { background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--lx-serif); font-size: 16px; color: var(--lx-ink); }
.lx-forgot button:hover { text-decoration: underline; }
.lx-msg { font-size: 14px; color: var(--lx-soft); background: #f1eae0; padding: 10px 12px; }
.lx-btn { margin-top: 10px; padding: 15px; background: var(--lx-ink); color: #fff; border: 0; border-radius: 2px; cursor: pointer; font-family: var(--lx-serif); font-size: 20px; letter-spacing: .3px; }
.lx-btn:hover { background: #1d1613; }
.lx-btn:disabled { opacity: .6; cursor: default; }
.lx-foot { font-family: var(--lx-serif); font-size: 16px; line-height: 1.5; color: var(--lx-ink); margin: 40px auto 0; max-width: 380px; }
.lx-legal { margin-top: 40px; font-size: 12px; color: var(--lx-soft); letter-spacing: .3px; }
@media (max-width: 860px) {
  .lx { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .lx-photo { min-height: 38vh; background-position: center 35%; }
  .lx-photo-text { top: 24px; left: 22px; }
  .lx-logo-white { height: 44px; }
  .lx-rule { width: 56px; margin: 14px 0 12px; }
  .lx-panel { padding: 56px 22px 24px; }
  .lx-lang { top: 14px; right: 16px; }
  .lx-logo { display: none; }
  .lx-space { margin-top: 0; }
  .lx-title { margin-top: 18px; }
  .lx-sub { font-size: 17px; margin-bottom: 26px; }
  .lx-foot { margin-top: 28px; font-size: 15px; }
}
