/* ---------- Internet Explorer 6 (Windows XP) ---------- */
.ie6 .window-body.ie-window {
  flex: 1;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  margin: 0 3px !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #ece9d8;
  font: 11px Tahoma, "Segoe UI", sans-serif;
  color: #000;
  position: relative;
  user-select: none;
}
.ie6 .ie-window [hidden] { display: none !important; }

/* Rebar: stacked bands with etched separators */
.ie-bars { flex-shrink: 0; border-bottom: 1px solid #aca899; }
.ie-menurow {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #fff;
  box-shadow: 0 1px 0 #d8d2bd;
  margin-bottom: 1px;
}
.ie-menubar { flex: 1; border-bottom: 0 !important; height: 22px !important; }
.ie-menubar .np-menu-title { line-height: 22px; }
.ie-throbber {
  width: 38px;
  height: 22px;
  background: #fff;
  border-left: 1px solid #aca899;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ie-throbber img { width: 22px; height: auto; }
.ie-loading .ie-throbber img { animation: ie-wave 0.9s ease-in-out infinite; }
@keyframes ie-wave {
  0%, 100% { transform: perspective(40px) rotateY(0) translateY(0); }
  50% { transform: perspective(40px) rotateY(24deg) translateY(-1px); }
}

.ie-bar {
  display: flex;
  align-items: center;
  gap: 1px;
  padding: 1px 2px;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #d8d2bd;
  white-space: nowrap;
  overflow: hidden;
}
.ie-grip {
  width: 3px;
  align-self: stretch;
  margin: 2px 4px 2px 1px;
  background: repeating-linear-gradient(180deg, #fff 0 1px, #aca899 1px 2px, transparent 2px 4px);
  flex-shrink: 0;
}

/* Standard buttons */
.ie-standard { height: 40px; }
.ie-btn {
  display: flex;
  align-items: stretch;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 3px;
  cursor: default;
  flex-shrink: 0;
}
.ie-btn-main {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 5px;
}
.ie-btn .ie-ico { display: flex; width: 24px; height: 24px; }
.ie-btn .ie-ico svg { width: 100%; height: 100%; }
.ie-btn[data-cmd="back"] .ie-ico, .ie-btn[data-cmd="forward"] .ie-ico { width: 30px; height: 30px; }
.ie-btn-label { font-size: 11px; padding-right: 2px; }
.ie-btn-drop {
  display: flex;
  align-items: center;
  padding: 0 3px;
  border-left: 1px solid transparent;
}
.ie-btn-drop svg { width: 5px; height: 3px; }
.ie-btn:not(.disabled):hover {
  border-color: #cec9b7;
  background: linear-gradient(#fff, #f3f2ec 50%, #e5e2d6);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.ie-btn:not(.disabled):hover .ie-btn-drop { border-left-color: #cec9b7; }
.ie-btn:not(.disabled) .ie-btn-main:active,
.ie-btn:not(.disabled) .ie-btn-drop:active,
.ie-btn.active {
  background: #e3e0d4;
  box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.18);
}
.ie-btn.active { border-color: #aca899; }
.ie-btn.disabled .ie-ico { filter: grayscale(1) opacity(0.45); }
.ie-btn.disabled { color: #aca899; }
.ie-sep {
  width: 2px;
  height: 30px;
  margin: 0 3px;
  border-left: 1px solid #aca899;
  border-right: 1px solid #fff;
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Address bar */
.ie-addressbar { height: 26px; gap: 4px; }
.ie-addr-label { color: #7a7a7a; padding: 0 2px; cursor: default; }
.ie-addr-label u { text-decoration: underline; }
.ie-addr-box {
  flex: 1;
  min-width: 60px;
  height: 20px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #7f9db9;
  box-sizing: border-box;
}
.ie-addr-icon { display: flex; width: 16px; height: 16px; margin: 0 2px 0 3px; flex-shrink: 0; }
.ie-addr-icon svg { width: 100%; height: 100%; }
.ie6 #url-bar {
  flex: 1;
  min-width: 0;
  height: 18px;
  border: 0 !important;
  outline: none;
  padding: 0 2px;
  margin: 0;
  font: 11px Tahoma, sans-serif;
  background: transparent;
  box-shadow: none !important;
}
.ie6 #url-bar::selection { background: #316ac5; color: #fff; }
.ie-addr-drop {
  width: 17px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: linear-gradient(#c6d3f7, #b1c3f4 45%, #9bb1ef);
  border: 1px solid #bbcaf5;
  box-sizing: border-box;
  flex-shrink: 0;
}
.ie-addr-drop:hover { background: linear-gradient(#dfe8ff, #c4d4ff 45%, #aec4ff); }
.ie-addr-drop:active { background: linear-gradient(#8ea6ea, #a7bbf3); }
.ie-addr-drop svg { width: 7px; height: 4px; }
.ie-addr-drop svg path { fill: #4d6185; }
.ie6 button.ie-go {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 0;
  height: 22px;
  padding: 0 5px 0 3px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  box-shadow: none;
  font: 11px Tahoma, sans-serif;
  color: #000;
}
.ie6 button.ie-go:hover { border-color: #cec9b7; background: linear-gradient(#fff, #f3f2ec 50%, #e5e2d6); }
.ie6 button.ie-go:active { background: #e3e0d4; box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.18); }
.ie6 button.ie-go:focus { outline: none; }
.ie-go .ie-ico { display: flex; width: 16px; height: 16px; }
.ie-go .ie-ico svg { width: 100%; height: 100%; }
.ie-links {
  padding: 0 6px 0 8px;
  border-left: 1px solid #aca899;
  box-shadow: inset 1px 0 0 #fff;
  height: 20px;
  line-height: 20px;
  cursor: default;
}
.ie-links:hover { color: #0b3cb5; }

/* Information bar (pop-up blocker) */
.ie-infobar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 6px;
  background: #ffffe1;
  border-bottom: 1px solid #aca899;
  cursor: default;
}
.ie-infobar:hover { background: #316ac5; color: #fff; }

/* Main area: explorer bar + page */
.ie-main { flex: 1; min-height: 0; display: flex; }
.ie-pane {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #7f9db9;
  margin-right: 3px;
}
.ie-pane-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  padding: 0 3px 0 6px;
  background: #ece9d8;
  border-bottom: 1px solid #aca899;
}
.ie6 button.ie-pane-close {
  min-width: 0;
  min-height: 0;
  width: 16px;
  height: 16px;
  padding: 0;
  line-height: 12px;
  font: bold 13px Tahoma, sans-serif;
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
}
.ie6 button.ie-pane-close:hover { border-color: #aca899; background: #fff; }
.ie-pane-body { flex: 1; overflow: auto; padding: 4px; }
.ie-pane-tools { display: flex; gap: 4px; padding: 2px 0 6px; border-bottom: 1px solid #ece9d8; margin-bottom: 4px; }
.ie6 .ie-pane-tools button { min-width: 0; padding: 0 8px; font: 11px Tahoma, sans-serif; }
.ie-pane-group { font-weight: bold; padding: 2px 2px 4px; }
.ie-pane-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 2px 3px;
  cursor: pointer;
  border: 1px solid transparent;
}
.ie-pane-item img { width: 16px; height: 16px; flex-shrink: 0; }
.ie-pane-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ie-pane-item:hover { color: #0b3cb5; text-decoration: underline; }
.ie-pane-search { display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; }
.ie-pane-search input { font: 11px Tahoma, sans-serif; }
.ie-pane-search button { align-self: flex-start; }

.ie-view {
  flex: 1;
  min-width: 0;
  display: flex;
  border: 1px solid #7f9db9;
  background: #fff;
}
.ie6 #ie-content { flex: 1; width: 100%; height: 100%; border: 0; display: block; background: #fff; }

/* Find box */
.ie-ask {
  position: absolute;
  top: 96px;
  right: 16px;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #ece9d8;
  border: 1px solid #0831d9;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}
.ie-ask input { font: 11px Tahoma, sans-serif; margin-left: 4px; width: 150px; }

/* Status bar */
.ie-status {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  gap: 2px;
  height: 20px;
  padding: 2px 0 1px;
  box-sizing: border-box;
  white-space: nowrap;
}
.ie-status > span {
  display: flex;
  align-items: center;
  border: 1px solid;
  border-color: #aca899 #fff #fff #aca899;
  padding: 0 4px;
}
.ie-status-icon { border: 0 !important; padding: 0 2px !important; }
.ie-status-icon svg { width: 14px; height: 14px; }
.ie-status > .ie-status-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; border: 0; padding-left: 0; display: block; line-height: 15px; }
.ie-status-progress { width: 100px; padding: 1px !important; }
.ie-status-progress span { display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, #2fb82f 0 6px, transparent 6px 8px); transition: width 1.5s ease-out; }
.ie-loading .ie-status-progress span { width: 80% !important; transition: width 4s ease-out; }
.ie-status-cell { width: 22px; }
.ie-status-zone { width: 130px; gap: 5px; }
.ie-status-zone .ie-ico { display: flex; width: 16px; height: 16px; }
.ie-status-zone svg { width: 100%; height: 100%; }

/* Shared drop-down extras */
.np-item-icon { width: 16px; height: 16px; vertical-align: middle; }
.np-check:has(.np-item-icon) { display: flex; align-items: center; justify-content: center; }
.ie-addr-list .np-check { width: 20px; }
.ie6 .np-dropdown .np-label { max-width: 320px; overflow: hidden; text-overflow: ellipsis; }

@media (max-width: 560px) {
  .ie-btn-label, .ie-links, .ie-status-cell { display: none; }
  .ie-pane { width: 150px; }
  .ie-status-progress { width: 50px; }
  .ie-status-zone { width: auto; }
}
