kaloy-document-guide {
  display: block;
  min-width: 0;
  margin-top: 18px;
  container-type: inline-size;
}
kaloy-document-guide summary { display: flex; align-items: center; gap: 11px; cursor: pointer; list-style: none; }
kaloy-document-guide summary::-webkit-details-marker { display: none; }
.dg-shell { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.dg-open { min-height: 54px; font-weight: 630; }
.dg-open::before { content: "?"; border-radius: 50%; border: 1px solid #919189; display: grid; place-items: center; width: 21px; height: 21px; color: var(--muted); font-size: .85rem; }
.dg-chevron { width: 8px; height: 8px; margin: -4px 6px 0 auto; flex: none; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
details[open] > summary .dg-chevron { transform: rotate(225deg); margin-top: 2px; }
.dg-open:hover { color: var(--rust); }
.dg-body { border-top: 1px solid var(--rule); padding: 19px 0 5px; }
.dg-intro { color: var(--muted); margin-bottom: 13px; }
.dg-context { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.dg-context label, .dg-type-label { display: grid; gap: 5px; font-size: .88rem; font-weight: 600; }
.dg-package { margin: 9px 0 0; color: var(--muted); font-size: .88rem; }
.dg-context select, .dg-type { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #a9aaa2; border-radius: 4px; background-color: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; font-weight: normal; padding: 7px 9px; }
.dg-type-label { margin: 13px 0 11px; }
.dg-detail { padding: 15px; margin-bottom: 12px; background: var(--tint); border-radius: 4px; overflow-wrap: anywhere; }
.dg-purpose-text { margin: 0 0 8px; line-height: 1.5; }
.dg-pick, .dg-alt, .dg-review, .dg-errors { display: block; max-width: 100%; min-height: 44px; padding: 7px 0; text-align: left; font: inherit; line-height: 1.35; }
.dg-pick { background: var(--ink); border-radius: 4px; padding: 10px 14px; color: white; font-weight: 600; }
.dg-pick:hover:enabled { background: #40403c; }
.dg-alt, .dg-review, .dg-errors { font-size: .91rem; }
.dg-alt { color: var(--muted); }
.dg-alt-pick, .dg-review, .dg-errors { color: var(--ink); text-decoration: underline; text-underline-offset: .22em; }
.dg-result:not(:empty) { margin-top: 8px; font-size: .92rem; font-weight: 600; }
.dg-result.dg-error { color: #852e10; }
.dg-no-files { border-top: 1px solid var(--rule); }
.dg-no-files > summary { min-height: 46px; }
.dg-no-files p { color: var(--muted); margin: 0 0 12px; }
@container (max-width: 350px) {
  .dg-context { grid-template-columns: 1fr; gap: 7px; }
}
