/* LOCAL PATCH guide + guidebtn1029: «📘 Инструкция» in the header on every screen (all interfaces), permanent card on «Сегодня», login link. */
.gd-top, html.ui2 header.top #gd-top.gd-top { display: inline-flex !important; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; font-weight: 700; white-space: nowrap;
  color: var(--cobalt-ink, #fff); background: var(--cobalt, #6d3b2d); border: 1px solid var(--cobalt, #6d3b2d); text-decoration: none; flex: 0 0 auto;
  font-size: 14px; line-height: 1.1; transition: transform .15s var(--ease, ease), box-shadow .2s; }
.gd-top:hover { transform: translateY(-1px); box-shadow: 0 6px 16px -8px var(--cobalt, #6d3b2d); color: var(--cobalt-ink, #fff); }
.gd-top .ic { font-size: 16px; line-height: 1; }
/* phone / Mini App: icon over a small caption, still labelled «Инструкция» */
@media (max-width: 720px) {
  .gd-top, html.ui2 header.top #gd-top.gd-top { flex-direction: row; gap: 4px; padding: 6px 8px; border-radius: 10px; font-size: 12px; font-weight: 700; min-width: 0; }
  .gd-top .ic { font-size: 14px; } }
/* ≥721 px: title + «Инструкция» + search stay in one row; up to 1600 px the search button drops the «Ctrl K» hint */
@media (min-width: 721px) {
  .top .kbd-btn { flex: 1 1 52px; min-width: 0; max-width: 280px; overflow: hidden; white-space: nowrap; }
  .top .kbd-btn > * { flex-shrink: 0; } }
@media (min-width: 721px) and (max-width: 1600px) { .top .kbd-btn kbd { display: none; } .gd-top { padding: 8px 11px; } }
/* home card (#gd-banner keeps its id: ui2.css shows it only on «Сегодня») */
.gd-banner { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; padding: 12px 16px; border-radius: 16px;
  background: linear-gradient(100deg, var(--cobalt-soft, #e7eaff), var(--teal-soft, #dcf5f2)); border: 1px solid color-mix(in srgb, var(--cobalt, #6d3b2d) 25%, transparent); }
.gd-banner .big { font-size: 26px; line-height: 1; }
.gd-banner .tx { flex: 1; min-width: 220px; }
.gd-banner .tx b { display: block; font-size: 16px; margin-bottom: 2px; }
.gd-banner .tx small { color: var(--ink-2); font-size: 13.5px; }
.gd-banner a.go { padding: 9px 14px; border-radius: 11px; background: var(--cobalt, #6d3b2d); color: #fff; font-weight: 700; text-decoration: none; }
.gd-banner a.pdf { padding: 9px 12px; border-radius: 11px; border: 1px solid var(--line-2); color: var(--ink-1, inherit); background: var(--card, transparent); font-weight: 600; text-decoration: none; }
.gd-login { margin: 14px auto 0; text-align: center; font-size: 14.5px; }
.gd-login a { display: inline-block; padding: 9px 14px; border-radius: 12px; border: 1px solid var(--cobalt, #6d3b2d); color: var(--cobalt, #6d3b2d); font-weight: 700; text-decoration: none; background: var(--card, transparent); }
