/* Consistent folder geometry; override the old CSS folder-tab dimensions. */
html body .amt435-folder-icon {
  display:inline-flex!important;align-items:center;justify-content:center;
  flex:0 0 40px!important;width:40px!important;height:36px!important;
  min-width:40px!important;min-height:36px!important;
}
html body .amt435-folder-icon::before {
  content:""!important;display:block!important;position:static!important;
  flex:0 0 32px!important;width:32px!important;height:32px!important;
  min-width:32px!important;min-height:32px!important;
  margin:0!important;padding:0!important;border:0!important;
  border-radius:0!important;transform:none!important;
  background:currentColor!important;
}
html body .amt435-folder-icon::after { content:none!important;display:none!important; }
html body :is(.amt436-step,.amt440-folder-path) .amt435-folder-icon {
  margin:0!important;background:transparent!important;
}
/* Folder paths need no connecting dashes between their buttons. */
html body .amt436-steps>li::after { content:none!important;display:none!important; }
/* Draw one fixed SVG chevron, with no rotated border or text caret. */
html body .amt-select-caret {
  display:block!important;flex:0 0 18px!important;
  width:18px!important;height:18px!important;min-width:18px!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  padding:0!important;margin:0!important;transform:none!important;
  background:currentColor!important;opacity:.8;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  pointer-events:none;user-select:none;caret-color:transparent!important;
}
html body .amt-select-caret::before,html body .amt-select-caret::after { content:none!important; }
/* Suppress insertion cursors on non-editable page content (caret browsing).
   Inputs and rich-text editors retain their visible typing cursor. */
html body { caret-color:transparent; }
html body :is(input,textarea,[contenteditable]:not([contenteditable="false"])),
html body [contenteditable]:not([contenteditable="false"]) * {
  caret-color:var(--amt-ui-text,#14265b)!important;
}


/* Bidder folders use the same three-column card system as Proposal folders. */
html body .amt440-folder-grid {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  margin-top:18px;
}
html body .amt440-folder-grid>.amt437-folder-tile {
  display:block!important;position:relative!important;min-width:0!important;
  height:100%!important;
}
html body .amt440-folder-grid .amt435-folder {
  appearance:none;box-sizing:border-box;display:flex!important;
  flex-direction:column!important;align-items:flex-start!important;
  justify-content:flex-start!important;gap:10px!important;
  width:100%!important;min-width:0!important;min-height:170px!important;
  height:100%!important;padding:24px 22px!important;
  border:1px solid var(--quote-line,var(--amt-ui-border,#d9dfeb))!important;
  border-radius:14px!important;
  background:var(--quote-surface,var(--amt-ui-surface,#fff))!important;
  color:inherit!important;text-align:left!important;
  font:inherit!important;cursor:pointer!important;
  transition:background .12s,border-color .12s!important;
}
html body .amt440-folder-grid .amt435-folder:hover {
  background:var(--folder-active,#edf3fd)!important;
  border-color:var(--folder-edge,#aac3e8)!important;
}
html body .amt440-folder-grid .amt435-folder:focus-visible {
  outline:3px solid var(--folder-edge,#aac3e8)!important;
  outline-offset:2px!important;
}
html body .amt440-folder-grid .amt435-folder strong {
  display:block;font-size:18px!important;font-weight:500!important;
  line-height:1.4!important;overflow-wrap:anywhere!important;
  padding-right:32px!important;
}
html body .amt440-folder-grid .amt435-folder>span:not(.amt435-folder-icon),
html body .amt440-folder-grid .amt435-folder small {
  display:block!important;font-size:14px!important;line-height:1.4!important;
  font-weight:400!important;color:var(--folder-muted,var(--muted,#60708a))!important;
}
html body .amt440-folder-grid .amt437-folder-menu {
  position:absolute!important;top:10px!important;right:10px!important;
  width:44px!important;height:44px!important;
}
html body .amt440-folder-grid .amt435-folder-icon {
  color:var(--amt-ui-text,#315c9c);
  margin:0 0 4px!important;
}
@media(max-width:950px) {
  html body .amt440-folder-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
}
@media(max-width:600px) {
  html body .amt440-folder-grid { grid-template-columns:minmax(0,1fr)!important;gap:10px!important; }
  html body .amt440-folder-grid .amt435-folder { min-height:148px!important;padding:18px 16px!important; }
  html body .amt440-folder-grid .amt435-folder strong { font-size:16px!important; }
}
