/* First integration lot. Inactive unless explicitly opened with ?design=glacier.
   Dark mode keeps the existing presentation and all original controls. */
@font-face {font-family:GlacierManrope;src:url('assets/manrope-regular.ttf');font-weight:400;font-display:swap}
@font-face {font-family:GlacierManrope;src:url('assets/manrope-semibold.ttf');font-weight:600;font-display:swap}
@font-face {font-family:GlacierManrope;src:url('assets/manrope-bold.ttf');font-weight:700 900;font-display:swap}
html[data-design=glacier][data-theme=light] {
  --bg:#eaf1f2;--surface:#f6fbfc;--text:#123842;--muted:#4e6b75;--line:#c5d9df;
  --selected:#d0ecf1;--accent:#08778e;--accent-ink:#fff;--ai-text:#15576a;--font:GlacierManrope,Manrope,sans-serif;
  --glacier-glass:linear-gradient(135deg,#ffffffdf,#f7fcfce0);
  --glacier-solar:linear-gradient(135deg,#ffe7b4,#ffb342);
  --glacier-shadow:inset 0 1px 0 #fff,0 10px 32px -28px #1d4f6970;
  scrollbar-color:#8daeb8 #eaf1f2;
}
html[data-design=glacier][data-theme=light] body {
  background:linear-gradient(180deg,#e8f5f314,#eaf1f2c9 65%,#eaf1f2ed),url('assets/leman-panorama.webp') center top/cover fixed;
  color:var(--text);font-family:var(--font);min-height:100vh;
}
html[data-design=glacier][data-theme=light] :is(button,input,textarea,select) {font-family:inherit;caret-color:#08778e}
html[data-design=glacier][data-theme=light] ::selection {background:#ffdb91;color:#123842}
html[data-design=glacier][data-theme=light] :focus-visible {outline:3px solid #08778e;outline-offset:4px}
html[data-design=glacier][data-theme=light] :is(input,textarea)::placeholder {color:#4e6b75;opacity:1}
html[data-design=glacier][data-theme=light] a {text-underline-offset:4px}
html[data-design=glacier][data-theme=light] :is(.shell,.topbar) {background:transparent;border:0}
html[data-design=glacier][data-theme=light] .rail {
  background:#f7ffffba!important;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px);
  border:0!important;box-shadow:var(--glacier-shadow);border-radius:32px;
}
html[data-design=glacier][data-theme=light] .brandmark {display:none}
html[data-design=glacier][data-theme=light] .brand-wordmark {position:relative;font-family:var(--font);font-size:29px;font-weight:700;letter-spacing:-.04em;color:#123842}
html[data-design=glacier][data-theme=light] .brand-wordmark::after {content:'.';position:absolute;top:0;right:-.18em;color:#08778e}
html[data-design=glacier][data-theme=light] .brand-wordmark small {font-size:9px;letter-spacing:0;font-weight:400;color:#4e6b75}
html[data-design=glacier][data-theme=light] .navbtn {border-radius:28px;color:#385d68}
html[data-design=glacier][data-theme=light] .navbtn.active {background:#fff!important;color:#123842!important;box-shadow:0 5px 16px #163c4814}
html[data-design=glacier][data-theme=light] .navbtn:hover {background:#ffffffa8}
html[data-design=glacier][data-theme=light] .source-badge {display:inline-flex!important;background:#ffffffb3;border-radius:22px;color:#355c69;padding:7px 12px}
html[data-design=glacier][data-theme=light] [data-alma-alert] .source-badge {color:#8b3724;background:#ffebe2}
html[data-design=glacier][data-theme=light] .topbar {height:auto;min-height:70px;gap:16px}
html[data-design=glacier][data-theme=light] .top-tools {gap:8px;flex-wrap:wrap}
html[data-design=glacier][data-theme=light] :is(.btn,.iconbtn,.search-trigger,.copilot-trigger) {
  border-radius:28px!important;border:0;min-height:40px;background:#ffffffc7;color:#214b58;box-shadow:var(--glacier-shadow);
}
html[data-design=glacier][data-theme=light] :is(.btn,.iconbtn,.search-trigger,.copilot-trigger):hover {background:#fff}
html[data-design=glacier][data-theme=light] :is(.btn.primary,.send) {background:var(--glacier-solar)!important;color:#3b290c!important}
html[data-design=glacier][data-theme=light] .btn.danger {color:#9a3529;background:#ffebe2}
html[data-design=glacier][data-theme=light] button:disabled {opacity:.5;cursor:not-allowed}
html[data-design=glacier][data-theme=light] :is(h1,h2,h3) {font-family:var(--font);letter-spacing:-.03em;text-wrap:balance}
html[data-design=glacier][data-theme=light] .page-head h1 {font-size:clamp(38px,4.3vw,62px);line-height:1.12;font-weight:600;letter-spacing:-.04em;color:#123842}
html[data-design=glacier][data-theme=light] .page-head p {color:#355c69;line-height:1.65}
html[data-design=glacier][data-theme=light] .page-head .head-actions {flex-wrap:wrap}
html[data-design=glacier][data-theme=light] .hs-nav {background:#edf8f9ba;border:0;border-radius:26px;padding:5px;gap:4px;backdrop-filter:blur(18px)}
html[data-design=glacier][data-theme=light] .hs-nav button {border-radius:22px!important;min-height:38px;padding:9px 15px;white-space:nowrap;font-size:12px;color:#355c69}
html[data-design=glacier][data-theme=light] .hs-nav button[aria-pressed=true] {background:#fff!important;color:#123842!important;box-shadow:0 4px 14px #194f5c10}
#glacier-home-navigation[hidden] {display:none}
.glacier-preview-notice {margin:8px 36px;font-size:12px;line-height:1.6;color:var(--muted)}
html[data-design=glacier][data-theme=light] #glacier-home-navigation {margin:16px 36px 0;min-height:48px}
html[data-design=glacier][data-theme=light] #glacier-home-navigation .hz-home-nav {width:max-content;max-width:100%;margin:0;justify-content:flex-start}
html[data-design=glacier][data-theme=light] :is(.panel,.p-performance,.p-focus,.p-alerts,.p-assistant,.w-summary) {
  background:var(--glacier-glass)!important;border:0!important;border-radius:28px!important;box-shadow:var(--glacier-shadow);backdrop-filter:blur(20px);
}
html[data-design=glacier][data-theme=light] :is(.p-performance,.p-focus,.p-alerts) {padding:28px}
html[data-design=glacier][data-theme=light] :is(.p-description,.k-source,.p-focus p,.k-task small,.k-deal small) {color:#4e6b75}
html[data-design=glacier][data-theme=light] .p-focus h2 {color:#123842}
html[data-design=glacier][data-theme=light] .p-stages {--stage-0:#b4d9e2;--stage-1:#82bdce;--stage-2:#64a3b8;--stage-3:#ffc568;--stage-4:#e8a28b}
html[data-design=glacier][data-theme=light] .feature {border-radius:28px;overflow:hidden}
html[data-design=glacier][data-theme=light] :is(.modal,.edit-modal,.drawer,.command,.copilot,.capture) {background:#f6fbfcf5!important;color:#123842;border-radius:28px;backdrop-filter:blur(28px);box-shadow:var(--glacier-shadow)}
html[data-design=glacier][data-theme=light] .field :is(input,select,textarea) {background:#fff;color:#123842;border-radius:14px}
@media(min-width:761px) {
  html[data-design=glacier][data-theme=light][data-nav-position=left] .rail {inset:16px auto 16px 16px;height:calc(100dvh - 32px)}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail {inset:20px 28px auto;width:calc(100% - 56px);height:76px;padding:0 24px;gap:20px}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .shell {padding-top:116px}
}
@media(min-width:761px) and (max-width:1250px) {
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail {height:120px;grid-template-rows:60px 60px}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .shell {padding-top:152px}
}
@media(max-width:760px) {
  .glacier-preview-notice {margin:12px 16px}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail,
  html[data-design=glacier][data-theme=light][data-nav-position=top].hn-ready .rail:not(.open) {
    position:relative;inset:auto;width:calc(100% - 24px);height:auto;margin:12px;transform:none!important;
    display:grid;grid-template-columns:1fr auto;gap:12px;padding:16px!important;border-radius:28px;
  }
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail .brand {grid-column:1;grid-row:1;padding:0 8px!important;margin:0}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail #nav {grid-column:1/3;grid-row:2;margin:0;width:100%;display:block;overflow:visible}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail .hn-primary {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail .navbtn {width:100%;height:38px;padding:0 2px;gap:4px;justify-content:center;font-size:10px;min-width:0}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail .navbtn svg {display:block;width:13px;height:13px;flex-shrink:0}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail-bottom {grid-column:2;grid-row:1;margin:0;padding:0;width:auto}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail .user {padding:0;border:0}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .rail .user .grow,
  html[data-design=glacier][data-theme=light][data-nav-position=top] :is(.hn-dismiss,.hn-backdrop,#menu-btn) {display:none!important}
  html[data-design=glacier][data-theme=light][data-nav-position=top] .shell {padding-top:0}
  html[data-design=glacier][data-theme=light] .topbar {padding:14px 16px;flex-wrap:wrap;gap:10px}
  html[data-design=glacier][data-theme=light] .top-tools {margin-left:auto}
  html[data-design=glacier][data-theme=light] .main {padding:14px 16px 120px}
  html[data-design=glacier][data-theme=light] #glacier-home-navigation {margin:16px;min-height:88px}
  html[data-design=glacier][data-theme=light] #glacier-home-navigation .hz-home-nav {display:flex;width:100%;flex-wrap:wrap;overflow:visible;gap:2px}
  html[data-design=glacier][data-theme=light] .hs-nav button {font-size:11px;padding:9px 12px}
  html[data-design=glacier][data-theme=light] .page-head {gap:16px}
  html[data-design=glacier][data-theme=light] .page-head h1 {font-size:38px}
  html[data-design=glacier][data-theme=light] :is(.p-performance,.p-focus,.p-alerts) {padding:22px}
  html[data-design=glacier][data-theme=light] .hs-nav.hz-subtabs {flex-wrap:wrap;overflow:visible}
}
@media(prefers-reduced-transparency:reduce) {
  html[data-design=glacier][data-theme=light] :is(.rail,.panel,.p-performance,.p-focus,.p-alerts,.w-summary,.hs-nav,.hs-card,.hc-card,.td-card) {background:#f6fbfc!important;backdrop-filter:none!important}
}
@media(prefers-reduced-motion:reduce) {
  html[data-design=glacier][data-theme=light] *,html[data-design=glacier][data-theme=light] *::before,html[data-design=glacier][data-theme=light] *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
