/* ГЕШТАЛЬТ.РФ — современный слой оформления (v3): объём, градиенты, мягкие тени, цветные акценты.
   Подключается после theme.css и переопределяет только внешний вид. Вёрстку и тексты не меняет. */
html.theme-gestalt{
  --m-teal:#0f8a78; --m-emerald:#2bb37f; --m-deep:#0a3d37; --m-violet:#7a5cf0; --m-amber:#ffa24d; --m-rose:#ff6b8f; --m-sky:#3aa0ff;
  --m-grad:linear-gradient(135deg,#0f8a78 0%,#2bb37f 55%,#7bd88f 100%);
  --m-grad-cool:linear-gradient(135deg,#0f8a78 0%,#3aa0ff 60%,#7a5cf0 100%);
  --m-grad-warm:linear-gradient(135deg,#ffa24d 0%,#ff6b8f 100%);
  --g-paper:#f2f6f3; --g-white:#ffffff; --g-line:#dbe6df; --g-ink:#1f3530;
  --m-glass:rgba(255,255,255,.74);
  --m-sh1:0 1px 1px rgba(10,61,55,.06),0 2px 4px rgba(10,61,55,.05);
  --m-sh2:0 2px 4px rgba(10,61,55,.05),0 10px 24px -6px rgba(10,61,55,.16),0 24px 48px -16px rgba(10,61,55,.18);
  --m-sh3:0 4px 8px rgba(10,61,55,.06),0 18px 36px -8px rgba(10,61,55,.22),0 40px 80px -24px rgba(58,160,255,.22);
}
html.theme-gestalt,html.theme-gestalt body{
  background:
    radial-gradient(900px 520px at 8% -6%,rgba(43,179,127,.20),transparent 62%),
    radial-gradient(800px 520px at 96% 4%,rgba(122,92,240,.15),transparent 60%),
    radial-gradient(900px 600px at 70% 108%,rgba(255,162,77,.16),transparent 62%),
    linear-gradient(180deg,#f4f8f5 0%,#eef4f1 100%)!important;
  background-attachment:fixed!important;
}
html.theme-gestalt ::selection{background:#2bb37f;color:#fff}

/* ---------- верхняя полоса ---------- */
html.theme-gestalt .g-topline{background:linear-gradient(90deg,#0a3d37 0%,#0f6f62 45%,#4b3fa8 100%);color:#e9f6ef;position:relative;z-index:81}
html.theme-gestalt .g-topline::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.35),transparent)}

/* ---------- шапка: стекло, закрепление, тень ---------- */
html.theme-gestalt .g-header{position:sticky;top:0;z-index:80;background:var(--m-glass)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.6);backdrop-filter:blur(18px) saturate(1.6);
  border-bottom:1px solid rgba(255,255,255,.7);box-shadow:0 1px 0 rgba(15,138,120,.10),0 10px 30px -14px rgba(10,61,55,.28);
  transition:box-shadow .25s,background .25s}
html.theme-gestalt .g-header::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;
  background:linear-gradient(90deg,#2bb37f,#3aa0ff,#7a5cf0,#ff6b8f,#ffa24d);opacity:.8}
html.theme-gestalt .g-header.g-scrolled{box-shadow:0 14px 40px -12px rgba(10,61,55,.38)}
html.theme-gestalt .g-header .g-head-inner{transition:height .25s}
html.theme-gestalt .g-header.g-scrolled .g-head-inner{height:68px}

/* логотип — объёмная «сфера» */
html.theme-gestalt .g-brand-mark{background:radial-gradient(circle at 30% 24%,#8ff0c4 0%,#2bb37f 38%,#0a6b5c 100%)!important;
  box-shadow:inset 0 2px 3px rgba(255,255,255,.55),inset 0 -5px 9px rgba(5,40,34,.35),0 8px 18px -4px rgba(15,138,120,.55),0 2px 4px rgba(10,61,55,.25);
  border-radius:16px;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
html.theme-gestalt .g-brand:hover .g-brand-mark{transform:rotate(-8deg) scale(1.07)}
html.theme-gestalt .g-brand-title{background:linear-gradient(90deg,#0a3d37,#0f8a78);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
html.theme-gestalt .g-brand-title span{-webkit-text-fill-color:initial;background:var(--m-grad-warm);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html.theme-gestalt .g-brand-title small{-webkit-text-fill-color:#6b8a80;color:#6b8a80}

/* ---------- главное меню: «таблетки» с объёмом ---------- */
html.theme-gestalt .g-nav{gap:6px;padding:6px;border-radius:18px;
  background:linear-gradient(180deg,rgba(226,236,231,.85),rgba(240,246,243,.9));
  box-shadow:inset 0 2px 5px rgba(10,61,55,.12),inset 0 -1px 0 rgba(255,255,255,.9),0 1px 0 rgba(255,255,255,.8)}
html.theme-gestalt .g-nav a{display:inline-flex;align-items:center;gap:7px;padding:10px 15px!important;border:0!important;border-radius:13px;
  font-size:13.5px;font-weight:700;color:#35504a;position:relative;
  transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s,background .18s,color .18s}
html.theme-gestalt .g-nav a .g-ni{width:17px;height:17px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;opacity:.9;transition:transform .25s}
html.theme-gestalt .g-nav a:hover{color:#0a3d37!important;background:linear-gradient(180deg,#fff,#f0f8f4);transform:translateY(-2px);
  box-shadow:0 1px 0 #fff inset,0 8px 16px -6px rgba(10,61,55,.28),0 2px 3px rgba(10,61,55,.10)}
html.theme-gestalt .g-nav a:hover .g-ni{transform:scale(1.18) rotate(-6deg)}
html.theme-gestalt .g-nav a:active{transform:translateY(0);box-shadow:inset 0 2px 5px rgba(10,61,55,.2)}
html.theme-gestalt .g-nav a.g-current{color:#fff!important;background:linear-gradient(180deg,#34c58f 0%,#0f8a78 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -3px 6px rgba(5,60,50,.3),0 8px 18px -6px rgba(15,138,120,.7),0 2px 3px rgba(10,61,55,.25);
  text-shadow:0 1px 1px rgba(5,60,50,.35)}
/* у каждого пункта свой акцент при наведении */
html.theme-gestalt .g-nav a:nth-child(1):hover .g-ni{color:#0f8a78}
html.theme-gestalt .g-nav a:nth-child(2):hover .g-ni{color:#3aa0ff}
html.theme-gestalt .g-nav a:nth-child(3):hover .g-ni{color:#ff8a3d}
html.theme-gestalt .g-nav a:nth-child(4):hover .g-ni{color:#ff6b8f}
html.theme-gestalt .g-nav a:nth-child(5):hover .g-ni{color:#2bb37f}
html.theme-gestalt .g-nav a:nth-child(6):hover .g-ni{color:#7a5cf0}
html.theme-gestalt .g-nav a:nth-child(7):hover .g-ni{color:#0f8a78}

/* кнопки действий в шапке */
html.theme-gestalt .g-search-icon,html.theme-gestalt .g-mode{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;border:0;cursor:pointer;color:#35504a;
  background:linear-gradient(180deg,#fff,#eaf3ee);box-shadow:inset 0 1px 0 #fff,0 6px 14px -6px rgba(10,61,55,.35),0 1px 2px rgba(10,61,55,.12);
  transition:transform .18s,box-shadow .18s}
html.theme-gestalt .g-search-icon:hover,html.theme-gestalt .g-mode:hover{transform:translateY(-2px) scale(1.05);box-shadow:inset 0 1px 0 #fff,0 12px 20px -8px rgba(15,138,120,.6)}
html.theme-gestalt .g-account{background:var(--m-grad);color:#fff!important;border-radius:12px;padding:9px 14px;font-weight:700;text-decoration:none!important;box-shadow:0 8px 16px -6px rgba(15,138,120,.6)}

/* ---------- вторая строка меню: чипы ---------- */
html.theme-gestalt .g-subnav{background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(238,246,242,.55));border-bottom:1px solid rgba(15,138,120,.10);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html.theme-gestalt .g-subnav .g-container{gap:8px}
html.theme-gestalt .g-small-label{background:var(--m-grad-cool);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;font-weight:800}
html.theme-gestalt .g-subnav a{padding:6px 13px;border-radius:999px;background:rgba(255,255,255,.85);color:#3c5a52;font-weight:650;text-decoration:none!important;
  box-shadow:0 1px 0 #fff inset,0 3px 8px -4px rgba(10,61,55,.3);transition:transform .15s,box-shadow .15s,background .15s,color .15s}
html.theme-gestalt .g-subnav a:hover{transform:translateY(-2px);color:#fff;background:var(--m-grad-cool);box-shadow:0 10px 18px -8px rgba(58,160,255,.7)}

/* ---------- главный экран ---------- */
html.theme-gestalt .g-home-hero{position:relative;isolation:isolate}
html.theme-gestalt .g-home-hero::before{content:"";position:absolute;z-index:-1;width:520px;height:520px;right:-120px;top:-40px;border-radius:50%;
  background:conic-gradient(from 200deg,#2bb37f,#3aa0ff,#7a5cf0,#ff6b8f,#ffa24d,#2bb37f);filter:blur(80px);opacity:.30;animation:m-spin 40s linear infinite}
html.theme-gestalt .g-eyebrow{display:inline-flex;align-items:center;gap:9px;padding:7px 14px;border-radius:999px;background:rgba(255,255,255,.85);
  box-shadow:0 1px 0 #fff inset,0 8px 18px -8px rgba(10,61,55,.3);color:#0f6f62}
html.theme-gestalt .g-dot{background:var(--m-grad);box-shadow:0 0 0 4px rgba(43,179,127,.2)}
html.theme-gestalt .g-hero-copy h1{background:linear-gradient(180deg,#12332e 0%,#1d5a4e 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent;text-shadow:none}
html.theme-gestalt .g-hero-copy h1 em{background:linear-gradient(90deg,#0f8a78 0%,#3aa0ff 45%,#7a5cf0 100%);-webkit-background-clip:text;background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
html.theme-gestalt .g-hero-copy p{color:#4a645d}
html.theme-gestalt .g-hero-notice{color:#6b8a80}

html.theme-gestalt .g-hero-art{background:radial-gradient(circle at 32% 26%,rgba(255,255,255,.9) 0%,rgba(205,240,224,.9) 34%,rgba(150,214,190,.75) 70%,rgba(110,190,200,.6) 100%)!important;
  box-shadow:inset 0 6px 14px rgba(255,255,255,.8),inset 0 -22px 40px rgba(15,138,120,.22),0 40px 70px -28px rgba(15,138,120,.55),0 14px 24px -12px rgba(10,61,55,.3);
  animation:m-float 8s ease-in-out infinite}
html.theme-gestalt .g-art-ring{border:2px solid transparent;background:linear-gradient(#0000,#0000) padding-box,conic-gradient(from 0deg,#2bb37f,#3aa0ff,#7a5cf0,#ff6b8f,#ffa24d,#2bb37f) border-box;
  box-shadow:0 10px 26px -12px rgba(122,92,240,.5);opacity:.85}
html.theme-gestalt .g-art-ring.ring-one{animation:m-spin 36s linear infinite}
html.theme-gestalt .g-art-ring.ring-two{animation:m-spin 52s linear infinite reverse}
html.theme-gestalt .g-art-ring.ring-three{animation:m-spin 70s linear infinite}
html.theme-gestalt .g-art-center{width:190px;height:190px;border-radius:50%;display:grid;place-content:center;margin:0;color:#0a3d37;
  background:radial-gradient(circle at 30% 24%,#fff 0%,#e9fbf2 45%,#bfeed9 100%);
  box-shadow:inset 0 3px 6px #fff,inset 0 -14px 24px rgba(15,138,120,.25),0 24px 40px -14px rgba(10,61,55,.5)}
html.theme-gestalt .g-art-center span{color:#ffa24d;filter:drop-shadow(0 2px 4px rgba(255,162,77,.6))}
html.theme-gestalt .g-art-quote{color:#4f7a6c;font-weight:700}

/* ---------- кнопки ---------- */
html.theme-gestalt .g-primary{background:linear-gradient(180deg,#34c58f 0%,#0f8a78 100%)!important;border-radius:14px;padding:14px 24px;color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -4px 8px rgba(5,60,50,.28),0 14px 26px -10px rgba(15,138,120,.75),0 3px 6px rgba(10,61,55,.2);
  text-shadow:0 1px 1px rgba(5,60,50,.35);transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .18s,filter .18s}
html.theme-gestalt .g-primary:hover{transform:translateY(-3px);filter:saturate(1.15) brightness(1.04);color:#fff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -4px 8px rgba(5,60,50,.28),0 20px 32px -10px rgba(15,138,120,.85),0 4px 8px rgba(10,61,55,.2)}
html.theme-gestalt .g-primary:active{transform:translateY(1px);box-shadow:inset 0 3px 8px rgba(5,60,50,.45)}
html.theme-gestalt .g-subtle{font-weight:700;color:#0f6f62;border-radius:12px;padding:12px 16px;transition:background .15s,transform .15s}
html.theme-gestalt .g-subtle:hover{background:rgba(255,255,255,.8);box-shadow:var(--m-sh1);transform:translateY(-2px)}

/* ---------- заголовки разделов ---------- */
html.theme-gestalt .g-kicker{background:var(--m-grad-cool);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;font-weight:800}
html.theme-gestalt .g-section-head h2,html.theme-gestalt .g-page-intro h1{background:linear-gradient(180deg,#143a33,#1f5f52);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html.theme-gestalt .g-section-head>a{font-weight:700;color:#0f6f62;padding:8px 14px;border-radius:12px;text-decoration:none!important;transition:background .15s,transform .15s}
html.theme-gestalt .g-section-head>a:hover{background:#fff;box-shadow:var(--m-sh1);transform:translateX(3px)}

/* ---------- карточки: стекло, глубина, подъём ---------- */
html.theme-gestalt .g-category,html.theme-gestalt .g-card,html.theme-gestalt .g-tool-card,html.theme-gestalt .g-term-row,html.theme-gestalt .g-record,html.theme-gestalt .g-source{
  background:linear-gradient(160deg,rgba(255,255,255,.96) 0%,rgba(244,250,247,.92) 100%)!important;
  border:1px solid rgba(255,255,255,.9)!important;border-radius:20px!important;box-shadow:var(--m-sh2);position:relative;overflow:hidden;
  transform-style:preserve-3d;transition:transform .28s cubic-bezier(.2,.8,.2,1),box-shadow .28s}
html.theme-gestalt .g-category::before,html.theme-gestalt .g-card::before,html.theme-gestalt .g-tool-card::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;
  background:linear-gradient(140deg,rgba(43,179,127,.55),rgba(58,160,255,.0) 40%,rgba(122,92,240,.45));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.55;transition:opacity .28s;pointer-events:none}
html.theme-gestalt .g-category::after,html.theme-gestalt .g-card::after,html.theme-gestalt .g-tool-card::after{content:"";position:absolute;width:220px;height:220px;right:-80px;top:-90px;border-radius:50%;
  background:radial-gradient(circle,rgba(43,179,127,.22),transparent 70%);transition:transform .5s;pointer-events:none}
html.theme-gestalt .g-category:hover,html.theme-gestalt .g-card:hover,html.theme-gestalt .g-tool-card:hover{transform:perspective(900px) translateY(-8px) rotateX(var(--m-rx,0deg)) rotateY(var(--m-ry,0deg));box-shadow:var(--m-sh3)}
html.theme-gestalt .g-category:hover::before,html.theme-gestalt .g-card:hover::before,html.theme-gestalt .g-tool-card:hover::before{opacity:1}
html.theme-gestalt .g-category:hover::after,html.theme-gestalt .g-card:hover::after,html.theme-gestalt .g-tool-card:hover::after{transform:scale(1.5) translate(-16px,16px)}
html.theme-gestalt .g-term-row:hover,html.theme-gestalt .g-record:hover{transform:translateY(-3px);box-shadow:var(--m-sh3)}

/* цветные «плитки» иконок, у каждой карточки свой цвет */
html.theme-gestalt .g-cat-symbol,html.theme-gestalt .g-tool-icon{color:#fff;border-radius:14px;
  background:var(--m-grad);box-shadow:inset 0 2px 2px rgba(255,255,255,.5),inset 0 -4px 6px rgba(0,0,0,.18),0 10px 18px -6px rgba(15,138,120,.6);
  transform:translateZ(24px)}
html.theme-gestalt .g-category-grid>*:nth-child(6n+2) .g-cat-symbol,html.theme-gestalt .g-tool-card:nth-child(6n+2) .g-tool-icon{background:linear-gradient(135deg,#3aa0ff,#7a5cf0);box-shadow:inset 0 2px 2px rgba(255,255,255,.5),inset 0 -4px 6px rgba(0,0,0,.18),0 10px 18px -6px rgba(90,100,240,.65)}
html.theme-gestalt .g-category-grid>*:nth-child(6n+3) .g-cat-symbol,html.theme-gestalt .g-tool-card:nth-child(6n+3) .g-tool-icon{background:linear-gradient(135deg,#ffa24d,#ff6b8f);box-shadow:inset 0 2px 2px rgba(255,255,255,.5),inset 0 -4px 6px rgba(0,0,0,.15),0 10px 18px -6px rgba(255,120,100,.6)}
html.theme-gestalt .g-category-grid>*:nth-child(6n+4) .g-cat-symbol,html.theme-gestalt .g-tool-card:nth-child(6n+4) .g-tool-icon{background:linear-gradient(135deg,#ff6b8f,#b04df0);box-shadow:inset 0 2px 2px rgba(255,255,255,.5),inset 0 -4px 6px rgba(0,0,0,.15),0 10px 18px -6px rgba(200,80,200,.55)}
html.theme-gestalt .g-category-grid>*:nth-child(6n+5) .g-cat-symbol,html.theme-gestalt .g-tool-card:nth-child(6n+5) .g-tool-icon{background:linear-gradient(135deg,#19c3d6,#2bb37f);box-shadow:inset 0 2px 2px rgba(255,255,255,.5),inset 0 -4px 6px rgba(0,0,0,.15),0 10px 18px -6px rgba(25,180,190,.6)}
html.theme-gestalt .g-category-grid>*:nth-child(6n+6) .g-cat-symbol,html.theme-gestalt .g-tool-card:nth-child(6n+6) .g-tool-icon{background:linear-gradient(135deg,#7a5cf0,#ff6b8f);box-shadow:inset 0 2px 2px rgba(255,255,255,.5),inset 0 -4px 6px rgba(0,0,0,.18),0 10px 18px -6px rgba(140,80,240,.6)}
html.theme-gestalt .g-category strong,html.theme-gestalt .g-card h3,html.theme-gestalt .g-tool-card h3{color:#143a33}
html.theme-gestalt .g-category em,html.theme-gestalt .g-card-kind{font-style:normal;font-weight:800;background:var(--m-grad-cool);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html.theme-gestalt .g-card-more{font-weight:800;color:#0f8a78}
html.theme-gestalt .g-category>b{transition:transform .25s,color .25s}
html.theme-gestalt .g-category:hover>b{transform:translate(4px,-4px);color:#7a5cf0}

/* чипы и поля */
html.theme-gestalt .g-chip{border-radius:999px;background:linear-gradient(180deg,#fff,#eef6f2);box-shadow:var(--m-sh1);border:0}
html.theme-gestalt .g-field input,html.theme-gestalt .g-field textarea,html.theme-gestalt .g-field select{border-radius:14px;border:1px solid #d3e2da;background:#fff;box-shadow:inset 0 2px 4px rgba(10,61,55,.06);transition:box-shadow .2s,border-color .2s}
html.theme-gestalt .g-field input:focus,html.theme-gestalt .g-field textarea:focus,html.theme-gestalt .g-field select:focus{outline:0;border-color:#2bb37f;box-shadow:0 0 0 4px rgba(43,179,127,.22)}

/* ---------- панель «практика для себя» ---------- */
html.theme-gestalt .g-soft-panel{background:linear-gradient(135deg,#0c4a42 0%,#0f7a6b 50%,#3b4fc4 100%)!important;color:#eafaf3;border-radius:30px;
  box-shadow:0 40px 80px -30px rgba(15,100,110,.65),inset 0 1px 0 rgba(255,255,255,.25)}
html.theme-gestalt .g-soft-panel::before{content:"";position:absolute;width:420px;height:420px;left:-120px;bottom:-200px;border-radius:50%;background:radial-gradient(circle,rgba(255,162,77,.45),transparent 70%)}
html.theme-gestalt .g-soft-panel::after{content:"";position:absolute;width:380px;height:380px;right:-100px;top:-180px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.22),transparent 70%)}
html.theme-gestalt .g-soft-panel h2,html.theme-gestalt .g-soft-panel p{color:#fff!important;-webkit-text-fill-color:#fff;position:relative;z-index:1}
html.theme-gestalt .g-soft-panel .g-kicker{-webkit-text-fill-color:#ffd9a8;color:#ffd9a8;background:none}
html.theme-gestalt .g-soft-panel .g-primary{background:linear-gradient(180deg,#ffb870,#ff8a4d)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -4px 8px rgba(150,60,0,.3),0 14px 26px -10px rgba(255,138,77,.8);text-shadow:0 1px 1px rgba(120,50,0,.4)}
html.theme-gestalt .g-tool-shortcuts a{background:rgba(255,255,255,.14)!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:18px;color:#fff;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 14px 24px -14px rgba(0,0,0,.45);transition:transform .22s,background .22s}
html.theme-gestalt .g-tool-shortcuts a:hover{transform:translateY(-6px) scale(1.02);background:rgba(255,255,255,.24)!important}
html.theme-gestalt .g-tool-shortcuts a small,html.theme-gestalt .g-tool-shortcuts a strong{color:#fff}

/* ---------- страницы чтения ---------- */
html.theme-gestalt .g-reading{background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(250,253,251,.9));border:1px solid rgba(255,255,255,.95);border-radius:30px;padding:46px 54px;
  box-shadow:var(--m-sh2);position:relative;max-width:860px}
html.theme-gestalt .g-reading::before{content:"";position:absolute;left:54px;right:54px;top:0;height:4px;border-radius:0 0 6px 6px;background:linear-gradient(90deg,#2bb37f,#3aa0ff,#7a5cf0,#ff6b8f,#ffa24d)}
html.theme-gestalt .g-reading h1{background:linear-gradient(180deg,#12332e,#1f6a5b);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
html.theme-gestalt .g-lead{color:#4a645d}
html.theme-gestalt .g-prose h2{position:relative;padding-left:18px}
html.theme-gestalt .g-prose h2::before{content:"";position:absolute;left:0;top:.18em;bottom:.18em;width:6px;border-radius:6px;background:linear-gradient(180deg,#2bb37f,#7a5cf0)}
html.theme-gestalt .g-prose a{color:#0f6f62;text-decoration-color:#2bb37f;text-underline-offset:3px}
html.theme-gestalt .g-prose blockquote{border-left:0;background:linear-gradient(135deg,#e9f8f1,#eef0ff);border-radius:18px;padding:18px 22px;box-shadow:var(--m-sh1)}
html.theme-gestalt .g-reading-close{background:linear-gradient(135deg,#fff6e8,#ffeef2);border:1px solid #ffe0c2;border-radius:18px;color:#7a5530;box-shadow:var(--m-sh1)}
html.theme-gestalt .g-crumb a{color:#0f6f62;font-weight:650}
html.theme-gestalt .g-back-link{display:inline-block;padding:10px 16px;border-radius:12px;background:#fff;box-shadow:var(--m-sh1);text-decoration:none!important;font-weight:700;color:#0f6f62}
html.theme-gestalt .g-tool-box,html.theme-gestalt .g-tool-side,html.theme-gestalt .g-note{background:linear-gradient(160deg,#fff,#f1f8f5);border:1px solid #fff;border-radius:24px;box-shadow:var(--m-sh2)}
html.theme-gestalt .g-home-footnote{background:linear-gradient(135deg,rgba(255,255,255,.9),rgba(233,248,241,.9));border-radius:20px;box-shadow:var(--m-sh1);padding:18px 24px}

/* ---------- подвал ---------- */
html.theme-gestalt .g-footer{background:radial-gradient(700px 300px at 85% 0%,rgba(122,92,240,.35),transparent 70%),radial-gradient(600px 280px at 10% 100%,rgba(43,179,127,.28),transparent 70%),linear-gradient(135deg,#0a2f2b,#0d4a42);
  position:relative;box-shadow:inset 0 3px 0 rgba(255,255,255,.08)}
html.theme-gestalt .g-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#2bb37f,#3aa0ff,#7a5cf0,#ff6b8f,#ffa24d)}
html.theme-gestalt .g-footer a{transition:color .15s,transform .15s}
html.theme-gestalt .g-footer a:hover{color:#8ff0c4!important}

/* ---------- мобильное меню ---------- */
html.theme-gestalt .g-mobile summary{border-radius:13px;align-items:center;width:44px;height:44px;background:linear-gradient(180deg,#fff,#eaf3ee);
  box-shadow:inset 0 1px 0 #fff,0 6px 14px -6px rgba(10,61,55,.4)}
html.theme-gestalt .g-mobile summary span{background:linear-gradient(90deg,#0f8a78,#7a5cf0);height:2.5px;width:20px;border-radius:3px;transition:transform .25s,opacity .25s}
html.theme-gestalt .g-mobile[open] summary span:nth-child(1){transform:translateY(7.5px) rotate(45deg)}
html.theme-gestalt .g-mobile[open] summary span:nth-child(2){opacity:0}
html.theme-gestalt .g-mobile[open] summary span:nth-child(3){transform:translateY(-7.5px) rotate(-45deg)}
html.theme-gestalt .g-mobile nav{background:rgba(255,255,255,.92);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border:1px solid #fff;border-radius:22px;
  box-shadow:0 30px 60px -20px rgba(10,61,55,.5);padding:12px;gap:4px;animation:m-pop .22s cubic-bezier(.2,.8,.2,1)}
html.theme-gestalt .g-mobile nav a{padding:12px 14px;border-radius:13px;font-weight:700;text-decoration:none!important;color:#2c4a43;transition:background .15s,transform .15s}
html.theme-gestalt .g-mobile nav a:hover{background:linear-gradient(135deg,#e6f7ef,#ecebff);transform:translateX(4px)}

/* ---------- анимации ---------- */
@keyframes m-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes m-spin{to{transform:rotate(337deg)}}
@keyframes m-pop{from{opacity:0;transform:translateY(-8px) scale(.97)}to{opacity:1;transform:none}}
html.theme-gestalt .g-reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
html.theme-gestalt .g-reveal.g-in{opacity:1;transform:none}

/* ---------- тёмная тема ---------- */
html.theme-gestalt[data-mode=dark]{--g-paper:#0c1917;--g-white:#14262a;--g-line:#25403f;--g-ink:#e6f4ee;--g-muted:#93b3a8;--m-glass:rgba(14,28,30,.72);
  --m-sh2:0 2px 4px rgba(0,0,0,.3),0 14px 30px -8px rgba(0,0,0,.55),0 30px 60px -20px rgba(0,0,0,.5);
  --m-sh3:0 4px 8px rgba(0,0,0,.3),0 22px 44px -8px rgba(0,0,0,.65),0 40px 80px -24px rgba(43,179,127,.28)}
html.theme-gestalt[data-mode=dark],html.theme-gestalt[data-mode=dark] body{
  background:radial-gradient(900px 520px at 8% -6%,rgba(43,179,127,.22),transparent 62%),radial-gradient(800px 520px at 96% 4%,rgba(122,92,240,.22),transparent 60%),
  radial-gradient(900px 600px at 70% 108%,rgba(255,162,77,.12),transparent 62%),linear-gradient(180deg,#0b1716,#0a1514)!important;background-attachment:fixed!important}
html.theme-gestalt[data-mode=dark] .g-header{border-bottom-color:rgba(255,255,255,.06)}
html.theme-gestalt[data-mode=dark] .g-nav{background:linear-gradient(180deg,rgba(8,18,19,.8),rgba(18,34,36,.8));box-shadow:inset 0 2px 6px rgba(0,0,0,.5),0 1px 0 rgba(255,255,255,.05)}
html.theme-gestalt[data-mode=dark] .g-nav a{color:#bcd6cc}
html.theme-gestalt[data-mode=dark] .g-nav a:hover{background:linear-gradient(180deg,#1f3a3c,#183033);color:#fff!important;box-shadow:0 10px 18px -8px rgba(0,0,0,.7),inset 0 1px 0 rgba(255,255,255,.08)}
html.theme-gestalt[data-mode=dark] .g-search-icon,html.theme-gestalt[data-mode=dark] .g-mode,html.theme-gestalt[data-mode=dark] .g-mobile summary{background:linear-gradient(180deg,#1f3a3c,#142729);color:#d7efe6;box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 8px 16px -8px rgba(0,0,0,.7)}
html.theme-gestalt[data-mode=dark] .g-brand-title{background:linear-gradient(90deg,#e6f4ee,#8ff0c4);-webkit-background-clip:text;background-clip:text}
html.theme-gestalt[data-mode=dark] .g-subnav{background:linear-gradient(180deg,rgba(20,38,42,.6),rgba(12,25,25,.6));border-bottom-color:rgba(255,255,255,.05)}
html.theme-gestalt[data-mode=dark] .g-subnav a{background:rgba(255,255,255,.07);color:#c5ded4;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
html.theme-gestalt[data-mode=dark] .g-eyebrow{background:rgba(255,255,255,.08);color:#8ff0c4;box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}
html.theme-gestalt[data-mode=dark] .g-hero-copy h1{background:linear-gradient(180deg,#ffffff,#b9e8d6);-webkit-background-clip:text;background-clip:text}
html.theme-gestalt[data-mode=dark] .g-hero-copy h1 em{background:linear-gradient(90deg,#5eead4,#7cc4ff,#b79cff);-webkit-background-clip:text;background-clip:text}
html.theme-gestalt[data-mode=dark] .g-hero-copy p{color:#a8c6bb}
html.theme-gestalt[data-mode=dark] .g-hero-art{background:radial-gradient(circle at 32% 26%,rgba(120,220,190,.45) 0%,rgba(30,90,85,.75) 45%,rgba(12,40,45,.9) 100%)!important}
html.theme-gestalt[data-mode=dark] .g-art-center{background:radial-gradient(circle at 30% 24%,#2f6b62 0%,#154640 55%,#0c2d2b 100%);color:#d9fff0}
html.theme-gestalt[data-mode=dark] .g-category,html.theme-gestalt[data-mode=dark] .g-card,html.theme-gestalt[data-mode=dark] .g-tool-card,html.theme-gestalt[data-mode=dark] .g-term-row,
html.theme-gestalt[data-mode=dark] .g-record,html.theme-gestalt[data-mode=dark] .g-source,html.theme-gestalt[data-mode=dark] .g-tool-box,html.theme-gestalt[data-mode=dark] .g-tool-side,html.theme-gestalt[data-mode=dark] .g-note{
  background:linear-gradient(160deg,rgba(26,48,50,.95),rgba(16,32,34,.95))!important;border-color:rgba(255,255,255,.07)!important;color:#d9ece4}
html.theme-gestalt[data-mode=dark] .g-category strong,html.theme-gestalt[data-mode=dark] .g-card h3,html.theme-gestalt[data-mode=dark] .g-tool-card h3{color:#f0faf5}
html.theme-gestalt[data-mode=dark] .g-section-head h2,html.theme-gestalt[data-mode=dark] .g-page-intro h1,html.theme-gestalt[data-mode=dark] .g-reading h1{background:linear-gradient(180deg,#fff,#a8e6cf);-webkit-background-clip:text;background-clip:text}
html.theme-gestalt[data-mode=dark] .g-reading{background:linear-gradient(180deg,rgba(22,40,42,.95),rgba(14,28,30,.95));border-color:rgba(255,255,255,.06)}
html.theme-gestalt[data-mode=dark] .g-lead,html.theme-gestalt[data-mode=dark] .g-prose{color:#c3dbd1}
html.theme-gestalt[data-mode=dark] .g-prose blockquote{background:linear-gradient(135deg,rgba(43,179,127,.15),rgba(122,92,240,.18))}
html.theme-gestalt[data-mode=dark] .g-reading-close{background:linear-gradient(135deg,rgba(255,162,77,.12),rgba(255,107,143,.12));border-color:rgba(255,162,77,.25);color:#ffd9b0}
html.theme-gestalt[data-mode=dark] .g-back-link,html.theme-gestalt[data-mode=dark] .g-section-head>a:hover,html.theme-gestalt[data-mode=dark] .g-subtle:hover{background:rgba(255,255,255,.08);color:#8ff0c4}
html.theme-gestalt[data-mode=dark] .g-home-footnote{background:rgba(255,255,255,.06)}
html.theme-gestalt[data-mode=dark] .g-mobile nav{background:rgba(16,32,34,.94);border-color:rgba(255,255,255,.08)}
html.theme-gestalt[data-mode=dark] .g-mobile nav a{color:#d3e9df}
html.theme-gestalt[data-mode=dark] .g-field input,html.theme-gestalt[data-mode=dark] .g-field textarea,html.theme-gestalt[data-mode=dark] .g-field select{background:#0f2022;border-color:#2b4745;color:#e6f4ee}

/* ---------- адаптивность ---------- */
@media (max-width:1180px){html.theme-gestalt .g-nav{gap:3px}html.theme-gestalt .g-nav a{padding:9px 11px!important;font-size:12.5px}html.theme-gestalt .g-nav a .g-ni{display:none}}
@media (max-width:980px){html.theme-gestalt .g-reading{padding:34px 28px}html.theme-gestalt .g-reading::before{left:28px;right:28px}html.theme-gestalt .g-home-hero::before{width:360px;height:360px;right:-120px}}
@media (max-width:640px){html.theme-gestalt .g-reading{padding:28px 20px;border-radius:24px}html.theme-gestalt .g-reading::before{left:20px;right:20px}html.theme-gestalt .g-hero-art{height:320px}html.theme-gestalt .g-art-center{width:150px;height:150px}
  html.theme-gestalt .g-subnav a{white-space:nowrap}html.theme-gestalt .g-soft-panel{border-radius:24px}}
@media (hover:none){html.theme-gestalt .g-category:hover,html.theme-gestalt .g-card:hover,html.theme-gestalt .g-tool-card:hover{transform:translateY(-3px)}}
@media (prefers-reduced-motion:reduce){html.theme-gestalt *,html.theme-gestalt *::before,html.theme-gestalt *::after{animation:none!important;transition:none!important}
  html.theme-gestalt .g-reveal{opacity:1;transform:none}}

/* ---------- компактная шапка (все страницы) ---------- */
html.theme-gestalt .g-topline{font-size:11.5px}
html.theme-gestalt .g-topline .g-container,html.theme-gestalt .g-topline>div{min-height:0}
html.theme-gestalt .g-topline{padding-block:0;line-height:1;height:24px;display:flex;align-items:center}
html.theme-gestalt .g-topline>*{width:100%}
html.theme-gestalt .g-head-inner{height:58px!important;gap:20px}
html.theme-gestalt .g-header.g-scrolled .g-head-inner{height:52px!important}
html.theme-gestalt .g-brand-mark{width:38px!important;height:38px!important;border-radius:12px}
html.theme-gestalt .g-brand-mark span{transform:scale(.8)}
html.theme-gestalt .g-brand-title{font-size:19px;line-height:1.1}
html.theme-gestalt .g-brand-title small{font-size:9.5px;margin-top:1px}
html.theme-gestalt .g-nav{padding:4px;border-radius:15px;gap:4px}
html.theme-gestalt .g-nav a{padding:7px 12px!important;font-size:13px;border-radius:11px}
html.theme-gestalt .g-nav a .g-ni{width:15px;height:15px}
html.theme-gestalt .g-search-icon,html.theme-gestalt .g-mode,html.theme-gestalt .g-mobile summary{width:36px!important;height:36px!important;border-radius:11px}
html.theme-gestalt .g-account{padding:7px 12px}
html.theme-gestalt .g-subnav .g-container{min-height:34px!important}
html.theme-gestalt .g-subnav a{padding:4px 11px;font-size:12.5px}
html.theme-gestalt .g-header::after{height:2px}
@media (max-width:980px){html.theme-gestalt .g-head-inner{height:54px!important}}
html.theme-gestalt[data-mode=dark] .g-header{background:rgba(14,28,30,.82)!important}
html.theme-gestalt .g-header{transition:box-shadow .25s}
html.theme-gestalt .g-nav a{transition:transform .18s,box-shadow .18s}
html.theme-gestalt[data-mode=dark] .g-subnav a{background:rgba(255,255,255,.08)!important;color:#c5ded4!important}
html.theme-gestalt[data-mode=dark] .g-subnav a:hover{background:var(--m-grad-cool)!important;color:#fff!important}

/* тёмная тема: зелёный на тёмном — светлее и контрастнее */
html.theme-gestalt[data-mode=dark] .g-subtle,
html.theme-gestalt[data-mode=dark] .g-section-head>a,
html.theme-gestalt[data-mode=dark] .g-card-more,
html.theme-gestalt[data-mode=dark] .g-crumb a,
html.theme-gestalt[data-mode=dark] .g-prose a,
html.theme-gestalt[data-mode=dark] .g-source a,
html.theme-gestalt[data-mode=dark] .g-term-row a,
html.theme-gestalt[data-mode=dark] .g-category>b{color:#8ff0c4!important;-webkit-text-fill-color:#8ff0c4}
html.theme-gestalt[data-mode=dark] .g-subtle:hover,html.theme-gestalt[data-mode=dark] .g-section-head>a:hover{color:#fff!important;-webkit-text-fill-color:#fff}
html.theme-gestalt[data-mode=dark] .g-kicker,html.theme-gestalt[data-mode=dark] .g-small-label{background:linear-gradient(90deg,#7ff0c0,#8ecbff);-webkit-background-clip:text;background-clip:text}
html.theme-gestalt[data-mode=dark] .g-card-kind,html.theme-gestalt[data-mode=dark] .g-category em{background:linear-gradient(90deg,#7ff0c0,#9fd0ff);-webkit-background-clip:text;background-clip:text}
html.theme-gestalt[data-mode=dark] .g-hero-notice,html.theme-gestalt[data-mode=dark] .g-category small,html.theme-gestalt[data-mode=dark] .g-card p{color:#b4d0c5!important}
html.theme-gestalt[data-mode=dark] .g-art-quote{color:#a9ddc9}
html.theme-gestalt[data-mode=dark] .g-footer a,html.theme-gestalt[data-mode=dark] .g-footer p{color:#cfe8dd}

/* воздух между основной строкой меню и второй строкой */
html.theme-gestalt .g-subnav{padding:12px 0 10px!important;margin-top:0}
html.theme-gestalt .g-subnav .g-container{min-height:34px!important;align-items:center}
html.theme-gestalt .g-head-inner{padding-bottom:2px}

/* значки быстрых инструментов в тёмной панели: яркие плитки */
html.theme-gestalt .g-tool-shortcuts a span{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;font-size:24px;line-height:1;color:#fff!important;
  background:linear-gradient(135deg,#2bb37f,#3aa0ff);box-shadow:inset 0 2px 2px rgba(255,255,255,.5),inset 0 -4px 6px rgba(0,0,0,.2),0 10px 18px -6px rgba(0,0,0,.45);text-shadow:0 1px 2px rgba(0,0,0,.35)}
html.theme-gestalt .g-tool-shortcuts a:nth-child(2) span{background:linear-gradient(135deg,#ff6b8f,#b04df0)}
html.theme-gestalt .g-tool-shortcuts a:nth-child(3) span{background:linear-gradient(135deg,#ffa24d,#ff6b8f)}
html.theme-gestalt .g-tool-shortcuts a:nth-child(4) span{background:linear-gradient(135deg,#7a5cf0,#3aa0ff)}
html.theme-gestalt .g-tool-shortcuts small{color:#e6fff4!important;font-weight:700}
html.theme-gestalt .g-tool-card .g-tool-icon,html.theme-gestalt .g-cat-symbol{font-size:22px;display:grid;place-items:center;color:#fff!important;text-shadow:0 1px 2px rgba(0,0,0,.3)}

/* алфавитный указатель словаря */
html.theme-gestalt .g-alpha{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0 22px;padding:10px;border-radius:18px;background:linear-gradient(180deg,rgba(226,236,231,.85),rgba(240,246,243,.9));box-shadow:inset 0 2px 5px rgba(10,61,55,.12)}
html.theme-gestalt .g-alpha a,html.theme-gestalt .g-alpha span{display:grid;place-items:center;min-width:38px;height:38px;padding:0 8px;border-radius:11px;font-weight:800;font-size:15px;text-decoration:none!important}
html.theme-gestalt .g-alpha a{color:#0a3d37;background:linear-gradient(180deg,#fff,#eaf3ee);box-shadow:inset 0 1px 0 #fff,0 5px 10px -5px rgba(10,61,55,.35);transition:transform .15s,box-shadow .15s}
html.theme-gestalt .g-alpha a:hover{transform:translateY(-3px);box-shadow:0 12px 18px -8px rgba(15,138,120,.6);color:#0f8a78}
html.theme-gestalt .g-alpha a.g-current{color:#fff;background:linear-gradient(180deg,#34c58f,#0f8a78);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 8px 16px -6px rgba(15,138,120,.7)}
html.theme-gestalt .g-alpha span{color:#9db3aa;background:rgba(255,255,255,.35)}
html.theme-gestalt .g-alpha .g-alpha-all{padding:0 14px}
html.theme-gestalt .g-alpha-pager{display:flex;justify-content:space-between;gap:12px;margin:26px 0}
html.theme-gestalt .g-alpha-pager a{padding:10px 18px;border-radius:12px;background:#fff;box-shadow:0 5px 12px -6px rgba(10,61,55,.4);font-weight:700;color:#0f6f62;text-decoration:none!important}
html.theme-gestalt[data-mode=dark] .g-alpha{background:linear-gradient(180deg,rgba(8,18,19,.8),rgba(18,34,36,.8));box-shadow:inset 0 2px 6px rgba(0,0,0,.5)}
html.theme-gestalt[data-mode=dark] .g-alpha a{color:#d9f4ea;background:linear-gradient(180deg,#1f3a3c,#183033);box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 6px 12px -6px rgba(0,0,0,.7)}
html.theme-gestalt[data-mode=dark] .g-alpha a.g-current{color:#fff;background:linear-gradient(180deg,#34c58f,#0f8a78)}
html.theme-gestalt[data-mode=dark] .g-alpha span{color:#5f7f76;background:rgba(255,255,255,.04)}
html.theme-gestalt[data-mode=dark] .g-alpha-pager a{background:rgba(255,255,255,.08);color:#8ff0c4!important}
@media (max-width:640px){html.theme-gestalt .g-alpha a,html.theme-gestalt .g-alpha span{min-width:34px;height:34px;font-size:14px}}

/* Сохранение в PDF */
html.theme-gestalt .g-pdf-wrap{margin:.2rem 0 1.2rem}
html.theme-gestalt .g-pdf-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem .95rem;border:1px solid var(--g-line,rgba(0,0,0,.15));border-radius:999px;background:var(--g-surface,#fff);color:inherit;font:inherit;font-size:.9rem;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:transform .15s,box-shadow .15s}
html.theme-gestalt .g-pdf-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(0,0,0,.14)}
html.theme-gestalt .g-pdf-btn:focus-visible{outline:2px solid currentColor;outline-offset:2px}
html.theme-gestalt .g-print-src{display:none}
@media print{
  html.theme-gestalt .g-topline,html.theme-gestalt .g-header,html.theme-gestalt .g-subnav,html.theme-gestalt .g-footer,html.theme-gestalt .g-crumb,html.theme-gestalt .g-skip,html.theme-gestalt .g-pdf-wrap,html.theme-gestalt .g-mode,html.theme-gestalt .g-notification,html.theme-gestalt .card-grid,html.theme-gestalt article.g-reading>.g-tool-card,html.theme-gestalt .g-related{display:none!important}
  html.theme-gestalt,html.theme-gestalt body{background:#fff!important;color:#000!important}
  html.theme-gestalt .g-main{padding:0!important;max-width:none!important;margin:0!important}
  html.theme-gestalt article.g-reading,html.theme-gestalt article.longtext{box-shadow:none!important;border:0!important;background:none!important;padding:0!important;max-width:none!important;transform:none!important;opacity:1!important}
  html.theme-gestalt .g-print-src{display:block;font-size:9pt;color:#555;margin:0 0 .6rem}
  html.theme-gestalt h1,html.theme-gestalt h2,html.theme-gestalt h3{break-after:avoid;color:#000!important}
  html.theme-gestalt p,html.theme-gestalt li{orphans:3;widows:3}
  html.theme-gestalt *{text-shadow:none!important}
  @page{margin:18mm 16mm}
}

/* Безопасность, данные, записи (ТЗ группы 08, 26) */
html.theme-gestalt .g-safety{margin-top:1.4rem;padding:1.1rem 1.3rem;border-radius:18px;border:1px solid var(--g-line,rgba(0,0,0,.12));background:linear-gradient(135deg,rgba(255,200,120,.16),rgba(255,255,255,.5));font-size:.95rem}
html.theme-gestalt .g-safety h2{font-size:1.05rem;margin:.1rem 0 .5rem}
html.theme-gestalt .g-safety p{margin:.45rem 0}
html.theme-gestalt[data-mode=dark] .g-safety{background:linear-gradient(135deg,rgba(255,190,100,.12),rgba(30,50,44,.6))}
html.theme-gestalt .g-nosave{display:flex;gap:.45rem;align-items:center;margin:.6rem 0;font-size:.95rem;cursor:pointer}
html.theme-gestalt .g-finish{margin-top:.8rem;padding:.9rem 1.1rem;border-radius:14px;border:1px dashed var(--g-line,rgba(0,0,0,.2))}
html.theme-gestalt .g-feedback{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;margin-top:.6rem}
html.theme-gestalt .g-rec-filter{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}
html.theme-gestalt .g-rec-filter input,html.theme-gestalt .g-rec-filter select,html.theme-gestalt .g-tags input{padding:.45rem .7rem;border-radius:10px;border:1px solid var(--g-line,rgba(0,0,0,.2));background:var(--g-surface,#fff);color:inherit;font:inherit}
html.theme-gestalt .g-record button,html.theme-gestalt .g-tool-actions button{margin:.3rem .4rem .3rem 0}
html.theme-gestalt .g-danger{background:#b3261e;color:#fff;border:0;border-radius:999px;padding:.55rem 1.1rem;font:inherit;cursor:pointer}
html.theme-gestalt .g-danger:hover{background:#8f1d17}
html.theme-gestalt .g-print-record{display:none}
@media print{
  html.theme-gestalt.g-printing-record body>*:not(.g-print-record){display:none!important}
  html.theme-gestalt.g-printing-record .g-print-record{display:block!important;color:#000;padding:0}
  html.theme-gestalt.g-printing-record .g-print-record pre{white-space:pre-wrap;font:inherit;border:1px solid #ccc;padding:.6rem;margin:.4rem 0 1rem}
  html.theme-gestalt .g-safety,html.theme-gestalt .g-tool-actions,html.theme-gestalt .g-records,html.theme-gestalt .g-tool-side{display:none!important}
}
